UGC NET exam prep

UGC NET Computer Science syllabus (code 87): all 10 units with official topics, pattern and study plan

18 min read Updated English

At a glance

The UGC NET Computer Science syllabus (Computer Science and Applications, code 87) has ten units, from Discrete Structures and Optimization to Artificial Intelligence. Paper 2 sets 100 questions for 200 marks from them, with no negative marking and no published unit weightage.

Subject code
87, Computer Science and Applications
Units
Ten; no number of questions per unit is published
Paper 2
100 MCQs, 200 marks
Time
180 minutes for Paper 1 and Paper 2 together, no break
Negative marking
None; 2 marks per correct answer
Exam date
14 December 2026, Shift II, 3 PM to 6 PM
Qualifying
40% aggregate (General, General-EWS) or 35% (reserved categories) across both papers
Syllabus source
ugcnetonline.in, in English only

The UGC NET Computer Science syllabus (Computer Science and Applications, subject code 87) has ten official units, from Discrete Structures and Optimization to Artificial Intelligence, and Paper 2 sets 100 questions for 200 marks from them with no negative marking. Below is every unit with its official topics, the results and formulas each one tests, worked concept checks, the December 2026 pattern, a study plan and free Computer Science Paper 2 and Paper 1 mock tests.

Take a timed test

UGC NET Computer Science exam pattern (December 2026)

ItemOfficial rule
ModeComputer Based Test (CBT) only
Paper II (Computer Science, code 87)100 objective questions for 200 marks, testing domain knowledge across all ten units
Paper I (common to all subjects)50 questions for 100 marks on teaching and research aptitude
Time180 minutes for both papers together, with no break and no separate time limit for each paper; you can move between the two sections at any time
Question typeSingle-answer multiple-choice questions answered by mouse click; no typed or numeric answers
Marking2 marks per correct answer, no negative marking; unanswered questions are not evaluated, so attempt every question
MediumEnglish and Hindi (bilingual); the English version prevails if a translation is unclear. Note that the Computer Science syllabus file itself is published in English only
Unit-wise weightageNot published for Paper II; the syllabus gives no number of questions per unit
QualifyingAppear in both papers and score at least 40% aggregate (General and General-EWS) or 35% (SC, ST, OBC-NCL, PwD/PwBD and third gender) across both, then subject-wise cut-offs apply
Syllabus sourceUGC NET Bureau site ugcnetonline.in, headed as applicable from June 2019 UGC-NET onwards; NTA does not supply copies

NTA's subject-wise schedule notice is dated 19 November 2026. In it, Computer Science (code 87) is scheduled on 14 December 2026, Shift II (3 PM to 6 PM). Paper I is taken in the same sitting, so this is also your Paper I slot. The updated bulletin lists admit card download for 7 December 2026. Answer key and result dates were still to be announced when NTA's site was checked on 24 November 2026.

There is no separate Paper I or Paper II pass mark: qualification is decided on the aggregate of both papers. On the 300-mark total, the 40% and 35% minimums work out to 120 and 105 marks. Those are computed figures, and the actual subject cut-offs are set per subject and category. The number qualified for Assistant Professor eligibility equals 6% of the candidates who appeared in both papers on the basis of a Master's degree, split by category.

The official subject name is Computer Science and Applications (code 87). Its slot falls on the opening day of the December 2026 window, so plan your revision backwards from 14 December.

UGC NET Computer Science syllabus: the 10 official units

These are the ten unit titles of the official Computer Science and Applications syllabus with their topics condensed; long units run over two rows. The syllabus page says the updated syllabi apply from June 2019 onwards, and the Computer Science file is published in English only, with no Hindi version.

UnitOfficial titleOfficial topics (condensed)
1Discrete Structures and OptimizationPropositional and predicate logic, normal forms, quantifiers, rules of inference; sets and relations, equivalence and partial orders
1 (contd.)Discrete Structures and Optimizationcounting, pigeonhole, permutations, inclusion-exclusion, induction, probability, Bayes' theorem; groups, rings, fields; graph theory; Boolean algebra; linear and integer programming, transportation, assignment, PERT-CPM
2Computer System ArchitectureLogic gates, combinational and sequential circuits, flip-flops, decoders, multiplexers, registers, counters; number systems, complements, fixed and floating point, error-detection codes, computer arithmetic; register transfer and micro-operations
2 (contd.)Computer System Architecturebasic computer organisation; assembly programming; microprogrammed control; CPU, addressing modes, RISC and CISC; pipelining and vector processing; I/O, interrupts, DMA; memory hierarchy, cache, virtual memory; multiprocessors and cache coherence
3Programming Languages and Computer GraphicsLanguage design, paradigms, binding times, syntax and translation; data types; C (pointers, structures, unions, files, command-line arguments, preprocessor); OOP concepts; C++ (constructors, overloading, inheritance, virtual functions, templates, exceptions, streams)
3 (contd.)Programming Languages and Computer Graphicsweb programming (HTML, DHTML, XML, scripting, Java, servlets, applets); display devices, line, circle and ellipse algorithms, polygon fill; 2-D transforms, viewing and clipping; 3-D representation, Bezier and B-spline curves, illumination, projections
4Database Management SystemsData models, three-schema architecture, data independence; ER model, relational model, relational algebra and calculus, Codd rules; SQL, views, procedures, triggers, SQL injection; functional dependencies and normalisation
4 (contd.)Database Management Systemsquery processing; transactions, concurrency control, recovery; security; temporal, multimedia, deductive, XML, mobile, spatial, distributed databases; data warehousing and mining; big data, Map-Reduce, Hadoop, HDFS; NoSQL
5System Software and Operating SystemAssemblers, compilers and interpreters, loading, linking, relocation, macros, debuggers; OS structure and system calls; processes, IPC, synchronisation, critical section, Peterson's solution, semaphores; threads; CPU scheduling
5 (contd.)System Software and Operating Systemdeadlocks; memory management, paging, segmentation, demand paging, page replacement, thrashing; disk scheduling and RAID; file systems and I/O; security; virtual machines; Linux, Windows and distributed systems
6Software EngineeringProcess models, agile methods (XP, Scrum, adaptive, DSDM, FDD, Crystal), component-based and aspect-oriented development, formal methods; requirements, use cases, SRS; design principles, cohesion and coupling, architectural, data, interface and component design
6 (contd.)Software EngineeringMcCall and ISO 9126 quality factors, QA, RMMM, reliability; LOC and FP estimation, COCOMO, scheduling; testing types and levels; configuration management, reuse, re-engineering, reverse engineering
7Data Structures and AlgorithmsArrays, sparse matrices, stacks, queues, priority queues, linked lists, trees, threaded, binary search, AVL, B, B+ and B-star trees, sets, graphs, sorting, searching, hashing; complexity, asymptotic notation, recurrences
7 (contd.)Data Structures and Algorithmsdivide and conquer, dynamic programming, greedy, backtracking, branch and bound; lower bounds; BFS, DFS, shortest paths, max flow, MST; P, NP and NP-completeness; number-theoretic algorithms, FFT, string matching; parallel, approximation and randomised algorithms
8Theory of Computation and CompilersFormal languages, diagonal argument, Russell's paradox; DFA, NFA, regular expressions and grammars, pumping lemma, lexical analysis; PDA, CFG, Chomsky and Greibach normal forms, ambiguity; Turing machines, Church-Turing thesis, recursive and RE languages, Chomsky hierarchy
8 (contd.)Theory of Computation and Compilershalting and Post correspondence problems; parsing (LL(1), LR, LALR(1)); syntax-directed definitions and type checking; runtime environment; intermediate code; code generation and optimisation
9Data Communication and Computer NetworksSignals, channels, bandwidth, encoding, modulation, multiplexing, media and errors; topologies, LAN, MAN, WAN, wireless; OSI and TCP/IP models, addressing, switching; framing, error and flow control, sliding window, HDLC, multiple access
9 (contd.)Data Communication and Computer NetworksIPv4, classful and classless addressing, IPv6, ARP, routing, TCP, UDP, SCTP, congestion control; DNS, e-mail, Telnet, FTP; network security; mobile technology, GSM, CDMA; cloud computing and IoT
10Artificial Intelligence (AI)Turing test and rational agents, state-space search, heuristic search, game playing, minimax, alpha-beta; knowledge representation (logic, semantic networks, frames, rules, scripts, conceptual dependency, ontologies), expert systems, uncertainty
10 (contd.)Artificial Intelligence (AI)planning (goal stack, hierarchical, STRIPS, partial order); NLP; multi-agent systems and the semantic web; fuzzy sets and inference; genetic algorithms; neural networks (perceptron, MLP, SOM, Hopfield)

No unit weightage

Neither the syllabus nor the NTA bulletin says how many questions come from each unit. Paper 2's 100 questions can come from any of the ten units, so do not drop graphics, software engineering or AI because they feel smaller.

Units 1 to 3 in depth: discrete maths, architecture and programming

  • Graphs: a connected graph has an Euler circuit if and only if every vertex has even degree, and an Euler path if exactly zero or two vertices have odd degree; a tree on n vertices has n - 1 edges; for a connected planar graph, vertices minus edges plus faces equals 2.
  • Counting and algebra: the pigeonhole principle; inclusion-exclusion for two and three sets; a group needs closure, associativity, an identity and inverses; a field is a commutative ring in which every non-zero element has a multiplicative inverse.
  • Optimisation: the simplex method moves between corner points of the feasible region; every linear programme has a dual; the assignment problem is a special transportation problem; the critical path in CPM is the longest path through the network.
  • Architecture: SR, JK, D and T flip-flops; two's complement representation; IEEE 754 single precision has 1 sign bit, 8 exponent bits (bias 127) and 23 fraction bits; addressing modes such as immediate, direct, indirect, register, indexed and relative.
  • Pipelining: an ideal k-stage pipeline approaches a speed-up of k; structural, data and control hazards cause stalls; cache mapping can be direct, fully associative or set-associative; DMA transfers blocks without the CPU moving each word.
  • Programming: C storage classes, pointer arithmetic, structures versus unions; OOP's encapsulation, inheritance and polymorphism; C++ virtual functions for run-time polymorphism and templates for generic code.
  • Graphics: Bresenham's line algorithm uses only integer arithmetic; the midpoint circle algorithm exploits eight-way symmetry; Cohen-Sutherland clips lines with region codes and Sutherland-Hodgman clips polygons; homogeneous coordinates let translation be written as a matrix multiplication.

Units 4 to 6 in depth: databases, operating systems and software engineering

  • Normalisation: 2NF removes partial dependencies on a candidate key; 3NF removes transitive dependencies; BCNF needs every determinant to be a superkey. A lossless, dependency-preserving 3NF decomposition always exists, but BCNF may lose dependency preservation.
  • Transactions: ACID properties; conflict serialisability tested with a precedence graph; two-phase locking guarantees conflict serialisability; recovery with logs, checkpoints and the undo and redo of transactions.
  • Data warehousing and big data: OLTP handles current transactions while OLAP analyses historical data; Map-Reduce splits work into map and reduce phases over HDFS; NoSQL stores are key-value, document, column-family or graph.
  • Operating systems: process states; FCFS, SJF, SRTF, priority and round-robin scheduling; the four necessary conditions for deadlock (mutual exclusion, hold and wait, no preemption, circular wait); the Banker's algorithm for avoidance.
  • Memory and disks: paging removes external fragmentation; Belady's anomaly can occur with FIFO page replacement but not with LRU or optimal; disk scheduling with FCFS, SSTF, SCAN, C-SCAN and LOOK; RAID levels trade redundancy against capacity.
  • Software engineering: waterfall, incremental, spiral (risk-driven) and agile models; cohesion from coincidental (worst) to functional (best) and coupling from content (worst) to data (best); cyclomatic complexity V(G) equals edges minus nodes plus 2 for a connected flow graph.
  • Estimation and testing: basic COCOMO gives effort as a times KLOC to the power b, with organic, semi-detached and embedded modes; black-box testing uses equivalence partitioning and boundary values, white-box testing uses basis paths; alpha testing is at the developer's site and beta testing at the customer's.

Units 7 to 10 in depth: algorithms, theory, networks and AI

  • Complexity: merge sort and heap sort are O(n log n) in the worst case; quicksort is O(n log n) on average but O(n squared) in the worst case; binary search is O(log n); the master theorem solves divide-and-conquer recurrences.
  • Graph algorithms: Dijkstra needs non-negative edge weights, Bellman-Ford handles negative weights and detects negative cycles, Floyd-Warshall finds all-pairs shortest paths; Kruskal and Prim build minimum spanning trees. SAT was the first problem proved NP-complete.
  • Theory: the Chomsky hierarchy pairs regular languages with finite automata, context-free with pushdown automata, context-sensitive with linear bounded automata and recursively enumerable with Turing machines. DFAs and NFAs are equally powerful, but deterministic PDAs are weaker than non-deterministic ones. The halting problem is undecidable.
  • Compilers: phases from lexical analysis to code generation; LL(1) parsing is top-down; in power, LR(0) is below SLR, which is below LALR(1), which is below canonical LR(1); every S-attributed definition is also L-attributed; peephole optimisation works on a small window of instructions.
  • Networks: OSI has seven layers and the TCP/IP suite fewer; CSMA/CD suits wired Ethernet and CSMA/CA wireless LANs; IPv4 addresses are 32 bits and IPv6 addresses 128 bits; TCP is connection-oriented and reliable while UDP is connectionless; DNS maps names to addresses.
  • Security and cloud: symmetric ciphers such as DES and AES share one key, public-key systems such as RSA use a key pair; digital signatures use the sender's private key; cloud service models are SaaS, PaaS and IaaS.
  • AI: A-star search finds an optimal path when its heuristic is admissible; alpha-beta pruning returns the same value as minimax while examining fewer nodes; fuzzy membership values lie between 0 and 1; genetic algorithms use selection, crossover and mutation; a single-layer perceptron cannot learn XOR because it is not linearly separable.

Computer Science concept checks with worked answers

A control flow graph has 9 edges and 7 nodes in one connected component. What is its cyclomatic complexity?

Cyclomatic complexity V(G) equals edges minus nodes plus two times the number of connected components. Here that is 9 minus 7 plus 2, which gives 4. So there are four linearly independent paths, and basis path testing needs at least four test cases to cover them.

How many edges does a tree with 15 vertices have, and why?

It has 14 edges. A tree is a connected graph with no cycles, and any such graph on n vertices has exactly n minus 1 edges. Adding one more edge would create a cycle, and removing one would disconnect the graph, so 14 is the only possibility.

What is Belady's anomaly?

Belady's anomaly is the counter-intuitive case where increasing the number of page frames increases the number of page faults. It can occur with FIFO page replacement. Stack algorithms such as LRU and the optimal algorithm never show it, because the set of pages held with n frames is always a subset of those held with n plus 1 frames.

Why might a database designer stop at 3NF instead of BCNF?

A decomposition into 3NF can always be made both lossless and dependency-preserving. Decomposing into BCNF is always lossless but can lose some functional dependencies, which then need costly joins to enforce. When preserving dependencies matters more than removing the last anomalies, designers accept 3NF.

Which language class do deterministic pushdown automata accept?

They accept the deterministic context-free languages, a proper subset of the context-free languages. Some context-free languages, such as even-length palindromes over two symbols, need non-determinism because the machine cannot know where the middle is. This is why LR parsers, which are deterministic, work only for a subclass of grammars.

How many bits are used for the exponent in IEEE 754 single precision, and what is the bias?

Single precision uses 32 bits: 1 sign bit, 8 exponent bits and 23 fraction bits. The exponent is stored with a bias of 127, so the actual exponent is the stored value minus 127. Double precision uses 11 exponent bits with a bias of 1023 and 52 fraction bits.

How to prepare for UGC NET Computer Science: a 10-week plan

  1. 1

    Week 1: baseline

    Take Computer Science Paper 2 Mock Test 1 and score yourself by unit. Download the official syllabus and mark topics you never studied, often graphics, optimisation and multi-agent systems.

  2. 2

    Weeks 2 and 3: core theory

    Units 7 and 8. Solve recurrence, complexity, automata and parsing questions daily; these reward practice more than reading.

  3. 3

    Week 4: systems

    Units 2 and 5. Scheduling, page replacement and disk scheduling numericals; pipeline and cache questions.

  4. 4

    Week 5: databases and networks

    Units 4 and 9. Normalisation, serialisability, subnetting and protocol questions.

  5. 5

    Week 6: maths and programming

    Units 1 and 3. Graph theory results, counting, LP, C output questions and graphics algorithms.

  6. 6

    Week 7: software engineering and AI

    Units 6 and 10, then two Paper 1 sectionals.

  7. 7

    Weeks 8 to 10: full sittings

    One full mock every three days, reviewed by unit, with a formula sheet re-read daily.

Computer Science is scheduled for 14 December 2026, the first day of the December window, so a late-November start leaves under three weeks. Compress: a baseline mock, then the numerical units (algorithms, theory of computation, OS, networks), then the remaining units at speed, with the full mock twice in the last week.

Free UGC NET Computer Science mock tests and Paper 1 tests

Every test below is free on ExamPilot and scored the NTA way: 2 marks per correct answer and nothing deducted for a wrong one. The subject mocks spread questions across all ten official units in equal shares because no unit weightage is published. They are in English only, though NTA sets the real paper in English and Hindi except language papers.

TestWhat it coversTime
UGC NET Computer Science Paper 2 Mock Test 1100 Computer Science questions across all ten units, 200 marks, no negative marking120 minutes, a pro-rata share of the 180-minute sitting
UGC NET Computer Science Paper 2 Mock Test 2A second 100-question set on the same pattern120 minutes
UGC NET Computer Science Full Mock Test 1Paper I (50) and Paper II (100) together: 150 questions, 300 marks180 minutes, no sectional timer, like the real sitting
UGC NET Paper 1 Mock Test 150 Paper I questions, five from each unit60 minutes
UGC NET Paper 1 Mock Test 2A second full Paper I set60 minutes
UGC NET Paper 1 Mock Test 3A third full Paper I set60 minutes
Teaching and Research Aptitude TestPaper I Units I, II and XPick 10, 25 or 50 questions
Reasoning and Data Interpretation TestPaper I Units V, VI and VIIPick 10, 25 or 50 questions
Comprehension, Communication, ICT and Environment TestPaper I Units III, IV, VIII and IXPick 10, 25 or 50 questions

Use the Paper 2 mocks to find weak units, the full mock to practise the three-hour sitting, and the Paper 1 sectionals to fix whichever Paper I unit scores lowest. The Paper I units and their sub-topics are explained in the UGC NET Paper 1 syllabus guide, and the Paper 1 mock test guide covers timing.

After NET: the interview, and what the AI panel checks

NET itself has no interview. For candidates who qualify for Assistant Professor and Ph.D. admission, or for Ph.D. admission only, universities use 70% weightage for NET marks and 30% for their own interview or viva voce, with the NET marks valid for one year. Computer science faculty interviews usually ask you to explain a core concept at a whiteboard and to describe your research or project work.

In an ExamPilot mock interview for engineering and technology faculty, the AI panel asks you to explain a concept, answers back with follow-up questions and asks about your research plan. It checks technical accuracy, a clear example and whether you can adjust the depth to the listener. Two answers to rehearse:

How would you explain deadlock to second-year B.Tech students?

I would start with a narrow lane in old Lucknow where two cars enter from opposite ends: neither can move forward and neither will reverse. Then I map it to the four conditions: each half of the lane can hold only one car, each car holds its half while waiting for the other, nobody can be forced back, and the waiting forms a cycle. Break any one condition and the deadlock cannot happen.

Anchor the four conditions in one picture, then show how prevention breaks each.

What is your research interest?

I want to work on lightweight intrusion detection for IoT devices in smart agriculture. In my M.Tech project in Coimbatore I deployed soil sensors that ran on very little memory, and standard detection models were too heavy for them. I plan to compare compressed neural models against decision-tree ensembles on public IoT traffic datasets, measuring accuracy against memory and energy cost.

A domain, a concrete constraint and a measurable comparison.

Frequently asked questions

How many units are there in the UGC NET Computer Science syllabus?
Ten: Discrete Structures and Optimization; Computer System Architecture; Programming Languages and Computer Graphics; Database Management Systems; System Software and Operating System; Software Engineering; Data Structures and Algorithms; Theory of Computation and Compilers; Data Communication and Computer Networks; and Artificial Intelligence.
Is the UGC NET Computer Science syllabus available in Hindi?
The syllabus file on ugcnetonline.in is published in English only. The question paper itself follows the general NTA rule: English and Hindi for non-language subjects, with the English version prevailing if a translation is unclear.
How many questions come from each Computer Science unit?
No number is published. The syllabus and the NTA bulletin give only the total of 100 questions for 200 marks; the five-questions-per-unit rule is for Paper 1. Prepare all ten units.
Is there negative marking in UGC NET Paper 2?
No. The December 2026 bulletin gives 2 marks for each correct answer and deducts nothing for a wrong one. Unanswered questions are not evaluated, so leaving a question blank can only cost you marks. Attempt all 150 questions across both papers before time runs out.
When is the UGC NET Computer Science exam in December 2026?
NTA's notice of 19 November 2026 schedules Computer Science and Applications (code 87) on 14 December 2026 in Shift II, 3 PM to 6 PM. Paper 1 is taken in the same sitting. Check the official site for the admit card and any change.
Are there numerical answer questions in NET Computer Science?
No. The bulletin's computer-based test instructions say every question is a single-answer multiple-choice question answered by mouse click, with no typed or numeric entry. You still need to work numericals on rough paper, then pick the matching option.
Which programming languages are in the NET Computer Science syllabus?
Unit 3 names C and C++ in detail, object-oriented concepts, and web programming with HTML, DHTML, XML, scripting, Java, servlets and applets. Expect output-tracing and concept questions on C and C++.

Practise out loud

Practise the CS faculty interview

An AI panel asks you to explain an OS, DBMS or algorithms concept as if to a class, follows up on your research plan and scores clarity and accuracy.

Asst. Prof. · Assistant Professor — Engineering & Technology

Read how this interview works

Official sources