Understanding Hardware Concepts: Monthly Test Guide for IT Pros

School
University of Computer Study, Yangon**We aren't endorsed by this school
Course
COM 101
Subject
Computer Science
Date
Dec 12, 2024
Pages
4
Uploaded by mohmohzan
IT Professional Course Batch (3)HardwareMonthly Test June, 2023Choose the correct answer for the following questions.1.1024 bits is equal to how many byte(a) 1byte (b) 128bytes (c) 32bytes (d) 64bytes2.The ____ bus that simultaneously sends multiple bits.(a) Parallel (b) SCSI (c) Serial (d) Fiber3.Many applications of digital logic require a ____ circuit with multiple inputs and outputs in which the outputs are uniquely determined by the current input values.(a) combination (b) sequential (c) arithmetic (d) integrated4.For logical variables p and q, which of the following is a logical expression that evaluatesto true for any values of p and q?(a) p+(p.q) (b) (p.q)+¿5.The figure shows the storage sequence of instructions fetched by a processor. Which ofthe following corresponds to a?(a) Accumulator (b) Data Cache (c) Instruction register (d) Program register (Program counter)6.Which of the following is a logical expression that is equivalent to the logic circuit shownbelow? (a) A ANDB (b) A AND(A ORB) (c) A ORB (d) B AND(A ORB)7.Which of the following is an addressing mode that provides an offset to the programcounter (PC) content to determine the address of the operand?(a) Immediate addressing mode (b) Indirect addressing mode(c) Register indirect addressing mode (d) Relative addressing mode8.Which of the following is a special register that contains the address of the nextinstruction to be fetched?(a) Accumulator (b) Program Counter (PC) (c) Stack Pointer (d) Timer1Main MemoryaInstruction decoderProcessor
Background image
9.For two 8-bit signed integers A and B in 2’s complement format, which of the followingwill cause an overflow when the addition of A and B is executed?AB(a)0111 11111111 1110(b)0111 11110111 1110(c)1000 00000111 0000(d)1111 11111111 111110. Which of the following is a decimal that is represented as a finite digit octal fraction?(a) 0.3 (b) 0.4 (c) 0.5 (d) 0.811. Which of the following is a logical expression equivalent to the exclusive-OR operationof logical variables p and q? Here, “”, “”, and “” are OR, AND, and NOT operators,respectively.(a) p q (b) (p q) ( pq) (c) (p q) (p q) (d) (p q) v (q p)12. Which of the following is the Exclusive-NOR logic function that is implemented withtwo-input NOR gates?13. Which of the following is an appropriate characteristic of SRAM compared with DRAM?(a) Compared with DRAM, SRAM consumes more power while it is idle.(b) Compared with DRAM, SRAM needs a fewer number of transistors to store one bit ofdata.(c) SRAM does not need to be refreshed periodically as flips flops retain data, andDRAM needs to be refreshed at fixed intervals to retain data.(d) SRAM stores data in a combination of capacitors and transistors, and DRAM storesdata in a set of transistors called flip-flops.14. For an 8-bit binary number, which of the following sets the middle 4 bits to 1s whileinverting the remaining bits?(a) Performing a bitwise AND operation with 00111100(b) Performing a bitwise NAND operation with 11000011(c) Performing a bitwise OR operation with 11000011(d) Performing a bitwise XOR operation with 001111002(d)(c)(b)(a)
Background image
15. If a given bit string contains at least one 1-bit, the algorithm below leaves the rightmost1-bit unchanged but makes all the others 0. For example, if the given bit string is00101000, the result will be 00001000. Which of the following is the appropriate logicaloperation to be filled in D?Step 1: By regarding the given bit string A as an unsigned binary number, let B be theresult of subtracting 1 from A.Step 2: Calculate the XOR (exclusive logical sum) of A and B, and let C be the result.Step 3: Calculate the of A and C, then set the result back to A.(a) AND (logical product) (b) NAND (negative logical product)(c) OR (logical sum) (d) XOR (exclusive logical sum)16. Which of the following is the addressing method that references data in the main memoryas shown in the figure below?(a) Direct addressing (b) Indexed addressing(c) Indirect addressing (d) Relative addressing17. Which of the following is an appropriate description concerning the clock frequency ofthe CPU in a PC?(a) The timing of instruction execution in the CPU changes depending on the clockfrequency. The speed of instruction execution increases with the clock frequency.(b) The communication speed of the LAN changes depending on the clock frequency.The communication speed of the LAN increases with the clock frequency.(c) The rotation speed of the hard disk changes depending on the clock frequency. Therotation speed increases with the clock frequency and the transfer rate of the hard diskincreases.(d) The interrupt interval of the real-time processing changes depending on the clockfrequency. The interrupt frequency increases with the clock frequency, and theprocessing speed of the real-time processing increases.18. When an instruction that involve access to the main memory is executed, which of thefollowing is an operation that is performed between “instruction decode” and “operandfetch”?(a) Calculation of an effective address (b) Start of an I/O device(c) Calculation of a branch address (d) Occurrence of an interrupt3D
Background image
19. For the following truth table, determine the logical expression. InputsA B COutputX0 0 000 0 110 1 000 1 111 0 011 0 101 1 001 1 11(a) A BC+ABC+ABC+ABC(b) ABC+A BC+ABC+ABC(c) ABC+ABC+ABC+A BC(d) ABC+ABC+A BC+ABC20. Determine which of the logic circuits in the following figure are equivalent.4(d)(c)(b)(a)
Background image