Computer Fundamentals Questions and Answers – Assembly Languages

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.
a) Microprocessor
b) Assembler
c) Microcontroller
d) Interpreter
View Answer

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

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

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

4. A direct reference of specific location.
a) Segment Address
b) Absolute Address
c) Offset
d) Memory Address
View Answer

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

Answer: b
Explanation: Tasm is the borland turbo assembler. Nasm is used with linux generally. Gas is the GNU assembler.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. The instructions that tell the assembler what to do.
a) Executable instructions
b) Pseudo-ops
c) Logical instructions
d) Macros
View Answer

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

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

8. To speed up the processor operations, the processor includes some internal memory storage locations, called ___________
a) Drives
b) Memory
c) Units
d) Registers
View Answer

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

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

10. Each byte of character is stored as its ASCII value in _______
a) Hexadecimal
b) Binary
c) Octal
d) Decimal
View Answer

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.

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.

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.