Documente Academic
Documente Profesional
Documente Cultură
Slot : A
Subject Code: ECE505
Time : 90Mins
1)
What is the result in subarray after the following code has executed?
[05]
2)
What is the result in Array after the following code has executed?
[05]
3)
[05]
4)
5)
6)
7)
d.
What is an advantage of using For Loops over While Loops when working with Arrays?
Which of the following statements is true regarding the figure below?
[04]
[04]
8)
a. Auto-indexing is disabled.
b. Only the 10th value generated is passed out of the For Loop
c. The output of the For Loop is a 1-D Array of 10 elements
d. Both A and B
e. Both A and C
What is the value in K after the following code has executed?
[05]
9)
In the figure below, the value at H after the first iteration is:
[04]
10)
What is the value in XOR Result after the following code has executed?
[04]
11)
12)
[06]
[04]