Computer Architecture Questions and Answers Part-4

1. An optimizing Compiler does _________
a) Better compilation of the given piece of code
b) Takes advantage of the type of processor and reduces its process time
c) Does better memory management
d) None of the mentioned

Answer: b
Explanation: An optimizing compiler is a compiler designed for the specific purpose of increasing the operation speed of the processor by reducing the time taken to compile the program instructions.

2. The ultimate goal of a compiler is to ________
a) Reduce the clock cycles for a programming task
b) Reduce the size of the object code
c) Be versatile
d) Be able to detect even the smallest of errors

Answer: a
Explanation: Reduce the clock cycles for a programming task

3. SPEC stands for _______
a) Standard Performance Evaluation Code
b) System Processing Enhancing Code
c) System Performance Evaluation Corporation
d) Standard Processing Enhancement Corporation

Answer: c
Explanation: SPEC is a corporation that started to standardize the evaluation method of a system’s performance.

4. As of 2000, the reference system to find the performance of a system is _____
a) Ultra SPARC 10
b) SUN SPARC
c) SUN II
d) None of the mentioned

Answer: a
Explanation: In SPEC system of measuring a system’s performance, a system is used as a reference against which other systems are compared and performance is determined.

5. When Performing a looping operation, the instruction gets stored in the ______
a) Registers
b) Cache
c) System Heap
d) System stack

Answer: b
Explanation: When a looping or branching operation is carried out the offset value is stored in the cache along with the data

6. The average number of steps taken to execute the set of instructions can be made to be less than one by following _______
a) ISA
b) Pipe-lining
c) Super-scaling
d) Sequential

Answer: c
Explanation: The number of steps required to execute a given set of instructions is sufficiently reduced by using super-scaling. In this method, a set of instructions are grouped together and are processed.

7. If a processor clock is rated as 1250 million cycles per second, then its clock period is ________
a) 1.9 * 10-10 sec
b) 1.6 * 10-9 sec
c) 1.25 * 10-10 sec
d) 8 * 10-10 sec

Answer: d
Explanation: 8 * 10-10 sec

8. If the instruction, Add R1, R2, R3 is executed in a system that is pipe-lined, then the value of S is (Where S is a term of the Basic performance equation)?
a) 3
b) ⁓2
c) ⁓1
d) 6

Answer: c
Explanation: S is the number of steps required to execute the instructions.

9. CISC stands for _______
a) Complete Instruction Sequential Compilation
b) Computer Integrated Sequential Compiler
c) Complex Instruction Set Computer
d) Complex Instruction Sequential Compilation

Answer: c
Explanation: CISC is a type of system architecture where complex instructions are grouped together and executed to improve system performance.

10. As of 2000, the reference system to find the SPEC rating are built with _____ Processor.
a) Intel Atom SParc 300Mhz
b) Ultra SPARC -IIi 300MHZ
c) Amd Neutrino series
d) ASUS A series 450 Mhz

Answer: b
Explanation: Ultra SPARC -IIi 300MHZ