This set of Computer Fundamentals Multiple Choice Questions & Answers (MCQs) focuses on “Assembly Languages”.
1. Each personal computer has a _________ that manages the computer’s arithmetical, logical and control activities.
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.
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 _________
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
d) Memory Address
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.
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
c) Logical instructions
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.
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 ___________
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
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 _______
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.
Sanfoundry Global Education & Learning Series – Computer Fundamentals.
To practice all areas of Computer Fundamentals, here is complete set of 1000+ Multiple Choice Questions and Answers.