Free UGC NET Computer Science Mock Test 2022 in English

Practice UGC NET Computer Science Mock Test for Free only On and take your preparation to the another levelThese Questions are prepared as per the Latest Syllabus of UGC NET Computer Science 2022 . Practicing mock tests/Test series, you will get an idea about how and which type of Question will ask in the Examination. It also boost your confidence level. Also Solve UGC NET Computer Science Previous Year Question Paper. And Don’t Forget to Share with Your Friends.

IMG 20220805 232321 668 compress99

UGC NET Computer Science Mock Test 2022 [Free]

1. A file is downloaded in a home computer using a 56 kbps MODEM connected to an Internet Service Provider. If the download of file completes in 2 minutes, what is the maximum size of data downloaded?

(A) 112 Mbits

(B) 6.72 Mbits

(C) 67.20 Mbits

(D) 672 Mbits

2. In ______ CSMA protocol, after the station finds the line idle, it sends or refrains from sending based on the outcome of a random number generator.

(A) Non-persistent

(B) 0-persistent

(C) 1-persistent

(D) p-persistent

3. Which of the following substitution technique have the relationship between a character in the plaintext and a character in the ciphertext as one-to-many?

(A) Monoalphabetic

(B) Polyalphabetic

(C) Transpositional

(D) None of the above

4. What is the maximum length of CAT-5 UTP cable in Fast Ethernet network?

(A) 100 meters

(B) 200 meters

(C) 1000 meters

(D) 2000 meters

5. The ______ is a set of standards that defines how a dynamic web document should be written, how input data should be supplied to the program, and how the output result should be used.

(A) Hyper Text Markup Language

(B) File Transfer Protocol

(C) Hyper Text Transfer Protocol

(D) Common Gateway Interface

6. The count-to-infinity problem is associated with

(A) Flooding algorithm

(B) Hierarchical routing algorithm

(C) Distance vector routing algorithm

(D) Link state routing algorithm

7. The IEEE single-precision and double-precision format to represent floating-point numbers, has a length of ______ and ______ respectively.

(A) 8 bits and 16 bits

(B) 16 bits and 32 bits

(C) 32 bits and 64 bits

(D) 64 bits and 128 bits

8. Consider an undirected graph G with 100 nodes. The maximum number of edges to be included in G so that the graph is not connected is

(A) 2451

(B) 4950

(C) 4851

(D) 9900

9. The amortized time complexity to perform ______ operation(s) in Splay trees is O(Ig n).

(A) Search

(B) Search and Insert

(C) Search and Delete

(D) Search, Insert and Delete

10. Suppose that the splits at every level of Quicksort are in proportion 1-β to β, where 0 < β ≤ 0.5 is a constant. The number of elements in an array is n. The maximum depth is approximately

(A) 0.5 β Ig n

(B) 0.5 (1 – β) Ig n

(C) – (Ig n)/(Ig β)

(D) – (Ig n)/Ig (1 – β)

11. The minimum number of nodes in a binary tree of depth d (root is at level 0) is

(A) 2d – 1

(B) 2d + 1 – 1

(C) d + 1

(D) d

12. The efficient data structure to insert/delete a number in a stored set of numbers is

(A) Queue

(B) Linked list

(C) Doubly linked list

(D) Binary tree

13. The number of states in a minimal deterministic finite automaton corresponding to the language

L = { an | n≥4 } is

(A) 3

(B) 4

(C) 5

(D) 6

14. Regular expression for the language L = {w ∈ {0, 1}* | w has no pair of consecutive zeros} is

(A) (1 + 010)*

(B) (01 + 10)*

(C) (1 + 010)* (0 + λ)

(D) (1 + 01)* (0 + λ)

15. Consider the following two languages:

L1 = {an bl ak | n + l +k>5}

L2 = {an bl ak |n>5, l >3, k≤ l}

Which of the following is true?

(A) L1 is regular language and L2 is not regular language.

(B) Both L1 and L2 are regular languages.

(C) Both L1 and L2 are not regular languages.

(D) L1 is not regular language and L2 is regular language.

16. LL grammar for the language L = {an bm cn+m | m≥0, n≥0} is

(A) S → aSc | S1; S1 → bS1c | λ

(B) S → aSc | S1| ; S1 → bS1c

(C) S → aSc | S1| λ; S1 → bS1c| λ

(D) S → aSc | λ; S1 → bS1c| λ

17. Assume the statements S1 and S2 given as:

S1: Given a context free grammar G, there exists an algorithm for determining whether L(G) is infinite.

S2: There exists an algorithm to determine whether two context free grammars generate the same language.

Which of the following is true?

(A) S1 is correct and S2 is not correct.

(B) Both S1 and S2 are correct.

(C) Both S1 and S2 are not correct.

(D) S1 is not correct and S2 is correct.

18. The number of eight-bit strings beginning with either 111 or 101 is ______.

(A) 64

(B) 128

(C) 265

(D) None of the above

19. Find the number of ways to paint 12 offices so that 3 of them will be green, 2 of them pink, 2 of them yellow and the rest ones white.

(A) 55,440

(B) 1, 66,320

(C) 4.790E+08

(D) 39, 91,680

20. Consider the following statements:

(i) A graph in which there is a unique path between every pair of vertices is a tree.

(ii) A connected graph with e = v – 1 is a tree.

(iii) A graph with e = v – 1 that has no circuit is a tree.

Which of the above statements is/are true?

(A) (i) & (iii)

(B) (ii) & (iii)

(C) (i) & (ii)

(D) All of the above

21. Consider the In-order and Post-order traversals of a tree as given below: In-order: j e n k o p b f a c l g m d h i Post-order: j n o p k e f b c l m g h i d a

The Pre-order traversal of the tree shall be

(A) a b f e j k n o p c d g l m h i

(B) a b c d e f j k n o p g l m h i

(C) a b e j k n o p f c d g l m h i

(D) j e n o p k f b c l m g h i d a

22. A simple graph G with n-vertices is connected if the graph has

(A) (n – 1) (n – 2)/2 edges

(B) More than (n – 1) (n – 2)/2 edges

(C) Less than (n – 1) (n – 2)/2 edges

(D) ∑ki=1 C(ni, 2) edges

23. Which one of the following set of gates is best suited for ‘parity’ checking and ‘parity’ generation?




(D) None of the above

24. The quantification ∃!x P(x) denotes the proposition “There exists a unique x such that P(x) is true”, express the quantification using universal and existential quantifications and logical operators:

(A) ∃x P(x) ∨∀x∀y ((P(x) ∨ P(y)) → x = y)

(B) ∀ x P(x) ∧∀x∀y ((P(x) ∨ P(y)) → x = y)

(C) ∃x P(x) ∧∀x∀y ((P(x) ∧ P(y)) → x = y)

(D) ∃x P(x) ∧∃x∃y ((P(x) ∨ P(y)) → x = y)

25. If F and G are Boolean functions of degree n. Then, which of the following is true?

(A) F ≤ F + G and F G ≤ F

(B) G ≤ F + G and F G ≥ G

(C) F ≥ F + G and F G ≤ F

(D) G ≥ F + G and F G ≤ F

26. Match the following identities/laws to their corresponding name:

(a) x + x = x

      x • x = x                            i. Dominance

(b) x + 0 = x

      x • 1 = x                            ii. Absorption

(c) x + 1 = 1

      x • 0 = 0                            iii. Idempotent

(d) x • (x + y) = x                    iv. Identity


(a)        (b)        (c)        (d)

(A)       iii         iv         i           ii

(B)       iv         iii         i           ii

(C)       iv         iii         ii          i

(D)       iii         iv         ii          i

27. In which one of the following, continuous process improvement is done?

(A) ISO9001



(D) None of the above

28. The ______ of a program or computing system is the structure or structures of the system, which comprise software components, the externally visible properties of these components, and the relationship among them.

(A) E-R diagram

(B) Data flow diagram

(C) Software architecture

(D) Software design

29. Working software is not available until late in the process in

(A) Waterfall model

(B) Prototyping model

(C) Incremental model

(D) Evolutionary Development model

30. Equivalence partitioning is a ______ testing method that divides the input domain of a program into classes of data from which test cases can be derived.

(A) White box

(B) Black box

(C) Regression

(D) Smoke

31. Consider the following characteristics:

(i) Correct and unambiguous

(ii) Complete and consistent

(iii) Ranked for importance and/or stability and verifiable

(iv) Modifiable and Traceable

Which of the following is true for a good SRS?

(A) (i), (ii) and (iii)

(B) (i), (iii) and (iv)

(C) (ii), (iii) and (iv)

(D) (i), (ii), (iii) and (iv)

32. Linked Lists are not suitable for _____.

(A) Binary Search

(B) Polynomial Manipulation

(C) Insertion

(D) Radix Sort

33. What is the size of the following Union? Assume that the size of int = 2, size of float = 4, size of char = 1

union tag {

int a;

float b;

char c;


(A) 2

(B) 4

(C) 1

(D) 7

34. What is the output of the following program segment?

sum (n)


if ( n < 1 ) return n;

else return (n + sum(n–1));




print f(“%d”, sum(5));


(A) 10

(B) 16

(C) 15

(D) 14

35. Assume that x and y is non-zero positive integers. What does the following program segment perform?

While (x! =0)


if (x>y)

x = x-y




(A) Computes LCM of two numbers

(B) Computes GCD of two numbers

(C) Divides large number with small number

(D) Subtracts smaller number from large number

36. The postfix expression AB + CD – * can be evaluated using a

(A) Stack

(B) Tree

(C) Queue

(D) Linked list

37. Usage of Preemption and Transaction Rollback prevents ______.

(A) Unauthorized usage of data file

(B) Deadlock situation

(C) Data manipulation

(D) File preemption

38. The _____ language was originally designed as the Transformation Language for Style Sheet facility.



(C) XQuery

(D) XPath

39. Views are useful for _____ unwanted information, and for collecting together information from more than one relation into a single view.

(A) Hiding

(B) Deleting

(C) Highlighting

(D) All of the above

40. The decision tree classifier is a widely used technique for ______.

(A) Classification

(B) Association

(C) Partition

(D) Clustering

41. Cross_tab displays permit users to view ______ of multidimensional data at a time.

(A) One dimension

(B) Two dimensions

(C) Three dimensions

(D) Multi dimensions

42. A method to provide secure transmission of email is called ____.


(B) SA

(C) IPSec


43. Thoma’s-write rule is ______.

(A) Two phase locking protocol

(B) Timestamp ordering protocol

(C) One phase locking protocol

(D) Sliding window protocol

44. Match the following:

List – I                                    List – II

Process state transition            Reason for transition

a Ready→ Running                i. Request made by the process is satisfied or an event for which it was waiting occurs.

b Blocked→ Ready                ii. Process wishes to wait for some action by another process.

c Running→ Blocked                         iii. The process is dispatched.

d Running→ Ready                iv. The process is preempted.


a          b          c          d

(A)       iii         i           ii          iv

(B)       iv         i           iii         ii

(C)       iv         iii         i           ii

(D)       iii         iii         ii          i

45. The hit ratio of a Translation Look Aside Buffer (TLAB) is 80%. It takes 20 nanoseconds (ns) to search TLAB and 100 ns to access main memory. The effective memory access time is ______.

(A) 36 ns

(B) 140 ns

(C) 122 ns

(D) 40 ns

46. Consider the input/output (I/O) requests made at different instants of time directed at a hypothetical disk having 200 tracks as given in the following table:

Serial No.                    1          2          3          4          5

Track No.                    12        85        40        100      75

Time of arrival 65        80        110      100      175

Assume that :

Current head position is at track no. 65

Direction of last movement is towards higher numbered tracks

Current clock time is 160 milliseconds

Head movement time per track is 1 millisecond.

“look” is a variant of “SCAN” diskarm scheduling algorithm. In this algorithm, if no more I/O requests are left in current direction, the disk head reverses its direction. The seek times in Shortest Seek First (SSF) and “look” disk-arm scheduling algorithms respectively are :

(A) 144 and 123 milliseconds

(B) 143 and 123 milliseconds

(C) 149 and 124 milliseconds

(D) 256 and 186 milliseconds

 47. The post order traversal of a binary tree is DEBFCA. Find out the preorder traversal.




(D) None of the above

48. Which of the following set of UNIX commands will always display “WELCOME”?

(A) Export title=WELCOME; Echo $title

(B) Title = WELCOME; export $ title; sh –c “echo $title”

(C) Title = WELCOME; export title; sh –c “echo $title”

(D) Title = WELCOME; echo $title

NET Solved Question Papers

50. The speed up of a pipeline processing over an equivalent non-pipeline processing is defined by the ratio:

(A) S = n tn / (k + n – 1)tp

(B) S = n tn / (k + n + 1)tp

(C) S = n tn / (k – n + 1)tp

(D) S = (k + n – 1)tp / n tn

Where n → no. of tasks

tn → time of completion of each task

k → no. of segments of pipeline

tp → clock cycle time

S → speed up ratio

NOTE : – If you need anything else more like e-books, video lectures, syllabus  etc regarding  your Preparation / Examination  then do 📌 mention in the Comment Section below

Hope you like the mock test given above for UGC NET Computer Science 2022 . To get more Information about any exam, Previous Question Papers , Study Material, Book PDF, Notes etc for free, do share the post with your friends and Follow and Join us on other Platforms links are given below to get more interesting information, materials like this.

Answer Key (if you find any answer wrong, feel free to comment below)


Important Searches & Tags

  • ugc net computer science mock test free
  • ugc net computer science mcq with answers pdf
  • free online mock test for computer science
  • ugc net computer science mcq book
  • ugc net computer science topic wise questions pdf
  • online preparation for ugc net computer science
  • online test series for computer science
  • ugc net mock test
  • UGC NET Computer Science Mock Test
  • UGC NET free Mock Test
  • UGC NET Mock Test Paper 2
  • UGC NET Computer Science Mock Test in Hindi
  • UGC NET Mock Test Paper
  • UGC NET Paper 1 Mock Test PDF
  • UGC NET Mock Test app
  • UGC NET Mock Test in Hindi

Leave a Comment