UGC NET June 2004 - Computer Science Paper 2

Computer Science and Applications examination paper from UGC NET June 2004, covering theory of automata and computation, compilers, data structures, computer networks, database systems, and digital logic.

50 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

An FSM can be considered to be a TM (Turning machine)

  1. of finite tape length, that has rewinding capability and unidirectional tape movement
  2. of finite tape length, that does not has rewinding capability and unidirectional tape movement
  3. of finite tape length, that does not has rewinding capability and bi-directional tape movement
  4. of finite tape length, that has rewinding capability and bi-directional tape movement
Question 2 Multiple Choice (Single Answer)

Which of the following statements is correct?

  1. Moore and Mealy machines are FSM's with output capability.
  2. Any given Moore machine has an equivalent Mealy machine.
  3. Any given Moore machine has an equivalent Moore machine.
  4. All of the above
Question 3 Multiple Choice (Single Answer)

FSM can recognize

  1. any grammar
  2. only CFG
  3. any unambiguous grammar
  4. only regular grammar
Question 4 Multiple Choice (Single Answer)

TM is more powerful than FSM because

  1. tape movement is confined to one direction
  2. it has no finite state control
  3. it has the capability to remember arbitrary long sequences of input symbols
  4. none of these
Question 5 Multiple Choice (Single Answer)

The recognizing capabilities of NDFSM and DFSM where NDFSM - non deterministic finite state machine and DFSM - deterministic finite state machine

  1. may be different
  2. must be different
  3. must be same
  4. none of these
Question 6 Multiple Choice (Single Answer)

A command file is actually a

  1. database
  2. computer memory
  3. computer program
  4. micro substitution
Question 7 Multiple Choice (Single Answer)

Choose the correct statement.

  1. A = {an bn | n = 0, 1, 2, 3….} is a regular language
  2. The set B of all strings of equal number of a's and b's defines a regular language
  3. L(A*B) C B gives the set A
  4. None of the above
Question 8 Multiple Choice (Single Answer)

Which of the following pairs of regular expressions is not equivalent?

  1. (ab)* a and a (ba)*
  2. (a + b)* and (a* + b)*
  3. (a* + b)* and (a + b)*
  4. None of the above
Question 9 Multiple Choice (Single Answer)

Which of the following is not regular?

  1. String of 0's whose length is a perfect square
  2. Set of all palindromes made up of 0's and 1's
  3. String of 0's , whose length is a prime number
  4. String of odd number of zeros
Question 10 Multiple Choice (Single Answer)

An user can interact with the compiler through

  1. translator
  2. memory
  3. interpreter
  4. none of the above
Question 11 Multiple Choice (Single Answer)

Which of the following statements is correct?

  1. A Mealy machine generates no languages as such.
  2. A Moore machine generates no languages as such.
  3. For a given input string, length of the output string generated by a Moore machine is one more than the length of the output string generated by that of a Mealy machine.
  4. All of the above
Question 12 Multiple Choice (Single Answer)

Pumping lemma is generally used for proving

  1. a given grammar is regular
  2. a given grammar is not regular
  3. whether two given regular expressions are equivalent or not
  4. none of these
Question 13 Multiple Choice (Single Answer)

How many flip-flops are needed to construct a binary modulo N counter?

  1. N
  2. 2N
  3. N2
  4. Log2 N
Question 14 Multiple Choice (Single Answer)

If A = {0, 1}, then the number of possible strings of length 'n' is

  1. n!
  2. nxn
  3. nn
  4. 2n
Question 15 Multiple Choice (Single Answer)

The basic limitation of FSM (Finite state Machine) is that

  1. it can't remember arbitrarily large amount of information
  2. it sometimes recognizes grammar that is not regular
  3. it sometimes fails to recognize grammar that is regular
  4. all of these
Question 16 Multiple Choice (Single Answer)

If * be a boolean operation defined as AB = AB + A'B', then AA is

  1. A
  2. B
  3. 0
  4. 1
Question 17 Multiple Choice (Single Answer)

Which of the following unipolars has a very high speed, is difficult to fabricate and offers good resistance to radiation?

  1. ECL
  2. GaAs
  3. TTL
  4. CMOS
Question 18 Multiple Choice (Single Answer)

Palindromes cannot be recognized by any FSM because

  1. FSM cannot remember arbitrary large amount of information
  2. FSM cannot deterministically fix the mid-point
  3. even if the mid-point is known, FSM cannot find whether the second half of the string matches the first half or not
  4. none of these
Question 19 Multiple Choice (Single Answer)

Which of the following pairs of regular expressions is equivalent?

  1. 1(01)* and (10)*1
  2. x(xx)* and (xx)*x
  3. (ab)* and ab
  4. x* and x* x*
Question 20 Multiple Choice (Single Answer)

The logic of pumping lemma is a good example of

  1. the Pigeon-hole principle
  2. the divide and conquer technique
  3. recursion
  4. iteration
Question 21 Multiple Choice (Single Answer)

If C = A * B, then C * A is

  1. A
  2. B
  3. 0
  4. 1
Question 22 Multiple Choice (Single Answer)

The word 'formal' in formal language means

  1. the symbols used have well defined meaning
  2. the symbols used are necessary in reality
  3. only the form of the string of symbols is significant
  4. none of these
Question 23 Multiple Choice (Single Answer)

What is the major difference between Moore and Mealy machines?

  1. The output of the former depends on the present state and present output.
  2. The output of the former depends only on the present state.
  3. The output of the former depends only on the present input.
  4. None of the above
Question 24 Multiple Choice (Single Answer)

Tera is 2 to the power of

  1. 32
  2. 30
  3. 40
  4. 25
Question 25 Multiple Choice (Single Answer)

Find the values of boolean variables A, B and C, that solve the boolean equations AB + A'C = 1 and AC + B = 0 simultaneously.

  1. 1, 0, 0
  2. 0, 1, 1
  3. 1, 0, 1
  4. 0, 0, 1
Question 26 Multiple Choice (Single Answer)

There is ASCII to change upper case to lower case letter, the correct mask and operation should be

  1. 0100000 and NOR
  2. 0100000 and OR
  3. 0100000 and NAND
  4. 1011111 and AND
Question 27 Multiple Choice (Single Answer)

EBCDIC can code up to how many different characters?

  1. 16
  2. 32
  3. 64
  4. 256
Question 28 Multiple Choice (Single Answer)

The hexadecimal number system has a base of

  1. 4
  2. 8
  3. 10
  4. 16
Question 29 Multiple Choice (Single Answer)

The computer code for the interchange of information between terminals is

  1. ASCII
  2. BCD
  3. EBCDIC
  4. HOLLERITH
Question 30 Multiple Choice (Single Answer)

Consider a hashing function that resolves collision by quadratic probing. Assume the address space to be indexed from 1 to 8. If a collision occurs at position 4, which of the following locations will never be probed?

  1. 4
  2. 5
  3. 8
  4. 2
Question 31 Multiple Choice (Single Answer)

A hash table can store a maximum number of 10 records, currently there are records in locations 1, 3, 4, 7, 8, 9, 10. The probability of a new record going into location 2, with a hash function resolving collisions by linear probing is

  1. 0.6
  2. 0.1
  3. 0.2
  4. 0.5
Question 32 Multiple Choice (Single Answer)

A hash table has space for 100 records. What is the probability of collision before the table is 10% full?

  1. 0.45
  2. 0.5
  3. 0.3
  4. 0.34
Question 33 Multiple Choice (Single Answer)

The average search time of hashing with linear probing will be less, if the load factor

  1. is far less than one
  2. is equal to one
  3. is far greater than one
  4. none of the above
Question 34 Multiple Choice (Single Answer)

The stacks cannot be used to

  1. evaluate an arithmetic expression in postfix form
  2. implement recursion
  3. convert a given arithmetic expression in infix form to its equivalent postfix form
  4. allocate resources (like CPU) by the operating system
Question 35 Multiple Choice (Single Answer)

Which of the following is a valid topological sorting?

  1. A B C D
  2. B A C D
  3. B A D C
  4. A B D C
Question 36 Multiple Choice (Single Answer)

Which of the following is a valid strong component?

  1. A, C, D
  2. A, B, D
  3. B, C, D
  4. A, B, C
Question 37 Multiple Choice (Single Answer)

What is the size of today's standard (Ipv4) IP address?

  1. 4 bytes (32 bits)
  2. 12 bytes (96 bits)
  3. 15 bytes (120 bits)
  4. 16 bytes (128 bits)
Question 38 Multiple Choice (Single Answer)

Who invented IP and some related internet protocols?

  1. Vinton Cerf and Bob Metcalfe
  2. Vinton Cerf and Robert Kahn
  3. Bob Metcalfe and Ivan Sutherland
  4. Bob Metcalfe and David Clark
Question 39 Multiple Choice (Single Answer)

What is the size of the next-generation (Ipv6)IP address?

  1. 4 bytes (32 bits)
  2. 12 bytes (96 bits)
  3. 15 bytes (120 bits)
  4. 16 bytes (128 bits)
Question 40 Multiple Choice (Single Answer)

Which open system interconnection(OSI) layer does IP belong to?

  1. Session
  2. Transport
  3. Network
  4. Data link
Question 41 Multiple Choice (Single Answer)

Which of the following higher-level protocols runs over IP?

  1. FTP
  2. HTTP
  3. SMTP
  4. All of the above
Question 42 Multiple Choice (Single Answer)

Which of the following Ipv4 addresses is the loopback address?

  1. 0.0.0.0
  2. 10.0.0.1
  3. 127.0.0.1
  4. 255.255.255.255
Question 43 Multiple Choice (Single Answer)

Which of the following Ipv6 addresses is the loopback address?

  1. 0::0
  2. 0::1
  3. 127::0
  4. 127::1
Question 44 Multiple Choice (Single Answer)

The length of an IP packet header can vary, depending on the options used. What is the smallest possible IP header size?

  1. 16 bytes
  2. 20 bytes
  3. 24 bytes
  4. 60 bytes
Question 45 Multiple Choice (Single Answer)

E-R modeling technique is a

  1. top-down approach
  2. bottom-up approach
  3. left-right approach
  4. none of these
Question 46 Multiple Choice (Single Answer)

In E-R diagram, ellipses represent

  1. entity sets
  2. relationship among entity sets
  3. attributes
  4. link between attributes and entity sets
Question 47 Multiple Choice (Single Answer)

The relation produced from E-R model will always be in

  1. first normal form
  2. second normal form
  3. third normal form
  4. fourth normal form
Question 48 Multiple Choice (Single Answer)

In entity relationship, Y is the dominant entity and x is a subordinate entity. Which of the following options is correct?

  1. Operationally, if Y is deleted, so is x
  2. x is existence dependent on Y
  3. Operationally, x is deleted, so is Y
  4. Operationally, x is deleted, Y remains the same
Question 49 Multiple Choice (Single Answer)

The entity- relationship model comes under

  1. object based logical model
  2. record based logical model
  3. physical data model
  4. none of these
Question 50 Multiple Choice (Single Answer)

The EBCDIC code for the character X, with odd parity is

  1. 0 1110 0110
  2. 1 1110 0111
  3. 1 1110 0110
  4. 0 1110 0111