Showing posts with label Solved. Show all posts
Showing posts with label Solved. Show all posts

Sunday, 29 July 2012

CS609 Unsolved MCQs from Quiz 3


Drive parameter block is derived from ___________.
Select correct option:
FCB
FAT
BPB
CPB
What will be the value of the word located at 1Fh in DPB when number of free clusters
on drive is not known?
Select correct option:
0000H
1111H
FFFFH
None of the given.
We can access Blocks for FAT using _________.
Select correct option:
BPB
DPB
FCB
Both BPB and DPB
Jump code part contains ____ bytes in boot block.
Select correct option:
3
5
8
11
Operating system name contains ____ bytes in boot block.
Select correct option:
3
5
8
11
File can be _______ viewed as organization of data.
Select correct option:
Physically
Logically
Both logically and physically
None of the give
_________ is used to read a block against its LSN.
Select correct option:
absread()
abswrite()
lsnread()
None of the given
File can be _______ viewed as collection of clusters or blocks.
Select correct option:
Physically
Logically
Both logically and physically
None of the give
When we talk about FAT based file system, in user data area first cluster number is
______.
Select correct option:
0
1
2
None of the given
Cluster number can also be referred as block number.
Select correct option:
True
False
If we know the cluster number, we can access the blocks within the cluster using BIOS
services directly.
Select correct option:
True
False
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
________ is an internal data structure of DOS and resides in main memory.
Select correct option:
BPB
DPB
CPB
None of the given.
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
The size of DPB data structure is _______ bytes.
Select correct option:
16
32
64
128
The size of FCB data structure is _______ bytes.
Select correct option:
16
32
64
128
The directory structure of DOS is like ________.
Select correct option:
Array
Tree
Linked list
None of the given
Control information about files is maintained using ______.
Select correct option:
BPB
DPB
FCB
FPB
File can be _______ viewed as organization of data.
Select correct option:
Physically
Logically
Both logically and physically
None of the give

CS609 MCQs from Quiz (Shared by M.Umair unsolved)


Int 14H __________ can be used to send a byte.
Select correct option:
Service # 0
Service # 1
Service # 2
None of the given options

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

Int 14H __________ can be used to receive a byte.
Select correct option:
Service # 0
Service # 1
Service # 2
None of the given options

The ________ function simply enables the self test facility within the modem control register.
Select correct option:
STOn()
SelfTest()
SelfTestOn()
None of these

Int _______ service 0 can be used to set the line parameter of the UART or COM port.
Select correct option:
14H
15H
13H

None of the given options
_________ is a device incorporated into the PC to update time even if the computer is off.
Select correct option:
Clock Counter
ROM
clock
Real time clock
Interrupt ______ is used to get or set the time.
Select correct option:
0AH
1AH
2AH
3AH

______ is used to set time.
Select correct option:
1A/02H
1A/03H
1A/04H
1A/05

______ is used to read date from RTC.
Select correct option:
1A/02H
1A/03H
1A/04H
1A/05H

____whenever received indicates the start of communication and ______ whenever received indicates a temporary pause in the communication.
Select correct option:
XON & XOFF
XOFF & XON
XON & YOFF
YON & XOFF

The _________ function uses the COM port number to receive a byte from the COM port using BIOS services.
Select correct option:
initialize()
recievebyte()
recieve()
recievechar()

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

Int 14H __________ can be used to send a byte.
Select correct option:
Service # 0
Service # 1
Service # 2
None of the given options
_________ is a device incorporated into the PC to update time even if the computer is off.
Select correct option:
Clock Counter
ROM
clock
Real time clock
The _______ function initializes the COM port whose number is passed as parameter using BIOS services.
Select correct option:
initializecom()
initialize()
recievechar()
none of these options

____whenever received indicates the start of communication and ______ whenever received indicates a temporary pause in the communication.
Select correct option:
XON & XOFF
XOFF & XON
XON & YOFF
YON & XOFF

In self test mode the output of the UART is routed to its input.
Select correct option:
TRUE
FALSE

Only ________ ports are important from programming point of view.
Select correct option:
70 and 71H
71 and 72H
70 and 72H
72 and 73H

Int _______ service 0 can be used to set the line parameter of the UART or COM port.
Select correct option:
14H
15H
13H
None of the given options
The BIOS interrupt 0x1Ah can be used to configure real time clock
Select correct option:
TRUE
FALSE

CS609 - System Programming Finalterm Subjective Paper July 2012


CS609 - System Programming Finalterm Subjective Paper July 2012


1. DTE want to communicate with DCE sing RC232c protocol, how does this communication start and end ,identify steps?
2. Write down the structure of COM files?
3. How many maximum root directory entries are possible in FAT12 and FAT16?
4. What is MFT?
5. function that will convert BCD to ASCII code?
6. What is the major disadvantage of programmed I/O?
7. how many bytes are used in FCB in FAT 32?
8. What is the disadvantage of undocumented services of interrupts?
9. What is virus?
10. What is cluster? Describe its structure?
11. How much state of viruses?

CS609 System Programming Final Subjective Questions 2012


CS609  System Programming Final Subjective Questions 2012



Write down the two main features of FAT12? (2 marks) 

How many bytes are used for FCB in FAT12 & FAT16 and to store a cluster in FAT32 how many bytes are required? (2 marks) 

What is paging in context of non contiguous memory management system? (2 marks) 

What does it indicate if the value of first byte of data part of partition table is 00H? (2 marks) 

Write down the formula to translate the cluster # into LSN for FAT 32 file system. (3 marks) 

What are selectors and why we use them? (3 marks) 

Is LSN=0 and LBA=0 same thing? Why or why not? 3marks 

Which data structure is derived from BPB and where it resides? (3 marks) 

In interval timer, what is the purpose of using the following ports?43H, 40H, 41H, 42H  (3 marks) 

Describe how a chain of cluster in FAT12 is managed.  (5 marks) 

How LSN is translated to LBA in NTFS based system?   (5 marks)  

How a PC operate in real mode?    (5 marks)

CS609 Final Term 2011 Paper Subjective Shared by Students


Shared by Rashid Iqbal

Recovery of deleted contents of  file                  Steps

Steps to access NTFS volume using BIOS function

Association B/w DPB and BPB

Difference b/w logical and physical view of memory

Different type of computer viruses

Why should we not calculate FSIfo block information again and again in FAT?

Usage of DMA mode register

What are viruses?

How larger files can be managed using FAT

Calculate sector#

Difference b/w primary and extended partition

CPUID test

Shared by Ahmed Zia
Descriptive Questions 
2 Marks
1) Disadvantage of undocumented service of interrupts
2) Difference between programmed I/O and interrupt I/O
3) When delete file what happen to chain of cluster in FAT
4) Contiguous memory management
5) What is highest capacity of disk using IDE and extended Bios Function?
3 Marks
1) In which media storage head touches the surface of the disk and why?
2) How cross reference detects
3) Possible entries are there in FAT12 and FAT16
4) ISR (interrupt service routine) for EOI (end of interrupt) write the line of code for 
this in C
5) From where, in partition table’s data part we can check the drive is bootable or 
not.
5 Marks
1) Why we convert cluster number to sector number
2) How LSN be translated into LBA
3) How chain of cluster managed in FAT12

CS610 Final 2011 Paper Subjective Shared by Students


Shared by Syed Umer Shah
Define simplex and full duplex connection? [2]
What are the functions that the IP multicast abstraction allows an application running on an arbitrary computer to do? [2]
Give the address 130.4.102.1/24, find the number of subnet bits? [2]
What is the functionality of address resolution software in layering? [2]
Why we need the variants of NAT? Explain it with the proper reasons? [2]
 What are some of the metrics used by routing protocols? [3]
How ICMP can be used to test different tools? [3]
You are working in a Star organization as a network engineer. The existing network comprises of 120 systems. What will be your analysis about delay should it should be smaller or higher? Give reasons. [3]
ABC industry is using different network technologies in its branches. Can all branches communicate with each other? If No, then give reason? [3]
Which type of NAT fails if an application uses the IP addresses instead of domain name? And why? [3]
 What are the main advantages and disadvantages of routing information protocol (RIP)? [5]
Network engineer has three address resolution methods. How many methods does TCP/IP support in a real environment? Write names of methods and support your answer with solid reason? [5]
Have any technique used for achieving reliability in TCP? [5]
Shared by Naveed Iqbal
Question:  why EGP not use routing metric?
Question: What is the difference between an interior gateway protocol
and an exterior gateway protocol? Name an example of each.

Question: As the Internet grew, the original Classful addressing
scheme became a limitation, what is the designed solution

Question: How can a datagram are transmitted across a physical network
that does not understand the datagram format? (2)

Question: Describe the process of routing packets

Question: How ICMP can be used to trace a route?

Question: What is the basic concept of Twice NAT (Network Address Translation?)

Question:  What is the scale or level of requirement in of IPv6?

Question:  What are the three approaches for datagram forwarding?

Question:  Write some merits used by routing protocols

Question:  How congestion control by tc

CS610 Final 2011 Paper Subjective Shared by Students


Shared by Syed Umer Shah
Define simplex and full duplex connection? [2]
What are the functions that the IP multicast abstraction allows an application running on an arbitrary computer to do? [2]
Give the address 130.4.102.1/24, find the number of subnet bits? [2]
What is the functionality of address resolution software in layering? [2]
Why we need the variants of NAT? Explain it with the proper reasons? [2]
 What are some of the metrics used by routing protocols? [3]
How ICMP can be used to test different tools? [3]
You are working in a Star organization as a network engineer. The existing network comprises of 120 systems. What will be your analysis about delay should it should be smaller or higher? Give reasons. [3]
ABC industry is using different network technologies in its branches. Can all branches communicate with each other? If No, then give reason? [3]
Which type of NAT fails if an application uses the IP addresses instead of domain name? And why? [3]
 What are the main advantages and disadvantages of routing information protocol (RIP)? [5]
Network engineer has three address resolution methods. How many methods does TCP/IP support in a real environment? Write names of methods and support your answer with solid reason? [5]
Have any technique used for achieving reliability in TCP? [5]
Shared by Naveed Iqbal
Question:  why EGP not use routing metric?
Question: What is the difference between an interior gateway protocol
and an exterior gateway protocol? Name an example of each.

Question: As the Internet grew, the original Classful addressing
scheme became a limitation, what is the designed solution

Question: How can a datagram are transmitted across a physical network
that does not understand the datagram format? (2)

Question: Describe the process of routing packets

Question: How ICMP can be used to trace a route?

Question: What is the basic concept of Twice NAT (Network Address Translation?)

Question:  What is the scale or level of requirement in of IPv6?

Question:  What are the three approaches for datagram forwarding?

Question:  Write some merits used by routing protocols

Question:  How congestion control by tc