Computer programs

Computer programs also are known as 9. a. hardware b. software The major computer operations include a. hardware and software b. input, processing, and output C. sequence and looping d. spreadsheets, word processing, and data communications a. operating systems b. hardware A programming language’s rules are its syntax Visual Basic, C++, and Java are all examples of computer a. b. logic a. CPU b. hard disk data C. d. information C. d. The most important task of a compiler or interpreter is to a. create the rules for a programming language b. translate English statements into a language such as Java C. translate programming language statements into machine language d. execute machine language programs to perform useful tasks Which of the following is temporary, internal storage? c. keyboard d. memory train the users of the program C. d. understand the problem machine languages programming languages Which of the following pairs of steps in the programming process is in the correct order? a. code the program, plan the logic b. test the program, translate it into machine language C. put the program into production, understand the problem d. code the program, translate it into machine language 8. A programmer’s most important task before planning the logic of a program is to C. format d. options a. flowcharts and pseudocode b. ASCII and EBCDIC c. Java and Visual Basic d. word processors and spreadsheets a. decide which programming language to use b. code the problem The two most commonly used tools for planning a program’s logic are

The Correct Answer and Explanation is :

Here are the correct answers and explanations for each question:

  1. Computer programs are also known as:
  • Answer: b. software
  • Explanation: A computer program is a set of instructions that a computer follows to perform a task. Software refers to programs that enable a computer to function, as opposed to hardware, which is the physical equipment.
  1. The major computer operations include:
  • Answer: b. input, processing, and output
  • Explanation: These are the three fundamental operations that a computer performs. Input is the data that is entered into the system, processing refers to the manipulation of the data by the CPU, and output is the result of the processing.
  1. A programming language’s rules are its:
  • Answer: Syntax
  • Explanation: The syntax of a programming language is the set of rules that define the structure of valid statements in that language, such as how commands should be written and how various elements are combined.
  1. Visual Basic, C++, and Java are all examples of computer:
  • Answer: programming languages
  • Explanation: Visual Basic, C++, and Java are all high-level programming languages used for writing software. These languages enable developers to create applications that are executed by a computer.
  1. The most important task of a compiler or interpreter is to:
  • Answer: c. translate programming language statements into machine language
  • Explanation: A compiler or interpreter converts high-level programming language code into machine-readable code (binary code) so that the computer can execute the instructions.
  1. Which of the following is temporary, internal storage?
  • Answer: d. memory
  • Explanation: Memory (often referred to as RAM) is temporary, internal storage used by the computer to hold data that is being actively processed. It is cleared when the computer is turned off.
  1. Which of the following pairs of steps in the programming process is in the correct order?
  • Answer: d. code the program, translate it into machine language
  • Explanation: After understanding the problem and planning the logic, the programmer writes (codes) the program in a high-level language. The program is then translated into machine language for execution.
  1. A programmer’s most important task before planning the logic of a program is to:
  • Answer: a. decide which programming language to use
  • Explanation: Before starting to write a program, a programmer must decide on the appropriate programming language. This decision is important as it influences the tools, libraries, and methods available for solving the problem.
  1. The two most commonly used tools for planning a program’s logic are:
  • Answer: a. flowcharts and pseudocode
  • Explanation: Flowcharts and pseudocode are common tools used in the initial stages of programming. Flowcharts visually represent the logic of a program, while pseudocode uses informal language to describe the steps of a program.

These answers and explanations cover the basics of computer programming, including the roles of software, memory, and the steps involved in the programming process. Understanding these concepts is fundamental for anyone looking to become proficient in software development.

Scroll to Top