RankBoltRank higher. Grow faster.
Home › UGC-NET › Computer Science & Applications

UGC-NET 4 December 2019 (Shift 1) — Computer Science & Applications

100 previous-year questions from this sitting (Paper II), presented in the order they were printed, with the published final answer key behind every one.

Sit the original paper →

30 free practice questions every day. 1 real full-length paper free, no login to start.

Sample questions from this paper

Consider the language L = aⁿ bⁿ ⁻ ³ | n > 2 on ∑ = a, b. Which one of the following grammars generates the language L?

  1. S → aA|a, A → aAb|b
  2. S → aaA|λ, A → aAb|λ
  3. S → aaaA|a, A → aAb|λ
  4. S → aaaA, A → aAb|λ

A computer uses a memory unit of 512 K words of 32 bits each. A binary instruction code is stored in one word of the memory. The instruction has four parts: an addressing mode field to specify one of the two-addressing mode (direct and indirect), an operation code, a register code part to specify one of the 256 registers and an address part. How many bits are there in addressing mode part, opcode part, register code part and the address part?

  1. 1, 3, 9, 19
  2. 1, 4, 9, 18
  3. 1, 4, 8, 19
  4. 1, 3, 8, 20

What is the output of following C program? #include <stdio.h> main() int i, j, x = 0 for (i = 0; i < 5; ++i) for (j = 0; j < i; ++j) x + =(i + j – 1); break; Printf (“%d”, x);

  1. 6
  2. 5
  3. 4
  4. 3

Answers are shown after you submit, with explanations where we have them.

What you get

OrderThe paper's own sequence — never shuffled
Marking+2 correct, 0 wrong, 0 unanswered — the UGC-NET scheme
Clock150 questions in 180 minutes — the official clock, enforced on the server
PaletteNot visited, not answered, answered, marked, answered & marked — with section navigation
Price₹99 for 30 days unlimited · ₹249 for 180 days unlimited

Other Computer Science & Applications papers

All Computer Science & Applications papers with answers →