# UGC NET Computer Science Solved Paper II DECEMBER 2006

1. Which of the regular expressions corresponds to this grammar ?

S → AB / AS, A → a / aA, B → b

(A) aa*b+           (B) aa*b

(C) (ab)*             (D) a(ab)*

1. The proposition ~q∨p is equivalent to:

(A)          (B)       (C)      (D)

1. The number of edges in a complete graph with N vertices is equal to:

(A) N(N−1)        (B) 2N−1

(C) N−1              (D) N(N−1)/2

1. Which of the following is not true ?

(A)

(B) A−B = A∩~B

(C)

(D)

1. If (a2−b2) is a prime number where a and bϵN, then:

(A) a2−b2 = 3                 (B) a2−b2 = a−b

(C) a2−b2 = a+b             (D) a2−b2 = 5

check Explanation

1. The hexadecimal equivalent of (10111)2×(1110)2 is:

(A) 150               (B) 241

(C) 142              (D) 101011110

1. An example of a self complementing code is:

(A) 8421 code               (B) Gray code

(C) Excess-3 code       (D) 7421 code

1. A sum of products expression can be implemented with……………logic gates.

(A) AND – OR              (B) NAND − OR

(C) AND – NOT            (D) OR – AND

1. The characteristic equation of the D flip-flop is:

(A) Qn+1 = D       (B) Q = D

(C) Q = 1            (D) Q = 0

1. Which of the following logic is the fastest ?

(A) RTL              (B) ECL          (C) HTL          (D) HCL

1. When a function is recursively called, all automatic variables:

(A) are initialized during each execution of the function

(B) are retained from the last execution

(C) are maintained in a stack

(D) are ignored

1. Enumeration variables can be used in:

(A) search statement like an integer variable

(B) break statement

(C) preprocessor commands

(D) function statement

1. int arr[ ] = {1, 2, 3, 4}

int count;

incr( ) {return ++count;}

main( )

{

arr[count++]=incr( );

printf(“arr[count]=%d\n”, arr[count]);

}

The value printed by the above program is:

(A) 1       (B) 2                (C) 3               (D) 4

1. When one-dimensional character array of unspecified length is assigned an initial value:

(A) an arbitrary character is automatically added to the end of the string

(B) ‘o’ is added to the end of the string

(C) length of the string is added to the end of the string

(D) ‘end’ is added to the end of the string

1. The declaration “unsigned u” indicates:

(A) u is an unsigned character

(B) u is an unsigned integer

(C) u is a character

(D) u is a string

1. Which possibility among the following is invalid in case of a Data Flow Diagram ?

(A) A process having in-bound data flows more than out-bound data flows

(B) A data flow between two processes

(C) A data flow between two data stores

(D) A data store having more than one in-bound data flows

1. In DBMS, deferred update means:

(A) All the updates are done first but the entries are made in the log file later

(B) All the log files entries are made first but the actual updates are done later

(C) Every update is done first followed by a writing on the log file

(D) Changes in the views are deferred till a query asks for a view

1. Which statement is false regarding data independence ?

(A) Hierarchical data model suffers from data independence

(B) Network model suffers from data independence

(C) Relational model suffers only from logical data independence

(D) Relational model suffers only from physical data independence

1. Which of the following tools is not required during system analysis phase of system development life cycle?

(A) Case tool                            (B) RAD tool

(C) Reverse engineering       (D) None of these

1. Two phase protocol in a database management system is:

(A) a concurrency mechanism that is not deadlock free

(B) a recovery protocol used for restoring a database after a crash

(C) Any update to the system log done in 2-phases

(D) not effective in Database

1. Which algorithm has same average, worst case and best case time?

(A) Binary search        (B) Maximum of n number

(C) Quick sort               (D) Fibonacci search

1. Binary search tree is an example of:

(A) Divide and conquer technique

(B) Greedy algorithm

(C) Back tracking

(D) Dynamic Programming

1. What is the time required to insert an element in a stack with linked implementation?

(A) O (log2n)                  (B) O (n)

(C) O (n log2n)               (D) O (1)

1. The equivalent postfix expression for d/(e+f) + b*c:

(A) defbc/++*                (B) def+/bc+*

(C) def+/bc*+                (D) None of these

1. Which one of the following is a physical data structure ?

(C) Stacks         (D) Tables

1. How many DS1 signals are transported on a DS3 signal ?

(A) 24     (B) 672           (C) 14             (D) 28

1. A 10 BASE-2 network is limited to:

(A) 20 bytes per data field

(B) 30 stations per segment

(C) 40 segments

(D) 50 feet of cable

1. The network 198.78.41.0 is a:

(A) Class A Network                (B) Class B Network

(C) Class C Network               (D) Class D Network

(A) Extends the network portion to 16 bits

(B) Extends the network portion to 26 bits

(C) Extends the network portion to 36 bits

(D) Has no effect on the network portion of an IP address

1. The LAPB frame structure and the frame structure of SDLC are:

(A) Opposite                 (B) Identical

(C) Reversed                (D) Non-identical

(A) cannot be performed before relocation

(B) cannot be performed after relocation

(C) can be performed both before and after relocation

(D) is not required if relocation is performed

1. Which of the following is the most general phase-structured grammar ?

(A) Regular                   (B) Context-sensitive

(C) Context free           (D) Syntax tree

1. A compiler for a high level language that runs on one machine and produces code for a different machine is called:

(A) Optimizing              (B) One pass compiler

(C) Cross compiler      (D) Multipass compiler

1. The ‘K’ in LR (K) cannot be:

(A) 0       (B) 1    (C) 2               (D) None of these

1. Peep-hole optimization is a form of:

(A) loop optimization               (B) local optimization

(C) constant folding                (D) data flow analysis

1. An operating system is:

(A) Collection of hardware components

(B) Collection of input-output devices

(C) Collection of software routines

(D) All the above

1. ………………..is one of pre-emptive scheduling algorithm.

(A) Shortest-Job-first               (B) Round-robin

(C) Priority based                     (D) Shortest-Job-next

1. A software to create a Job Queue is called……………….

(C) Driver                      (D) Spooler

1. A permanent database of a general model of compiler is……………….

(A) Identifier table        (B) Page map table

(C) Literal table                        (D) Terminal table

1. Loading operating system from secondary memory to primary memory is called……………

(A) Compiling               (B) Booting

(C) Refreshing             (D) Reassembling

1. Software Cost Performance index (CPI) is given by:

(A) BCWP/ACWP        (B)

(C) BCWP−ACWP      (D) BCWP−BCWS

Where:   BCWP stands for Budgeted Cost of Work Performed

BCWS stands for Budget Cost of Work Scheduled

ACWP stands for Actual Cost of Work Performed

1. Software Risk estimation involves following two tasks:

(A) risk magnitude and risk impact

(B) risk probability and risk impact

(C) risk maintenance and risk impact

(D) risk development and risk impact

1. In a object oriented software design, ‘Inheritance’ is a kind of……………….

(A) relationship                        (B) module

(C) testing                     (D) optimization

1. Reliability of software is directly dependent on:

(A) quality of the design

(B) number of errors present

(C) software engineer’s experience

(D) user requirement

1. ‘Abstraction’ is………………….step of Attribute in a software design.

(A)  First              (B) Final

(C) Last              (D) Middle

1. The frequency band allocated for the downlink in GSM is:

(A) 960 – 985 MHz       (B) 935 – 960 MHz

(C) 920 – 945 MHz       (D) 930 – 955 MHz

1. Which of the following is an EDI standard?

(A) ANSI X.15               (B) ANSI X.14

(C) ANSI X.13              (D) ANSI X.12

1. An INT file in Windows 95 is:

(A) a program file         (B) a message file

(C) a text file                 (D) link file

1. Link analysis operation in data mining uses…………………..technique.

(A) Classification         (B) Association discovery

(C) Visualisation          (D) Neural clustering