Consider a disk queue with I/O requests on the following cylinders in their arriving order: 6,10,12,54,97,73,128,15,44,110,34,45 The disk head is assumed to be at cylinder 23 and moving in the direction of decreasing number of cylinders. Total number of cylinders in the disk is 150. The disk head movement using SCAN-scheduling algorithm is: (1) 172 (2) 173 (3) 227 (4) 228

1 Answer

Answer :

(2) 173

Related questions

Description : Consider a disk queue with request for input/output to block on cylinders  98, 183, 37, 122, 14, 124, 65, 67  in that order. Assume that disk head is initially positioned at cylinder 53 and moving ... and 252 cylinders (B) 640 and 236 cylinders (C) 235 and 640 cylinders (D) 235 and 252 cylinders

Last Answer : Answer: 236 and 208 cylinders Explanation: SSTF Initial head position =53 The closest queue to initial head position=65 head moves from 53 to 65=12 head moves from 65 to 67=2 head moves from 67 ... 122=24 head moves from 122 to 124=2 head moves from 124 to 183=59 Total head movement=208 

Description : If the Disk head is located initially at track 32, find the number of disk moves required with FCFS scheduling criteria if the disk queue of I/O blocks requests are: 98, 37, 14, 124, 65, 67 (A) 320 (B) 322 (C) 321 (D) 319

Last Answer : (C) 321

Description : Which of the following statements is not true about disk-arm scheduling algorithms ? (A) SSTF (shortest seek time first) algorithm increases performance of FCFS. (B) The number of requests for disk ... arm movements. (D) SCAN and C-SCAN algorithms are less likely to have a starvation problem.

Last Answer : (B) The number of requests for disk service are not influenced by file allocation method.

Description : A disk drive has 100 cylinders, numbered 0 to 99. Disk requests come to the disk driver for cyclinders 12, 26, 24, 4, 42, 8 and 50 in that order. The driver is currently serving a request at cyclinder 24. A seek takes ... (SSTF) algorithm? (A) 0.984 sec (B) 0.396 sec (C) 0.738 sec (D) 0.42 sec

Last Answer : C

Description : Assuming that the disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O block requests are 98, 37, 14, 124, 65, 67: (A) 310 (B) 324 (C) 320 (D) 321

Last Answer : (D) 321

Description : Consider three CPU intensive processes P1, P2, P3 which require 20, 10 and 30 units of time, arrive at times 1, 3 and 7 respectively. Suppose operating system is implementing Shortest Remaining Time first (preemptive scheduling) ... end of Ready queue are not counted). (A) 3 (B) 2 (C) 4 (D) 5

Last Answer : (A) 3

Description : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50'. What number is missing? -Riddles

Last Answer : 22

Description : Which of the following statements is not true for Multi Level Feedback Queue processor scheduling algorithm? (A) Queues have different priorities. (B) Each queue may have different scheduling algorithm (C) ... to a queue (D) This algorithm can be configured to match a specific system under design

Last Answer : (C) Processes are permanently assigned to a queue

Description : ............. policy selects the disk I/O request that requires the least movement of the disk arm from its current position. A) FSCAN B) SSTF C) SCAN D) C-SCAN

Last Answer : B) SSTF

Description : Below are the few steps given for scan-converting a circle using Bresenham's Algorithm. Which of the given steps is not correct? (1) Compute d = 3 – 2r (where r is radius) (2) Stop if x> y (3) If d

Last Answer : If d≥0,then d=4 *(x-y)+10, x=x+1 and y=y+1

Description : A scheduling Algorithm assigns priority proportional to the waiting time of a process. Every process starts with priority zero (lowest priority). The scheduler re-evaluates the process priority for every 'T' time ... (A) Priority scheduling (B) Round Robin Scheduling (C) Shortest Job First (D) FCFS

Last Answer : (B) Round Robin Scheduling

Description : Which of the following couldnot be an Ethernet unicast destination? A) 43:7B:6C:DE:10:00 B) 44:AA:C1:23:45:32 C) 46:56:21:1A:DE:F4 D) 48:32:21:21:4D:34

Last Answer : 43:7B:6C:DE:10:0

Description : Suppose a digitized voice channel is made by digitizing 8 kHz bandwidth analog voice signal. It is required to sample the signal at twice the highest frequency (two samples per hertz). What is the bit rate required, if it ... sample requires 8 bits? (A) 32 kbps (B) 64 kbps (C) 128 kbps (D) 256 kbps

Last Answer : (C) 128 kbps

Description : The …………….. policy segments the disks request queue into sub queues of the length N. A) SCAN B) C-SCAN C) N-Step SCAN D) FSCAN

Last Answer : C) N-Step SCAN

Description : 210, 154, 182, 168, 175,171.5, ? a) 172.75 b) 173.25 c) 172.25 d) 173.75 e) 174.75

Last Answer : Starting from the third term, every term is the average of the previous two terms. Hence the next term is (175 + 171.5)/ 2 = 173.25 Answer: b)

Description : Nesha scored 120 out of 150 in English, 120 out of 180 in mathematics and 160 out of 200 in Science. Find Nesha’s score as percentage: (i) in Mathematics (ii) in all the three subjects (on the whole). a) 66 2/3, 78 22/51 b) 71 23/5, 45 7/31 c) 54 13/33, 82 3/4 d) 60 3/4, 76 32/41 

Last Answer :  Answer: A (i) Percentage scored in Mathematics = 120/180 100  = 12000/180  =1200/18  = 66 2 /3 % (ii) Total maximum of all the three subjects = 150 + 160 + 200 = 510 and Total score in the ... percentage on the whole = (400/510 100)  = (40000/510)  = 4000/51  = 78 22/51 %

Description : A virtual memory based memory management algorithm partially swaps out a process. This is an example of (A) short term scheduling (B) long term scheduling (C) medium term scheduling (D) mutual exclusion

Last Answer : (C) medium term scheduling

Description : Consider the following statements : S1: A queue can be implemented using two stacks. S2: A stack can be implemented using two queues. Which of the following is correct ? (A) S1 is correct and S2 is not correct. ( ... S2 is correct. (C) Both S1 and S2 are correct. (D) Both S1 and S2 are not correct.

Last Answer : (C) Both S1 and S2 are correct.

Description : 6, 15, 35, ____, 143, 221, 323 a) 97 b) 112 c) 77 d) 75 e) 128

Last Answer : Number in each term is the product of the successive prime numbers starting from two, for first term 2×3 = 6, for second term 3×5 = 15, for third term 5×7 = 35, so missing term is 7×11 = 77. Answer: c)

Description : A company is considering investing surplus funds in a project. Calculate the NPV at  10 % discount rate for the following data  Project-A Year 0- (100) Year 1-100 Year 2-100  A. 73.5  B. 173.5  C. 273.5  D.100

Last Answer : A. 73.5

Description : Which raster locations would be chosen by Bresenham’s algorithm when scan converting a line from (1, 1) to (8, 5) ?

Last Answer : Answer: C

Description : A problem Drum ( 3 ft. diameter ; 6 ft. height ) is field with a fluid whose density is 50 lb/ft^3. Determine the total volume of the fluid.  A. 42.41 ft^3  B.44.35 ft^3  C.45.63 ft^3  D.41.23 ft^3 Formula: Vf = (pi d^2 h) / 4

Last Answer : 42.41 ft^3

Description : Let R be the rectangular window against which the lines are to be clipped using 2D Sutherland-Cohen line clipping algorithm. The rectangular window has lower left-hand corner at (-5,1) and upper righthand corner at (3,7). ... s) is/are candidate for clipping? (A) AB (B) CD (C) EF (D) AB and CD

Last Answer : (D) AB and CD

Description : Consider the following statements: (a) Depth - first search is used to traverse a rooted tree. (b) Pre - order, Post-order and Inorder are used to list the vertices of an ordered rooted tree. (c) Huffman's algorithm is used to find an optimal ... (d) (C) (a) , (b) and (c) (D) (a), (b) , (c) and (d)

Last Answer : (D) (a), (b) , (c) and (d)

Description : Consider the following justifications for commonly using the two-level CPU scheduling : I. It is used when memory is too small to hold all the ready processes. II. Because its performance is same as that of the FIFO. III. Because it ... ? (A) I, III and IV (B) I and II (C) III and IV (D) I and III

Last Answer : (D) I and III

Description : File management function of the operating system includes i) File creation and deletion ii) Disk scheduling iii) Directory creation iv) Mapping file in secondary storage. A) i, ii and iii only B) i, iii and iv only C) ii, iii and iv only D) All i, ii, iii and iv

Last Answer : B) i, iii and iv only

Description : The methods or algorithms which are used to increase the performance of disk storage sub-system is called ............. A) Disk performing B) Disk scheduling C) Disk storing D) Disk extending

Last Answer : B) Disk scheduling

Description : In a morse test for a 2 cylinder, 2 S SI engine, the brake power was 9 kW. Whereas the brake power of individual cylinders with spark cut off were 4.25 kW and 3.75 kW. The mecheffic of the engine is (a) 90% (b) 80% (c) 45.5% (d) 52.5%

Last Answer : Ans :a

Description : Five jobs A, B, C, D and E are waiting in Ready Queue. Their expected runtimes are 9, 6, 3, 5 and x respectively. All jobs entered in Ready queue at time zero. They must run in ............. order to minimize average response time if 3 < ... , C (B) C, E, D, B, A (C) E, D, C, B, A (D) C, B, A, E, D

Last Answer : (B) C, E, D, B, A

Description : Students of two colleges appeared for Talent test carrying 250marks as maximum. The average of their marks for college1 & college 2 are 160 & 180respectively. If the number of students of college 1 is the half of the ... marks of all students of both the college? A) 170 B) 110 C) 173.33 D) 177.33

Last Answer : C) let the number of students of college 2 be '2N' then the number of students of college1 is 'N' the average marks for college1 is 160 the average marks for college 2 is 180 total marks of ... = 360N average marks of all students of both the colleges = (160N + 360N)/N+2N = 173.33marks

Description : The class marks of a continuous distribution are 1.04, 1.14, 1.24, 1.34, 1.44,1.54 and 1.64. -Maths 9th

Last Answer : NEED ANSWER

Description : The class marks of a continuous distribution are 1.04, 1.14, 1.24, 1.34, 1.44,1.54 and 1.64. -Maths 9th

Last Answer : It is not correct. Because the difference between two consecutive class marks should be equal to the class size. Here, difference between two consecutive marks is 0.1 and class size of 1.55-1.73 is 0.18, which are not equal.

Description : The distance travelled per turn of α-helix in nm is (A) 0.34 (B) 0.44 (C) 0.54 (D) 0.64

Last Answer : Answer : C

Description : Consider the following statements for priority queue: S1: It is a data structure in which the intrinsic ordering of the elements does determine the result of its basic operations. S2: The elements of a priority queue ... . (C) SI is incorrect and S2 is correct. (D) Both S1 and S2 are correct.

Last Answer : (D) Both S1 and S2 are correct.

Description : 25,?,45,58,73,90,109 a) 33 b) 34 c) 35 d) 38 e) 36

Last Answer : The series is 3×5+10=25,4×6+10=34,5×7+10=45,6×8+10=58,7×9+10=73,8× 10+10=90,9×11+10=109 Hence missing term=34 Answer: b)

Description : Suppose that the virtual Address space has eight pages and physical memory with four page frames. If LRU page replacement algorithm is used, .............. number of page faults occur with the reference string. 0 2 1 3 5 4 6 3 7 4 7 3 3 5 5 3 1 1 1 7 2 3 4 1 (A) 11 (B) 12 (C) 10 (D) 9

Last Answer : (A) 11

Description : Consider the reference string 0 1 2 3 0 1 4 0 1 2 3 4 If FIFO page replacement algorithm is used, then the number of page faults with three page frames and four page frames are .......... and ........... respectively. (A) 10, 9 (B) 9, 9 (C) 10, 10 (D) 9, 10

Last Answer : (D) 9, 10

Description : A cylinder head temperature gauge measures: a. The temperature of the hottest cylinder b. The temperature of all the cylinders and gives an average reading c. The temperature of the coolest cylinder d. The temperature of the two cylinders furthest away from each other divided by two

Last Answer : a. The temperature of the hottest cylinder

Description : A cylinder head temperature gauge measures: a. The temperature of the hottest cylinder b. The temperature of all the cylinders and gives an average reading c. The temperature of the coolest cylinder d. The temperature of the two cylinders furthest away from each other divided by two

Last Answer : a. The temperature of the hottest cylinder

Description : 15 17 21 29 45 77 ? a) 109 b) 125 c) 141 d) 173 e) None of these

Last Answer : 15 + 2 = 17 17 + 4 = 21 21 + 8 = 29 29 + 16 = 45 45 + 32 = 77 77 + 64 = 141 Answer: c)

Description : Consider the fractional knapsack instance n = 4, (p1, p2, p3, p4) = (10, 10, 12, 18), (w1, w2, w3, w4) = (2, 4, 6, 9) and M = 15. The maximum profit is given by (Assume p and w denotes profit and weight of objects respectively) (A) 40 (B) 38 (C) 32 (D) 30

Last Answer : (B) 38

Description : Find the missing number in the series: 60 59 57 54 50 _________. A. 45 B. 47 C. 44 D. 43

Last Answer : ANSWER: A

Description : Find the missing number in the series: 60 59 57 54 50 _________. A. 45 B. 47 C. 44 D. 43

Last Answer : ANSWER: A

Description : Cylinder having inner diameter to wall thickness ratio less than 15 are a) Thin cylinders b) Thick Cylinders c) Moderate cylinders d) none of the above

Last Answer : b) Thick Cylinders

Description : which is another way to check the sum of 104 + 34 + 228 + 877? -General Knowledge

Last Answer : 877 + 228 + 34 + 104 is another way to check the sum of 104 + 34 + 228 + 877. 104 + 34 + 228 + 877 =1243 877 + 228 + 34 + 104 =1243.

Description : The ............... policy restricts scanning to one direction only. A) SCAN B) C-SCAN C) N-Step SCAN D) Both A and B

Last Answer : A) SCAN

Description : In what ratio must a person mix three kinds of Oats costing him Rs 1.20,Rs 1.44 and Rs 1.74 per Kg so that the mixture may be worth Rs 1.41 per Kg? A)11:77:7 B) 11:45:7 C)25:45:8 D) 27:23:6

Last Answer : A)11:77:7

Description : ………… is very useful in situation when data have to stored and then retrieved in reverse order. A) Stack B) Queue C) List D) Link list

Last Answer : A) Stack

Description : There are three processes P1, P2 and P3 sharing a semaphore for synchronising a variable. Initial value of semaphore is one. Assume that negative value of semaphore tells us how many processes are waiting in queue. Processes access ... The final value of semaphore will be: (1) 0 (2) 1 (3) -1 (4) -2 

Last Answer : Answer: 1

Description : The seven elements A, B, C, D, E, F and G are pushed onto a stack in reverse order, i.e., starting from G. The stack is popped five times and each element is inserted into a queue. Two elements are deleted from the queue and pushed ... The popped item is ................... (1) A (2) B (3) F (4) G

Last Answer : Answer: 2