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 not a supervised machine learning algorithm?
Which Python library is commonly used for data mining and machine learning tasks?
In BCNF, what should be true about the determinant in every functional dependency?
A bank account starts with a balance of $1500$. A transaction begins, a SAVEPOINT is set, $100$ is added to the account, then a ROLLBACK TO SAVEPOINT is performed, and finally a COMMIT is issued. What is the final account balance?
In data warehousing, a cuboid is used to represent:
Which of the following operations cannot be directly performed using pure Tuple Relational Calculus, compared to operations on relational tables?
What is the primary purpose of domain constraints in a relational database?
Which of the following is not a valid data type in the C++ programming language?
In object-oriented programming, what is the correct definition of a class?
Which concurrency control protocol prevents deadlock and ensures serializability?
A user transfers money from their bank account to a friend. The amount is debited from their account, but due to a system failure, the money is not credited to the friendβs account. Which database property is violated in this situation?
Which of the following set operations represents: "All rows that are in $R_1$ but not in $R_2$"?
Which Linux command is used to display the current working directory?
In Linux, which symbol or special variable is used to check the exit status of the last executed command?
In email communication, how are SMTP and POP3 different from each other?
What is the default port number used by Remote Desktop Protocol (RDP)?
To prevent infinite looping of packets in a network, a field in the IP header that is decremented at each router is called:
What is the main purpose of a heuristic function in artificial intelligence?
Which SDLC model follows a sequential flow, where each phase must be completed before moving to the next?
Which of the following is a built-in feature of IPv6 that is not mandatory in IPv4?
In indirect addressing mode, what does the address field of an instruction contain?
What will be the output of the following Java code snippet that calculates the length of a string without using the built-in length() method?
public class StringLengthCalculator {
public static int customStringLength(String str) {
if (str == null) {
throw new IllegalArgumentException("String cannot be null");
}
int length = 0;
for (char c : str.toCharArray()) {
length++;
}
return length;
}
public static void main(String[] args) {
String testString = "Hello, World!";
int length = customStringLength(testString);
System.out.println(
"The length of the string \"" +
testString +
"\" is: " +
length
);
}
}Which process is used to convert a grayscale image into a binary image, and which edge detection algorithm is well known for using gradient calculation along with non-maximum suppression and hysteresis thresholding?
Which grayscale conversion approach generates a grayscale image by assigning equal importance to all three RGB components?
Which of the following statements correctly describe the return values of the fork() system call in a Unix-like operating system?