ISRO Scientist or Engineer Computer Science 2015

Instructions

For the following questions answer them individually

ISRO Scientist or Engineer Computer Science 2015 - Question 11


If the sequence of operations — push (1), push (2), pop, push (1), push (2), pop, pop, pop,push (2), pop are performed on a stack, the sequence of popped out values

ISRO Scientist or Engineer Computer Science 2015 - Question 12


A machine needs a minimum of 100 sec to sort 1000 names by quick sort. The minimum time needed to sort 100 names will be approximately

ISRO Scientist or Engineer Computer Science 2015 - Question 13


Six files Fl, F2, F3, F4, F5 and F6 have 100, 200, 50, 80, 120, 150 records respectively.In what order should they be stored so as to optimize act. Assume eachfile is accessed with the same frequency

ISRO Scientist or Engineer Computer Science 2015 - Question 14


A hash table with 10 buckets with one slot per bucket is depicted in fig. The symbols, S1 and S7 are initially entered using a hashing function with linear probing. The maximum number of comparisons needed in searching an item that is not present is

ISRO Scientist or Engineer Computer Science 2015 - Question 15


The queue data structure is to be realized by using stack. The number of stacks needed would be

ISRO Scientist or Engineer Computer Science 2015 - Question 16


Consider the following Entity Relationship Diagram (ERD)


Which of the following possible relations will not hold if the above ERD is mapped into a relation model?

ISRO Scientist or Engineer Computer Science 2015 - Question 17


Consider the following log sequence of two transactions on a bank account, with initial balance 12000, that transfer 2000 to a mortgage payment and, then apply a 5% interest
(i) T1 start
(ii) T1 Bold = 12000 new = 10000
(iii) T1M old =0 new = 2000
(iv) Tl commit
(v) T2 start
(vi) T2Bold= 10000 new = 10500
(vii) T2 commit
Suppose the database system crashedjust before log record 7 is written. Whenthe system is restarted, which one statementis true of the recovery procedure?

ISRO Scientist or Engineer Computer Science 2015 - Question 18


Given a block can hold either 3 records or 10 key pointers. A database contains n records, then how many blocks do we need to hold the data file and the dense index

ISRO Scientist or Engineer Computer Science 2015 - Question 19


The maximum length of an attribute of type text is

ISRO Scientist or Engineer Computer Science 2015 - Question 20


Let R =(A,B,C,D, E,F) be a relation scheme with the following dependencies $$C \rightarrow F, E \rightarrow A, EC \rightarrow D,A \rightarrow B.$$ Which of the following is a key for R?

cracku

Boost your Prep!

Download App