Computer Fundamentals Multiple choice Questions and Answers on Machine Languages for Freshers

1. The language made up of binary coded instructions.

a) Machine
b) C
c) BASIC
d) High level
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
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
Answer: b

Explanation: 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

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
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.
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

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

Explanation: 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

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
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.
10. The rules that give meaning to the instructions.

a) Semantics
b) Syntax
c) Code
d) Cases
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.

Related

C Programming Questions and Answers on Goto & Labels for Freshers

1. What is the output of the code given below? #include int main() { printf("%d ", 1); goto l1; printf("%d ", 2); l1:goto l2; pr...

Java Multiple Choice Questions & Answers on Inheritance for Freshers

1. Which of these keyword must be used to inherit a class? a) superb) thisc) extentd) extends Answer: d 2. Which of these keywords is used to refer to member of base class from a sub class? a) u...

HTML Multiple Choice Questions & Answers on Client-Side Graphics with Canvas for Freshers

1. Which of the following element is used for canvas graphics? a) b) <canvas> c) d) Answer: b Explanation: The HTML canvas element is used to draw graphics, on the fly, v...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item