COMPUTER SYSTEM ARCHITECTURE MCQS PART 42
1. A module contains machine code with specification on______:
a. Relative addresses
b. Absolute addresses
c. Object program
d. None of these
Answer A
2. After actual locations for main storage are known, a ______adjusts relative addresses to these actual locations:
a. Relocating loader
b. Locating loader
c. Default loader
d. None of these
Answer A
3. If there is a module from single source language only that does not contain any external references, it doesn’t need a linker to load it and is loaded______:
a. Indirectly
b. Directly
c. Extending
d. None of these
Answer B
4. Modern assemblers for RISC based architectures make optimization of instruction scheduling to make use of CPU _______efficiently:
a. Pipeline
b. Without pipeline
c. Both a & b
d. None of these
Answer A
5. which are of the following modern assemblers:
a. MIPS
b. Sun SPARC
c. HP PA-RISC
d. x86(x64)
e. all of these
Answer E
6. How many types of loop control structures in C language:
a. 4
b. 5
c. 2
d. 3
Answer D
7. Types of loop control statements are:
a. For loop
b. While loop
c. Do-while loop
d. All of these
Answer D
8. <Initial value> is_______ which initializes the value of variable:
a. Assignment expression
b. Condition value
c. Increment/decrement
d. None of these
Answer A
9. The format “%8d” is used to print_______ values in a line:
a. 11
b. 10
c. 9
d. 12
Answer B
10. <Condition> is a _________expression which will have value true or false:
a. Relational
b. Logical
c. Both a & b
d. None of these
Answer C
a. Relative addresses
b. Absolute addresses
c. Object program
d. None of these
Answer A
2. After actual locations for main storage are known, a ______adjusts relative addresses to these actual locations:
a. Relocating loader
b. Locating loader
c. Default loader
d. None of these
Answer A
3. If there is a module from single source language only that does not contain any external references, it doesn’t need a linker to load it and is loaded______:
a. Indirectly
b. Directly
c. Extending
d. None of these
Answer B
4. Modern assemblers for RISC based architectures make optimization of instruction scheduling to make use of CPU _______efficiently:
a. Pipeline
b. Without pipeline
c. Both a & b
d. None of these
Answer A
5. which are of the following modern assemblers:
a. MIPS
b. Sun SPARC
c. HP PA-RISC
d. x86(x64)
e. all of these
Answer E
6. How many types of loop control structures in C language:
a. 4
b. 5
c. 2
d. 3
Answer D
7. Types of loop control statements are:
a. For loop
b. While loop
c. Do-while loop
d. All of these
Answer D
8. <Initial value> is_______ which initializes the value of variable:
a. Assignment expression
b. Condition value
c. Increment/decrement
d. None of these
Answer A
9. The format “%8d” is used to print_______ values in a line:
a. 11
b. 10
c. 9
d. 12
Answer B
10. <Condition> is a _________expression which will have value true or false:
a. Relational
b. Logical
c. Both a & b
d. None of these
Answer C
No comments:
Post a Comment