4.6 Hardware and Software Flashcards
- High-level languages
- Machine codes
- Assembly languages
- Binary codes
What is the correct arrangement of programming languages in the order of understandability by humans?
1, 3, 2, 4
Machine codes are written in what form?
Binary or hexadecimal
Which type of programming language uses codes such as ADD, MOV and DEL?
Assembly language
Consider the instruction: ADD AX, 08h. What represents the opcode?
ADD
Which of the following is NOT a register?
Accumulator
Program counter
MAR
Mnemonic
Mnemonic
Which of the following register performs the calculations and stores the result?
Accumulator
In which of the following instruction operands are not specified?
INP
Where is the input from the user stored first when the instruction INP is used?
Accumulator
What is the function of instruction DAT?
Labels a memory location.
What instruction is used to stop the execution of a program?
HLT
Which of the following refers to a branch instruction?
BRP
After execution of this instruction: MOV A, 05H; the ACC contains value 05H. What type of addressing is followed in this instruction?
Immediate addressing
What are the 3 types of translators
Assemblers
Compilers
Interpreters
what is a translator
A utility program that translates the program written by programmers and codes in an assembly language into binary form.
what does an interpreter do
A computer program that reads a statement from a program written in high-level language, performs the action specified by the statement and then proceeds to the next statement and so on.