CS 151 - Module 1 Questions with Correct Answers 2025/2026
CS 151 - Module 1 Questions with Correct Answers 2025/2026 What is programming? - Correct Answer Developing software (programs) — writing instructions that tell a computer what to do. In this course, we use Java to solve problems. Define software. - Correct Answer A collection of instructions (programs) that tell a computer what to do. Name the major hardware components of a computer. - Correct Answer CPU, Memory (RAM), Storage devices, Input devices, Output devices, Communication devices. What are the two main components of the CPU? - Correct Answer The Control Unit and the Arithmetic/Logic Unit (ALU). What does CPU clock speed measure and in what units? - Correct Answer Number of electronic pulses per second; measured in Hertz (Hz). Modern speeds are commonly in gigahertz (GHz). Define bit and byte. - Correct Answer Bit: a binary digit (0 or 1). Byte: a group of 8 bits. What is an encoding scheme? Give an example. - Correct Answer Rules for translating characters/numbers into bits (0s and 1s). Example: ASCII, where 'C' is . What is RAM (main memory)? - Correct Answer Random Access Memory: volatile storage directly connected to the CPU. Programs/data must be loaded here to run; contents lost when power off.
Document information
- Uploaded on
- September 10, 2025
- Number of pages
- 6
- Written in
- 2025/2026
- Type
- Exam (elaborations)
- Contains
- Questions & answers