1
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
Which languages necessarily need heap allocation in the runtime environment?
A
Those that support recursion
B
Those that use dynamic scoping
C
Those that allow dynamic data structures
D
Those that use global variables
2
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
A common property of logic programming languages and functional languages is:
A
both are procedural languages
B
both are based on l-calculus
C
both are declarative
D
both use Horn-clauses
3
GATE CSE 2004
MCQ (Single Correct Answer)
+1
-0.3
The goal of structured programming is to
A
have well indented programs
B
be able to infer the flow of control from the compiled code
C
be able to infer the flow of control from the program text
D
avoid the use of GOTO statements
4
GATE CSE 2004
MCQ (Single Correct Answer)
+1
-0.3
Choose the best matching between the programming style in Group 1 and their characteristics in Group 2

Group 1
P. Functional
Q. Logic
R. Object-oriented
S. Imperative

Group 2
1. Command-based, procedural
2. Imperative, abstract data types
3. Side-effect free, declaretive, expression Evaluation
4. Declaretive, clausal representation, theorem proving
A
P - 2 Q - 3 R - 4 S - 1
B
P - 4 Q - 3 R - 2 S - 1
C
P - 3 Q - 4 R - 1 S - 2
D
P - 3 Q - 4 R - 2 S - 1
GATE CSE Subjects
Software Engineering
Web Technologies
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
CBSE
Class 12