Let the page fault service time be 10 millisecond(ms) in a computer with average memory access time being 20 nanosecond(ns). If one page fault is generated for every 106 memory accesses, what is the effective access time for memory? (A) 21 ns (B) 23 ns (C) 30 ns (D) 35 ns

1 Answer

Answer :

(C) 30 ns

Related questions

Description : In a demand paging memory system, page table is held in registers. The time taken to service a page fault is 8 m.sec. if an empty frame is available or if the replaced page is not modified, and it takes 20 m.secs., if the replaced ... ? (A) 11.6 m.sec. (B) 16.4 m.sec. (C) 28 m.sec. (D) 14 m.sec.

Last Answer : (B) 16.4 m.sec. 

Description : In a paging system, it takes 30 ns to search translation Look-aside Buffer (TLB) and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective memory access time is: (1) 48 ns (2) 147 ns (3) 120 ns (4) 84 ns

Last Answer : Answer: 2

Description : When does a Page fault occur? (1) There is an error in a specific page (2) A program accesses a page not currently in main memory (3) A program accesses a page of main memory (4) A program accesses a page belonging to another program

Last Answer : A program accesses a page not currently in main memory

Description : Find the time constant for a R-C circuit for resistance R = 24 kohm and C = 16 microfarad. a) 1.5 millisecond b) 0.6 nanosecond c) 384 millisecond d) 384 microsecond

Last Answer : c) 384 millisecond

Description : Suppose that the number of instructions executed between page faults is directly proportional to the number of page frames allocated to a program. If the available memory is doubled, the mean interval between page faults is also ... memory were available? (A) 60 sec (B) 30 sec (C) 45 sec (D) 10 sec

Last Answer : Answer: C Explanation: T = Ninstr x 1µs + 15,000 x 2,000 µs = 60s Ninstr x 1µs = 60,000,000 µs - 30,000,000 µs = 30,000,000 µs Ninstr = 30,000,000 The number of instruction ... doesn't mean that the program runs twice as fast as on the first system. Here, the performance increase is of 25%.

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 : A virtual memory has a page size of 1K words. There are eight pages and four blocks. The associative memory page table contains the following entries:  Which of the following list of virtual addresses (in ... 1234, 4012, 5000, 6200 (C) 1020, 3012, 6120, 8100 (D) 2021, 4050, 5112, 7100

Last Answer : Answer: C Explanation: The pages which are not in main memory are: 1020 will not cause page fault (1024-2047) 3012 will not cause page fault (3072-4095) 6120 will not cause page fault (4096-5119) 8100 will not cause page fault (6144-7167)

Description : Which one of the following is decimal value of a signed binary number 1101010, if it is in 2's complement form? (A) -42 (B) - 22 (C) -21 (D) -106

Last Answer : (B) - 22

Description : The virtual address generated by a CPU is 32 bits. The Translation Lookaside Buffer (TLB) can hold total 64 page table entries and a 4-way set associative (i.e. with 4- cache lines in the set). The page size is 4 KB. The minimum size of TLB tag is (A) 12 bits (B) 15 bits (C) 16 bits (D) 20 bits

Last Answer : (C) 16 bits Explanation: VirtualAddress = 32 bits PageSize = 4KB = 12 bits therefore : VPNTag = 20 bits, OffsetTag = 12 bits TLBEntryLength = VPNTag = 20 bits TotalTLBEntries = 64, 4-way implies ... therefore : TLBIndex = 4 bits TLBTag = TLBEntryLength - TLBIndex = 20 - 4 = 16 bits

Description : Recommended moisture contain for harvesting of paddy crop is between — percentage a. 21 to 23 b. 25 to 27 c. 10 to 15 d. 30 to 35

Last Answer : a. 21 to 23

Description :  If 12 (M’s capital) = 18 (N’s capital) = 30 (O’s capital) then out of a profit of Rs.13950, How much amount O will receive? A) Rs.2700 B) Rs.2600 C) Rs.2500 D) Rs.2400

Last Answer : Answer: A) Let 12 M = 18N = 30 O = y M = y/12, N = y/18 O = y/30 Therefore M : N: O = y/12 : y/18 :y/30 = 15 : 10 : 6 Hence O’s share = Rs (13950 * 6/31) = Rs.2700

Description : Let L be the language generated by regular expression 0*10* and accepted by the deterministic finite automata M. Consider the relation RM defined by M. As all states are reachable from the start state, RM has ................ equivalence classes. (A) 2 (B) 4 (C) 5 (D) 6

Last Answer : (D) 6

Description : The average age of A and B is 20 years. If C were to replace A, the average would be 19 and id C were to replace B,the average would be 21 . The ages of A, B and C are (in years) (a) 22, 17,16 (b) 22, 18, 20 (c) 30, 18, 15 (d) 23, 17 ,15

Last Answer : 22, 18, 20 Hint : A + B = 2 x 20 C + B = 2 x 19 A + C = 2 x 21

Description : Bill accesses Waterstone’s home page on the world wide web and orders a copy of the latest best selling business book. This is an example of: A)catalogue retailing. B)direct -response retailing. C)online retailing. D)home shopping. E)in -home retailing.

Last Answer : C)online retailing.

Description : Proxy application gateway (i) acts on behalf of all intranet users wanting to access interne securely (ii)monitors all accesses to internet and allows access to only specified IP addresses (iii) disallows use of certain protocols with ... ii b. i, ii, iii c. i, ii, iii, iv d. ii, iii, iv

Last Answer : b. i, ii, iii 

Description : A firewall is a a. wall built to prevent fires from damaging a corporate intranet b. security device deployed at the boundary of a company to prevent unauthorized physical access c. ... it from unauthorized access d. device to prevent all accesses from the internet to the corporate intranet

Last Answer : c. security device deployed at the boundary of a corporate intranet to protect it from unauthorized access

Description : What is the output of the following? print("xyyzxyzxzxyy".count('yy')) a) 2 b) 0 Page No 23 c) error d) none of the mentioned

Last Answer : a) 2

Description : For two stage network the switching elements for M inlets with r blocks and N outlets with s blocks is given by (A) Ms + Nr (B) Mr + Ns (C) (M + N) (r + s) (D) (M + N)rs

Last Answer : (A) Ms + Nr

Description : Five persons M, N, O, P and Q request a bank for safety lockers. There are only 6 lockers available which are numbered from 52 to 57. The conditions are as follows: I. M's locker number is 2 less than O's lockers ... could be a) 52 or 53 only b) 53 or 54 only c) 54 or 55 only d) 53 or 55 only

Last Answer : c) 54 or 55 only

Description : Five persons M, N, O, P and Q request a bank for safety lockers. There are only 6 lockers available which are numbered from 52 to 57. The conditions are as follows: I. M's locker number is 2 less ... , then which locker number is not allocated? a) locker 52 b) locker 53 c) locker 54 d)locker 56

Last Answer : a) locker 52

Description : emaphore provides mutual exclusion for accesses to the buffer pool and is initialized to the value: a. Mutex b. Mutual Cc. Memory d. __ Allof these

Last Answer : Mutex

Description : Consider a source with symbols A, B, C, D with probabilities 1/2, 1/4, 1/8, 1/8 respectively. What is the average number of bits per symbol for the Huffman code generated from above information? (A) 2 bits per symbol (B) 1.75 bits per symbol (C) 1.50 bits per symbol (D) 1.25 bits per symbol

Last Answer : (B) 1.75 bits per symbol

Description : Consider a program that consists of 8 pages (from 0 to 7) and we have 4 page frames in the physical memory for the pages. The page reference string is :  1 2 3 2 5 6 3 4 6 3 7 3 1 5 3 6 3 4 2 4 3 4 5 ... to fill available page frames with pages): (A) 9 and 6 (B) 10 and 7 (C) 9 and 7 (D) 10 and 6

Last Answer : (B) 10 and 7

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 : If Ns=250, determine the earth radius k-factor. A. 1.98 B. 1.23 C. 1.33 D. 1.29

Last Answer : B. 1.23

Description : The marks obtained by 15 students in an examination are given below : 40, 20, 24, 19,20, 35, 12, 48, 29, 40, 45, 48, 42, 23, 35. Find the average mark

Last Answer : The marks obtained by 15 students in an examination are given below : 40, 20, 24, 19,20, 35, 12, ... , 23, 35. Find the average mark of the students.

Description : The velocity of light in vacuum is : (1) 3 * 108 ms-1 (2) 2 * 108 ms-1 (3) 3 * 107 ms-1 (4) 3 * 106 ms-1

Last Answer : (1) 3 * 108 ms-1 Explanation: The speed of light in a vacuum is 186,282 miles per second that corresponds to about 3 * 108 ms-1.

Description : An electron moves with a velocity of 2 × 106 ms-1 in the direction of a uniform magnetic field of 0.8 Tesla. The force on electron is a) 8 N b) 2 N c) 4 N d) Zero

Last Answer : d) Zero

Description : What will be the output? numberGames = {} numberGames[(1,2,4)] = 8 numberGames[(4,2,1)] = 10 numberGames[(1,2)] = 12 sum = 0 for k in numberGames: sum += numberGames[k] print len(numberGames) + sum Page No 36 a) 30 b) 24 c) 33 d) 12

Last Answer : a) 30

Description : Consider a uniprocessor system where new processes arrive at an average of five processes per minute and each process needs an average of 6 seconds of service time. What will be the CPU utilization ? (A) 80 % (B) 50 % (C) 60 % (D) 30 %

Last Answer : (B) 50 %

Description : A vehicle suspension system consists of a spring and a damper. The stiffness of the spring is 3.6 kN/m and the damping constant of the damper is 400 Ns/m. If the mass is 50 kg, then the damping factor (d ) and damped natural ... , are a) 0.471 and 1.19 Hz b) 0.471 and 7.48 Hz c) 0.666 and 1.35 Hz

Last Answer : a) 0.471 and 1.19 Hz

Description : A vehicle suspension system consists of a spring and a damper. The stiffness of the spring is 3.6 kN/m and the damping constant of the damper is 400 Ns/m. If the mass is 50 kg, then the damping factor (d ) and damped natural ... .19 Hz b) 0.471 and 7.48 Hz c) 0.666 and 1.35 Hz d) 0.666 and 8.50 Hz

Last Answer : a) 0.471 and 1.19 Hz

Description : Let Pi and Pj be two processes, R be the set of variables read from memory, and W be the set of variables written to memory. For the concurrent execution of two processes Pi and Pj, which of the following conditions is not true? (A) R(Pi)∩W(Pj)=Φ (B) W(Pi)∩R(Pj)=Φ (C) R(Pi)∩R(Pj)=Φ (D) W(Pi)∩W(Pj)=Φ

Last Answer : (C) R(Pi)∩R(Pj)=Φ 

Description : The heat released by cooling one mole of copper from 400 K to room temperature (300 K) is (assume : Cp of copper is 23 J K-1mole-1) (A) 2300 J (B) 4600 J (C) 230 J (D) 2.3 × 106 J

Last Answer : A) 2300 J

Description : With …………………. A page is written out to secondary memory only when it has been selected for replacement. A) pre-cleaning B) demand cleaning C) required cleaning D) fast cleaning

Last Answer : B) demand cleaning

Description : The ……………. Determines when a page should be brought into main memory. A) Fetch policy B) Placement policy C) Replacement policy D) Resident set management

Last Answer : A) Fetch policy

Description : With ................ a page is brought into main memory only when the reference is made to a location on that page. A) demand paging B) main paging C) prepaging D) postpaging

Last Answer : A) demand paging

Description : A job has four pages A, B, C, D and the main memory has two page frames only. The job needs to process its pages in following order: ABACABDBACD Assuming that a page interrupt occurs when a new page is brought in the main ... replacement algorithms are (A) 9 and 7 (B) 7 and 6 (C) 9 and 8 (D) 8 and 6

Last Answer : (C) 9 and 8

Description : A memory management system has 64 pages with 512 bytes page size. Physical memory consists of 32 page frames. Number of bits required in logical and physical address are respectively: (1) 14 and 15 (2) 14 and 29 (3) 15 and 14 (4) 16 and 32

Last Answer : (3) 15 and 14

Description : Consider a project with the following functional units : Number of user inputs = 50 Number of user outputs = 40 Number of user enquiries = 35 Number of user files = 06 Number of external interfaces = 04 ... average, the function points for the project will be (A) 135 (B) 722 (C) 675 (D) 672

Last Answer : (D) 672

Description : A byte addressable computer has a memory capacity of 2 m Kbytes and can perform 2 n operations. An instruction involving 3 operands and one operator needs a maximum of (A) 3m bits (B) m + n bits (C) 3m + n bits (D) 3m + n + 30 bits

Last Answer : (D) 3m + n + 30 bits

Description : The output generated by the LINUX command : $ seq 1 2 10 will be (A) 1 2 10 (B) 1 2 3 4 5 6 7 8 9 10 (C) 1 3 5 7 9 (D) 1 5 10

Last Answer : (C) 1 3 5 7 9

Description : The number of strings of length 4 that are generated by the regular expression (0|∈) 1+2* (3|∈), where | is an alternation character, {+, *} are quantification characters, and ∈ is the null string, is: (A) 08 (B) 10 (C) 11 (D) 12

Last Answer : (D) 12

Description : The number of strings of length 4 that are generated by the regular expression (0+1 +|2+3 + )*, where | is an alternation character and {+, *} are quantification characters, is: (A) 08 (B) 09 (C) 10 (D) 12

Last Answer : (C) 10

Description : FTP server listens to connections on port ……………………. A) 19 and 20 B) 20 and 21 C) 21 and 22 D) 20 and 22

Last Answer : B) 20 and 21

Description : how much zepto second in a nanosecond?

Last Answer : quadrillion

Description : What is one nanosecond ?

Last Answer : 1 second means one part of one hundred crore.

Description : The period of a signal is 10 ms. What is its frequency in Hertz ? (A) 10 (B) 100 (C) 1000 (D) 10000

Last Answer : (B) 100