Physics Wallah
banner

UGC NET Computer Science Unit 1 & 2 PYQs with Answers

UGC NET Computer Science Unit 1 & 2 PYQs help candidates understand exam trends, important topics, and question patterns. Regular practice of previous year questions from Discrete Structures, Mathematical Logic, and Digital Logic improves conceptual clarity, accuracy, and confidence for the UGC NET examination.

authorImageAarti .22 Jun, 2026

UGC NET Computer Science Unit 1 and Unit 2 form the foundation of the syllabus and frequently feature both direct and concept-based questions in the examination. Unit 1 covers Discrete Structures and Mathematical Logic, while Unit 2 focuses on Digital Logic and Boolean Algebra. 

Practising Previous Year Questions (PYQs) from these units helps candidates identify important topics, understand the difficulty level, and improve problem-solving speed. For aspirants aiming to maximise their scores, solving UGC NET Computer Science Unit 1 & 2 PYQs is one of the most effective preparation strategies. 

UGC NET Computer Science Unit 1 & 2 PYQs

UGC NET Computer Science Unit 1 & 2 Previous Year Questions (PYQs) are an essential resource for candidates preparing for the examination. Practicing PYQs from these units helps candidates understand frequently asked concepts, identify important topics, and become familiar with the exam pattern. 

  1. Which of the following is NOT logically equivalent to P β†’ Q?

  • A) ~P ∨ Q

  • B) ~Q β†’ ~P

  • C) ~(P ∧ ~Q)

  • D) ~Q β†’ P

Answer: D) ~Q β†’ P

Explanation: P β†’ Q is logically equivalent to its contrapositive (~Q β†’ ~P), to ~P ∨ Q, and to ~(P ∧ ~Q) β€” all three say "if P then Q." However, ~Q β†’ P says "if not Q then P," which is actually the inverse's converse and carries a completely different meaning, making it not equivalent to P β†’ Q.

  1. Consider the Boolean expression given by F = (X + Y + Z)(X' + Y)(Y' + Z). Which of the following Boolean expressions is/are equivalent to F' (Complement of F)?
    A. (X' + Y' + Z')(X + Y')(Y + Z')
    B. (XY' + Z')
    C. (X + Z')(Y' + Z')
    D. (XY' + YZ' + X'Y'Z')

    Choose the correct answer from the options given below:

  • A) A, B and C Only

  • B) B, C and D Only

  • C) A, C and D Only

  • D) A, B and D Only

Answer: B) B, C and D Only
Explanation: F' is found by applying De Morgan's law to F = (X+Y+Z)(X'+Y)(Y'+Z), giving F' = X'Y'Z' + XY' + YZ'. Simplifying, B, C, and D are all equivalent forms of F', while A is actually the complement of the complement (i.e., F itself), not F'.

  1. Match List-I with List-II.

  List-I   List-II
A. AΞ”B I. (Aβˆ’B) βˆͺ (Aβˆ’C)
B. Aβˆ’(BβˆͺC) II. (Aβˆ’B) ∩ (Aβˆ’C)
C. Aβˆ’(B∩C) III. (Aβˆ’B) βˆͺ (Bβˆ’A)
D. A∩(Bβˆ’C) IV. (A∩B)βˆ’(A∩C)
  • A) A-III, B-II, C-I, D-IV

  • B) A-II, B-III, C-IV, D-I

  • C) A-IV, B-III, C-I, D-II

  • D) A-IV, B-I, C-III, D-II

Answer: A) A-III, B-II, C-I, D-IV
Explanation: AΞ”B = (Aβˆ’B)βˆͺ(Bβˆ’A) β†’ III; Aβˆ’(BβˆͺC) = (Aβˆ’B)∩(Aβˆ’C) β†’ II; Aβˆ’(B∩C) = (Aβˆ’B)βˆͺ(Aβˆ’C) β†’ I; A∩(Bβˆ’C) = (A∩B)βˆ’(A∩C) β†’ IV.

  1. Let 'G' be a simple, undirected graph with n (n > 10) vertices and k connected components. What is the minimum possible number of edges of G?

  • A) k(nβˆ’1)

  • B) n(kβˆ’1)

  • C) n+kβˆ’2

  • D) nβˆ’k

Answer: D) n βˆ’ k
Explanation: To minimize edges, each connected component should be a tree. A tree with m vertices has mβˆ’1 edges, so k components together have nβˆ’k edges total (since the sum of vertices across all components is n).

  1. Consider the following statements:
    P: There exists no simple, undirected and connected graph with 80 vertices and 77 edges.
    Q: All vertices of Euler graph are of even degree.
    R: Every simple, undirected, connected and acyclic graph with 50 vertices has at least two vertices of degree one.
    S: There exits a bipartite graph with more than ten vertices which are 2-2-colorable.

What is the number of correct statements among the above statements?

  • A) 1

  • B) 2

  • C) 3

  • D) 4

Answer: C) 3
Explanation: P is false (a tree with 80 vertices has 79 edges, so 77 edges with 80 vertices is possible as a forest). Q, R, and S are all true β€” Euler graphs require all even degrees, a tree always has β‰₯2 leaves, and any bipartite graph is 2-colorable.

  1. Match List-I with List-II.

  List-I   List-II
A. P ∧ (P β†’ Q) I. P V Q
B. Β¬(P V Q) β†’ (P ∧ Q) II. (P ∧ Β¬P) V (P ∧ Q)
C. P β†’ Q III. (Β¬P) V Q
D. P V (Q ∧ R) IV. (P ∧ P) V (P ∧ Q) V (P ∧ R) V (Q ∧ R)

Choose the correct answer from the options given below:

  • A) A-I, B-II, C-III, D-IV

  • B) A-II, B-I, C-III, D-IV

  • C) A-III, B-I, C-II, D-IV

  • D) A-IV, B-III, C-II, D-I

Answer: B) A-II, B-I, C-III, D-IV
Explanation: P∧(Pβ†’Q) = P∧(Β¬P∨Q) = (P∧¬P)∨(P∧Q) β†’ II; Β¬(P∨Q)β†’(P∧Q) simplifies to a tautology equivalent to P∨Q β†’ I; Pβ†’Q = Β¬P∨Q β†’ III; P∨(Q∧R) distributes to match β†’ IV.

 

UGC NET Computer Science Unit 1 & 2 PYQs FAQs

What topics are covered in UGC NET Computer Science Unit 1?

Unit 1 covers Discrete Structures and Mathematical Logic, including Sets, Relations, Functions, Propositional Logic, Predicate Logic, Graph Theory, Trees, Combinatorics, and Recurrence Relations.

What topics are included in UGC NET Computer Science Unit 2?

Unit 2 focuses on Digital Logic, including Boolean Algebra, Logic Gates, K-Maps, Combinational Circuits, Sequential Circuits, Flip-Flops, Counters, Registers, and Number Systems.

Why are PYQs important for UGC NET Computer Science preparation?

PYQs help candidates understand exam trends, identify important topics, improve conceptual understanding, and develop effective time-management skills.

How many years of PYQs should I solve for UGC NET Computer Science?

Candidates should solve at least the previous 10 years of UGC NET Computer Science questions to understand recurring patterns and frequently asked concepts.
banner
banner
Popup Close ImagePopup Open Image
Talk to a counsellorHave doubts? Our support team will be happy to assist you!
Popup Image
avatar

Get Free Counselling Today

and Clear up all your Doubts

Talk to Our Counsellor just by filling out the form.
Student Name
Phone Number
IN
+91
OTP
Join 15 Million students on the app today!
Point IconLive & recorded classes available at ease
Point IconDashboard for progress tracking
Point IconLakhs of practice questions
Download ButtonDownload Button
Banner Image
Banner Image
Free Learning Resources
Know about Physics Wallah
Physics Wallah is an Indian edtech platform that provides accessible & comprehensive learning experiences to students from Class 6th to postgraduate level. We also provide extensive NCERT solutions, sample paper, NEET, JEE Mains, BITSAT previous year papers & more such resources to students. Physics Wallah also caters to over 3.5 million registered students and over 78 lakh+ Youtube subscribers with 4.8 rating on its app.
We Stand Out because
We provide students with intensive courses with India’s qualified & experienced faculties & mentors. PW strives to make the learning experience comprehensive and accessible for students of all sections of society. We believe in empowering every single student who couldn't dream of a good career in engineering and medical field earlier.
Our Key Focus Areas
Physics Wallah's main focus is to make the learning experience as economical as possible for all students. With our affordable courses like Lakshya, Udaan and Arjuna and many others, we have been able to provide a platform for lakhs of aspirants. From providing Chemistry, Maths, Physics formula to giving e-books of eminent authors like RD Sharma, RS Aggarwal and Lakhmir Singh, PW focuses on every single student's need for preparation.
What Makes Us Different
Physics Wallah strives to develop a comprehensive pedagogical structure for students, where they get a state-of-the-art learning experience with study material and resources. Apart from catering students preparing for JEE Mains and NEET, PW also provides study material for each state board like Uttar Pradesh, Bihar, and others

Copyright Β© 2026 Physicswallah Limited All rights reserved.