(A) operators and identifiers respectively
(B) operands and identifiers respectively
(C) operands and operators respectively
(D) operands and functions respectively
Tag: Intro to Programming
Which of the following sequence are probably bugs:
(A) KK
(B) UK
(C) KU
(D) All of the above
Which of the following sequence is harmless but suspecious:
(A) DU
(B) KD
(C) UU
(D) DD
Choose the correct statement:
(A) step wise refinement uses top down methodology
(B) step wise refinement uses bottom down methodology
(C) use of library routines facilitate bottom up methodology
(D) both a and c above
FORTRON does not permit recurision because:
(A) it uses stating allocation for storing variables
(B) it uses dynamic allocation for storing variables
(C) stacks are not available in all machines
(D) it is not possible to implement recursion in all machines
If the language uses dynamic scope rules the output will be:
(A) 0
(B) 3
(C) 4
(D) 5
If the language uses static scope rules the output will be:
(A) 0
(B) 3
(C) 4
(D) 5
In which of the following cases it is possible to obtain diffrent results for-call-by-reference and -call-by-name parameter passing:
(A) Passing an expression as a parameter
(B) Passing an array as a parameter
(C) Passing a pointer as a parameter
(D) Passing an array element as a parameter