1.
A program is a group of----------------------- .
Correct Answer
C. Instructions
Explanation
A program is a group of instructions that are written in a specific programming language to perform a specific task or set of tasks. These instructions provide the necessary steps for the computer to execute and carry out the desired operations.
2.
The instructions written in the code of a program should be ------------------------------ .
Correct Answer
B. Sequenced
Explanation
The instructions written in the code of a program should be sequenced. This means that they should be arranged in a specific order or sequence to ensure that the program runs correctly. Each instruction builds upon the previous one, and the order in which they are executed matters. By following a specific sequence, the program can perform the desired operations and produce the expected results. Complicating the instructions may make the program harder to understand and maintain, while abbreviating them could lead to ambiguity or errors. Therefore, sequencing the instructions is crucial for the proper functioning of a program.
3.
A computer understands-----------------------------------.
Correct Answer
B. Binary code
Explanation
A computer understands binary code, which is a system of representing data and instructions using only two digits, 0 and 1. Binary code is the fundamental language of computers, as it is the form in which all data and instructions are ultimately processed and executed by the computer's hardware. High level languages, such as VB Script, Curl, and C++, are programming languages that are used to write code in a more human-readable and understandable way, but they are ultimately translated into binary code for the computer to execute.
4.
A compiler stores the program in----------------------------------------- .
Correct Answer
B. Binary code
Explanation
A compiler stores the program in binary code. This is because a compiler translates the high-level language code into machine-readable binary code, which consists of 0s and 1s. The binary code is then executed by the computer's processor. Storing the program in binary code allows for efficient execution and ensures compatibility with the computer's hardware. High-level languages are not stored directly by the compiler, but rather translated into binary code before being stored and executed. Therefore, the correct answer is binary code.
5.
An interpreted program is stored in-------------------------------------------- .
Correct Answer
A. High level languages.
Explanation
An interpreted program is stored in high-level languages. Interpreted programming languages, such as Python or JavaScript, do not need to be compiled before execution. Instead, the interpreter directly executes the program's code line by line. This means that the program is stored in a high-level language format, which is then interpreted and executed by the interpreter.
6.
A compiled program ------------------------------------------.
Correct Answer
B. Doesn't take time to be runned on the computer.
Explanation
A compiled program doesn't take time to be runned on the computer because it has already been translated from a high-level language into machine code, which can be directly executed by the computer's processor. This eliminates the need for the computer to interpret and translate the code at runtime, resulting in faster execution time.
7.
An interpreted program ---------------------------------------------------------------------.
Correct Answer
D. All of the above.
Explanation
An interpreted program is saved in high-level languages, takes time to be run on the computer, and is easy to modify its code.
8.
Tick next to the devices controlled by a program.
Correct Answer
D. Microwave
Explanation
Microwave is the correct answer because it is a device that can be controlled by a program. Microwaves have programmable settings that allow users to set the cooking time and power level, which are essentially instructions or commands given through a program. The other devices listed, such as an electric bulb, thermometer, and speedometer, do not typically have programmable features and are not controlled by a program.
9.
Tick next to the device that is not controlled by a program.
Correct Answer
D. Stove
Explanation
The stove is not controlled by a program. Unlike the other devices listed, the stove does not typically have any electronic controls or programmable features. Instead, it is operated manually by adjusting the knobs or switches to control the heat and cooking settings.
10.
Tick next to the language understood by a computer.
Correct Answer
D. Binary
Explanation
Binary is the only language in the given options that is directly understood by a computer. It is a low-level language that consists of only 0s and 1s, representing the on and off states of electronic circuits in a computer. Other languages like Perl, Basic, Pascal, and Python are high-level languages that need to be translated or compiled into machine code (which is in binary form) before a computer can understand and execute them. Therefore, binary is the correct answer as it is the language that computers can directly interpret.