CS609 Quiz

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

CS609 - System Programming Quiz No.

01 Solution and Discussion Spring 2014 D

Question # 2 of 10 ( Start time: 10:02:46 AM ) Total Marks: 1

Int 14H __________ can be used to set the line parameter of the UART or COM port.

Select correct option:

Service # 0
Service # 1
Service # 2
None of the given options
Question # 3 of 10 ( Start time: 10:03:26 AM ) Total Marks: 1
Total No. of bytes that can be stored in Keyboard Buffer is____.
Select correct option:

16

32

64

128

Question # 4 of 10 ( Start time: 10:04:31 AM ) Total Marks: 1

In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of
the following condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned
char far * scr = (unsigned char far *)(0x00400017);

Select correct option:

if (((*scr)&12)==12)

if (((*scr)&8)==8)

if (((*scr)&4)==4)

if (((*scr)&2)==2)

Question # 5 of 10 ( Start time: 10:06:01 AM ) Total Marks: 1


In case of synchronous communication a timing signal is required to identify the start and
end of a bit.

Select correct option:

TRUE

FALSE

Question # 6 of 10 ( Start time: 10:06:22 AM ) Total Marks: 1

DSR stands for __________

Select correct option:

Data set ready

Data service ready

Data stock ready

None of the above

Question # 7 of 10 ( Start time: 10:07:25 AM ) Total Marks: 1

Int 14H __________ can be used to receive a byte.

Select correct option:


Service # 0

Service # 1

Service # 2

None of the given options

Question # 8 of 10 ( Start time: 10:08:56 AM ) Total Marks: 1

At IRQ 7 Interrupt # ___ is used.

Select correct option:


0x0A

0x0B

0x0C

x0F

Question # 9 of 10 ( Start time: 10:09:10 AM ) Total Marks: 1

BIOS supports __________ UARTS as COM Ports.

Select correct option:

Sponsored Links

Quiz No.01 is contain on 10 Questions each question have 1 marks and 90 second to
answer...

Question # 1 of 10 ( Start time: 10:01:36 AM ) Total Marks: 1

The baud rate is set in accordance with the divisor value loaded within the UART internal
registers base +0 and base +1.

Select correct option:


TRUE

FALSE

Question # 10 of 10 ( Start time: 10:09:25 AM ) Total Marks: 1

We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that
interrupt _____ can occur at ____ line.

Select correct option:

0xf ,IRQ 7

0xa, IRQ 6

0x8, IRQ 5

0x6, IRQ 2

_________ is relative address with respect to the start of Logical Drive.


LBA
LSN
CHS
The keyboard can perform _______ serial I/O.
Asynchronous
Synchronous
Multiple
Single
The keyboard interface as discussed earlier uses the IRQ0 and the port 64H as data port
Yes
No
Bit number _____ of port 64H Status register used for output buffer full.
o
1
2
3
___ is an absolute address relative to the start of physical drive.
LBA
LSN
CHS
None
___ is a collection of contagious blocks.
Byte
Cluster
Sector
None
Bit number _____ can declares the parity error of port 64H Status register.
4
5
6
7
Bit number 2 of port 64H Status register used for output buffer full.
Yes
No
When LBA is equal to zero (0), it means ________

Question # 1 of 10 ( Start time: 09:23:14 PM ) Total Marks: 1 ________ file system keeps the backup of its
boot block. Select correct option:
FAT12
FAT16
FAT32
None of the given

Question # 2 of 10 ( Start time: 09:24:42 PM ) Total Marks: 1 For supporting long file names, _________
fragments can be supported.
Select correct option:
12
20
26
32

Question # 3 of 10 ( Start time: 09:26:04 PM ) Total Marks: 1 To access the block within cluster using BIOS
services the cluster number should be converted into _____.
Select correct option:
CHS
LBA
LSN
None of the given

Question # 4 of 10 ( Start time: 09:27:12 PM ) Total Marks: 1 To store a UNICODE character ____ is/are
needed.
Select correct option:
Nibble
Byte
2 Bytes
4 Bytes

Question # 5 of 10 ( Start time: 09:28:28 PM ) Total Marks: 1 FAT based file system can store file name in
________ form.
Select correct option:
ASCII
UNICODE
Both ASCII and UNICODE
None of the given

Question # 6 of 10 ( Start time: 09:29:52 PM ) Total Marks: 1 In FAT32, lower _______ bits are used. Select
correct option:
26
28
30
32
Question # 8 of 10 ( Start time: 09:32:30 PM ) Total Marks: 1 What will be the value of DL register when we
are accessing C drive using undocumented service 21H/32H?
Select correct option:
0
1
2
3

Question # 9 of 10 ( Start time: 09:33:40 PM ) Total Marks: 1 To store a cluster in FAT 32 _____ is/are
needed.
Select correct option:
Nibble
Byte
2 Bytes
4 Bytes

Question # 10 of 10 ( Start time: 09:35:00 PM ) Total Marks: 1 _______ is relative address with respect to the
start of Logical Drive.
Select correct option:
LBA
LSN
CHS
None of the given

Question # 1 of 10 (Start time: 09:23:14 PM) Total Marks: 1 ________ file system keeps the backup of its
boot block. Select correct option:
FAT12
FAT16
FAT32
None of the given

Question # 2 of 10 (Start time: 09:24:42 PM) Total Marks: 1 for supporting long file names, _________
fragments can be supported.
Select correct option:
12
20
26
32 not sure

Question # 3 of 10 ( Start time: 09:26:04 PM ) Total Marks: 1 To access the block within cluster using BIOS
services the cluster number should be converted into _____.
Select correct option:
CHS
LBA
LSN
None of the given

Question # 4 of 10 ( Start time: 09:27:12 PM ) Total Marks: 1 To store a UNICODE character ____ is/are
needed.
Select correct option:
Nibble
Byte
2 Bytes
4 Bytes

Question # 5 of 10 ( Start time: 09:28:28 PM ) Total Marks: 1 FAT based file system can store file name in
________ form.
Select correct option:
ASCII
UNICODE
Both ASCII and UNICODE
None of the given

Question # 6 of 10 ( Start time: 09:29:52 PM ) Total Marks: 1 In FAT32, lower _______ bits are used. Select
correct option:
26
28
30
32

Question # 8 of 10 ( Start time: 09:32:30 PM ) Total Marks: 1 What will be the value of DL register when we
are accessing C drive using undocumented service 21H/32H?
Select correct option:
0
1
2
3

Question # 9 of 10 ( Start time: 09:33:40 PM ) Total Marks: 1 To store a cluster in FAT 32 _____ is/are
needed.
Select correct option:
Nibble
Byte
2 Bytes
4 Bytes

Question # 10 of 10 ( Start time: 09:35:00 PM ) Total Marks: 1 _______ is relative address with respect to
the start of Logical Drive.
Select correct option:
LBA
LSN
CHS
None of the given

In order to produce the sound from PC internal Speaker we have to load the___bit divisor value at the
___port.
Which of the following register is used, if you want to block access of any Hardware
If printer is _____ then printer sends back the ACK signal to the printer interface
Select correct option:
idle
busy
Out of paper
None of the given
n counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
Select correct option:

1
2
4
16
At IRQ 7 Interrupt # ___ is used.
Select correct option:
0x0A
0x0B
0x0C
x0F Correct Ans
Total No. of bytes that can be stored in Keyboard Buffer is____.
Select correct option:
16
32 Correct Ans
64
128
The ______ service # is not used in any interrupt.
Select correct option:
01
02
03
FF Correct Ans
if the following function, keep(1, 1000); is called in the TSR program, it means that ________ No. of bytes are
reserved in the memory.
Select correct option:
8000 Correct Ans
16000
32000
64000
____ No. of bytes are used to store the character in the key board buffer.
Select correct option:
1
2 Correct Ans
4
8
In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
Select correct option:
1
2 Correct Ans
4
16

In order to produce the sound from PC internal Speaker we have to load the___bit divisor value at the
___port.
Which of the following register is used, if you want to block access of any Hardware
If printer is _____ then printer sends back the ACK signal to the printer interface
Select correct option:
idle Correct Ans
busy
Out of paper
None of the given
n counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
Select correct option:
1
2
4
16
At IRQ 7 Interrupt # ___ is used.
Select correct option:
0x0A
0x0B
0x0C
x0F Correct Ans
Total No. of bytes that can be stored in Keyboard Buffer is____.
Select correct option:
16
32 Correct Ans
64
128
The ______ service # is not used in any interrupt.
Select correct option:
01
02
03
FF Correct Ans
if the following function, keep(1, 1000); is called in the TSR program, it means that ________ No. of bytes are
reserved in the memory.
Select correct option:
8000 Correct Ans
16000
32000
64000
____ No. of bytes are used to store the character in the key board buffer.
Select correct option:
1
2 Correct Ans
4
8
In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
Select correct option:
1
2 Correct Ans
4
16

The ______ service # is not used in any interrupt.


01
02
03
FF Correct Ans
Total No. of bytes that can be stored in Keyboard Buffer is
16
32 Correct Ans
64
128
If printer is _____ then printer sends back the ACK signal to the printer interface

idle Correct Ans


busy
Out of paper
None of the given
If we want to send printing on the printer then we have to perform following steps.
Initialize printer
Read Status
Check Error
All of the given Correct Ans
We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that interrupt _____
can occur at ____ line.
0xf ,IRQ 7 Correct Ans
0xa, IRQ 6
0x8, IRQ 5
0x6, IRQ 2
At IRQ 7 Interrupt # ___ is used.
0x0A
0x0B
0x0C
x0F
__ No. of bytes are used to store the character in the key board buffer.
1
2
4
8
If we want to produce the grave voice from speaker phone then we have to load the ____ divisor values at
Port ___.
high, 0x42
low, 0x22
high, 0x22
low, 0x42
In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles
1
2
4
16
Question # 1 of 10 ( Start time: 10:01:36 AM ) Total Marks: 1
The baud rate is set in accordance with the divisor value loaded within the UART internal registers base +0
and base +1.
Select correct option:

TRUE
FALSE

Question # 2 of 10 ( Start time: 10:02:46 AM ) Total Marks: 1


Int 14H __________ can be used to set the line parameter of the UART or COM port.
Select correct option:

Service # 0

Service # 1
Service # 2
None of the given options

Question # 3 of 10 ( Start time: 10:03:26 AM ) Total Marks: 1


Total No. of bytes that can be stored in Keyboard Buffer is____.
Select correct option:

16
32
64
128

Question # 4 of 10 ( Start time: 10:04:31 AM ) Total Marks: 1


In keyboard status byte bit no. 2 and 3 are used for ctrl and alt keys respectively. which of the following
condition is used to check that Ctrl + Alt keys are pressed. Where: unsigned char far * scr = (unsigned char far
*)(0x00400017);
Select correct option:

if (((*scr)&12)==12)
if (((*scr)&8)==8)
if (((*scr)&4)==4)
if (((*scr)&2)==2)

Question # 5 of 10 ( Start time: 10:06:01 AM ) Total Marks: 1


In case of synchronous communication a timing signal is required to identify the start and end of a bit.
Select correct option:

TRUE
FALSE

Question # 6 of 10 ( Start time: 10:06:22 AM ) Total Marks: 1


DSR stands for __________
Select correct option:

Data set ready


Data service ready
Data stock ready
None of the above

Question # 7 of 10 ( Start time: 10:07:25 AM ) Total Marks: 1


Int 14H __________ can be used to receive a byte.
Select correct option:

Service # 0
Service # 1
Service # 2
None of the given options
Question # 8 of 10 ( Start time: 10:08:56 AM ) Total Marks: 1
At IRQ 7 Interrupt # ___ is used.
Select correct option:

0x0A
0x0B
0x0C
x0F

Question # 9 of 10 ( Start time: 10:09:10 AM ) Total Marks: 1


BIOS supports __________ UARTS as COM Ports.
Select correct option:

6
4
3
2

Question # 10 of 10 ( Start time: 10:09:25 AM ) Total Marks: 1


We have set the bit No. 7 of IMR(Interrupt Mask Register) to unmask the Interrupt so that interrupt _____
can occur at ____ line.
Select correct option:

0xf ,IRQ 7
0xa, IRQ 6
0x8, IRQ 5
0x6, IRQ 2

In order to produce the sound from PC internal Speaker we have to load the___bit
divisor value at the ___port.

Which of the following register is used, if you want to block access of any Hardware

If printer is _____ then printer sends back the ACK signal to the printer interface

Select correct option:

idle
busy

Out of paper

None of the given


n counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles

Select correct option:

16

At IRQ 7 Interrupt # ___ is used.

Select correct option:

0x0A

0x0B

0x0C

x0F
Total No. of bytes that can be stored in Keyboard Buffer is____.

Select correct option:

16

32
64

128

The ______ service # is not used in any interrupt.

Select correct option:

01
02

03

FF
if the following function, keep(1, 1000); is called in the TSR program, it means that
________ No. of bytes are reserved in the memory.

Select correct option:

8000
16000

32000

64000

____ No. of bytes are used to store the character in the key board buffer.

Select correct option:

2
4

In counter register bit no. 3 changes its value between 0 and 1 with in ____clock cycles

Select correct option:

2
4

16

CS609 1st Quiz Spring 2013 Lecture no 01 to lecture no 12


In order to produce the sound from PC internal Speaker we have to load
the___bit divisor value at the ___port.
Which of the following register is used, if you want to block access of any
Hardware

If printer is _____ then printer sends back the ACK signal to the printer interface
Select correct option:
idle
busy
Out of paper
None of the given

n counter register bit no. 3 changes its value between 0 and 1 with in ____clock
cycles
Select correct option:

1
2
4
16

At IRQ 7 Interrupt # ___ is used.


Select correct option:
0x0A
0x0B
0x0C
x0F

Total No. of bytes that can be stored in Keyboard Buffer is____.


Select correct option:
16
32
64
128

The ______ service # is not used in any interrupt.


Select correct option:
01
02
03
FF

if the following function, keep(1, 1000); is called in the TSR program, it means
that ________ No. of bytes are reserved in the memory.
Select correct option:
8000
16000
32000
64000

____ No. of bytes are used to store the character in the key board buffer.
Select correct option:
1
2
4
8

In counter register bit no. 3 changes its value between 0 and 1 with in
____clock cycles
Select correct option:
1
2
4
16

You might also like