NET-JUNE-2026
1. Match the LIST-I with LIST-II
LIST-I | LIST-II | ||
A. | long signed int | I. | %lf |
B. | double | II. | %Lf |
C. | long double | III. | %c |
D. | unsigned character | IV. | %ld |
Choose the correct answer from the options given below:
1. A - II, B - I, C - IV, D - III
2. A - IV, B - I, C - II, D - III
3. A - III, B - I, C - II, D - IV
4. A - I, B - II, C - IV, D - III
NET-JUNE-2026
2. Which of the following is not a part of the general activation record of procedure ?
1. Local data
2. Global data
3. Access link
4. Temporaries
NET-JUNE-2026
3. Which of the following are correct about constructors in C++ ?
A. They have the same name as the class.
B. They can return values.
C. They are called automatically when an object is created.
D. They can be overloaded.
E. They can be inherited.
Choose the correct answer from the options given below:
1. A, B, C & D only
2. A, C & D only
3. B, C & D only
4. C, D & E only
NET-JUNE-2026
4. Arrange the following data types in non-decreasing order according to the length of their representation in C++.
A. char
B. int
C. float
D. double
Choose the correct answer from the options given below:
1. B, A, C, D
2. A, B, D, C
3. D, C, B, A
4. A, B, C, D
NET-JUNE-2026
5. Which of the following would be the value of z for the C program code ?
x = 16;
y = 4;
z = x >> y;
1. 5 2. 4
3. 2 4. 1
NET-JUNE-2026
6. Which of the following deals with the interaction between computers and humans using the natural languange.
1. PROLOG
2. ELIZA
3. NLP
4. LISP
NET-JUNE-2026
7. What will be the output of the following program
#include<stdio.h>
int main()
{ int i;
for (i=0; i++ < 10;)
printf("%d", i++);
return 0;
}
1. 0 1 2 3 4 5 6 7 8 9
2. 1 2 3 4 5 6 7 8
3. 1 3 5 7 9
4. 2 4 6 8
NET-JUNE-2026
8. Match the LIST-I with LIST-II
LIST-I | LIST-II | ||
A. | Macros | I. | Converts high level code to object (Machine) code |
B. | Assembler | II. | Used for code Expansion |
C. | Loader | III. | Used to translate assembly language code to object code |
D. | Compiler | IV. | Used to allocate memory and relocate program in memory |
Choose the correct answer from the options given below:
1. A - IV, B - III, C - I, D - I
2. A - II, B - III, C - I, D - IV
3. A - I, B - III, C - IV, D - I
4. A - IV, B - I, C - III, D - II
NET-DEC-2025
9. Which of the following statement is not true ?
1. A data member of a class can be declared as static and is normally used to maintain values common to the entire class.
2. A friend function can be invoked like a normal function without the help of any object.
3. The scope resolution operator (::) can be overloaded like normal operators.
4. Multiple inheritance may lead to duplication of inherited members from a "Grandparent" base class. This may be avoided by making the common base class a virtual base class.