250+ TOP MCQs on Machine Languages and Answers

Computer Fundamentals online test on “Machine Languages”.

1. The language made up of binary coded instructions.
a) Machine
b) C
c) BASIC
d) High level

Answer: a
Clarification: 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.

2. Binary code comprises of digits from 0 to 9.
a) True
b) False

Answer: b
Clarification: 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.

3. The ___________ contains the address of the next instruction to be executed.
a) IR
b) PC
c) Accumulator
d) System counter

Answer: b
Clarification: PC stands for program counter (It contains the address of the next instruction to be executed).

4. The memory unit is made up of _____ bytes.
a) 256
b) 124
c) 4096
d) 3096

Answer: c
Clarification: 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.

5. A document that specifies how many times and with what data the program must be run in order to thoroughly test it.
a) addressing plan
b) test plan
c) validation plan
d) verification plan

Answer: b
Clarification: 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.

6. An approach that designs test cases by looking at the allowable data values.
a) Maintenance
b) Evaluation
c) Data coverage
d) Validation

Answer: c
Clarification: Data coverage is the term used. It is responsible for designing the test cases.

7. The formal grammar rules governing the construction of valid instruction.
a) test case
b) syntax
c) program
d) semantics

Answer: b
Clarification: Syntax determines the grammatical rules in a code. Semantics give meaning to the instructions.

8. A program that reads each of the instructions in mnemonic form and translates it into the machine-language equivalent.
a) Machine language
b) Assembler
c) Interpreter
d) C program

Answer: b
Clarification: Assembler does this job. A language that uses mnemonic codes for the representation of machine-language instructions is called assembly language.

9. An approach that designs test cases by looking at the allowable data values.
a) Data coverage
b) Code Coverage
c) Debugging
d) Validation

Answer: a
Clarification: 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.

10. The rules that give meaning to the instructions.
a) Semantics
b) Syntax
c) Code
d) Cases

Answer: a
Clarification: The answer is semantics. They are the rules that give meaning to the instructions. The syntax is the formal rules that ensure validation of code.

Leave a Reply

Your email address will not be published. Required fields are marked *