CS609 Quiz No.2 Solution and Discussion

Please post your current Quiz and Help the Students.
Quiz No.2 Total Questions : 10
Please read the following instructions carefully!
Quiz will be based upon Multiple Choice Questions (MCQs).

You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS.

Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time.

Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option.

DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question.

DO NOT refresh the page unnecessarily, specially when following messages appear
Saving…
Question Timeout: Now loading next question…

Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz.

If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline.

If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held.

Start Quiz

@zareen said in CS609 Quiz No.2 Solution and Discussion:

What are the 3 types of viruses?

  • Resident Virus. Resident viruses live in your RAM memory. …

  • Multipartite Virus. …

  • Direct Action Virus. …

  • Browser Hijacker. …

  • Overwrite Virus. …

  • Web Scripting Virus. …

  • Boot Sector Virus. …

  • Macro Virus.

What are the 3 types of viruses?

@zaasmi
(1)_________ is used to identify the cause of interrupt.

Interrupt ID Register (Page 116)

PC Register

Register

None of All These

(2)Int ________ is used to control the printer via the BIOS.

17H (Page 84)

18H

20H

21H

(3)Only ________ ports are important from programming point of view.

70 and 71H (Page 141)

71 and 72H

70 and 72H

72 and 73H

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

True ( 105)

False

(5)

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

8, 0x21

16, 0x42

32, 0x22

64, 0x32

(6)The ____________ function simply enables the self test facility within the modem control register STOn()

SelfTest()

SelfTestOn() (Page 127)

Non of these

(7)BIOS support _____________UARTS as COM ports.

6

4 (Page 113)

3

2

(8)The BIOS interrupt 0x1AH can be used to configure real time clock

True (Page 136)

False

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

TRUE (Page 114)

FALSE

(10) The -------------function uses the COM port number to receive a byte from the COM port using BIOS services.

Receive( )

Recievebyte()

recievechar() (125)

None of All These

1_Blocks can be termed as______________.
Cylinder per sector (not sure)

2_ _______ are the circular division of the disk.
Tracks

3_ We can access Blocks for FAT using _________.
FCB

4_ ________ is an internal data structure of DOS and resides in main memory.
None of the given.
(Ans is SFT, however its not in options.)

5_ To access drive parameter block we use undocumented service ______.
21H/32H

6_ _______ is an absolute address relative to the start of physical drive.
LBA 240pg

7_There is/are ____ DMA controller’s masking register(s).
1 not sure

8_ Highest physical capacity of the disk according to the IDE interface is approximately _________.
127GB

9_ To access the block within cluster using BIOS services the cluster number should be converted into _____.
LSN pg258

10_ What will be the value of DL register when we are accessing C drive using undocumented service 21H/32H?
3 pg249

@zaasmi
There is/are ____ DMA controller’s masking register(s). CS609

  1. Extended BIOS services require that the address of the block is specified as _______. CS609

  2. Highest capacity of disk can be accessed using BIOS functions is _______.
    • Hence the highest capacity of disk can be
    accessed using bios functions is
    •63x16x1024x512= 504 MB approx

  3. _______ are the circular division of the disk. (Track)

  4. _________ can be used to simulate a DMA request through software (Choose best option).

All quiz are repeating as per previous post.

There is/are ____ DMA controller’s masking register(s). CS609
Not confirmed
2bff1733-3f97-496b-823b-b8fa55118ab9-image.png

______________ used to program various common parameters of transfer for all the channels. CS609

(DMA command register) Page 191

29713bdd-9ca4-48a9-a0c1-6193e182d1f1-image.png

This is the command register. It is used to program various common parameters of
transfer for all the channels.

Blocks can be termed as______________. CS609
sectors per track (Page 202)
92766509-30ad-492d-87b3-23bc0bbca045-image.png

Blocks
• Blocks are the sectors per track
•Smallest addressable unit in memory
•Address of block is specified as a unique
combination of three parameters (i.e. track, head,
sec)

Extended BIOS services require that the address of the block is specified as _______. CS609
LBA address (Page 210)

Extended services require that the address of the block is specified as a LBA address.

328be538-02e7-40a5-8f92-ddf88aaab578-image.png

Highest physical capacity of the disk according to the IDE interface is approximately _________. CS609
(127GB) Page 212

Highest IDE capacity
• Hence highest physical capacity of the disk
according to the IDE interface is
255x16x65536x512 = 127GB
•Extended BIOS functions allow to access disk
with sizes greater than 504 MB through LBA
translation.

56f19559-90a8-4ab0-bda4-397e09debfb1-image.png

________ are the longitudinal division of the disk. CS609
(Sector) Page 201
9d4e7cdc-ccb7-4e0a-869f-21b511717404-image.png
Tracks are the circular division of the disk and the sectors are the longitudinal division of
the disk as shown in the diagram above.

60941831-db48-43cb-be69-a1ff36e62f5f-image.png

_________ can be used to simulate a DMA request through software (Choose best option). CS609
(DMA request register) Page 192
7d3e1519-9af8-49f5-b3bc-8f52cd4f53a0-image.png

A DMA cannot work in ___________ mode.

8c2bcf74-333b-42a1-ad9b-1c4dc314bc0c-image.png

__________ will specify if the DMA transfer will happen as a single transfer, block transfer or demand transfer. ( command register Page 73)
9bb06582-008d-473d-94fb-37cb36020cd4-image.png