You are here : Home >> All Company Study Materials >> Amcat Archive >> Amcat Technical Questions
Q46. How will 47 be stored as an unsigned 8-bit binary number?
A. 10111101
B. 00101111
C. 10111000
D. 00101101
Ans. B
Q47. An integer X is saved as an unsigned 8-bit number, 00001011.What is X?
A. 22
B. 11
C. 10
D. None of these
Ans. B
Q48. A variable cannot be used…
A. Before it is declared
B. After it is declared
C. In the function it is declared in
D. Can always be used
Ans. A
Q49. What is implied by the argument of a function?
A. The variables passed to it when it is called
B. The value it returns on execution
C. The execution code inside it
D. Its return type
Ans. A
Q50. Which of the following is true about comments?
A. They are executed only once.
B. They are not executed
C. A good program does not contain them
D. They increase program execution time.
Ans. B