cs_403
cs_403
Model Questions
3. Suppose that a bus has 16 data lines and requires 4 cycles of 250 nsecs each to transfer data. The
bandwidth of this bus would be 2Megabytes/sec. If the cycle time of the bus was reduced to 125
nsecs and the number of cyclesrequired for transfer stayed the same what would the bandwidth of
the bus?
i. 1 Megabyte/sec
ii. 4 Megabytes/sec
iii. 8 Megabytes/sec
iv. 2 Megabytes/sec
4. Assembly language
i. uses alphabetic codes in place of binary numbers used in machine language
ii. is the easiest language to write programs
iii. need not be translated into machine language
iv. None of these
12. Graph coloring gives best results, when there are at-least
i. 16 general-purpose registers
ii. 24 general-purpose registers
iii. 32 general-purpose registers
iv. 64 general-purpose registers
14. Compilers usually chooses which procedure calls has to be expanded inline before knowing size of
procedure, that is being called, stated problem is known as
i. Caller saving
ii. Callee saving
iii. Phase-ordering problem
iv. All above
15. IBM developed a bus standard for their line of computers PC AT called _____ .
i. M-bus
ii. IB bus
iii. ISA
iv. None of these
16. The bus used to connect the monitor to the CPU is ______ .
i. SCSI bus
ii. PCI bus
iii. Rambus
iv. Memory bus
21. Procedure when call procedure that has been called, saving registers it wants for using, when caller
has been left unrestrained, is known as
i. Caller saving
ii. Calls
iii. Callee saving
iv. Jumps
22. When Performing a looping operation, the instruction gets stored in the ______ .
i. Cache
ii. Registers
iii. System stack
iv. System Heap
24. When call procedure saving registers which it wants to be preserved to access even after call, is
referred to as
i. Caller saving
ii. Callee saving
iii. Calls
iv. Jumps
25. Replacing instances of a variable, to which a constant is assigned with constant, is referred as
i. Global common sub-expression elimination
ii. Stack height reduction
iii. Heap
iv. Constant propagation
26. Optimization: finding two examples of an expression, computing same value and saving value of
1st computation in a temporary variable, is referred as
i. Global common sub-expression elimination
ii. Global sub-expression elimination
iii. Global elimination
iv. Sub-expression elimination
28. Specified telling that what addressing mode will be used for accessing operand, is called
i. Address specified
ii. Binary-coded decimal
iii. Unpacking
iv. Packed decimal
29. Unit is used for allocating dynamic objects which do not adhere to stack discipline is
i. Queue
ii. Stack
iii. Heap
iv. Banks
30. During the execution of the instructions, a copy of the instructions is placed in the ______ .
i. Register
ii. RAM
iii. System heap
iv. Cache
32. Two processors A and B have clock frequencies of 700 Mhz and 900 Mhz respectively. Suppose
A can execute an instruction with an average of 3 steps and B can execute with an average of 5
steps. For the execution of the same instruction which processor is faster?
i. A
ii. B
iii. Both take the same time
iv. Insufficient information
33. ______ are used to overcome the difference in data transfer speeds of various devices.
i. Bridge circuits
ii. Speed enhancing circuitry
iii. Buffer registers
iv. Multiple Buses
35. _____ register Connected to the Processor bus is a single-way transfer capable
i. Temp
ii. PC
iii. Z
iv. IR
36. For a given FINITE number of instructions to be executed, which architecture of the processor
provides for a faster execution ?
i. Super-scalar
ii. ISA
iii. ANSA
iv. All of the above
37. In multiple Bus organization, the registers are collectively placed and referred as ______ .
i. Register file
ii. Set registers
iii. Register Block
iv. Map registers
38. The main advantage of multiple bus organisation over single bus is,
i. Increase in size of the registers
ii. Reduction in the number of cycles for execution
iii. Better Connectivity
iv. None of these
39. As of 2000, the reference system to find the performance of a system is _____ .
i. None of these
ii. Ultra SPARC 10
iii. SUN II
iv. SUN SPARC
44. How many address lines are needed to address each memory locations in a 2048 x 4 memory chip?
i. 8
ii. 10
iii. 11
iv. 12
45. A computer program that converts an entire program into machine language at one time is called a/an
i. simulator
ii. interpreter
iii. commander
iv. compiler
49. The ALU and control unit of most of the microcomputers are combined and manufacture on a
single silicon chip. What is it called?
i. microprocessor
ii. ALU
iii. Mono-chip
iv. control unit
52. Optimizations on sources with output leading to later optimization passes are known as
i. Low-level optimizations
ii. High-level optimizations
iii. Local optimizations
iv. Global optimizations
54. The amount of time required to read a block of data from a disk into memory is composed of seek
time, rotational latency, and transfer time. Rotational latency refers to
i. the time it takes for the platter to make a full rotation
ii. the time it takes for the read-write head to move into position over the appropriate track
iii. the time it takes for the platter to rotate the correct sector under the head
iv. none of the above
57. When home node being local node, copies may exist in a third node, called
i. Home node
ii. Guest node
iii. Remote node
iv. Host node
59. Requesting node sending requested data starting from memory, and requestor which has made only
sharing node, known as
i. Write miss
ii. Write node
iii. Read miss
iv. Read node