Master Computer Science & IT concepts: DBMS & SQL, Data Structures, Computer Networks, Operating Systems, Software Engineering, OOPs, and Network Security with detailed technical explanations.
Select your option below. Marking scheme: +1.00 positive, -0.25 negative.
Which of the following is a valid use of the netsh command in Windows?
Consider the following Java code snippet:
public class Main {
public static void main(String[] args) {
String str = "2237\u3456\u7891" + "011";
int length = str.length();
System.out.println("Length of the string : " + length);
}
}What will be the output of the program?
Which type of DDoS attack uses spoofed ICMP echo requests sent to broadcast addresses, causing multiple systems to flood the victim with ICMP reply packets?
Which of the following statements regarding the #define directive in C is incorrect?
Which of the following commands in Linux is primarily used for network scanning and security auditing?
In MongoDB, which feature is particularly useful for ensuring data availability and reliability in case of hardware failure or network issues?
Identify the link-local address from the following IPv6 addresses:
If set $A$ has $4$ elements and set $B$ has $5$ elements, then find the total number of elements in the Cartesian product $A \times B$:
Salesforce CRM is an example of which cloud service model?
How is the salting technique used in hashing for enhanced security?
If you are unable to connect to a website despite having a working internet connection, which of the following is most likely the reason?
What happens during a cache hit in a computer system?
Which of the following Excel formulas performs a calculation only when cell A1 contains a value-type entry, and otherwise returns $0$?
Which of the following is a condition that occurs in computer systems when the system spends more time in swapping data between RAM and the hard drive than executing actual tasks?
Under standard DBMS transaction theory used in basic SQL classification, which of the following commands is generally rollback-able before COMMIT?
What is the tcpdump command in Linux used for?
In a relational database, which term represents a missing, unknown, or unavailable attribute value?
Consider the following C code snippet:
#include <stdio.h>
int main() {
FILE *file = fopen("example.txt", "r");
if (file == NULL) {
printf("Error opening file.\n");
return 1;
}
int ch;
while ((ch = fgetc(file)) != EOF) {
putchar(ch);
}
if (feof(file)) {
printf("\nEnd of file reached.\n");
}
fclose(file);
return 0;
}What is the purpose of the feof(file) function call in this program?
A Class B network with default mask /16 is subnetted using the mask /20. Assuming modern subnetting rules where subnet-zero is allowed, how many subnets are created?
Which feature of an L2 switch allows network administrators to segment a network into multiple broadcast domains, each behaving like a separate network?
Which of the following RF connectors is commonly used with coaxial cables for high-frequency signal transmission?
A repeater works at which of the following layers in the OSI model?
Which statement correctly describes the functionality of the var_dump() function in PHP?
Which of the following functions is not declared in <stdio.h>?
Which sorting algorithm has a worst-case time complexity of $O(n^2)$?