Docsity

Computer Science Illuminated Eighth Edition, Exercises of Computer Fundamentals

Partial preview of the text

Download Computer Science Illuminated Eighth Edition and more Exercises Computer Fundamentals in PDF only on Docsity!

Computer Science Illuminated

Eighth Edition Dale SOLUTION

MANUAL

Paper 1: Foundations & Data Representation (Questions 1–

1. What is the "von Neumann architecture" primarily defined by? A) Cloud-based processing B) Stored-program concept C) Shared memory for data and instructions D) Parallel processing units Rationale: The von Neumann architecture is defined by storing both data and instructions in the same memory space. 2. In binary, what is the decimal value of 1101? A) 10 B) 12 C) 13 D) 15 Rationale: (18)+(14)+(02)+(11) = 13. 3. Which numbering system is used as a shorthand for binary in computer science? A) Decimal B) Octal C) Hexadecimal D) Base- Rationale: Hex uses 4 bits per digit, making it an efficient shorthand for binary.

B) Representing text characters C) Representing sound waves D) Representing network addresses Rationale: ASCII is a character encoding standard for text. 9. In floating-point representation, the "mantissa" represents: A) The exponent B) The significant digits C) The sign D) The base Rationale: The mantissa (or significand) holds the precision bits. 10. What is one's complement of binary 1010? A) 0101 B) 0101 C) 1011 D) 1100 Rationale: One's complement flips all bits: 1010 -> 0101. 11. Which is an example of an optical storage medium? A) Hard Drive B) CD-ROM C) RAM D) Flash Drive Rationale: CD-ROM uses laser light to read data. 12. For signed integers, which method is most common for negative numbers? A) Sign magnitude B) Two's complement C) One's complement

D) Excess notation Rationale: Two's complement is the standard for signed integers. 13. What is the decimal value of hex 1A? A) 24 B) 25 C) 26 D) 27 Rationale: (116)+(101) = 26. 14. A "NAND" gate is equivalent to: A) AND followed by OR B) AND followed by NOT C) OR followed by NOT D) NOT followed by AND Rationale: NAND = NOT(AND). 15. What is vacuum tube technology associated with? A) Third Generation B) First Generation C) Second Generation D) Fourth Generation Rationale: First generation computers used vacuum tubes. 16. Which unit measures storage capacity at 2^40 bytes? A) Gigabyte B) Terabyte C) Petabyte D) Kilobyte Rationale: TB = 10^12 bytes or 2^40 bytes.**v

Rationale: 8-bit two’s complement can represent –2^7 to 2^7–1 = –128 to +127. 21. What does the term "volatile memory" mean? A) Memory that wears out quickly B) Memory that loses data when power is removed C) Memory that can be written only once D) Memory that uses optical storage Rationale: Volatile memory (e.g., RAM) requires power to retain data. 22. Which gate outputs 1 if and only if its inputs are different? A) OR B) AND C) XOR D) XNOR Rationale: XOR (exclusive OR) outputs 1 when inputs differ. 23. What is the decimal value of the binary number 0.101? A) 0. B) 0. C) 0.625 D) 0. Rationale: Binary 0.101 = 1/2 + 0/4 + 1/8 = 0.5 + 0.125 = 0.625. 24. In the context of data compression, "lossless" means: A) Some data is permanently removed B) The original data can be perfectly reconstructed C) The compression ratio is extremely high D) The decompression is slower than compression Rationale: Lossless compression allows exact reconstruction of the original data.

25. Which generation of computers introduced integrated circuits (ICs)? A) First Generation B) Second Generation C) Third Generation D) Fourth Generation Rationale: ICs (chips) were the hallmark of third-generation computers (1960s– 70s). 26. What is the result of the Boolean expression (A AND B) OR (A AND NOT B) simplified? A) A B) B C) A OR B D) A AND B Rationale: (A∧B) ∨ (A∧¬B) = A∧(B∨¬B) = A∧1 = A. 27. Which of the following is a valid hexadecimal representation? A) G B) A3F C) 1024 D) 0xK Rationale: Hexadecimal digits are 0–9 and A–F. A3F is valid. 28. What is the basic building block of all digital circuits? A) Transistor B) Logic gate C) Flip-flop D) Register Rationale: Logic gates are the fundamental components for implementing Boolean functions.

33. How many bits are needed to represent 1000 distinct values? A) 8 B) 9 C) 10 D) 11 Rationale: 2^9 = 512 (too few), 2^10 = 1024 (enough). So 10 bits. 34. Which base system is most efficient for representing large binary numbers compactly? A) base 8 B) base 16 C) base 10 D) base 2 Rationale: Hexadecimal (base 16) uses one digit per 4 bits, offering the most compact representation among common bases. 35. A NOR gate is logically equivalent to: A) OR followed by AND B) OR followed by NOT C) AND followed by NOT D) NOT followed by OR Rationale: NOR = NOT(OR). 36. Which is an example of an input device? A) Monitor B) Scanner C) Printer D) Speaker Rationale: A scanner converts physical images into digital data, acting as an input device.

37. What is the primary function of the ALU (Arithmetic/Logic Unit)? A) Perform arithmetic and logical operations B) Manage memory access C) Decode instructions D) Store intermediate results Rationale: The ALU carries out calculations and logical comparisons. 38. In data representation, what is a "word"? A) 8 bits B) 16 bits C) The natural unit of data for a particular computer architecture D) A single character Rationale: Word size varies by architecture (e.g., 32-bit or 64-bit) and is the standard processing unit. 39. Which boolean identity is represented by A + 1 = 1? A) Identity B) Null element C) Dominance D) Complement Rationale: The "Dominance" (or annulment) law states that OR with 1 always yields 1. 40. What is the decimal value of the binary fraction 0.001 (base 2)? A) 0. B) 0.125 C) 0.