1
GATE CSE 2014 Set 3
MCQ (Single Correct Answer)
+1
-0.3
Let A be a square matrix size $$n \times n$$. Consider the following pseudocode. What is the
expected output?
C = 100;
for i = 0 to n do
for j = 1 to n do
{
Temp = A[ i ][ j ] + C ;
A[ i ][ j ] = A[ j ][ i ] ;
A[ j ][ i ] = Temp - C ;
}
for i = 0 to n do
for j = 1 to n do
output(A[ i ][ j ]);2
GATE CSE 2010
MCQ (Single Correct Answer)
+1
-0.3
Which languages necessarily need heap allocation in the runtime environment?
3
GATE CSE 2005
MCQ (Single Correct Answer)
+1
-0.3
A common property of logic programming languages and functional languages is:
4
GATE CSE 2004
MCQ (Single Correct Answer)
+1
-0.3
The goal of structured programming is to
GATE CSE Subjects
Browse all chapters by subject
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages