Computer Fundamentals Questions and Answers – Machine Languages

This set of Computer Fundamentals online test focuses on “Machine Languages”.

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

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

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

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

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

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

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

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

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
View Answer

Answer: b
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.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

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

Answer: c
Explanation: 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
View Answer

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

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
View Answer

Answer: b
Explanation: 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
View Answer

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

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

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

Sanfoundry Global Education & Learning Series – Computer Fundamentals.

To practice all areas of Computer Fundamentals for online tests, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.