Here Total Question: 25
To show all question with answer click: See Answer or take exam
2. Which of the following operators cannot be overloaded in C/C++?
3. Assume that the size of an integer is 4 bytes. Predict the output of the following program:
#include
int main() {
int i = 12;
int j = sizeof(i++);
printf("%d %d", i, j); return 0;
}
4. Which of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?
5. Access time of the symbolic table will be logarithmic if it is implemented by-
6. When was International Mother Language Day declared by UNESCO?
7. If the radius is increased by 100%, by how much will the area of the circle be increased?
8. Which data structure allows insertion and deletion of elements from both ends?
9. Which of the following belongs to the algorithm paradigm?
10. What is the result of compiling and running the following code?
public class Test {
public static void main(String[] args) {
int[] a = new int[0];
System.out.print(a.length);
}
}
11. World environment day is celebrated on _____ of every year.
12. In a complete k-array, every internal node has exactly k children. The number of leaves in such a tree with n internal nodes is-
13. The time taken by NP-class sorting algorithm is-
14. Determine Output:
void main() {
struct xx {
int x=3;
char name[] = "hello";
};
struct xx *s = malloc(sizeof(struct xx));
printf("%d", s->x);
printf("%s", s->name);
}
15. What is the complexity of Merge sort?
16. Which of the following is a non-linear data structure?
17. Which of the following is not the required condition for a binary search algorithm?
18. Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements?
19. The _____ system may manage a high degree of interaction between processes and is very useful for high-speed and real-time processing.
20. Table employee has 10 records. It has a non-NULL SALARY column which is also UNIQUE. The SQL statement: SELECT COUNT (*) FROM employee WHERE SALARY > ALL (SELECT SALARY FROM EMPLOYEE);
21. Design pattern for hierarchical structure is _____
22. How many addresses are there in the network 200.10.10.10/20?
23. Which is suitable subnet mask for 200 hosts?
24. Determine Output:
void main() {
int i=i++, j=j++, k=k++;
printf("%d %d %d", i, j, k);
}
25. The IPv4 is encapsulated to IPv6 which is known as _____.