You can prepare effectively for Computer Science Engineering (CSE) GATE Computer Science Engineering(CSE) 2027 Mock Test Series with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: Programming in C++, C & Java- 2". These 15 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
What does the following C-statement declare?
int (*f) (int *);
Detailed Solution: Question 1
Detailed Solution: Question 2
A common property of logic programming languages and functional languages is
Detailed Solution: Question 3
Which of the following are essential features of an object-oriented programming languages?
1. Abstraction and encapsulation
2. Strictiy-typedness
3. Type-safe property coupled with sub-type rule
4. Polymorphism in the presence of inheritance
Detailed Solution: Question 4
Early binding refers to a binding performed at compile time and late binding refers to a binding performed at execution time. Consider the following statements:
(i) Static scope facilitates w1 bindings.
(ii) Dynamic scope requires w2 bindings.
(iii) Early bindings w3 execution efficiency.
(iv) Late bindings w4 execution efficiency.
The right choices of w1, w2, w3 and w4 (in that order) are
Detailed Solution: Question 5
Match the programming paradigms and languages given in the following table:

Codes:
Detailed Solution: Question 6
Which combination of the integer variables x, y and z makes the variable a get the value 4 in the following expression?
a = (x > y) ? ((x > z) ? x : z) : ((y > z) ? y : z)
Detailed Solution: Question 7
Detailed Solution: Question 8
What is the value printed by the following C program?

Detailed Solution: Question 9
What does the following fragment of C program print?

Detailed Solution: Question 10
Consider the following program in C language:

Which one of the following statements is TRUE?
Detailed Solution: Question 11
Consider the C function given below:

Which one of the following is TRUE?
Detailed Solution: Question 12
Consider the following C program segment:

What will be printed by the program?
Detailed Solution: Question 13
Which of the following comments are not true?
1. C provides no input-output features
2. C provides no file access features
3. C borrowed most of its ideas from BCPL
4. C provides no features to manipulate composite objects
Detailed Solution: Question 14
Which of the following are not keywords in C?
Detailed Solution: Question 15