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

CS301 Current Finalterm Paper Spring 2014 Shared By M. Waleed

My Tday's Cs301 Paper: Mcq's Are From Moaz And Some Are From Handouts. Subjective Is From Moaz Majority One. 1- The Image Segmentation Define? 2- The Maximum Number Level Of Nodes In Binary Tree 3-The Iteration Array Have To Sort. 4- The Hapified Array Have To Solved 5- The Algorithm Of Binary Seaoh Tree 6-Sara Arrays Wala He Tha Ya Heap Wala. 7-....Wala Wala Wala...

CS614 Quiz No.3 Shared by Students (Solved), Spring 2014

______ index stores first value in each block in the sequential file and a pointer to the block.  Select correct option:   Dense  Sparse  B-Tree  Hash In context of data parallelism, the work done by query processor should be:  Select correct option:  Almost zero  Maximum  Pipelined  Filtered across partitions The optimizer uses a hash join to join two tables if they are joined using an equijoin and  Select correct option:   Outer table has less number of rows  Inner table has less number of rows  Cardinality of tables is equal  Large amount of data needs to be joined Bitmap index is appropriate for:  Select correct option:  Low cardinality data  High cardinality data  Clustered data  Aggregated data If a task takes “T” time units to execute on a single data item, then execution of this task on “N” data items will take __...

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat...