Skip to main content

CS501 Current Final Term Fall 2013 Shared by Moona_Fatima File 4



aoa this is my todays paper
mcQs mostly new the about 15 mooaz bahi ki file me se aye the 
long qs ans k sath past ker rhy hoon 
  Define PROM? (2 Marks)
 Answer:- (Page 356) The PROM stands for Programmable Read only Memory. It is also nonvolatile and may be written into only once. For PROM, the writing process is performed electrically in the field. PROMs provide flexibility and convenience.
 What is the difference between internal segmentation and external segmentation relevant to the computer storage? (5 Marks) Answer:- In fixed partitioning the pages are of fixed size and some space is wasted in the last page. For example if we have page size equal to 2 K and the program size is of 9 K than we have to use 5 pages each of size 2 k. In this case 4 pages fully consumed but the last page has 1 k free memory and it can not be utilized, so this type of fragmentation is called internal fragmentation. It is basically the wastage of space of within the partition.
In variable partitioning the page size is not fixed. In this type of partitioning the page size is variable. So pages are allocated accordingly. If say program A is of size 5 k than 5 k page size is reserved and say another program B comes in having size 3 k so now page size of 3 k is reserved. Now if A program exits and the new program C having size 4 k comes in, it will replace the 5 k partition of program A but the space of 1 K is wasted between program C and program B. This wastage of space is called external fragmentation. It is basically the wastage of space between the partitions.

 Find the average relational latency if the disk octet 15000rpm. (3 marks ) Answer:- (Page 324) The average latency to the desired data is halfway round the disk so Average rotational latency = (1 / (RPM / 60)) * 0.5 * 1000 = 30000 / RPM = 30000 / 15000 =2ms
 How many platters are required for a 40GB disk if there are 1024 bytes/sector, 2048 sectors per track and 4096 tracks per platter? (5 marks) Answer:- (Page 325) The capacity of one platter = 1024 x 2048 x 4096 = 8GB For a 40GB hard disk, we need 40/8 = 5 such platters.

 why we use matrix in decoder Answer:- (Page 352) A typical one level decoder has n inputs and 2n output, using one level of gates, each with a fan-in of n. Two level decoders are limited in size because of high gate fan-in. In order to reduce the gate fan-in to a value of 8 or 6, tree and matrix decoders are utilized.

 difference bw connection oriented and connection less Answer:- (Page 394) Connection Oriented Communication • In this method, same path is always taken for the transfer of messages. • It reserves the bandwidth until the transfer is complete. So no other server could use that path until it becomes free. • Telephone exchange and circuit switching is the example of connection oriented communication. Connection less Communication • Here message is divided into packets with each packet having destination address. • Each packet can take different path and reach the destination from any route by looking at its address. • Postal system and packet switching are examples of connection less communication

 Frndz ik control signals se related q tha k wo three types k hoty hain app ko un k name likhny hain n koi sy 2 ko define kerna hy.
Ik q tha us me ye kha gya tha k app ko ye reasons se batana hy k DMA better I/O units ko control kerta hy connected to cpu.
Ik numerical thaw o mjy sai se yaad nhy reha .
Frndz ik last lec me paging or page size n page tables ka hy us ka 5 num ka q tha,


Comments

Popular posts from this blog

CS614 Quiz No.4 Shared by Princess (solved), Spring 2014

  “What means What”. The phrase refers to: Select correct option:  Meta data  External data Transformed data Internal representations Question # 2 of 10 Which of the following is NOT one of the activities of “Maintenance and Growth” phase in Kimball’s DWH development approach? Select correct option: Education Technical Education Program Support  Interface Deployment                 Question # 3 of 10 Horizontally wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records Dataset has attribute skews Dataset has partitioning skews                 Question # 4 of 10 Which of the following is NOT one of the top-10 mistakes that should be avoided during DWH development? Select correct option: Not interacting directly with end ...

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...

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...