Sunday, January 22, 2017

CBSE/UGC JRF/NET 22 JANUARY 2017 COMPUTER SCIENCE & APPLICATIONS PAPER-II ANSWER KEY


CBSE/UGC JRF/NET 22 JANUARY 2017 COMPUTER SCIENCE & APPLICATIONS PAPER-II ANSWER KEY

Q. No.
Answer
Q. No.
Answer
Q. No.
Answer
Q. No.
Answer
Q. No.
Answer
1.        
A
2.        
A
3.        
D
4.        
C
5.        
D
6.        
D
7.        
B
8.        
C/D
9.        
A
10.    
C
11.    
D
12.    
A
13.    
B
14.    
D
15.    
B
16.    
B
17.    
C
18.    
D
19.    
A
20.    
X
21.    
C
22.    
B
23.    
B
24.    
A
25.    
B
26.    
A
27.    
X
28.    
D
29.    
C
30.    
B
31.    
D
32.    
A
33.    
D
34.    
C
35.    
A
36.    
A
37.    
B
38.    
D
39.    
B
40.    
C
41.    
C
42.    
D
43.    
B
44.    
B
45.    
B
46.    
A
47.    
A
48.    
B
49.    
D
50.    
C



1.       Consider a sequence F00 defined as:
Then what shall be the set of values of the sequence F00?
(1) (1, 110, 1200)
(2) (1, 110, 600, 1200)
(3) (1, 2, 55, 110, 600, 1200)
(4) (1, 55, 110, 600, 1200)

2.       Match the following:
List-I                  List-II
a. Absurd          i. Clearly impossible being contrary to some evident truth.
b. Ambiguous   ii. Capable of more than one interpretation or meaning.
c. Axiom            iii. An assertion that is accepted and used without a proof.
d. Conjecture    iv. An opinion Preferably based on some experience or wisdom.
Codes:
     a   b   c    d
(1) i    ii   iii   iv
(2) i    iii  iv   ii
(3) ii   iii  iv   i
(4) ii   i    iii   iv

3.       The functions mapping R into R are defined as:
f(x) = x3-4x, g(x)=1/(x2+1) and h(x)=x4
Then find the value of the following composite functions:
hog(x) and hogof(x)
(1) (x2+1)4 and [(x3-4x)2+1]4
(2) (x2+1)4 and [(x3-4x)2+1]- 4
(3) (x2+1)- 4 and [(x3-4x)2+1]4
(4) (x2+1)‑ 4 and [(x3-4x)2+1]- 4

4.       How many multiples of 6 are there between the following pairs of numbers?
0 and 100          and     -6 and 34
(1) 16 and 6
(2) 17 and 6
(3) 17 and 7
(4) 16 and 7

5.       Consider a Hamiltonian Graph G with no loops or parallel edges and with |V(G)|=n≥3. Then which of the following is true?
(1) deg(v) ≥ n/2 for each vertex v.
(2) |E(G)| ≥ 1/2(n-1)(n-2)+2
(3) deg(v)+deg(w) ≥ n whenever v and w are not connected by an edge.
(4) All of the above

6.       In propositional logic if (P→Q)˄(R→S) and (P˅R) are two premises such that
Y is the premise:
(1) P˅R
(2) P˅S
(3) Q˅R
(4) Q˅S

7.       ECL is the fastest of all logic families. High Speed in ECL is possible because transistors are used in difference amplifier configuration, in which they are never driven into ...............
(1) Race condition
(2) Saturation
(3) Delay
(4) High impedance

8.       A binary 3-bit down counter uses J-K flip-flops, FFi with inputs Ji, Ki and outputs Qi, i=0,1,2 respectively. The minimized expression for the input from following, is
I. J0=K0=0
II. J0=K0=1
III. J1=K1=Q0
IV. J1=K1=Q'0
V. J2=K2=Q1Q0
Vl. J2=K2=Q'1Q'0
(1) I, Ill, V
(2) I, IV, VI
(3) Il, III, V
(4) Il, IV, Vl

9.       Convert the octal number 0.4051 into its equivalent decimal number.
(1) 0.5100098
(2) 0.2096
(3) 0.52
(4) 0.4192

10.    The hexadecimal equivalent of the octal number 2357 is:
(1) 2EE
(2) 2FF
(3) 4EF
(4) 4FE

11.       Which of the following cannot be passed to a function in C++?
(1) Constant
(2) Structure
(3) Array
(4) Header file

12.       Which one of the following is correct for overloaded functions in C++?
(1) Compiler sets up a separate function for every definition of function.
(2) Compiler does not set up a separate function for every definition of function.
(3) Overloaded functions cannot handle different types of objects.
(4) Overloaded functions cannot have same number of arguments.

13.       Which of the following storage classes have global visibility in C/C++?
(1) Auto
(2) Extern
(3) Static
(4) Register

14.       Which of the following operators cannot be overloaded in C/C++?
(1) Bitwise right shift assignment
(2) Address of
(3) Indirection
(4) Structure reference

15.       If X is a binary number which is power of 2, then the value of
X&(X-1) is:
(1) 11....11
(2) 00.....00
(3) 100.....0
(4) 000.....1

16.       An attribute A of datatype varchar(20) has value 'Ram' and the attribute B of datatype char(20) has value 'Sita' in oracle. The attribute A has .......... memory spaces and B has .......... memory spaces.
(1) 20, 20
(2) 3, 20
(3) 3, 4
(4) 20, 4

17.       Integrity constraints ensure that changes made to the database by authorized users do not result into loss of data consistency. Which of the following statement(s) is (are) true w.r.t. the examples of integrity constraints?
(A) An instructor Id. No. cannot be null, provided Instructor Id. No. being primary key.
(B) No two citizens have same Adhar-Id.
(C) Budget of a company must be zero.
(1) (A), (B) and (C) are true.
(2) (A) false, (B) and (C) are true.
(3) (A) and (B) are true; (C) false.
(4) (A), (B) and (C) are false.

18.       Let M and N be two entities in an E-R diagram with simple single vale attributes. R1 and R2 are two relationship between M and N, whereas
R1 is one-to-many and R2 is many-to-many.
The minimum number of tables required to represent M, N, R1 and R2 in the relational model are ..........
(1) 4
(2) 6
(3) 7
(4) 3

19.       Consider a schema R(MNPQ) and functional dependencies M→N, P→Q. Then the decomposition of R into R1(MN) and R2(PQ) is .............
(1) Dependency preserving but not lossless join.
(2) Dependency preserving and lossless join
(3) Lossless join but not dependency preserving
(4) Neither dependency preserving nor lossless join.

20.    The order of a leaf node in a B+ tree is the maximum number of children it can have. Suppose that block size is 1 kilobytes, the child pointer takes 7 bytes long and search field value takes 14 bytes long. The order of the leaf node is ............
(1) 16
(2) 63
(3) 64
(4) 65

21.       Which of the following is true for computation time in insertion, deletion and finding maximum and minimum element in a sorted array?
(1) Insertion-O(1), Deletion-O(1), Maximum-O(1), Minimum-O(1)
(2) Insertion-O(1), Deletion-O(1), Maximum-O(n), Minimum-O(n)
(3) Insertion-O(n), Deletion-O(n), Maximum-O(1), Minimum-O(1)
(4) Insertion-O(n), Deletion-O(n), Maximum-O(n), Minimum-O(n)

22.       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 back onto the stack. Now, one element is popped from the stack. The popped item is ...................
(1) A
(2) B
(3) F
(4) G

23.       Which of the following is a valid heap?
(1) A
(2) B
(3) C
(4) D

24.       If h is chosen from a universal collection of hash functions and is used to hash n keys into a table of size m, where n≤m, the expected number of collisions involving a particular key x is less than ...................
(1) 1
(2) 1/n
(3) 1/m
(4) n/m

25.       Which of the following statements is false?
(A) Optimal binary search tree construction can be performed efficiently using dynamic programming.
(B) Breadth-first search cannot be used to find connected components of a graph.
(C) Given the prefix and postfix walks of a binary tree, the tree cannot be re-constructed uniquely.
(D) Depth-first-search can be used to find the components of a graph.
(1) A
(2) B
(3) C
(4) D

26.       Match the following Layers and Protocols for a user browsing with SSL:
a. Application of layer             i. TCP
b. Transport layer         ii. IP
c. Network layer           iii. PPP
d. Datalink layer           iv. HTTP
Codes:
      a   b   c   d
(1) iv   i    ii   iii
(2) iii   ii   i    iv
(3) ii   iii   iv   i
(4) iii   i    iv  ii

27.       The maximum size of the data that the application layer can pass on to the TCP layer below is .........
(1) 216 bytes
(2) 216 bytes + TCP header length
(3) 216 bytes - TCP header length
(4) 215 bytes

28.       A packet whose destination is outside the local TCP/IP network segment is sent to ..............
(1) File server
(2) DNS server
(3) DHCP server
(4) Default gateway

29.       Distance vector routing algorithm is a dynamic routing algorithm. The routing tables in distance vector routing algorithm are updated ...........
(1) automatically
(2) by server
(3) by exchanging information with neighbour nodes.
(4) with back up database

30.    In link state routing algorithm after construction of link state packets, new routes are computed using:
(1) DES algorithm
(2) Dijkstra's algorithm
(3) RSA algorithm
(4) Packets

31.       Which of the following strings would match the regular expression: p+[3-5]*[xyz]?
I. p443y
Il. p6y
III. 3xyz
IV. p35z
V. p353535x
Vl. ppp5
(1) I, III and Vl only
(2) IV, V and VI only
(3) II, IV and V only
(4) I, IV and V only

32.       Consider the following assembly language instructions:
mov al, 15
mov ah, 15
xor al, al
mov cl, 3
shr ax, cl
add al, 90H
adc ah, 0
What is the value in ax register after execution of above instructions?
(1) 0270H
(2) 0170H
(3) 01E0H
(4) 0370H

33.       Consider the following statements related to compiler construction:
I. Lexical Analysis is specified by context-free grammars and implemented by pushdown automata.
II. Syntax Analysis is specified by regular expressions and implemented by finite-state machine.
Which of the above statement(s) is/are correct?
(1) Only l
(2) Only ll
(3) Both I and II
(4) Neither I nor Il

34.       The contents of Register (BL) and Register (AL) of 8085 microprocessor are 49H and 3AH respectively. The contents of AL, the status of carry flag (CF) and sign flag (SF) after executing 'SUB AL, BL' assembly language instruction, are
(1) AL=0FH; CF=1; SF=1
(2) AL=F0H; CF=0; SF=0
(3) AL=F1H; CF=1; SF=1
(4) AL=1FH; CF=1; SF=1

35.       Which of the following statement(s) regarding a linker software is/are true?
I. A function of a linker is to combine several object modules into a single load module.
II. A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules.
(1) Only I
(2) Only II
(3) Both I and II
(4) Neither I nor Il

36.       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 semaphore in following order:
(a) P2 needs to access
(b) P1 needs to access
(c) P3 needs to access
(d) P2 exits critical section
(e) Pi exits critical section
The final value of semaphore will be:
(1) 0
(2) 1
(3) -1
(4) -2

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

38.       Match the following w.r.t. Input/Output management:
List-l                              List-II
a. Device controller     i. Extracts information from the
controller register and store it
in data buffer
b. Device driver            ii. I/O scheduling
c. Interrupt handler      iii. Performs data transfer
d. Kernel I/O subsystem iv. Processing of I/O request
Codes:
     a   b   c   d
(1) iii  iv   i   ii
(2) ii   i    iv  iii
(3) iv  i    ii   iii
(4) i   iii   iv   ii

39.       Which of the following scheduling algorithms may cause starvation?
a. First-come-first-served
b. Round Robin
c. Priority
d. Shortest process next
e. Shortest remaining time first
(1) a, c and e
(2) c, d and e
(3) b, d and e
(4) b, c and d

40.    Distributed operating systems consist of:
(1) Loosely coupled O.S. software on a loosely coupled hardware
(2) Loosely coupled O.S. software on a tightly coupled hardware
(3) Tightly coupled O.S. software on a loosely coupled hardware
(4) Tightly coupled O.S. software on a tightly coupled hardware

41.       Software Engineering is an engineering discipline that is concerned with:
(1) how computer systems work.
(2) theories and methods that underlie computers and software systems.
(3) all aspects of software production.
(4) all aspects of computer-based systems development, including hardware, software and process engineering.

42.       Which of the following is not one of three software product aspects addressed by McCall's software quality factors?
(1) Ability to undergo change.
(2) Adaptability to new environments.
(3) Operational characteristics
(4) Production costs and scheduling

43.       Which of the following statement(s) is/are true with respect to software architecture?
S1: Coupling is a measure of how well the things grouped together in a module belong together logically.
S2: Cohesion is a measure of the degree of interaction between software modules.
S3: If coupling is low and cohesion is high then it is easier to change one module without affecting others.
(1) Only S1 and S2
(2) Only S3
(3) All of S1, S2 and S3
(4) Only S1

44.       The Prototyping model of software development is:
(1) a reasonable approach when requirements are well-defined.
(2) a useful approach when a customer cannot define requirements clearly.
(3) the best approach to use for projects with large development teams.
(4) a risky model that rarely produces a meaningful product.

45.       A software design pattern used to enhance the functionality of an object at run-time is:
(1) Adapter
(2) Decorator
(3) Delegation
(4) Proxy


46.       Match the following:
List-l                              List-II
a. Affiliate marketing   i. Vendors ask partners to place logos on partner's site. If customers click, come to vendors and buy.
b. Viral Marketing        ii. Spread your brand on the net by word-of-mouth. Receivers will send
your information to their friends.
c. Group Purchasing iii. Aggregating the demands of small buyers to get a large volume. Then negotiate a price.
d. Bartering Online      iv. Exchanging surplus Products and services with the process administered completely online by an intermediary.
Company receives “points” for its contribution.
Codes:
     a  b    c   d
(1) i   ii    iii   iv
(2) i   iii   ii    iv
(3) iii  ii   iv   i
(4) ii  iii   i    iv

47.       ............ refers loosely to the process of semi-automatically analysing large databases to find useful patterns.
(1) Datamining
(2) Data Warehousing
(3) DBMS
(4) Data mirroring

48.       Which of the following is/are true w.r.t. applications of mobile computing?
(A) Travelling of salesman
(B) Location awareness services
(1) (A) true; (B) false
(2) Both (A) and (B) are true.
(3) Both (A) and (B) are false.
(4) (A) false; (B) true.

49.       In 3G network, W-CDMA is also known as UMTS. The minimum spectrum allocation required for W-CDMA is ..........
(1) 2 MHz
(2) 20 KHz
(3) 5 KHz
(4) 5 MHz

50.    Which of the following statements is/are true w.r.t. Enterprise Resource Planning (ERP)?
(A) ERP automates and integrates majority of business processes.
(B) ERP provides access to information in a Real Time Environment.
(C) ERP is inexpensive to implement.
(1) (A), (B) and (C) are false.
(2) (A) and (B) false; (C) true.
(3) (A) and (B) true; (C) false
(4) (A) true; (B) and (C) are false



NET 22 JANUARY 2017 COMPUTER SCIENCE & APPLICATIONS PAPER-III ANSWER KEY



CBSE-UGC JRF-NET 22 JANUARY 2017 COMPUTER SCIENCE & APPLICATIONS PAPER-III ANSWER KEY

1. Which of the following is an interrupt according to temporal relationship with system clock?
(1) Maskable interrupt
(2) Periodic interrupt
(3) Division by zero
(4) Synchronous interrupt

2. Which of the following is incorrect for virtual memory?
(1) Large programs can be written
(2) More I/O is required
(3) More addressable memory available
(4) Faster and easy swapping of process

3. The general configuration of the microprogrammed control unit is given below:


What are blocks B and C in the diagram respectively?
(1) Block address register and cache memory
(2) Control address register and control memory
(3) Branch register and cache memory
(4) Control address register and random access memory

4. Match the following:
Addressing Mode         Location of operand
a. Implied              i. Registers which are in CPU
b. Immediate              ii. Register specifies the address of the operand
c. Register              iii. Specified in the register
d. Register Indirect         iv. Specified implicitly in the definition of instruction
Codes:
 a b c d
(1) iv iii i ii
(2) iv i iii ii
(3) iv ii i iii
(4) iv iii ii i

5. In 8085 microprocessor, the digit 5 indicates that the microprocessor needs
(1) -5 volts, +5 volts supply
(2) +5 volts supply only
(3) -5 volts supply only
(4) 5 MHz clock

6. In 8085, which of the following performs: load register pair immediate operation?
(1) LDAX rp
(2) LHLD addr
(3) LXI rp, data
(4) INX rp

7. Consider following schedules involving two transactions:
S1: r1(X); r1(Y); r2(X); r2(Y); w2(Y); w1(X)
S2: r1(X); r2(X); r2(Y); w2(Y); r1(Y); w1(X)
Which of the following statement is true?
(1) Both S1 and S2 are conflict serializable.
(2) S1 is conflict serializable and S2 is not conflict serializable.
(3) S1 is not conflict serializable and S2 is conflict serializable.
(4) Both S1 and S2 are not conflict serializable.

8. Which one is correct w.r.t. RDBMS?
(1) primary key ⊆ super key ⊆ candidate key
(2) primary key ⊆ candidate key ⊆ super key
(3) super key ⊆ candidate key ⊆ primary key
(4) super key ⊆ primary key ⊆ candidate key

9. Let pk(R) denotes primary key of relation R. A many-to-one relationship that exists between two relations R1 and R2 can be expressed as follows:
(1) pk(R2)→pk(R1)
(2) pk(R1)→pk(R2)
(3) pk(R2)→R1∩R2
(4) pk(R1)→R1∩R2

10. For a database relation R(A,B,C,D) where the domains of A,B,C and D include only atomic values, only the following functional dependencies and those that can be inferred from them are:
A→C
B→D
The relation R is in ................
(1) First normal form but not in second normal form
(2) Both in first normal form as well as in second normal form
(3) Second normal form but not in third normal form
(4) Both in second normal form as well as in third normal form

11. Consider the following relation:
Works (emp_name, company_name, salary)
Here, emp_name is primary key.
Consider the following SQL query
Select emp_name From Works T where salary>(select avg (salary)
from Works S where T.company_name= S. Company_name)
The above query is for following:
(1) Find the highest paid employee who earns more than the average salary of all employees of his company.
(2) Find the highest paid employee who earns more than the average salary of all the employees of all the companies.
(3) Find all employees who earn more than the average salary of all employees of all the companies.
(4) Find all employees who earn more than the average salary of all employees of their company.

12. If following sequence of keys are inserted in a B+ tree with K(=3) pointers:
8, 5, 1, 7, 3, 12, 9, 6
Which of the following shall be correct B+ tree?


Answer: 1

13. Which of the following statement(s) is/are correct?
(1) Persistence is the term used to describe the duration of phosphorescence.
(2) The control electrode is used to turn the electron beam on and off.
(3) The electron gun creates a source of electrons which are focussed into a narrow beam directed at the face of CRT.
(4) All of the above.

14. A segment is any object described by GKS commands and data that start with CREATE SEGMENT and Terminates with CLOSE SEGMENT command. What functions can be performed on these segments?
(1) Translation and Rotation
(2) Panning and Zooming
(3) Scaling and Shearing
(4) Translation, Rotation, Panning and Zooming

15. Match the following:
a. Glass  i. Contains liquid crystal and serves as a bonding surface for a conductive coating.
b. Conductive coating ii. Acts as a conductor so that a voltage can be applied across the liquid crystal.
c. Liquid Crystal  iii. A substance which will polarize light when a voltage is applied to it.
d. Polarized film  iv. A transparent sheet that polarizes light.
Codes:
 a b c d
(1) i ii iii iv
(2) i iii ii iv
(3) iv iii ii i
(4) iv ii i iii

16. 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<0, then d=4x+6 and x=x+1
(4) If d≥0,then d=4 *(x-y)+10, x=x+1 and y=y+1

17. Which of the following is/are side effects of scan conversion?
a. Aliasing
b. Unequal intensity of diagonal lines
c. Over striking in photographic applications
d. Local or Global aliasing
(1) a and b
(2) a, b and c
(3) a, c and d
(4) a, b, c and d

18. Consider a line AB with A = (0,0) and B = (8, 4). Apply a simple DDA algorithm and compute the first four plots on this line.
(1) [(0, 0), (1, 1), (2, 1), (3, 2)]
(2) [(0, 0), (1, 1.5), (2, 2), (3, 3)]
(3) [(0, 0), (1, 1), (2, 2.5), (3, 3)]
(4) [(0, 0), (1, 2), (2, 2), (3, 2)]

19. Which of the following are not regular?
(A) Strings of even number of a’s.
(B) Strings of a’s, whose length is a prime number.
(C) Set of all palindromes made up of a’s and b’s.
(D) Strings of a’s whose length is a perfect square.
(1) (A) and (B) only
(2) (A), (B) and (C) only
(3) (B), (C) and (D) only
(4) (B) and (D) only

20. Consider the languages L1 = ϕ, and L2 = {1}. Which one of the following represents
L1* U L2* L1* ?
(1) {ε}
(2) {ε,1}
(3) ϕ
(4) 1*

21. Given the following statements :
(A) A class of languages that is closed under union and complementation has to be closed under intersection.
(B) A class of languages that is closed under union and intersection has to be closed under complementation.
Which of the following options is correct?
(1) Both (A) and (B) are false.
(2) Both (A) and (B) are true.
(3) (A) is true, (B) is false.
(4) (A) is false, (B) is true.

22. Let G = (V,T,S,P) be a context-free grammar such that every one of its productions is of the form A→v, with |v| = K>1. The derivation tree for any W ϵ L(G) has a height h such that


Answer: 4

23. Given the following two languages:
L1 = {anbn|n≥0, n≠100}
L2 = {w ϵ {a,b,c}*| na(w) = nb(w) = nc(w)}
Which of the following options is correct?
(1) Both L1 and L2 are not context free language.
(2) Both L1 and L2 are context free language.
(3) L1 is context free language, L2 is not context free language.
(4) L1 is not context free language, L2 is context free language.

24. A recursive function h, is defined as follows:
h(m)=k, if m=0
 = 1, if m=1
= 2h(m-1) + 4h(m-2), if m≥2
If the value of h(4) is 88 then the value of k is:
(1) 0
(2) 1
(3) 2
(4) -1

25. Suppose there are n stations in a slotted LAN. Each station attempts to transmit with a probability P in each time slot. The probability that only one station transmits in a given slot is ..................
(1) nP(1-P)n-1
(2) nP
(3) P(1-P)n-1
(4) nP(1-P)n-1


26. Station A uses 32 byte packets to transmit messages to station B using sliding window protocol. The round trip delay between A and B is 40 milli seconds and the bottleneck bandwidth on the path between A and B is 64 kbps. The optimal window size of A is
(1) 20
(2) 10
(3) 30
(4) 40

27. Let G(x) be generator polynomial used for CRC checking. The condition that should be satisfied by G(x) to correct odd numbered error bits, will be:
(1) (1+x) is factor of G(x)
(2) (1-x) is factor of G(x)
(3) (1+x2) is factor of G(x)
(4) x is factor of G(x)

28. In a packet switching network, if the message size is 48 bytes and each packet contains a header of 3 bytes. If 24 packets are required to transmit the message, the packet size is ................
(1) 2 bytes
(2) 1 byte
(3) 4 bytes
(4) 5 bytes

29. In RSA public key cryptosystem suppose n=p*q where p and q are primes. (e,n) and (d,n) are public and private keys respectively. Let M be an integer such that 0<M<n and ɸ(n)=(p-1)(q-1).
Which of the following equations represent RSA public key cryptosystem?
I. C≡Me (mod n), M≡(C)d(mod n)
II. ed≡1(mod n)
III. ed≡(mod ɸ(n))
IV. C≡Me (mod ɸn), M≡Cd(mod ɸn)
Codes:
(1) I and II
(2) I and III
(3) II and III
(4) I and IV

30. A node X on a 10 Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2 Mbps. Token bucket is initially filled with 16 megabits. The maximum
duration taken by X to transmit at full rate of 10 Mbps is ............ secs.
(1) 1
(2) 2
(3) 3
(4) 4

31. The asymptotic upper bound solution of the recurrence relation given by
T(n)= 2T(n/2)+n/log n is:
(1) O(n2)
(2) O(n log n)
(3) O(n log log n)
(4) O(log log n)

32. Any decision tree that sorts n elements has height ..............
(1) Ω(log n)
(2) Ω(n)
(3) Ω(n log n)
 (4) Ω(n2)

33. Red-black trees are one of many Search tree schemes that are "balanced” in order to guarantee that basic dynamic-set operations take ............. time in the worst case.
(1) O(1)
(2) O(log n)
(3) O(n)
(4) O(n log n)

34. The minimum number of scalar multiplication required, for parenthesization of a matrix-chain product whose sequence of dimensions for four matrices is <5,10,3,12,5> is
(1) 630
(2) 580
(3) 480
(4) 405

35. Dijkstra’s algorithm is based on
(1) Divide and conquer paradigm
(2) Dynamic Programming
(3) Greedy Approach
(4) Backtracking paradigm

36. Match the following with respect to algorithm paradigms:
List-I                      List-II
a. Merge sort                  i. Dynamic Programming
b. Huffman coding              ii. Greedy approach
c. Optimal polygon triangulation     iii. Divide and conquer
d. Subset sum problem          iv. Back tracking
Codes:
 a b c d
(1) iii i ii iv
(2) ii i iv iii
(3) ii i iii iv
(4) iii ii i iv

37. Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements?
I. Abstraction allows us to focus on what something does without considering the complexities of how it works.
II. Encapsulation allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
(1) Neither I nor II is correct.
(2) Both I and II are correct.
(3) Only II is correct.
(4) Only I is correct.

38. Given the array of integers ‘array’ shown below:

What is the output of the following JAVA statements?
int [ ] p = new int [10];
int [ ] q = new int [10];
for (int k = 0; k < 10; k ++)
p[k] = array [k];
q = p;
p[4] = 20;
System.out.println(array [4] + “:” + q[4]);
(1) 20:20
(2) 18:18
(3) 18:20
(4) 20:18

39. Consider the following JAVA program:
public class First {
public static int CBSE (int x) {
if (x < 100) x = CBSE (x +10);
return (x - 1);
}
public static void main (String[] args){
System.out.print(First.CBSE(60));
}
}
What does this program print?
(1) 59
(2) 95
(3) 69
(4) 99

40. Which of the following statement(s) with regard to an abstract class in JAVA is/are TRUE?
I. An abstract class is one that is not used to create objects.
II. An abstract class is designed only to act as a base class to be inherited by other classes.
(1) Only l
(2) Only II
(3) Neither I nor II
(4) Both l and II

41. Which of the following HTML code will affect the vertical alignment of the table content?
(1) <td style = “vertical-align : middle”>Text Here</td>
(2) <td valign = “centre”>Text Here</td>
(3) <td style = “text-align : center”>Text Here</td>
(4) <td align = “middle”>Text Here</td>

42. What can you say about the following statements?
I. XML tags are case-insensitive.
II. In JavaScript, identifier names are case-sensitive.
III. Cascading Style Sheets (CSS) cannot be used with XML.
IV. All well-formed XML documents must contain a document type definition.
(1) only I and II are false.
(2) only III and IV are false.
(3) only I and III are false.
(4) only II and IV are false.

43. Which of the following statement(s) is/are TRUE with regard to software testing?
I. Regression testing technique ensures that the software product runs correctly after the changes during maintenance.
II. Equivalence partitioning is a white-box testing technique that divides the input domain of a program into classes of data from which test cases can be derived.
(1) only I
(2) only II
(3) both I and II
(4) neither I nor II

44. Which of the following are facts about a top-down software testing approach?
I. Top-down testing typically requires the tester to build method stubs.
II. Top-down testing typically requires the tester to build test drivers.
(1) only I
(2) Only II
(3) Both I and II
(4) Neither I nor II

45. Match the terms related to Software Configuration Management (SCM) in List-I with the descriptions in List-II.
List-1  List-II
I. Version     A. An instance of a system that is distributed to customers.
II. Release     B. An instance of a system which is functionally identical to other instances, but designed for different hardware/software configurations.
III. Variant     C. An instance of a system that differs, in some way, from other instances.
Codes:
 I II III
(1) B C A
(2) C A B
(3) C B A
(4) B A C

46. A software project was estimated at 352 Function Points (FP). A four person team will be assigned to this project consisting of an architect, two programmers, and a tester. The salary of the architect is Rs.80,000 per month, the programmer Rs.60,000 per month and the tester Rs.50,000 per month. The average productivity for the team is 8 FP per person month. Which of the following represents the projected cost of the project?
(1) Rs.28,16,000
(2) Rs.20,90,000
(3) Rs.26,95,000
(4) Rs.27,50,000

47. Complete each of the following sentences in List-I on the left hand side by filling in the word or phrase from the List-II on the right hand side that best completes the sentence:
List-I                                           List-II
I. Determining whether you have built the right system is called .............     A. Software testing
II. Determining whether you have built the system right is called .........     B. Software verification
III. ............ is the process of demonstrating the existence of defects or providing confidence that they do not appear to be present.                          C. Software debugging
IV. ...... is the process of discovering the cause of a defect and fixing it.      D. Software validation
Codes:
 I II III IV
(1) B D A C
(2) B D C A
(3) D B C A
(4) D B A C

48. A software company needs to develop a project that is estimated as 1000 function points and is planning to use JAVA as the programming language whose approximate lines of code per function point is accepted as 50. Considering a=1.4 as multiplicative factor, b=1.0 as exponention factor for the basic COCOMO effort equation and c=3.0 as multiplicative factor, d=0.33 as exponention factor for the basic COCOMO duration equation, approximately how long does the project take to complete?
(1) 11.2 months
(2) 12.2 months
(3) 13.2 months
(4) 10.2 months

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

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

51. Match the following for Unix rue system:
List-I                  List-II
a. Boot block  i. Information about file system, free block list, free inode list etc.
b. Super block ii. Contains operating system files as well as program and data files created by users.
c. Inode block  iii. Contains boot program and partition table.
d. Data block  iv. Contains a table for every file in the file system. Attributes of files are stored here.
Codes:
 a b c d
(1) iii i ii iv
(2) iii i iv ii
(3) iv iii ii i
(4) iv iii i ii

52. Some of the criteria for calculation of priority of a process are:
a. Processor utilization by an individual process.
b. Weight assigned to a user or group of users.
c. Processor utilization by a user or group of processes.
In fair share scheduler, priority is calculated based on:
(1) only (a) and (b)
(2) only (a) and (c)
(3) (a), (b) and (c)
(4) only (b) and (c)

53. One of the disadvantages of user level threads compared to Kernel level threads is
(1) If a user level thread of a process executes a system call, all threads in that process are blocked.
(2) Scheduling is application dependent.
(3) Thread switching doesn’t require kernel mode privileges.
(4) The library procedures invoked for thread management in user level threads are local procedures.

54. Which statement is not correct about “init” process in Unix?
(1) It is generally the parent of the login shell.
(2) It has PID 1.
(3) It is the first process in the system.
(4) Init forks and execs a ‘getty’ process at every port connected to a terminal.

55. Consider following two rules R1 and R2 in logical reasoning in Artificial Intelligence (AI):


(1) Only R1 is correct.
(2) Only R2 is correct.
(3) Both R1 and R2 are correct.
(4) Neither R1 nor R2 is correct.


56. Consider the following AO graph:

Which is the best node to expand next by AO* algorithm?
(1) A
(2) B
(3) C
(4) B and C

57. In Artificial Intelligence (AI), what is present in the planning graph?
(1) Sequence of levels
(2) Literals
(3) Variables
(4) Heuristic estimates

58. What is the best method to go for the game playing problem?
(1) Optimal Search
(2) Random Search
(3) Heuristic Search
(4) Stratified Search

59. Which of the following statements is true?
(1) The sentence S is a logical consequence of S1,..., Sn if and only if S1˄S2˄........˄Sn→S is satisfiable.
(2) The sentence S is a logical consequence of S1,..., Sn if and only if S1˄S2˄........˄Sn→S is valid.
(3) The sentence S is a logical consequence of S1,..., Sn if and only if S1˄S2˄........˄Sn˄¬S is consistent.
(4) The sentence S is a logical consequence of S1,..., Sn if and only if S1˄S2˄........˄Sn˄S is inconsistent.

60. The first order logic (FOL) statement ((RᴠQ)˄(Pᴠ¬Q)) is equivalent to which of the following?
(1) ((Rᴠ¬Q)ᴧ(Pᴠ¬Q)ᴧ(RᴠP))
(2) ((RᴠQ)ᴧ(Pᴠ¬Q)ᴧ(RᴠP))
(3) ((RᴠQ)ᴧ(Pᴠ¬Q)ᴧ(Rᴠ¬P))
(4) ((RᴠQ)ᴧ(Pᴠ¬Q)ᴧ(¬RᴠP))

61. Given the following two statements:
A. L = {w|na(w) = nb(w)} is deterministic context free language, but not linear.
B. L = {an bn} U {an b2n} is linear, but not deterministic context free language.
Which of the following options is correct?
(1) Both (A) and (B) are false.
(2) Both (A) and (B) are true.
(3) (A) is true, (B) is false.
(4) (A) is false, (B) is true.

62. Which of the following pairs have different expressive power?
(1) Single-tape-turing machine and multi-dimensional turing machine.
(2) Multi-tape turing machine and multi-dimensional turing machine.
(3) Deterministic push down automata and non-deterministic pushdown automata.
(4) Deterministic finite automata and Non-deterministic finite automata.

63. Which of the following statements is false?
(1) Every context-sensitive language is recursive.
(2) The set of all languages that are not recursively enumerable is countable.
(3) The family of recursively enumerable languages is closed under union.
(4) The families of recursively enumerable and recursive languages are closed under reversal.

64. Let C be a binary linear code with minimum distance 2t + 1 then it can correct upto ............bits of error.
(1) t + 1
(2) t
(3) t - 2
(4) t/2

65. A t-error correcting q-nary linear code must satisfy:

Where M is the number of code words and X is
(1) qn
(2) qt
(3) q-n
(4) q-t

66. Names of some of the Operating Systems are given below:
(a) MS-DOS
(b) XENIX
(c) OS/2
In the above list, following operating systems didn’t provide multiuser facility.
(1) (a) only
(2) (a) and (b) only
(3) (b) and (C) only
(4) (a), (b) and (c)

67. From the given data below:
a b b a a b b a a b
which one of the following is not a word in the dictionary created by LZ-coding (the initial words are a, b)?
(1) a b
(2) b b
(3) b a
(4) b a a b

68. With respect to a loop in the transportation table, which one of the following is not correct?
(1) Every loop has an odd no. of cells and at least 5.
(2) Closed loops may or may not b square in shape.
(3) All the cells in the loop that have a plus or minus sign, except the starting cell, must be occupied cells.
(4) Every loop has an even no. of cells and at least four.

69. At which of the following stage(s), the degeneracy do not occur in transportation problem?
(m, n represents number of sources and destinations respectively)
(a) While the values of dual variables ui and vj cannot be computed.
(b) While obtaining an initial solution, we may have less than m + n -1 allocations.
(c) At any stage while moving towards optimal solution, when two or more occupied cells with the same minimum allocation become unoccupied simultaneously.
(d) At a stage when the no. of +ve allocation is exactly m + n - 1.
(1) (a), (b) and (c)
(2) (a), (c) and (d)
(3) (a) and (d)
(4) (a), (b), (c) and (d)

70. Consider the following LPP:
Min. Z = x1+x2+x3
Subject to 3x1 + 4x3 ≤ 5
5x1 + x2 + 6x3 =7
8x1 + 9x3 ≥ 2
x1, x2, x3 ≥ 0
The standard form of this LPP shall be:
(1) Min. Z = x1 + x2 + x3 + 0x4 + 0x5
Subject to 3x1 + 4x3 + x4 = 5;
5x1 + x2 + 6x3 =7;
8x1 + 9x3 - x5 = 2;
x1, x2, x3, x4, x5 ≥ 0

(2) Min. Z = x1 + x2 + x3 + 0x4 + 0x5 -1(x6)-1(x7)
Subject to 3x1 + 4x3 + x4 = 5;
5x1 + x2 + 6x3 +x6 = 7;
8x1 + 9x3 - x5 + x7 = 2;
x1 to x7 ≥0
(3) Min. Z = x1 + x2 + x3 + 0x4 + 0x5 + 0x6
Subject to 3x1 + 4x3 + x4 = 5;
5x1 + x2 + 6x3 = 7;
8x1 + 9x3 - x5 + x6 = 2;
x1 to x6 ≥ 0
(4) Min. Z = x1 + x2 + x3 + 0x4 + 0x5 + 0x6+ 0x7
Subject to 3x1 + 4x3 + x4 = 5;
5x1 + x2 + 6x3 + x6 = 7;
8x1 + 9x3 - x5 + x7 = 2;
x1 to x7 ≥ 0

71. Let R and S be two fuzzy relations defined as:



Then, the resulting relation, T, which relates elements of universe x to the elements of universe z using max-min composition is given by:



Answer: 3

72. A neuron with 3 inputs has the weight vector [0.2 -0.1 0.1]T and a bias θ = 0. If the input vector is X = [0.2 0.4 0.2]T then the total input to the neuron is:
(1) 0.20
(2) 1.0
(3) 0.02
(4) -1.0

73. Which of the following neural networks uses supervised learning?
(A) Multilayer perceptron
(B) Self organizing feature map
(C) Hopfield network
(1) (A) only
(2) (B) only
(3) (A) and (B) only
(4) (A) and (C) only

74. Unix command to change the case of first three lines of file “shortlist” from lower to upper
(1) $ tr ‘[a-z]’ ‘[A-Z]’ shortlist | head-3
(2) $ head-3 shortlist | tr ‘[a-z]’ ‘[A-Z]’
(3) $ tr head-3 shortlist ‘[A-Z]’ ‘[a-z]’
(4) $ tr shortlist head-3 ‘[a-z]’ ‘[A-Z]’

75. Match the following vi commands in Unix:
List-I          List-II
a.  :w          i. saves the file and quits editing mode
b. :x          ii. escapes unix shell
c.  :q          iii. saves file and remains in editing mode
d.  :sh          iv. quits editing mode and no changes are saved to the file
Codes:
 a b c d
(1) ii iii i iv
(2) iv iii ii i
(3) iii iv i ii
(4) iii i iv ii