
Round 2 - 2nd Year
Quiz by Gladson Rennis
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is
The five items: A, B, C, D, and E are pushed in a stack, one after other starting from A. The stack is popped four items and each element is inserted in a queue. The two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack. The popped item is
The language that a Pushdown Automation accepts in which the stack stays limited to about 10 items is described best as
What will be the regular expression for the language accepting all the strings which are starting with 1 and ending with 0, over Σ = {0, 1}?
Which technology is often used to process and analyse large scale datasets in data science?
To access data members of a class, which of the following is used?
If the page size increases, the internal fragmentation is also
For an effective operating system, when to check for deadlock?
The operating system maintains a ______ table that keeps track of how many frames have been allocated, how many are there, and how many are available.
To recover from failures in the network operations _____________ information may be maintained.
Which one of the following refers to the copies of the same data (or information) occupying the memory space at multiple places.
Which of the following statements contains an error?
Which of the following statement is true?
What is the difference between a PRIMARY KEY and a UNIQUE KEY?
How many times CppBuzz.com is printed?
int main()
{
while(1)
{
printf("CppBuzz.com");
}
return 0;
}
main()
{
printf("hello");
main();
}
What will be the output of this program?
What does this declaration mean?
int x : 4;
What is the result after execution of the following code if a is 10, b is 5, and c is 10?
If ((a > b) && (a <= c))
a = a + 1;
else
c = c+1;
What will the result of num1 variable after execution of the following statements?
int j = 1, num1 = 4;
while (++j <= 10)
{
num1++;
}
A technique that was developed to determine whether a machine could or could not demonstrate the artificial intelligence known as the___
Which AI technique enables the computers to understand the associations and relationships between objects and events?
In state-space, the set of actions for a given problem is expressed by the_____.
In the TSP problem of n cities, the time taken for traversing all cities, without having prior knowledge of the length of the minimum tour will be_______.
The best AI agent is one which____________
What will be the output of the following program?
public class Test
{
public static void main(String[] args)
{
int count = 1;
while (count <= 15)
{
System.out.println(count % 2 == 1 ? "***" : "+++++");
++count;
}
}
}
What will be the output of the following program?
public class Test2
{
public static void main(String[] args)
{
StringBuffer s1 = new StringBuffer("Complete");
s1.setCharAt(1,'i');
s1.setCharAt(7,'d');
System.out.println(s1);
}
}
A computer security protocol for logging-in can be considered as the example of the ______ component of an information system.
The Database Management Query language is generally designed for the _____.
What will be the output?

What output does the below pseudo code produces?
