Skip to main content

CS609 Current Final Term Fall 2013 File 3




AOA,
My today paper
80% mcqs from moaz file:
Subjective question:
1)Write three Data Structures for Memory DOS use?
Ans
• MCB ( Memory Control Block )
• EB ( Environment Block )
• PSP ( Program Segment Prefix )
2)Scan Disk Surface Scan for Bad Sectors
• It attempts to write a block.
• After write it reads back the block contents.
• Performs the CRC test on data read back.
• If there is an error then the data on that block is not stable the cluster of that block should be marked bad.
• The cluster is marked bad by placing the appropriate code for bad cluster so that they
may not be allocated to any file.
3) How Accessing NTFS volume in DOS?
• NTFS volume can not be accessed in DOS using DOS based function like absread( ) etc.
• DOS device drivers does not understand the NTFS data structures like MFT etc.
• If NTFS volume is accessed in DOS, it will fire the error of Invalid Media.
4) How to recovered a Deleted Files?
• 0xE5 at the start of file entry is used to mark the file as deleted.
• The contents of file still remain on disk.
• The contents can be recovered by placing a valid file name, character in place of E5 and then recovering the chain of file in FAT.
• If somehow the clusters used by deleted file has been overwritten by some other file, it cannot be recovered.
5) Structure of Partitioning Table
• Total size of Partition Table is 512 bytes.
• First 446 bytes contains code which loads the boot block of active partition and is executed at Boot Time.
• Rest of the 66 bytes is the Data part.
• Last two bytes of the Data part is the Partition table signature.
6)Find root dir if reserved sector = 1 and size of fat is 9?
Root DIR Sector: reserved sectors +
2 * (size of FAT) = 1 + 2 * 9 = 19
7)write the functionality of absread and abswrite?
• absread( )
is used to read a block given its LSN
• abswrite( )
is used to write a block given its LSN
absread(int drive, int nsects, long lsec, void *buffer);
abswrite(int drive, int nsects, long lsec, void *buffer);
other question from old papers. Kindly pray for me :)





Comments

Popular posts from this blog

CS504 Quiz No.3 Shared by Angel

Question # 1 of 10 ( Start time: 09:08:01 PM ) Total Marks: 1 Defining the services of an object means: Select correct option: What it does?        ok What it knows? Who knows it? Whome it knows? Question # 2 of 10 ( Start time: 09:08:27 PM ) Total Marks: 1 Which one of these represents the Krutchen’s 4+1 architectural view model? Select correct option: Logical view, Process view, Physical view, Development view, Use case view Logical view, Dynamic view, Physical view, Development view, Use case view Logical view, Process view, Physical view, Development view, Sequence view Dynamic view, Process view, Physical view, Development view, Use case view Question # 3 of 10 ( Start time: 09:09:50 PM ) Total Marks: 1 Return values in Synchronous messages are represented by: Select correct option: A solid line A dotted line with label        ok A solid line with label Double line Question # 4 of 10 ( Start tim...

CS302 Quiz No.4 Shared by Jawwad

Question # 1 of 10 ( Start time: 01:15:08 PM ) Total Marks: 1  Asynchronous mean that_____________  Select correct option:  Each flip-flop after the first one is enabled by the output of the preceding flip-flop  Each flip-flop is enabled by the output of the preceding flip-flop  Each flip-flop except the last one is enabled by the output of the preceding flip-flop  Each alternative flip-flop after the first one is enabled by Question # 2 of 10 ( Start time: 01:16:36 PM ) Total Marks: 1 A divide-by-10 ring counter requires a minimum of Select correct option: ten flip-flops five flip-flops four flip-flops twelve flip-flops Question # 3 of 10 ( Start time: 01:17:00 PM ) Total Marks: 1 When the number of states are reduced during the design any counter Select correct option: output changes and Input remain unchanged Input changes and output remain unchanged Input and output bith change Input and output remain unchanged Question # 4 of...

CS614 Quiz No.1 Shared by Manzar (UnSolved)

Question # 1 of 10 ( Start time: 03:35:24 PM )   Total Marks: 1 MDX by Microsoft is an example of _______ Select correct option: HOLAP DOLAP ROLAP None of the given options Question # 2 of 10 ( Start time: 03:36:40 PM )   Total Marks: 1 In decision support system ease of use is achieved by: Select correct option: Normalization Denormalization Drill up Drill down Question # 3 of 10 ( Start time: 03:38:07 PM )   Total Marks: 1 Which of the denormalization technique squeezes master table into detail? Select correct option: Pre-joining Horizontal splitting Vertical splitting Adding redundant column Question # 4 of 10 ( Start time: 03:38:28 PM )   Total Marks: 1 The trade-offs of denormalization is/are: Select correct option: Storage Performance Ease-of-use All of the given options Question # 5 of 10 ( Start time: 03:38:46 PM )   Total Marks: 1 ________is usually deployed when expressions can be used to group data together in...