wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

A Level Computer Science - Chapters 1 to 6

Total questions: 125

Worksheet time: 1hrs 3mins

Name
Class
Date
1.

What is the base of the binary number system?

a)

10

b)

5

c)

2

d)

8

2.

How is addition performed in binary arithmetic?

a)

By dividing the digits from left to right

b)

By subtracting the digits from left to right

c)

By multiplying the digits from right to left

d)

By adding the digits from right to left and carrying over any extra 1s to the next column.

3.

What is the difference between ASCII and Unicode?

a)

ASCII is used for non-Latin characters while Unicode is used for Latin characters.

b)

Unicode contains a wider range of characters compared to ASCII.

c)

There is no difference between ASCII and Unicode.

d)

Unicode contains fewer characters than ASCII.

4.

Explain the concept of internal coding of text.

a)

Internal coding of text is the method of encrypting text to make it unreadable to unauthorized users.

b)

Internal coding of text is the process of embedding hidden messages within the text using special characters.

c)

Internal coding of text is the representation of characters using numerical codes, such as ASCII or Unicode.

d)

Internal coding of text refers to the process of writing secret messages within a text using a specific code language.

5.

What is the significance of image coding in computer science?

a)

It allows for the compression and storage of visual data, enabling efficient transmission and processing of images.

b)

It is only used for creating 3D images

c)

It only applies to printed images, not digital ones

d)

It has no significance in computer science

6.

What are the different types of number systems?

a)

Decimal, Binary, Octal, Hexadecimal

b)

Cat, Dog, Bird, Fish

c)

Apple, Orange, Banana, Grape

d)

Red, Blue, Green, Yellow

7.

How is subtraction performed in binary arithmetic?

a)

By ignoring the borrow and subtracting normally

b)

By borrowing from the next higher bit when necessary.

c)

By adding the two's complement of the subtrahend

d)

By converting the numbers to decimal and then subtracting

8.

What are the advantages of using Unicode over ASCII?

a)

Unicode is less efficient than ASCII

b)

Unicode allows for the representation of a much larger set of characters and symbols compared to ASCII.

c)

Unicode is not compatible with modern systems

d)

Unicode has a smaller character set than ASCII

9.

Describe the process of compression in computer science.

a)

Increasing data size to reduce transmission time

b)

Expanding data size to increase storage space

c)

Copying data to create more storage space

d)

Reduction of data size to save storage space or transmission time

10.

What are the applications of binary number systems in computer science?

a)

Not applicable in computer science

b)

All of the above

c)

Limited to representing small numbers

d)

Only used for basic calculations

11.

Explain the concept of sound coding.

a)

The process of converting taste waves into digital signals

b)

The process of converting light waves into digital signals

c)

The process of converting sound waves into digital signals for storage or transmission.

d)

The process of converting smell waves into digital signals

12.

How is multiplication performed in binary arithmetic?

a)

By using the principles of binary subtraction

b)

By using the principles of binary division

c)

By using the principles of binary exponentiation

d)

By using the principles of binary addition and carrying over when necessary.

13.

What are the limitations of ASCII in representing text?

a)

Unlimited character set and ability to represent all languages and symbols

b)

Highly efficient in representing non-English characters and special symbols

c)

Limited character set and inability to represent non-English characters and special symbols.

d)

No limitations in representing text

14.

Discuss the role of binary arithmetic in computer science.

a)

Binary arithmetic is only used in non-digital computers

b)

Binary arithmetic is only used in advanced computer science research

c)

Binary arithmetic is essential for performing calculations and representing data in computers.

d)

Binary arithmetic has no relevance in computer science

15.

What are the different types of image formats used in computer science?

a)

AVI, MP4, MOV, WMV, MKV

b)

MP3, WAV, FLAC, AAC, WMA

c)

TXT, DOC, PDF, XLS, PPT

d)

JPEG, PNG, GIF, BMP, TIFF

16.

What is the importance of hexadecimal number system in computer science?

a)

It is not used in computer science

b)

It is used for representing colors in web development

c)

It is used for representing memory addresses and binary data in a more compact form

d)

It is only used for basic calculations

17.

Explain the concept of bit manipulation in computer science.

a)

Bit manipulation is not applicable in computer science

b)

It is the process of modifying individual bits in a binary sequence to achieve a specific result

c)

It is the process of converting binary numbers to decimal numbers

d)

It is the process of converting decimal numbers to binary numbers

18.

What are the different types of logic gates used in computer science?

a)

AND, OR, NOT, XOR, NAND, NOR, XNOR

b)

ADD, SUB, MUL, DIV

c)

IF, ELSE, WHILE, FOR

d)

HTML, CSS, JavaScript, Python

19.

What is the significance of octal number system in computer science?

a)

It is not used in computer science

b)

It is used for representing colors in web development

c)

It is used for representing memory addresses and binary data in a more compact form

d)

It is only used for basic calculations

20.

Explain the concept of data compression in computer science.

a)

Increasing data size to reduce transmission time

b)

Expanding data size to increase storage space

c)

Copying data to create more storage space

d)

Reduction of data size to save storage space or transmission time

21.

What are the different types of audio formats used in computer science?

a)

MP3, WAV, FLAC, AAC, WMA

b)

AVI, MP4, MOV, WMV, MKV

c)

TXT, DOC, PDF, XLS, PPT

d)

JPEG, PNG, GIF, BMP, TIFF

22.

What is the purpose of sound compression in computer science?

a)

To increase the size of audio files for better quality

b)

To reduce the size of audio files for efficient storage and transmission

c)

To convert audio files into visual format

d)

To convert audio files into text format

23.

How does sound compression impact the quality of audio files?

a)

It improves the quality of audio files

b)

It has no impact on the quality of audio files

c)

It reduces the quality of audio files

d)

It distorts the quality of audio files

24.

What is the significance of understanding sound compression in computer science?

a)

It is not relevant in computer science

b)

It is essential for efficient storage and transmission of audio data

c)

It is only applicable in music production

d)

It is only used for creating sound effects in video games

25.

Explain the concept of sound propagation in computer science.

a)

It is not relevant in computer science

b)

It is essential for understanding the behavior of sound waves in different mediums

c)

It is only applicable in music production

d)

It is only used for creating sound effects in video games

26.

What is the base of the binary number system?

a)

10

b)

5

c)

2

d)

8

27.

How is addition performed in binary arithmetic?

a)

By dividing the digits from left to right

b)

By subtracting the digits from left to right

c)

By multiplying the digits from right to left

d)

By adding the digits from right to left and carrying over any extra 1s to the next column.

28.

What is the difference between ASCII and Unicode?

a)

ASCII is used for non-Latin characters while Unicode is used for Latin characters.

b)

Unicode contains a wider range of characters compared to ASCII.

c)

There is no difference between ASCII and Unicode.

d)

Unicode contains fewer characters than ASCII.

29.

Explain the concept of internal coding of text.

a)

Internal coding of text is the method of encrypting text to make it unreadable to unauthorized users.

b)

Internal coding of text is the process of embedding hidden messages within the text using special characters.

c)

Internal coding of text is the representation of characters using numerical codes, such as ASCII or Unicode.

d)

Internal coding of text refers to the process of writing secret messages within a text using a specific code language.

30.

What is the significance of image coding in computer science?

a)

It allows for the compression and storage of visual data, enabling efficient transmission and processing of images.

b)

It is only used for creating 3D images

c)

It only applies to printed images, not digital ones

d)

It has no significance in computer science

31.

What are the different types of number systems?

a)

Decimal, Binary, Octal, Hexadecimal

b)

Cat, Dog, Bird, Fish

c)

Apple, Orange, Banana, Grape

d)

Red, Blue, Green, Yellow

32.

How is subtraction performed in binary arithmetic?

a)

By ignoring the borrow and subtracting normally

b)

By borrowing from the next higher bit when necessary.

c)

By adding the two's complement of the subtrahend

d)

By converting the numbers to decimal and then subtracting

33.

What are the advantages of using Unicode over ASCII?

a)

Unicode is less efficient than ASCII

b)

Unicode allows for the representation of a much larger set of characters and symbols compared to ASCII.

c)

Unicode is not compatible with modern systems

d)

Unicode has a smaller character set than ASCII

34.

Describe the process of compression in computer science.

a)

Increasing data size to reduce transmission time

b)

Expanding data size to increase storage space

c)

Copying data to create more storage space

d)

Reduction of data size to save storage space or transmission time

35.

What are the applications of binary number systems in computer science?

a)

Not applicable in computer science

b)

All of the above

c)

Limited to representing small numbers

d)

Only used for basic calculations

36.

Explain the concept of sound coding.

a)

The process of converting taste waves into digital signals

b)

The process of converting light waves into digital signals

c)

The process of converting sound waves into digital signals for storage or transmission.

d)

The process of converting smell waves into digital signals

37.

How is multiplication performed in binary arithmetic?

a)

By using the principles of binary subtraction

b)

By using the principles of binary division

c)

By using the principles of binary exponentiation

d)

By using the principles of binary addition and carrying over when necessary.

38.

What are the limitations of ASCII in representing text?

a)

Unlimited character set and ability to represent all languages and symbols

b)

Highly efficient in representing non-English characters and special symbols

c)

Limited character set and inability to represent non-English characters and special symbols.

d)

No limitations in representing text

39.

Discuss the role of binary arithmetic in computer science.

a)

Binary arithmetic is only used in non-digital computers

b)

Binary arithmetic is only used in advanced computer science research

c)

Binary arithmetic is essential for performing calculations and representing data in computers.

d)

Binary arithmetic has no relevance in computer science

40.

What are the different types of image formats used in computer science?

a)

AVI, MP4, MOV, WMV, MKV

b)

MP3, WAV, FLAC, AAC, WMA

c)

TXT, DOC, PDF, XLS, PPT

d)

JPEG, PNG, GIF, BMP, TIFF

41.

What is the importance of hexadecimal number system in computer science?

a)

It is not used in computer science

b)

It is used for representing colors in web development

c)

It is used for representing memory addresses and binary data in a more compact form

d)

It is only used for basic calculations

42.

Explain the concept of bit manipulation in computer science.

a)

Bit manipulation is not applicable in computer science

b)

It is the process of modifying individual bits in a binary sequence to achieve a specific result

c)

It is the process of converting binary numbers to decimal numbers

d)

It is the process of converting decimal numbers to binary numbers

43.

What are the different types of logic gates used in computer science?

a)

AND, OR, NOT, XOR, NAND, NOR, XNOR

b)

ADD, SUB, MUL, DIV

c)

IF, ELSE, WHILE, FOR

d)

HTML, CSS, JavaScript, Python

44.

What is the significance of octal number system in computer science?

a)

It is not used in computer science

b)

It is used for representing colors in web development

c)

It is used for representing memory addresses and binary data in a more compact form

d)

It is only used for basic calculations

45.

Explain the concept of data compression in computer science.

a)

Increasing data size to reduce transmission time

b)

Expanding data size to increase storage space

c)

Copying data to create more storage space

d)

Reduction of data size to save storage space or transmission time

46.

What are the different types of audio formats used in computer science?

a)

MP3, WAV, FLAC, AAC, WMA

b)

AVI, MP4, MOV, WMV, MKV

c)

TXT, DOC, PDF, XLS, PPT

d)

JPEG, PNG, GIF, BMP, TIFF

47.

What is the purpose of sound compression in computer science?

a)

To increase the size of audio files for better quality

b)

To reduce the size of audio files for efficient storage and transmission

c)

To convert audio files into visual format

d)

To convert audio files into text format

48.

How does sound compression impact the quality of audio files?

a)

It improves the quality of audio files

b)

It has no impact on the quality of audio files

c)

It reduces the quality of audio files

d)

It distorts the quality of audio files

49.

What is the significance of understanding sound compression in computer science?

a)

It is not relevant in computer science

b)

It is essential for efficient storage and transmission of audio data

c)

It is only applicable in music production

d)

It is only used for creating sound effects in video games

50.

Explain the concept of sound propagation in computer science.

a)

It is not relevant in computer science

b)

It is essential for understanding the behavior of sound waves in different mediums

c)

It is only applicable in music production

d)

It is only used for creating sound effects in video games

51.

What is the functionality of computer system hardware?

a)

To water plants and walk the dog

b)

To process data, perform calculations, and execute instructions.

c)

To cook food and clean the house

d)

To play music and watch movies

52.

What are the main memory components of a computer system?

a)

Keyboard and mouse

b)

Hard drive and SSD

c)

CPU and GPU

d)

RAM and ROM

53.

Explain the purpose of secondary storage devices in a computer system.

a)

To store data and programs for long-term use, even when the computer is turned off.

b)

To connect the computer to the internet

c)

To cool down the computer system

d)

To provide power to the computer system

54.

How does computer system hardware functionality differ from embedded systems?

a)

Embedded systems are more expensive than computer system hardware

b)

Embedded systems are designed for specific tasks and are often part of a larger system, while computer system hardware is more general-purpose and can run a variety of software applications.

c)

Embedded systems are not part of a larger system, unlike computer system hardware

d)

Computer system hardware is designed for specific tasks while embedded systems are general-purpose

55.

What are the different types of memory components in a computer system?

a)

CPU, GPU, PSU

b)

Keyboard, mouse, monitor

c)

RAM, ROM, cache memory

d)

Hard drive, SSD, CD drive

56.

Discuss the importance of secondary storage devices in modern computer systems.

a)

They are only used for storing small amounts of data

b)

They are not necessary in modern computer systems

c)

They provide non-volatile storage for data and programs, allowing for long-term storage and retrieval of information.

d)

They are only used for temporary storage of data and programs

57.

Explain the role of output devices in a computer system.

a)

Output devices control the speed of the computer system.

b)

Output devices present the processed information to the user.

c)

Output devices input information into the computer system.

d)

Output devices store data in the computer system.

58.

What are the advantages of using embedded systems in electronic devices?

a)

No change in performance, same size, cost-neutral, and no impact on reliability.

b)

Decreased performance, increased size, expensive, and decreased reliability.

c)

Improved performance, reduced size, cost-effectiveness, and increased reliability.

d)

No impact on performance, increased size, cost-ineffective, and decreased reliability.

59.

How does RAM differ from ROM in terms of memory components?

a)

Fast vs. slow

b)

Hard vs. soft

c)

Blue vs. red

d)

Volatile vs. non-volatile

60.

Compare and contrast different types of secondary storage devices.

a)

Compare the color of the devices

b)

Consider the brand of the devices

c)

Contrast the weight of the devices

d)

Consider factors such as storage capacity, access speed, portability, durability, and cost.

61.

Discuss the impact of output devices on user experience in computer systems.

a)

Input devices have no impact on user experience in computer systems

b)

Output devices can significantly enhance or detract from the overall user experience in computer systems.

c)

Output devices only impact user experience in gaming computers

d)

User experience is not affected by the type of output device used

62.

What are the challenges associated with designing and implementing embedded systems?

a)

Not considering real-time operation and power consumption

b)

Identifying and managing hardware constraints, optimizing performance, ensuring real-time operation, managing power consumption, and dealing with limited resources

c)

Ignoring hardware constraints and performance optimization

d)

Having unlimited resources and no need for optimization

63.

Explain the concept of virtual memory and its role in computer systems.

a)

Virtual memory allows the computer to compensate for physical memory shortages, by temporarily transferring data from random access memory (RAM) to disk storage.

b)

Virtual memory has no role in computer systems

c)

Virtual memory is only used for storing temporary files

d)

Virtual memory is a type of memory that physically exists in the computer

64.

Explain the significance of input devices in modern computer systems.

a)

Input devices have no role in modern computer systems

b)

Input devices are only used for gaming purposes

c)

Input devices allow users to enter data and commands into the computer system, facilitating interaction and control.

d)

Input devices are only used for storing data and programs

65.

What are the benefits of using cache memory in computer systems?

a)

Cache memory has no impact on computer system performance

b)

Cache memory slows down the computer system

c)

Cache memory increases the size of the computer system

d)

Cache memory allows for faster access to frequently used instructions and data, improving overall system performance.

66.

Discuss the role of CPU and GPU in a computer system.

a)

CPU and GPU have no specific role in a computer system

b)

CPU and GPU are only used for gaming purposes

c)

CPU is responsible for executing instructions and GPU is responsible for rendering graphics in a computer system.

d)

CPU and GPU are only used for storing data and programs

67.

What are the different types of input devices commonly used in computer systems?

a)

Mouse, keyboard, and printer

b)

Monitor, scanner, and microphone

c)

Speaker, webcam, and projector

d)

Joystick, gamepad, and touchpad

68.

Explain the significance of sound input and output in modern computer systems.

a)

Sound input and output have no role in modern computer systems

b)

Sound input and output are only used for entertainment purposes

c)

Sound input and output allow users to communicate, listen to audio, and enhance multimedia experiences.

d)

Sound input and output are only used for recording and playing music

69.

Discuss the importance of touch screen technology as an input device in computer systems.

a)

Touch screen technology has no impact on computer systems

b)

Touch screen technology is only used for gaming purposes

c)

Touch screen technology provides intuitive interaction, ease of use, and flexibility in computer systems.

d)

Touch screen technology is only used for data storage in computer systems

70.

What are the primary input devices commonly used in computer systems?

a)

Keyboard, mouse, and scanner

b)

Monitor, printer, and microphone

c)

Speaker, webcam, and projector

d)

Joystick, gamepad, and touchpad

71.

What is the purpose of a truth table?

a)

To display the outputs of a logical expression for all possible input values.

b)

To create a timeline of historical events

c)

To organize data in a spreadsheet

d)

To calculate the average of a set of numbers

72.

What are the building blocks of logic circuits?

a)

Wood and nails

b)

Concrete and steel

c)

Bricks and mortar

d)

Logic gates

73.

Which subtopic deals with the basic principles of logic?

a)

Advanced Calculus

b)

Introduction to Psychology

c)

Introduction to Logic

d)

Organic Chemistry

74.

What are the fundamental operations in Boolean algebra?

a)

Up, Down, Left

b)

AND, OR, and NOT

c)

Add, Subtract, Multiply

d)

True, False, Maybe

75.

What is the output of an AND gate if both inputs are 1?

a)

1

b)

0

c)

2

d)

1

76.

What is the output of an OR gate if one input is 0 and the other is 1?

a)

2

b)

1

c)

3

d)

0

77.

What is the output of a NOT gate if the input is 0?

a)

3

b)

1

c)

2

d)

0

78.

Which logic gate produces an output that is the complement of the input?

a)

NOT gate

b)

NAND gate

c)

OR gate

d)

AND gate

79.

What is the symbol for an XOR gate?

a)

Square with a multiplication sign inside

b)

Diamond with a division sign inside

c)

Circle with a plus sign inside

d)

Triangle with a minus sign inside

80.

What is the symbol for a NAND gate?

a)

B

b)

A

c)

D

d)

C

81.

What is the result of an AND gate if both inputs are 1?

a)

2

b)

1

c)

3

d)

0

82.

Which logic gate produces an output that is the same as the input?

a)

NOT gate

b)

NAND gate

c)

OR gate

d)

AND gate

83.

What is the name of the model that describes the basic functioning of a computer processor?

a)

Boolean Model

b)

Von Neumann Model

c)

Turing Model

d)

Harvard Model

84.

Which component of the CPU architecture is responsible for performing arithmetic and logical operations?

a)

Control Unit

b)

ALU

c)

Cache Memory

d)

Registers

85.

What is the function of the system bus in a computer system?

a)

To connect the CPU to the monitor

b)

To transfer data between CPU, memory, and other hardware devices

c)

To store temporary data during processing

d)

To control the flow of electricity in the CPU

86.

Which of the following is NOT a factor contributing to system performance?

a)

Cache Size

b)

Bus Width

c)

Clock Speed

d)

Number of IO Ports

87.

What are IO ports used for in a computer system?

a)

To connect the CPU to the monitor

b)

To transfer data between CPU, memory, and other hardware devices

c)

To communicate with external devices such as keyboards and printers

d)

To control the flow of electricity in the CPU

88.

What is the primary function of the Fetch-Execute Cycle in a CPU?

a)

To control the flow of electricity in the CPU

b)

To transfer data between CPU, memory, and other hardware devices

c)

To execute instructions stored in memory

d)

To fetch data from the hard drive

89.

What is Register Transfer Notation used for in computer architecture?

a)

To describe the flow of data within the CPU

b)

To communicate with external devices such as keyboards and printers

c)

To transfer data between CPU, memory, and other hardware devices

d)

To represent the sequence of operations in the Fetch-Execute Cycle

90.

How does the CPU handle interrupts in a computer system?

a)

By transferring the interrupt to the system bus

b)

By increasing the clock speed to process the interrupt faster

c)

By pausing the current task to handle the interrupt request

d)

By ignoring them and continuing with the current task

91.

Which component of the CPU architecture is responsible for performing arithmetic and logical operations?

a)

Registers

b)

Control Unit

c)

Cache Memory

d)

ALU

92.

What is the function of the system bus in a computer system?

a)

To connect the CPU to the monitor

b)

To transfer data between CPU, memory, and other hardware devices

c)

To store temporary data during processing

d)

To control the flow of electricity in the CPU

93.

Which of the following is NOT a factor contributing to system performance?

a)

Bus Width

b)

Clock Speed

c)

Number of IO Ports

d)

Cache Size

94.

What are IO ports used for in a computer system?

a)

To control the flow of electricity in the CPU

b)

To transfer data between CPU, memory, and other hardware devices

c)

To connect the CPU to the monitor

d)

To communicate with external devices such as keyboards and printers

95.

What is the primary function of the Fetch-Execute Cycle in a CPU?

a)

To transfer data between CPU, memory, and other hardware devices

b)

To execute instructions stored in memory

c)

To fetch data from the hard drive

d)

To control the flow of electricity in the CPU

96.

What is Register Transfer Notation used for in computer architecture?

a)

To describe the flow of data within the CPU

b)

To communicate with external devices such as keyboards and printers

c)

To represent the sequence of operations in the Fetch-Execute Cycle

d)

To transfer data between CPU, memory, and other hardware devices

97.

What is the purpose of the control unit in CPU architecture?

a)

To execute instructions stored in memory

b)

To control the flow of electricity in the CPU

c)

To transfer data between CPU, memory, and other hardware devices

d)

To perform arithmetic and logical operations

98.

What is the role of cache memory in a computer system?

a)

To store temporary data during processing

b)

To connect the CPU to the monitor

c)

To transfer data between CPU, memory, and other hardware devices

d)

To control the flow of electricity in the CPU

99.

What is the significance of clock speed in system performance?

a)

To control the flow of electricity in the CPU

b)

To execute instructions stored in memory

c)

To fetch data from the hard drive

d)

To determine the speed of processing in the CPU

100.

What is the purpose of the control unit in CPU architecture?

a)

To execute instructions stored in memory

b)

To control the flow of electricity in the CPU

c)

To transfer data between CPU, memory, and other hardware devices

d)

To perform arithmetic and logical operations

101.

What is the role of cache memory in a computer system?

a)

To store temporary data during processing

b)

To connect the CPU to the monitor

c)

To transfer data between CPU, memory, and other hardware devices

d)

To control the flow of electricity in the CPU

102.

What is the function of the system bus in a computer system?

a)

To connect the CPU to the monitor

b)

To transfer data between CPU, memory, and other hardware devices

c)

To store temporary data during processing

d)

To control the flow of electricity in the CPU

103.

What is the role of the control unit in CPU architecture?

a)

To execute instructions stored in memory

b)

To control the flow of electricity in the CPU

c)

To transfer data between CPU, memory, and other hardware devices

d)

To perform arithmetic and logical operations

104.

What is the significance of clock speed in system performance?

a)

To control the flow of electricity in the CPU

b)

To execute instructions stored in memory

c)

To fetch data from the hard drive

d)

To determine the speed of processing in the CPU

105.

What is the name of the model that describes the basic functioning of a computer processor?

a)

Boolean Model

b)

Von Neumann Model

c)

Turing Model

d)

Harvard Model

106.

What is the role of IO Ports in a computer system?

a)

To connect the CPU to the monitor

b)

To transfer data between CPU, memory, and other hardware devices

c)

To communicate with external devices such as keyboards and printers

d)

To control the flow of electricity in the CPU

107.

What is the significance of the Fetch-Execute Cycle in CPU architecture?

a)

To transfer data between CPU, memory, and other hardware devices

b)

To execute instructions stored in memory

c)

To fetch data from the hard drive

d)

To control the flow of electricity in the CPU

108.

How does the CPU handle interrupts in a computer system?

a)

By transferring the interrupt to the system bus

b)

By increasing the clock speed to process the interrupt faster

c)

By pausing the current task to handle the interrupt request

d)

By ignoring them and continuing with the current task

109.

What are machine code instructions?

a)

Programming languages used for web development

b)

Graphical user interface components

c)

Data storage formats for text documents

d)

Binary codes that directly control the CPU and other hardware components of a computer

110.

Explain the concept of assembly language.

a)

Assembly language is a high-level programming language that is easy to understand and use.

b)

Assembly language is a type of software used for graphic design and video editing.

c)

Assembly language is a low-level programming language that uses mnemonic codes to represent machine-level instructions and allows direct manipulation of hardware.

d)

Assembly language is a form of communication used by computers to interact with each other.

111.

How does relative addressing work in assembly language?

a)

By using the value stored in the stack pointer to calculate the address of the operand.

b)

By using the value stored in the index register to calculate the address of the operand.

c)

By using the value stored in the accumulator to calculate the address of the operand.

d)

By using the current value of the program counter to calculate the address of the operand.

112.

Define absolute addressing in the context of assembly language.

a)

Specifying the exact memory address of the data or instruction being accessed.

b)

Referring to the data or instruction indirectly through a pointer

c)

Accessing data or instruction without specifying the memory address

d)

Using a relative memory address for data or instruction access

113.

What is the purpose of a two-pass assembler in the assembly process?

a)

To make two passes over the source code, first to collect symbol information and generate a symbol table, and second to generate the actual machine code.

b)

To optimize the code for faster execution

c)

To generate the symbol table only

d)

To convert the source code into high-level language

114.

Explain the concept of addressing modes in assembly language.

a)

Addressing modes in assembly language refer to the various ways in which the processor can access operands.

b)

Addressing modes in assembly language are related to network protocols

c)

Addressing modes in assembly language are used for creating user interfaces

d)

Addressing modes in assembly language are used for graphic design

115.

What are the different types of machine code instructions?

a)

Red, blue, green, yellow

b)

Reading, writing, arithmetic, spelling

c)

Up, down, left, right

d)

Arithmetic, logic, data transfer, control transfer

116.

How does assembly language differ from high-level programming languages?

a)

High-level programming languages are specific to a particular computer architecture

b)

Assembly language is more abstract and portable than high-level programming languages

c)

Assembly language is easier to understand than high-level programming languages

d)

Assembly language is specific to a particular computer architecture, while high-level programming languages are more abstract and portable.

117.

Discuss the significance of relative addressing in assembly language programming.

a)

Relative addressing is only used for aesthetic purposes in assembly language programming.

b)

Relative addressing makes the code more complex and less portable.

c)

Relative addressing simplifies the programming process and makes the code more portable.

d)

Relative addressing has no significance in assembly language programming.

118.

How does absolute addressing impact the execution of assembly language programs?

a)

It makes the program less flexible and less portable.

b)

It has no impact on the execution of assembly language programs

c)

It makes the program more flexible and more portable

d)

It speeds up the execution of assembly language programs

119.

Why is it important to understand addressing modes in assembly language programming?

a)

To increase memory usage and slow down performance

b)

To have no impact on the efficiency of the code

c)

To make the code more confusing and difficult to understand

d)

To optimize code, improve performance, and reduce memory usage.

120.

What is the purpose of a linker in the context of programming?

a)

To combine multiple object files into a single executable file

b)

To convert high-level language code into machine code

c)

To debug and test the program for errors

d)

To optimize the code for faster execution

121.

Explain the concept of conditional branching in assembly language.

a)

Conditional branching allows the program to execute different instructions based on specified conditions

b)

Conditional branching is used to create loops in the program

c)

Conditional branching is not supported in assembly language

d)

Conditional branching is used to access memory directly

122.

What is the role of a macro in assembly language programming?

a)

To define a sequence of instructions as a single macro instruction

b)

To convert assembly language code into machine code

c)

To optimize the code for faster execution

d)

To create graphical user interfaces in assembly language

123.

Explain the concept of absolute addressing in assembly language.

a)

Specifying the exact memory address of the data or instruction being accessed.

b)

Referring to the data or instruction indirectly through a pointer

c)

Accessing data or instruction without specifying the memory address

d)

Using a relative memory address for data or instruction access

124.

Discuss the significance of relative addressing in assembly language programming.

a)

Relative addressing is only used for aesthetic purposes in assembly language programming.

b)

Relative addressing makes the code more complex and less portable.

c)

Relative addressing simplifies the programming process and makes the code more portable.

d)

Relative addressing has no significance in assembly language programming.

125.

Explain the concept of conditional branching in assembly language.

a)

Conditional branching allows the program to execute different instructions based on specified conditions

b)

Conditional branching is used to create loops in the program

c)

Conditional branching is not supported in assembly language

d)

Conditional branching is used to access memory directly