1
GATE CSE 2000
MCQ (Single Correct Answer)
+1
-0.3
The most appropriate matching for the following pairs
$$X:$$ Indirect addressing
$$Y:$$ Immediate addressing
$$Z:$$ Auto decrement addressing is

$$1:$$ Loops
$$2:$$ Pointers
$$3.$$ Constants

A
$$X - 3,\,Y - 2,\,Z - 1$$
B
$$X - 1,\,Y - 3,\,Z - 2$$
C
$$X - 2,\,Y - 3,\,Z - 1$$
D
$$X - 3,\,Y - 1,\,Z - 2$$
2
GATE CSE 2000
MCQ (Single Correct Answer)
+2
-0.6
A graphics card has on board memory of $$1$$ $$MB.$$ Which of the following modes can the card not support?
A
$$1600\,\, \times \,\,400$$ resolution with $$256$$ colours on a $$17$$ inch monitor
B
$$1600\,\, \times \,\,400$$ resolution with $$16$$ million colours on a $$14$$ inch monitor
C
$$800\,\, \times \,\,400$$ resolution with $$16$$ million colours on a $$17$$ inch monitor
D
$$800\,\, \times \,\,400$$ resolution with $$256$$ colours on a $$14$$ inch monitor
3
GATE CSE 2000
MCQ (Single Correct Answer)
+1
-0.3
An n $$\times$$ n array v is defined as follows V [i, j] = i - j for all i, j, $$1 \le i \le n,\,1 \le j \le n$$ The sum of the elements of the array v is
A
0
B
n - 1
C
$${n^2} - 3n + 2$$
D
$${n^2}(n + 1)/2$$
4
GATE CSE 2000
MCQ (Single Correct Answer)
+1
-0.3
Suppose you are given an array s[1..n] and a procedure reverse (s, i, j) which reverse the order of elements in s between positions i and j (both inclusive). What does the following sequence do, where $$1 \le k < n:$$ reverse (s, 1, k);
reverse (s, k+1, k);
reverse (s, 1, n);
A
Rotates s left by k positions
B
Leaves s unchanged
C
Reverse all elements of s
D
None of the above
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
CBSE
Class 12