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 Abdul_Mateen (Solved)

Question # 1 of 10 ( Start time: 01:03:34 PM ) Total Marks: 1 The first step of the “12-steps data warehouse implementation approach” of Shaku Atre is: Select correct option: Finding user needs (Page No. 336) Planning system resources Finding system scope Data acquisition and cleansing Question # 2 of 10 ( Start time: 01:04:15 PM ) Total Marks: 1 Users do not care, how advance the front end of your DWH is, what they care is that: Select correct option: Tables should be properly denormalized Proper partitioning technique should be used At least star or snow flake schema should be implemented They should get information in timely manner and the way they want   Question # 3 of 10 ( Start time: 01:04:49 PM ) Total Marks: 1 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 user Not being an accommodating person (Page No. 316) Isolating IT support p...

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

CS614 Quiz No.3 Shared by Sweety (Solved)

Question # 1 of 10 ( Start time: 09:48:28 PM ) Total Marks: 1 Mining multi dimensional databases allow users to: Select correct option: Categorize the data Analyze the data Summarize the data All of the given options   (Correct) Question # 2 of 10 ( Start time: 09:49:23 PM ) Total Marks: 1 As per Bill Inmon, a data warehouse, in contrast with classical applications is: Select correct option: Data driven   (Correct) Resource driven Requirement driven Time sensitive Question # 3 of 10 ( Start time: 09:50:11 PM ) Total Marks: 1 In ________learning you don’t know the number of clusters and no idea about their attributes. Select correct option: Supervised learning Unsupervised learning   (Correct) Multi Dimension modeling None of the given options Question # 4 of 10 ( Start time: 09:51:04 PM ) Total Marks: 1 Identify the TRUE statement: Select correct option: The data value increases as volume decreases   (Correct) The data value decreases ...