Problem 1
Mark the following statements as true or false. a. The first device known to carry out calculations was the Pascaline. b. Modern-day computers can accept spoken-word instructions but cannot imitate human reasoning. c. In ASCII coding, every character is coded as a sequence of 8 bits. d. \(A\) compiler translates a high-level program into assembly language. e. The arithmetic operations are performed inside the \(\mathrm{CPU}\), and if an error is found, it outputs the logical errors. f. A sequence of 0 s and 1 s is called a decimal code. g. A linker links and loads the object code from main memory into the CPU for execution. h. Development of a \(\mathrm{C}++\) program includes six steps. i. A program written in a high-level programming language is called a source program. I. \(\quad Z B\) stands for zero byte. k. The first step in the problem-solving process is to analyze the problem. I. In object-oriented design, a program is a collection of interacting functions.
Problem 3
Name three hardware components.
Problem 4
Why is secondary storage needed?
Problem 5
What is the function of an operating system?
Problem 7
What are the differences between machine languages and high-level languages?
Problem 8
What is a source program?
Problem 9
Why do you need a compiler?
Problem 10
What kind of errors are reported by a compiler?
Problem 11
Why do you need to translate a program written in a high-level language into machine language?
Problem 12
Why would you prefer to write a program in a high-level language rather than a machine language?