You are on page 1of 4

While writing graphics pixel on the screen, which registers hold the value for setting cursor position?

Select the correct option CX, DX AX, CX BX, CX AX, BX


2/2
ChatGPT
ChatGPT
The correct option for setting cursor position while writing graphics pixels on the screen depends on
the graphics mode and the specific graphics API or programming environment you are using.
However, in a general sense, if you're referring to x and y coordinates for setting the cursor position,
the AX and DX registers are commonly used.

So, among the provided options, "AX, DX" is a more common pairing for setting cursor positions in
graphics programming.

You
Which of the following registers hold the page number for using the write string service of INT 10?
ChatGPT
ChatGPT
In the context of INT 10h, which is a BIOS interrupt used for video services, the register that holds the
page number for the write string service is BH.

Therefore, the correct option would be:

BX, CX

You
The VESA VBE 2.0 standard includes a _________ mode which allows direct access to the whole video
memory. Select the correct option protected Real Parallel frame buffer Linear frame buffer
2/2
ChatGPT
ChatGPT
The VESA VBE (VESA BIOS Extensions) 2.0 standard includes a "Linear frame buffer" mode, which
allows direct access to the whole video memory. Therefore, the correct option is:

Linear frame buffer

You
_______register is used for storing the base and limit of GDT. Select the correct option GDTR LDT
LGDT Null descriptor
2/2
ChatGPT
ChatGPT
The correct option is:
GDTR (Global Descriptor Table Register)

The GDTR register is used for storing the base address and limit of the Global Descriptor Table (GDT)
in x86 architecture.
2/2

You
The bits are sent one by one in a specially formatted fashion on the_____________. Select the correct
option Full duplex Serial port Parallel port Half duplex
2/2
ChatGPT
ChatGPT
The correct option is:

Serial port

In serial communication, bits are sent one by one in a serial fashion over a single wire or
communication channel. This is in contrast to parallel communication, where multiple bits are sent
simultaneously over multiple wires. Serial ports are commonly used for serial communication in
computer systems.

You
Changing and restoring the state of Central Processing Unit (CPU) is called ________________. Select the
correct option Thrashing Context Switching Multithreading Multitasking
2/2
ChatGPT
ChatGPT
The correct option is:

Context Switching

Changing and restoring the state of the Central Processing Unit (CPU) is known as context switching.
Context switching is a fundamental operation in multitasking operating systems where the CPU
switches from executing the context of one task to another.

You
A 32-bit address register can access up to ____ of memory. Select the correct option 2 GB 4 gb 3 gb 1
GB
2/2
ChatGPT
ChatGPT
A 32-bit address register can theoretically access up to 4 GB (gigabytes) of memory. Each bit in the
address register represents a binary digit, and with 32 bits, you have 2^32 possible combinations,
which equals 4,294,967,296. Each combination can address a unique memory location, and if each
memory location stores one byte, then the total addressable memory is 2^32 bytes, which is 4 GB.

You
The first entry of the GDT must always be zero, it is called the________.
ChatGPT
ChatGPT
The first entry of the Global Descriptor Table (GDT) must always be zero, and it is called the "null
descriptor" or "null segment." This null descriptor is typically used to indicate the end of the GDT and
serves as a placeholder. It helps in preventing illegal memory accesses and serves as a sentinel value
in the GDT.

You
Which of the following services of INT 10 is used to write graphic pixel on the screen ? Select the
correct option 0x0B 0x0D 0x0A 0x0C
2/2
ChatGPT
ChatGPT
None of the provided options (0x0B, 0x0D, 0x0A, 0x0C) directly corresponds to the service for writing
graphic pixels on the screen using INT 10h. The specific service for writing pixels to the screen would
depend on the specific video mode and the graphics functionality provided by the BIOS.

However, if you are looking for a general service related to graphics, the closest option would be
0x0A. The INT 10h, AH=0x0A service is often used for drawing characters on the screen in graphics
modes.

For pixel-level manipulation in graphics modes, you might need to use other services or directly
manipulate the video memory, depending on the specific requirements of your graphics
programming.

You
Which of the following symbols is used to terminate a string in assembly language? Select the
correct option $ ; # !
2/2
ChatGPT
ChatGPT
In assembly language, the symbol used to terminate a string is typically the null-terminator,
represented by the ASCII character with a value of zero. Among the options provided, none of them
directly represents the null-terminator.
However, in some assembly languages, particularly for strings in high-level languages like C, the
dollar sign ($) is often used to represent the end of a string.

So, in the given options, the closest one would be "$".

You might also like