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

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