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

1. Each personal computer has a _________ that manages the computer’s arithmetical, logical and control activities.

a) Microprocessor
b) Assembler
c) Microcontroller
d) Interpreter
Answer: a

Explanation: Microprocessor handles all these activities. Each family of processors has its own set of instructions for handling various operations like getting input from keyboard, displaying information on a screen and performing various other jobs.
2. Assembly Language requires less memory and execution time.

a) True
b) False
Answer: a

Explanation: The statement is true.
Advantages of using assembly language are:
• It requires less memory and execution time.
• It allows hardware-specific complex jobs in an easier way.
• It is suitable for time-critical jobs.
3. The data size of a word is _________

a) 2-byte
b) 4-byte
c) 8-byte
d)16-byte
Answer: a

Explanation: The processor supports the following data sizes:
• Word: a 2-byte data item
• Double word: a 4-byte (32 bit) data item, etc.
4. A direct reference of specific location.

a) Segment Address
b) Absolute Address
c) Offset
d) Memory Address
Answer: b

Explanation: There are two kinds of memory addresses:
• An absolute address – a direct reference of specific location.
• The segment address (or offset) – starting address of a memory segment with the offset value.
5. A Borland Turbo Assembler.

a) nasm
b) tasm
c) gas
d) asm
Answer: b

Explanation: Tasm is the borland turbo assembler. Nasm is used with linux generally. Gas is the GNU assembler.
6. The instructions that tell the assembler what to do.

a) Executable instructions
b) Pseudo-ops
c) Logical instructions
d) Macros
Answer: a

Explanation: The executable instructions or simple instructions tell the processor what to do. Each instruction consists of an operation code (opcode). Each executable instruction generates one machine language instruction.
7. The segment containing data values passed to functions and procedures within the program.

a) Code
b) Data
c) Stack
d) System
Answer: c

Explanation: The stack segment contains data values passed to functions and procedures within the program. The code segment defines an area in memory that stores the instruction codes.
8. To speed up the processor operations, the processor includes some internal memory storage locations, called ___________

a) Drives
b) Memory
c) Units
d) Registers
Answer: d

Explanation: The processor has some internal memory storage locations, known as registers. The registers stores data elements for processing without having to access memory.
9. To locate the exact location of data in memory, we need the starting address of the segment, which is found in the DS register and an offset value. This offset value is also called?

a) Effective Address
b) Direct offset address
c) Memory address
d) General Address
Answer: a

Explanation: When operands are specified in memory addressing mode, direct access to main memory, usually to the data segment, is required. This way of addressing results in slower processing of data. To get the exact location of data in memory, we need segment start address, which is found in the DS register and an offset value. This offset value is called an effective address.
10. Each byte of character is stored as its ASCII value in _______

a) Hexadecimal
b) Binary
c) Octal
d) Decimal
Answer: a

Explanation: Assembly language deals with hexadecimal values only. Each decimal value is automatically converted to its 16-bit binary equivalent and stored as a hexadecimal number.

Related

Multiple Choice Questions 3447025146218832123

Post a Comment

emo-but-icon

item