Thursday, February 14, 2013

.::VULMSIT::.eNoxel.com CS401 QUIZ NO. 4 FEB 14, 2013

CS401- Computer Architecture and Assembly Language 

Quiz No.4 FEB 14, 2013

 

A 32-bit address register can access up to ____ of memory.

2 MB

2 GB

4 MB

4 GB

 

Operating system Organize data in the form of

Folder

Batch file

File

None of the above

 

The 'program segment prefix' for com files is of size:

Select correct option:

64 bytes

128 bytes

256 bytes

512 bytes

 

COM1 is connected with

IRQ2

IRQ3

IRQ4

IRQ5

 

"INT13 –BIOS disk services" generally uses which register to return the 'error flag' ?

Select correct option:
CF
DL
AH
AL

 

In case of COM file, first command line parameter is stored at ___ offset of 'program segment prefix'
0×80
0×82
0×84
0×86

 

On executing INT 0×21 service 0x3D, if file is successfully opened then   

CF will contain 1
CF will contain 0 
ZF will contain 1
ZF will contain 0

 

 

Which register is generally used to specify the service number of an interrupt ?

AX

BX

CX

 

The lower 16-bits of EAX register are labeled as:

EAL

AL   

AH

AX

 

Device drivers can be divided into ___ major categories:

3

4

None

 

In programmable interrupt controller which of the following ports is referred as a

interrupt mask register?

Select correct option:

19

20

21

22

 

 

Which of the following BIOS INT provides serial port services

INT 21

INT 14

INT 10

INT 08

 

In 9pin DB 9 connector, which pin is assigned to RD (Received Data) ?

1

2

3

4

 

In 9pin DB 9 connector, which pin is assigned to Signal Ground ?

3

4

5

6

Device drivers can be divided into ___ major categories:

5

4

3

2

The INT 0x13 service 0x03 is use to

Select correct option:

Get drive parameter

Reset disk sector

Write disk sector

Read disk sector

 

Hard disk MBR( Master Boot Record ) is of size_____.

Select correct option:

446 bytes

350 bytes

512 bytes

256 bytes

 

COM2 is connected with

Select correct option:

IRQ 2

IRQ 3

IRQ 4

IRQ 5

 

On executing INT 0x21--service 0x3D, if file can't be opened then

Select correct option:

CF will contain 1

CF will contain 0

ZF will contain 1

ZF will contain 0

 

"INT13 --BIOS disk services" generally uses which register to return the 'error code' ?

correct option:

CF

DL

AH

AL

 

BPB stands for

Basic parameter block

Bios precise block

Basic precise block

Bios parameter block

 

 

"INT13 --BIOS disk services" generally uses which register to return the 'error flag' ?

CF

DL

AH

AL

 

The maximum length of DOS command line parameters is

64 bits

127 bits

256 bits

512 bits


Which of the following BIOS INT provides serial port services
Select correct option:
INT 21
INT 14
INT 10
INT 08


In case of COM file, maximum length of parameters passed through command line can be ___
Select correct option:
63 bytes
127 bytes
255 bytes
511 bytes


In case of COM file, first command line parameter is stored at ___ offset of 'program segment prefix'
Select correct option:
0x80
0x82
0x84
0x86


The 'program segment prefix' is used to store:
Select correct option:
DOS information
Command tail
DOS information and Command tail
None of the given options


The INT 0x13 service 0x03 is use to
Select correct option:
Read disk sector
Write disk sector
Reset disk sector
Get drive parameter


On executing INT 0x21--service 0x3D, if file can't be opened then
Select correct option:
CF will contain 1
CF will contain 0
ZF will contain 1
ZF will contain 0


Operating system Organize data in the form of
Select correct option:
Folder
Batch file
File
None of the above


We can access all the DOS services using
Select correct option:
INT 0x21
INT 0x13
INT 0x10
INT 0x08

 

In 9pin DB 9 connector, which pin is assigned to RD (Received Data) ?
Select correct option:
1
2
3
4

Device drivers can be divided into ___ major categories:
Select correct option:
5
4
3
2

 

The higher 16-bits of EAX register are labeled as:

Select correct option:

AX

EAH

AH

None of the given options


--
Zindagi mein 2 Logo ka buhat khayal rahkoooo
Ist woh jiss ney tumhari jeet ke Liye buhat kuch hara hoo
(Father)
2nd woh jiss ko tum ney har dukh me pukaara hoo (Mother)
Regards,
Umair Saulat Mc100403250

--
--
Virtual University of Pakistan*** IT n CS Blog
================================
http://www.eNoxel.com
http://www.enoxelit.tk
http://www.geniusweb.tk
 
and Please do Share this group with your Friends and Class Fellows so that our Circle would expand and can be more useful for other Students.
 
Thanks, n Best of Luck......
 
 
You received this message because you are subscribed to the Google
Groups "vulms" group.
To post to this group, send email to vulmsit@googlegroups.com
To unsubscribe from this group, send email to
vulmsit+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vulmsit?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "vulms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vulmsit+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/vulmsit?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.