Programming Languages
Basic of Programming Language
Marks 1Marks 2
Function and Recursion
Marks 1Marks 2
Pointer and Structure in C
Marks 1Marks 2Marks 5
1
GATE CSE 2003
MCQ (Single Correct Answer)
+1
-0.3
Which of the following statements is FALSE?
A
In statically typed languages, each variable in a program has a fixed type
B
In un-typed languages, values do not have any types
C
In dynamically typed languages, variables have no types
D
In all statically typed languages, each variable in a program is associated with values of only a single type during the execution of the program
2
GATE CSE 2002
MCQ (Single Correct Answer)
+1
-0.3
The results returned by function under value-result and reference parameter passing conventions
A
Do not differ
B
Differ in the presence of loops
C
Differ in all cases
D
May differ in the presence of exception
3
GATE CSE 1997
MCQ (Single Correct Answer)
+1
-0.3
Heap allocation is required for languages.
A
that support recursion
B
that support dynamic data structures
C
that use dynamic scope rules
D
None of the above
4
GATE CSE 1995
MCQ (Single Correct Answer)
+1
-0.3
What are x and y in the following macro definition?

macro Add x,y
Load y
Mul x
Store y
end macro
A
Variables
B
Identifiers
C
Actual parameters
D
Formal parameters
GATE CSE Subjects
Theory of Computation
Operating Systems
Algorithms
Digital Logic
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages
Computer Organization