This set of Computer Fundamentals online test focuses on “Machine Languages”.
Q. 1. The language made up of binary coded instructions.
(1) Machine
(2) C
(3) BASIC
(4) High level
----
Answer: (1)
Explanation: The language made up of binary coded instructions built into the hardware of a particular computer and used directly by the computer is machine language.
Q. 2. Binary code comprises of digits from 0 to 9.
(1) True
(2) False
----
Answer: (2)
Explanation: The statement is false. Binary as the word suggests contains only 2 digits : 0 and 1.
0 denotes false and 1 denotes a truth value.
Q. 3. The ___________ contains the address of the next instruction to be executed.
(1) IR
(2) PC
(3) Accumulator
(4) System counter
----
Answer: (2)
Explanation: PC stands for program counter (It contains the address of the next instruction to be executed).
Q. 4. The memory unit is made up of _____ bytes.
(1) 256
(2) 124
(3) 4096
(4) 3096
----
Answer: (3)
Explanation: The memory unit is made up of 4,096 bytes. Memory unit is responsible for the storage of data. It is an important entity in the computer system.
Q. 5. A document that specifies how many times and with what data the program must be run in order to thoroughly test it.
(1) addressing plan
(2) test plan
(3) validation plan
(4) verification plan
----
Answer: (2)
Explanation: Test plan is the A document that specifies how many times and with what data the program must be run in order to thoroughly test it. It comes under testing.
Q. 6. An approach that designs test cases by looking at the allowable data values.
(1) Maintenance
(2) Evaluation
(3) Data coverage
(4) Validation
----
Answer: (3)
Explanation: Data coverage is the term used. It is responsible for designing the test cases.
Q. 7. The formal grammar rules governing the construction of valid instruction.
(1) test case
(2) syntax
(3) program
(4) semantics
Answer: (2)
Explanation: Syntax determines the grammatical rules in a code. Semantics give meaning to the instructions.
Q. 8. A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent.
(1) Machine language
(2) Assembler
(3) Interpreter
(4) C program
----
Answer: (2)
Explanation: Assembler does this job. A language that uses mnemonic codes for the representation of machine-language instructions is called assembly language.
Q. 9. An approach that designs test cases by looking at the allowable data values.
(1) Data coverage
(2) Code Coverage
(3) Debugging
(4) Validation
----
Answer: (1)
Explanation: Data coverage is an approach that designs test cases by looking at the allowable data values. Code coverage is an approach that designs test cases by looking at the code.
Q. 10. The rules that give meaning to the instructions.
(1) Semantics
(2) Syntax
(3) Code
(4) Cases
----
Answer: (1)
Explanation: The answer is semantics. They are the rules that give meaning to the instructions. Syntax is the formal rules that ensure validation of code.
कोई टिप्पणी नहीं:
एक टिप्पणी भेजें