The complete UGC NET June 2025 question paper for Computer Science & Applications, covering Paper 1 (General Aptitude) and Paper 2 (Computer Science & Applications). Every question below is shown with its options and the correct answer, and a detailed explanation you can unlock by signing in. All 150 questions are free to practise.
| Exam | UGC NET June 2025 |
|---|---|
| Papers | Paper 1 (General Aptitude) and Paper 2 (Computer Science & Applications) |
| Exam date(s) | June 26, 2025 |
| Shift(s) | Shift 1 |
| Paper 1 questions | 50 questions · 60 minutes · 100 marks |
| Paper 2 questions | 100 questions · 120 minutes · 200 marks |
| Total | 150 questions |
| Marking scheme | +2 per correct answer · No negative marking |
UGC NET June 2025 · Computer Science & Applications sitting
50 questions with the answer key and explanations.
What is the average of the number of students scoring 50 or more but less than 60 marks in Punjabi and in Hindi?
| Marks (out of 100) | Cumulative percentage of Hindi and Punjabi students | Cumulative number of Hindi students |
|---|---|---|
| 80 and above | 15% | 108 |
| 70 and above | 35% | 264 |
| 60 and above | 65% | 424 |
| 50 and above | 90% | 554 |
| 40 and above | 100% | 624 |
Marks-wise distribution of students. Total students: 1200; no student failed; each student appeared in either Hindi or Punjabi.
Answer: (B) 150
Explanation
What is the difference between the number of Punjabi students scoring 70 or more but less than 80 marks and Hindi students scoring 40 or more but less than 50 marks?
| Marks (out of 100) | Cumulative percentage of Hindi and Punjabi students | Cumulative number of Hindi students |
|---|---|---|
| 80 and above | 15% | 108 |
| 70 and above | 35% | 264 |
| 60 and above | 65% | 424 |
| 50 and above | 90% | 554 |
| 40 and above | 100% | 624 |
Marks-wise distribution of students. Total students: 1200; no student failed; each student appeared in either Hindi or Punjabi.
Answer: (C) 14
Explanation
What is the ratio of Hindi students scoring 50 or more but less than 60 marks to Punjabi students scoring 40 or more but less than 50 marks?
| Marks (out of 100) | Cumulative percentage of Hindi and Punjabi students | Cumulative number of Hindi students |
|---|---|---|
| 80 and above | 15% | 108 |
| 70 and above | 35% | 264 |
| 60 and above | 65% | 424 |
| 50 and above | 90% | 554 |
| 40 and above | 100% | 624 |
Marks-wise distribution of students. Total students: 1200; no student failed; each student appeared in either Hindi or Punjabi.
Answer: (D) 13:5
Explanation
What is the sum of Hindi students scoring 70 or more but less than 80 marks and Punjabi students scoring 80 or more marks?
| Marks (out of 100) | Cumulative percentage of Hindi and Punjabi students | Cumulative number of Hindi students |
|---|---|---|
| 80 and above | 15% | 108 |
| 70 and above | 35% | 264 |
| 60 and above | 65% | 424 |
| 50 and above | 90% | 554 |
| 40 and above | 100% | 624 |
Marks-wise distribution of students. Total students: 1200; no student failed; each student appeared in either Hindi or Punjabi.
Answer: (B) 228
Explanation
The number of Hindi students scoring 80 or more is what percentage less than the number of Punjabi students scoring 60 or more but less than 70?
| Marks (out of 100) | Cumulative percentage of Hindi and Punjabi students | Cumulative number of Hindi students |
|---|---|---|
| 80 and above | 15% | 108 |
| 70 and above | 35% | 264 |
| 60 and above | 65% | 424 |
| 50 and above | 90% | 554 |
| 40 and above | 100% | 624 |
Marks-wise distribution of students. Total students: 1200; no student failed; each student appeared in either Hindi or Punjabi.
Answer: (A) 46%
Explanation
Standard deviation (S) and coefficient of variation (CV, as a percentage) are given below. Compute each mean and arrange them in ascending order.
A. S = 4, CV = 40/9
B. S = 5, CV = 62.5
C. S = 14, CV = 70/3
D. S = 16, CV = 160/7
Choose the correct answer.
Answer: (A) B, A, C, D
Explanation
Which are the risks of plagiarism for a researcher who plagiarises?
A. Losing the inspiration
B. Losing obtained titles
C. Destruction of obtained solutions
D. Destroying the public image
Choose the most appropriate answer.
Answer: (C) B and D only
Explanation
The role of a teacher in the simulation model is that of
Answer: (B) Designing
Explanation
Match List-I with List-II.
| List-I: institution | List-II: function |
|---|---|
| A. NIEPA | IV. Promoting research in planning and management |
| B. RUSA | III. Infrastructure development for upgrading colleges into model colleges |
| C. QAA | I. Ensuring quality |
| D. HEFA | II. Providing loans to higher-education institutions |
Match List-I with List-II.
Answer: (D) A-IV, B-III, C-I, D-II
Explanation
Learning for all implies:
A. Inclusive Education
B. Equitable Education
C. Inclusive and Equitable Education
D. Quality Education
E. Categorized based Education
Answer: (C) C only
Explanation
Match List-I with List-II.
| List-I: learning style | List-II: strength |
|---|---|
| A. Convergent | II. Practical application of ideas |
| B. Divergent | IV. Imaginative ability and generation of ideas |
| C. Assimilation | I. Creating theoretical model |
| D. Accommodative | III. Carrying out plans and tasks involving new experiences |
Match List-I with List-II.
Answer: (C) A-II, B-IV, C-I, D-III
Explanation
Which is the correct sequence of increasing access time of storage/memory devices?
A. Magnetic tape
B. RAM
C. Cache memory
D. Hard disk
E. Registers
Answer: (C) E, C, B, D, A
Explanation
Who directed the first film made in India?
Answer: (B) Dadasaheb Phalke
Explanation
As per National Education Policy 1986, the major functions of the National Apex Body are:
A. To allocate resources
B. To evaluate the examination system
C. To advise government on policy
D. To encourage interdisciplinarity and interfaces among different areas
E. To conduct research in higher education
Choose the correct answer.
Answer: (D) A, C and D only
Explanation
Arrange the following events in correct chronological order.
A. Establishment of the University of Madras
B. Introduction of the Indian Universities Act
C. Establishment of UGC
D. First National Education Policy of India
Answer: (A) A, B, C, D
Explanation
According to classical Indian logic, which instrument of knowledge is knowledge of the relation between a word and its denotation, produced through knowledge of resemblance or similarity?
Answer: (C) Upamana (comparison)
Explanation
Increasing the ratio of fissile uranium (U-235) in natural uranium is known as
Answer: (D) Enrichment
Explanation
Which statements about coliform bacteria are true?
A. They are used to test water contamination.
B. Coliform bacteria are harmless and cause no disease.
C. They are found naturally in the human intestinal tract.
D. Their presence in water indicates faecal contamination.
Choose the most appropriate answer.
Answer: (C) A, C and D only
Explanation
When a producer allows 36% commission on the retail price, the profit is 8.8%. What is the profit if commission is reduced by 24%?
Answer: (B) 49.6%
Explanation
With reference to cyber attacks, which statements are correct?
A. Malware is malicious software designed to cause damage to a computer, server, or network.
B. Malware includes viruses, worms, Trojan horses, ransomware, and spyware.
C. Pegasus is ransomware.
D. India is not a signatory to the Budapest Convention on Cybercrime.
Choose the most appropriate answer.
Answer: (D) A, B and D only
Explanation
Which international organisation coordinates the Education for All programme globally?
Answer: (B) UNESCO
Explanation
In the ancient period, the Diksha Guru performed duty as a
Answer: (C) Spiritual guide of boys
Explanation
Find the number replacing the question mark: 7, 12, 32, 122, ?, 3602, 25202.
Answer: (A) 602
Explanation
Arrange the following in increasing order of extension.
A. Social Science
B. Political Science
C. Sciences
D. Politics of International Relations
Answer: (D) D, B, A, C
Explanation
What is explanatory research?
Answer: (C) It explains the causes of social phenomena.
Explanation
Match List-I with List-II.
| List-I: operating system/program | List-II: task |
|---|---|
| A. UNIX | IV. Multi-user operating system |
| B. MS-DOS | III. Single-user operating system |
| C. Android OS | II. Mobile device |
| D. Utility programs | I. Assist users in system-maintenance tasks |
Match List-I with List-II.
Answer: (C) A-IV, B-III, C-II, D-I
Explanation
Match List-I with List-II.
| List-I: meaning | List-II: term |
|---|---|
| A. Who | II. Communicator |
| B. Says what | III. Message |
| C. In which channel | IV. Medium |
| D. To whom | I. Receiver |
Match List-I with List-II.
Answer: (C) A-II, B-III, C-IV, D-I
Explanation
Why is the concentration of CO₂ higher in the Northern Hemisphere than in the Southern Hemisphere?
A. Land mass is greater in the Northern Hemisphere.
B. Ocean area is greater in the Southern Hemisphere.
C. More fossil fuel is burnt in the Northern Hemisphere.
D. The Northern Hemisphere is colder.
Choose the most appropriate answer.
Answer: (A) A and C only
Explanation
The CBCS (Choice Based Credit System) in higher education promotes
Answer: (B) Flexibility in course selection
Explanation
Which statements contradict each other?
A. All ducks are birds.
B. Some ducks are birds.
C. Some ducks are not birds.
D. No ducks are birds.
Choose the most appropriate answer.
Answer: (A) A and D only
Explanation
Which is an example of IEEE 802.3?
Answer: (A) LAN
Explanation
A sum was put at simple interest for 3 years. At a rate 1% higher, it would have fetched ₹5,100 more. Find the sum.
Answer: (A) ₹170,000
Explanation
Which technology was used in the second generation of computers?
Answer: (B) Transistors
Explanation
What is exploratory research?
Answer: (B) It studies a subject about which no or limited information is available.
Explanation
Which statement(s) is/are wrong?
A. Aman runs at 20 km/hr and covers 400 m in 8 minutes.
B. A person travels equal distances at x km/hr and y km/hr; the average speed is 2xy/(x+y) km/hr.
C. A cyclist covers 750 m in 2.5 minutes; the speed is 18 km/hr.
D. x km/hr equals 5x/18 m/sec.
Choose the most appropriate answer.
Answer: (A) A only
Explanation
Match List-I with List-II.
| List-I: population mean (μ) and mean of x² | List-II: population standard deviation (σ) |
|---|---|
| A. μ = 9, (1/N)Σxᵢ² = 117 | III. 6 |
| B. μ = 10, (1/N)Σxᵢ² = 200 | I. 10 |
| C. μ = 11, (1/N)Σxᵢ² = 202 | IV. 9 |
| D. μ = 12, (1/N)Σxᵢ² = 160 | II. 4 |
Match List-I with List-II.
Answer: (C) A-III, B-I, C-IV, D-II
Explanation
In a code language, NOIDA is written as 1, 4, 9, 15, 14 and INDIA as 1, 9, 4, 14, 9. How will HELLO be written?
Answer: (A) 15, 12, 12, 5, 8
Explanation
What is the correct sequence, from initial to final, of surface wastewater treatment?
A. Disinfection
B. Sedimentation
C. Filtration
D. Screening
Answer: (D) D, B, C, A
Explanation
Who directed the first talkie feature film made in India?
Answer: (A) Ardeshir Irani
Explanation
“This is the richest fraternity on campus; therefore Mr. X, a member of it, must be one of the richest young men on campus.” Which fallacy is involved?
Answer: (A) Fallacy of division
Explanation
What is the correct chronological order of these Doordarshan programmes, from earliest to latest?
A. Mahabharat
B. Chandrakanta
C. Hum Log
D. Ramayan
E. Buniyaad
Answer: (B) C, E, D, A, B
Explanation
Which are differences between the Modified Mercalli Scale (MMS) and Richter Scale (RS)?
A. RS measures released energy while MMS measures both energy and devastation.
B. RS uses a linear scale while MMS uses a logarithmic scale.
C. RS value is constant for an earthquake while MMS varies with distance.
D. RS has more levels than MMS.
Choose the most appropriate answer.
Answer: (C) C and D only
Explanation
If “No birds are animals” is false, which statements can be inferred true?
A. Some animals are not birds.
B. Some birds are not animals.
C. Some animals are birds.
D. Some birds are animals.
Choose the most appropriate answer.
Answer: (B) C and D only
Explanation
Which films were directed by Satyajit Ray?
A. Madhumati
B. Apur Sansar
C. Sujata
D. Aparajito
E. Pather Panchali
Choose the most appropriate answer.
Answer: (A) B, D and E only
Explanation
Arrange the problem-solving strategy.
A. Generate many possible solutions
B. Determine how to implement the solution and evaluate its success
C. Make a decision
D. Evaluate each solution
E. Define the problem
Choose the correct answer.
Answer: (B) E, A, D, C, B
Explanation
Which Act/section gives parents the right to seek relief from any kind of abuse?
Read the following passage carefully and answer the questions.
Forced by circumstances and in search of success and status, educated young men and women settle far away from their parents. Some go abroad. The very education that the parents manage to give to their children turns against them in the end. Their children go away in search of green pastures leaving them alone. International community as well as our government is aware of their problems. The UNO proclaimed the year 1999 as ‘International Year for the Aged’. In our own country too the year 2000 was proclaimed ‘The Year for the Aged’.
Article 41 of our constitution clearly makes it incumbent on the state to look after the aged. There is a social welfare ministry responsible for the welfare of the aged. Laws are made from time-to-time to protect the rights of senior citizens. For example under law parents cannot be evicted from a house without due process of law under section 105 of the Criminal Procedure Code. A magistrate can order a person to maintain his/her old parents under the Maintenance of Parents Act. The Hindu Adoption and Maintenance Act says that the aged parents can demand maintenance from their children. The Domestic Violence Act also provides parents with the rights to seek relief from any kind of abuse.
Answer: (C) The Domestic Violence Act
Explanation
Who is empowered to order the concerned person to maintain their parents?
Read the following passage carefully and answer the questions.
Forced by circumstances and in search of success and status, educated young men and women settle far away from their parents. Some go abroad. The very education that the parents manage to give to their children turns against them in the end. Their children go away in search of green pastures leaving them alone. International community as well as our government is aware of their problems. The UNO proclaimed the year 1999 as ‘International Year for the Aged’. In our own country too the year 2000 was proclaimed ‘The Year for the Aged’.
Article 41 of our constitution clearly makes it incumbent on the state to look after the aged. There is a social welfare ministry responsible for the welfare of the aged. Laws are made from time-to-time to protect the rights of senior citizens. For example under law parents cannot be evicted from a house without due process of law under section 105 of the Criminal Procedure Code. A magistrate can order a person to maintain his/her old parents under the Maintenance of Parents Act. The Hindu Adoption and Maintenance Act says that the aged parents can demand maintenance from their children. The Domestic Violence Act also provides parents with the rights to seek relief from any kind of abuse.
Answer: (D) A magistrate
Explanation
The year 1999 was proclaimed as
Read the following passage carefully and answer the questions.
Forced by circumstances and in search of success and status, educated young men and women settle far away from their parents. Some go abroad. The very education that the parents manage to give to their children turns against them in the end. Their children go away in search of green pastures leaving them alone. International community as well as our government is aware of their problems. The UNO proclaimed the year 1999 as ‘International Year for the Aged’. In our own country too the year 2000 was proclaimed ‘The Year for the Aged’.
Article 41 of our constitution clearly makes it incumbent on the state to look after the aged. There is a social welfare ministry responsible for the welfare of the aged. Laws are made from time-to-time to protect the rights of senior citizens. For example under law parents cannot be evicted from a house without due process of law under section 105 of the Criminal Procedure Code. A magistrate can order a person to maintain his/her old parents under the Maintenance of Parents Act. The Hindu Adoption and Maintenance Act says that the aged parents can demand maintenance from their children. The Domestic Violence Act also provides parents with the rights to seek relief from any kind of abuse.
Answer: (C) International Year for the Aged
Explanation
Under section 105 of the criminal procedure code, parents cannot be evicted from a house
Read the following passage carefully and answer the questions.
Forced by circumstances and in search of success and status, educated young men and women settle far away from their parents. Some go abroad. The very education that the parents manage to give to their children turns against them in the end. Their children go away in search of green pastures leaving them alone. International community as well as our government is aware of their problems. The UNO proclaimed the year 1999 as ‘International Year for the Aged’. In our own country too the year 2000 was proclaimed ‘The Year for the Aged’.
Article 41 of our constitution clearly makes it incumbent on the state to look after the aged. There is a social welfare ministry responsible for the welfare of the aged. Laws are made from time-to-time to protect the rights of senior citizens. For example under law parents cannot be evicted from a house without due process of law under section 105 of the Criminal Procedure Code. A magistrate can order a person to maintain his/her old parents under the Maintenance of Parents Act. The Hindu Adoption and Maintenance Act says that the aged parents can demand maintenance from their children. The Domestic Violence Act also provides parents with the rights to seek relief from any kind of abuse.
Answer: (A) Without due process of law
Explanation
According to the passage, who usually leaves their parents in the lurch?
Read the following passage carefully and answer the questions.
Forced by circumstances and in search of success and status, educated young men and women settle far away from their parents. Some go abroad. The very education that the parents manage to give to their children turns against them in the end. Their children go away in search of green pastures leaving them alone. International community as well as our government is aware of their problems. The UNO proclaimed the year 1999 as ‘International Year for the Aged’. In our own country too the year 2000 was proclaimed ‘The Year for the Aged’.
Article 41 of our constitution clearly makes it incumbent on the state to look after the aged. There is a social welfare ministry responsible for the welfare of the aged. Laws are made from time-to-time to protect the rights of senior citizens. For example under law parents cannot be evicted from a house without due process of law under section 105 of the Criminal Procedure Code. A magistrate can order a person to maintain his/her old parents under the Maintenance of Parents Act. The Hindu Adoption and Maintenance Act says that the aged parents can demand maintenance from their children. The Domestic Violence Act also provides parents with the rights to seek relief from any kind of abuse.
Answer: (C) Career-seeking children settled in distant places
Explanation
100 questions with the answer key and explanations.
In a group of 120 people, 65 eat rice, 45 eat bread, 42 eat curd, 20 eat both rice and bread, 25 eat both rice and curd, 15 eat both bread and curd, and 8 eat all three. How many eat at least one of the three items?
Answer: (B) 100
Explanation
In a pack of 42 cards, 3 cards are chosen one after another without replacement. How many ordered selections are possible?
Answer: (C) 68880
Explanation
A positive integer is selected uniformly from the integers not exceeding 200. What is the probability that it is divisible by either 2 or 5?
Answer: (B) 3/5
Explanation
Consider the Boolean expression A(x, y, z) = x(y'z)'. Which is its complete sum-of-products form?
Answer: (D) xyz + xyz' + xy'z'
Explanation
Choose the correct statement for a group G.
Answer: (A) If (xy)^2 = x^2y^2 for all x, y in G, then G is commutative.
Explanation
What is the binary equivalent of (A0F)₁₆?
Answer: (C) 101000001111
Explanation
In an I/O operation, what does a write operation do?
Answer: (B) Transfers data from memory to an I/O device
Explanation
The transformation of data from main memory to cache memory is called:
Answer: (C) Mapping
Explanation
What is the Gray-code equivalent of decimal 8?
Answer: (B) 1100
Explanation
What is printed by this C program?
int x = 128, y = 110;
do {
if (x > y) x = x - y;
else y = y - x;
} while (x != y);
printf("%d", x);
Answer: (B) 2
Explanation
Which technique is used for clipping?
Answer: (C) Sutherland-Cohen
Explanation
What is printed by this C program?
int i, j;
for (i = 1; i < 5; i += 2)
for (j = 1; j < i; j += 2)
printf("%d", j);
Answer: (A) 1
Explanation
Which pointer expression refers to the array element ar[m][n][o]?
Answer: (D) ((*(ar + m) + n) + o)
Explanation
Consider relation R with attributes A, B, C, D, and E, and dependencies C → F, E → A, EC → D, and A → B. Which option is a key for R?
Answer: (B) EC
Explanation
Let T1 have attributes A, B, C, D, and E with dependencies {EB → C, D → E, EA → B}; T2 has attributes A, B, C, and D with dependencies {C → A, A → B, A → D}. Which statement is true?
Answer: (C) T1 is not in 3NF
Explanation
In a relational database, which statement is correct?
Answer: (A) A relation with only two attributes is always in BCNF.
Explanation
Consider Employee(eid, eName), Comp(cid, cName), and Own(eid, cid). Which relational-algebra expression returns eid values for people who own every brand?
Answer: (A) π_eid(π_eid,cid(Own) ÷ π_cid(Comp))
Explanation
Using non-preemptive SJF and Round Robin with time quantum 10, which process finishes second last in each schedule?
| Process | Burst time | Arrival time |
|---|---|---|
| P1 | 9 | 0 |
| P2 | 30 | 0 |
| P3 | 4 | 0 |
| P4 | 8 | 2 |
| P5 | 11 | 6 |
Answer: (D) SJF: P5; RR: P5
Explanation
Which statement about Pthreads is correct?
Answer: (C) It specifies thread behaviour but not an implementation.
Explanation
On average, 10 processes arrive each second and 20 processes are normally in the queue. What is the average waiting time per process?
Answer: (B) 2 seconds
Explanation
What is the total swap time (swap-in and swap-out) for a 15 MB process at a transfer rate of 30 MB/s, with average latency 12 ms and no head seeks?
Answer: (A) 1.024 s
Explanation
Which is not a requirements-elicitation technique?
Answer: (D) Data-flow diagram
Explanation
In basic COCOMO, the effort estimate for organic software is:
Answer: (A) E = 2.4(KLOC)^1.05 person-months
Explanation
The process used to discover difficult, unknown, and hidden information about an existing software system is called:
Answer: (C) Reverse engineering
Explanation
Which is not a software characteristic?
Answer: (D) Software is always correct.
Explanation
For infix expression ((A+B)*D)↑(E-F), what is its equivalent postfix expression?
Answer: (D) A B + D * E F - ↑
Explanation
What is the tight asymptotic bound for T(n) = 2T(n/4) + √n?
Answer: (C) Θ(√n log n)
Explanation
Which sequence is a longest common subsequence of {1, 2, 3, 2, 4, 1, 2} and {2, 4, 3, 1, 2, 1}?
Answer: (C) 2, 3, 2, 1
Explanation
Maintaining a graph in memory using its adjacency matrix is called:
Answer: (D) Sequential representation
Explanation
What is printed by this C code?
int *i, a = 12, b = 2, c;
c = (a = a + b, b = a / b, a = a * b, b = a - b);
i = &c;
printf("%d", --(*i));
Answer: (B) 90
Explanation
Which is the best description of the language accepted by the DFA?

DFA over the alphabet {a, b, c}.
abcAnswer: (D) The set of strings having an even count, including zero, of the substring abc
Explanation
Which pictured NFA is valid for the given DFA?

Given DFA and four candidate NFA diagrams.
Answer: (D) Diagram 4
Explanation
In a stop-and-wait system, line bandwidth is 1 Mbps and round-trip delay is 30 ms. What is the bandwidth-delay product?
Answer: (C) 30,000 bits
Explanation
CB84000D001C001C is a UDP header in hexadecimal. What is the source-port number?
Answer: (A) 52100
Explanation
A packet sent by a router or node to the source to inform it of congestion is called a:
Answer: (C) Choke packet
Explanation
Which is not a characteristic of packet switching?
Answer: (C) It requires a dedicated path.
Explanation
Which is not a valid property of λ-cuts of fuzzy relations R̃ and S̃?
Answer: (C) The λ-cut of the complement of R̃ differs from the complement of Rλ except when λ = 1.
Explanation
Which is not a parent-selection technique in genetic-algorithm implementations?
Answer: (A) Radial
Explanation
With η as learning rate and xi as the ith input, which update rule best describes a Kohonen self-organizing map weight wij?
Answer: (A) wij(new) = (1 − η)wij(old) + ηxi
Explanation
After applying samples S1 through S4 in order to a perceptron with initial weights w1 = w2 = 0, learning rate 0.1, no bias, and output 0 when yin = 0, what are the updated weights?
| Sample | x1 | x2 | Target |
|---|---|---|---|
| S1 | 0 | 0 | 0 |
| S2 | 0 | 1 | 1 |
| S3 | 1 | 0 | 1 |
| S4 | 1 | 1 | 1 |
Answer: (A) w1 = 0.1, w2 = 0.1
Explanation
A computer processes an instruction by fetching it, decoding it, calculating its effective address, fetching operands, and executing it. Which sequence is correct?
Answer: (C) B, C, A, D, E
Explanation
In an arithmetic pipeline, the operations are compare exponents, align mantissas, add or subtract mantissas, and normalize the result. Which sequence is correct?
Answer: (A) D, A, B, C
Explanation
To input data through a CPU-controlled I/O program, the actions are reading the status register, checking its flag bit, reading the data register, and transferring data to memory. Which sequence is correct?
Answer: (A) A, B, C, D
Explanation
For C operators &&, +=, >>, >=, and ?:, what is the precedence order from higher to lower?
, >=, ?:, +=, &&
, &&, >=, ?:, +=
, >=, &&, ?:, +=
=, >>, &&, +=, ?:
Answer: (C)
, >=, &&, ?:, +=
Explanation
Arrange Linux interrupt-protection levels from increasing priority: user-mode programs, preemptible kernel system-service routines, bottom-half interrupt handlers, and top-half interrupt handlers.
Answer: (D) A → D → B → C
Explanation
Which sequence gives the hierarchy of a layered file system from application level down to I/O control?
Answer: (C) E → A → B → C → D
Explanation
Arrange stamp coupling, control coupling, external coupling, common coupling, and content coupling from lowest to highest coupling.
Answer: (C) B, C, D, A, E
Explanation
Arrange unit, integration, system, and acceptance testing in their usual software-development order.
Answer: (B) B, A, C, D
Explanation
To construct a Huffman tree, first create leaf nodes, build a priority queue, repeatedly combine the lowest-frequency nodes, and stop when the root is formed. Which sequence is correct?
Answer: (C) B, C, D, A
Explanation
In dynamic programming, the steps are characterizing an optimal solution, recursively defining its value, computing that value bottom-up, and constructing an optimal solution. Which sequence is correct?
Answer: (D) C, B, D, A
Explanation
Arrange LL(0), LR(0), SLR, LALR(1), and LR(1) parsers from least to greatest grammar-handling power.
Answer: (C) LL(0) → LR(0) → SLR → LALR(1) → LR(1)
Explanation
Arrange the steps of accessing a website after a user enters a URL: DNS resolution, HTTP request, URL entry, IP-address acquisition, and webpage display.
Answer: (D) C, A, D, B, E
Explanation
Arrange virtualization steps in a cloud environment: install a hypervisor, create virtual machines, allocate their resources, and run isolated workloads.
Answer: (B) A, B, C, D
Explanation
For knowledge-base design, arrange choosing a task domain, selecting atoms for propositions, axiomatizing the domain, and asking questions about the intended interpretation.
Answer: (A) C → A → D → B
Explanation
Arrange these genetic-algorithm actions: calculate population fitness, select parents, apply crossover, and mutate each locus.
Answer: (B) C → A → D → B
Explanation
Let P mean “she is intelligent” and Q mean “she is happy.” Which set correctly formalizes: intelligent implies unhappy; neither intelligent nor happy; being not intelligent is necessary for happiness; and not intelligent implies unhappy?
Answer: (C) P → ¬Q; ¬P ∧ ¬Q; Q → ¬P; ¬P → ¬Q
Explanation
For positive integers m and n, which statements are correct: n ≠ 1 implies m < mn; a composite k can be written k = mn with 1 < m,n > k; mn = 1 implies m = n = 1; and a composite k can be written k = mn with 1 < m,n < k?
Answer: (A) A, C, D only
Explanation
Which statements are true: write-through updates only cache; write-back updates cache and main memory together; private writable caches create coherence problems; and cache coherence can be solved by a hardware-only scheme?
Answer: (C) C and D only
Explanation
Which gate does not output 1 when both inputs are 0?
Answer: (D) XOR only
Explanation
Editorially repaired version of an ambiguous NTA item. Consider these XML statements:
A. XML has no predefined tag set, and users can define their own tags.
B. XML is used primarily for presentation.
C. XML is case-sensitive.
D. XML supports dynamic data representation.
Which statements are true?
Answer: (C) A, C, and D only
Explanation
Which pointer operations are legal in C?
Answer: (D) A and E only
Explanation
Once a process is executing, which events could not occur: issuing I/O then joining the ready queue; creating a child and waiting for it; time-slice expiry then joining the waiting queue; or interrupt-driven removal then joining the waiting queue?
Answer: (D) A, C, and D only
Explanation
Which statement about spinlock semaphores is correct?
Answer: (A) They are busy-waiting semaphores.
Explanation
Which cohesions are better than procedural cohesion?
Answer: (B) Functional, sequential, and communicational only
Explanation
Which are McCall quality factors: maintainability, usability, integrity, and functionality?
Answer: (D) A, B, and C only
Explanation
Which algorithms use a greedy strategy: Dijkstra's algorithm, Kruskal's algorithm, Huffman coding, and Bellman-Ford?
Answer: (B) A, B, and C only
Explanation
Which trees are height balanced: binary search tree, AVL tree, red-black tree, and B-tree?
Accepted answers: (C) C and D only, (D) B and C only
Explanation
Which are controlled-access protocols: reservation, polling, TDMA, token passing, and CSMA/CA?
Answer: (B) A, B, and D only
Explanation
Which are data-encoding schemes: NRZ, Manchester encoding, amplitude modulation, Hamming code, and bipolar AMI?
Answer: (D) A, B, and E only
Explanation
Which statements about agent systems are correct: an agent system comprises an agent and its environment; an agent controller receives percepts and sends commands; actuators are always reliable; and actuators convert stimuli into percepts?
Answer: (A) A and B only
Explanation
Which STRIPS statements are correct: it is feature-centric; world-state features are primitive and derived; an action has preconditions and effects; and it directly defines conditional effects?
Answer: (B) B and C only
Explanation
Editorially repaired version of an ambiguous NTA item. Which grammars are context-free but not regular?
| Grammar | Productions |
|---|---|
| A | S → Ab; aS → aA; A → a |
| B | S → Ab; A → Sa; A → a |
| C | S → AS; S → aA; A → a |
| D | S → Ab; S → aA; A → a |
| E | S → Sb; A → Aa; A → ε |
Answer: (C) C only
Explanation
The source prints 196 bits for Twofish; that typo is corrected to 256 bits below. Which encryption statements are true: symmetric-key cryptography requires secrecy of the key-generating function above the decrypting function; DES uses a 64-bit block and 56-bit key; Twofish uses a 128-bit block with variable keys up to 256 bits; and RC4 is a stream cipher operating on bits or bytes rather than blocks?
Answer: (D) B, C, and D only
Explanation
Editorially repaired version of an ambiguous NTA item. In the broad Knowledge Discovery in Databases (KDD) process, consider these statements:
A. Data transformation is involved.
B. An online database can serve as a data source for a data warehouse.
C. Classification is a measure of accuracy.
D. K-means clustering minimizes within-cluster variance.
E. Pattern evaluation identifies knowledge using interestingness measures.
Which statements are true?
Answer: (A) A, B, D, and E only
Explanation
Which serializability statements are true: conflict serializability means conflict equivalence to a serial schedule; view serializability means view equivalence to a serial schedule; serial schedules interleave participating transactions; and every conflict-serializable schedule is view-serializable but not conversely?
Answer: (C) A, B, and D only
Explanation
Match the statements about the Indian team with inverse, converse, contrapositive, and conditional forms.
| List I | List II |
|---|---|
| A. If the Indian team wins, then it is raining | I. Inverse |
| B. If the Indian team does not win, then it is not raining | II. Converse |
| C. If it is raining, then the Indian team wins | III. Contrapositive |
| D. If it is not raining, then the Indian team does not win | IV. Conditional |
Answer: (C) A-II, B-III, C-IV, D-I
Explanation
Match Types 3, 2, 1, and 0 grammars to their production restrictions.
| List I | List II |
|---|---|
| A. Type 3 Grammar | I. V → (V ∪ Σ)* |
| B. Type 2 Grammar | II. λVβ → λ(V ∪ Σ)*β, where (λ, β) ∈ (V ∪ Σ)* |
| C. Type 1 Grammar | III. (V ∪ Σ)* → (V ∪ Σ)* |
| D. Type 0 Grammar | IV. V → VΣ | Σ |
Answer: (C) A-IV, B-I, C-II, D-III
Explanation
Match address space, memory space, cache memory, and segmented program with associative mapping, logical address, physical address, and virtual address.
| List I | List II |
|---|---|
| A. Address Space | I. Associative Mapping |
| B. Memory Space | II. Logical address |
| C. Cache Memory | III. Physical address |
| D. Segmented Program | IV. Virtual address |
Answer: (A) A-IV, B-III, C-I, D-II
Explanation
Editorially repaired version of an NTA-dropped item. Treat the following descriptions as a one-to-one matching. Which mapping is correct?
| List I | List II |
|---|---|
| A. Overloading | I. An overridden method call is selected at runtime |
| B. Early binding | II. A function call is resolved at compile time |
| C. Method overriding | III. Supports compile-time polymorphism |
| D. Late binding | IV. Supports runtime polymorphism |
Answer: (A) A-III, B-II, C-I, D-IV
Explanation
Match oblique, cavalier, cabinet, and orthographic projection with their defining projection properties.
| List I | List II |
|---|---|
| A. Oblique projection | I. Perpendicular lines are foreshortened |
| B. Cavalier projection | II. Perpendicular lines are not foreshortened |
| C. Cabinet projection | III. Projectors are perpendicular to the plane |
| D. Orthographic projection | IV. Projector angle to plane is not 90° |
Answer: (B) A-IV, B-II, C-I, D-III
Explanation
Match clustered page table, hierarchical page table, segmentation, and inverted page table with their characteristics.
| List I | List II |
|---|---|
| A. Clustered Page Table | I. Generally inappropriate for 64-bit architectures |
| B. Hierarchical Page Table | II. One entry for each real page/frame |
| C. Segmentation | III. Useful for sparse address spaces |
| D. Inverted Page Table | IV. Supports a user view of the system |
Answer: (B) A-III, B-I, C-IV, D-II
Explanation
Match RAID levels 2, 3, 5, and 6 with their organizations.
| List I | List II |
|---|---|
| A. RAID Level 2 | I. Block-interleaved distributed parity |
| B. RAID Level 3 | II. P+Q redundancy scheme |
| C. RAID Level 5 | III. Bit-interleaved parity |
| D. RAID Level 6 | IV. Memory-style error-correcting code organization |
Answer: (A) A-IV, B-III, C-I, D-II
Explanation
Match reliability, efficiency, maintainability, and portability with their software-quality descriptions.
| Characteristic | Description |
|---|---|
| A. Reliability | I. Transfer between environments |
| B. Efficiency | II. Sustained performance over time |
| C. Maintainability | III. Performance relative to resources |
| D. Portability | IV. Effort needed for modification |
Answer: (B) A-II, B-III, C-IV, D-I
Explanation
Match equivalence partitioning, boundary-value analysis, cyclomatic complexity, and decision-table testing with their testing focus.
| Technique | Focus |
|---|---|
| A. Equivalence Partitioning | I. Independent code paths |
| B. Boundary Value Analysis | II. Valid/invalid input sets |
| C. Cyclomatic Complexity | III. Input-range limits |
| D. Decision Table Testing | IV. Action combinations and conditions |
Answer: (A) A-II, B-III, C-I, D-IV
Explanation
Match circular queue, priority queue, deque, and simple queue with their common applications.
| List I | List II |
|---|---|
| A. Circular Queue | I. Print Queue |
| B. Priority Queue | II. CPU Scheduling |
| C. Double Ended Queue | III. Dijkstra algorithm |
| D. Simple Queue | IV. Palindrome checking |
Answer: (B) A-II, B-III, C-IV, D-I
Explanation
Match chaining, linear probing, quadratic probing, and double hashing with their collision-handling strategies.
| Method | Strategy |
|---|---|
| A. Chaining | I. Check next slot |
| B. Linear Probing | II. Use second hash function |
| C. Quadratic Probing | III. Linked list at index |
| D. Double Hashing | IV. Quadratic step |
Answer: (C) A-III, B-I, C-IV, D-II
Explanation
Match count-to-infinity, IEEE 802.16, IEEE 802.15, and AODV with their networking associations.
| List I | List II |
|---|---|
| A. Count-to-infinity problem | I. Mobile Adhoc Networks |
| B. IEEE 802.16 | II. Distance-vector routing |
| C. IEEE 802.15 | III. WiMAX |
| D. AODV | IV. Bluetooth |
Answer: (B) A-II, B-III, C-IV, D-I
Explanation
Match digital signature, hash function, AES, and RSA with their security roles.
| List I | List II |
|---|---|
| A. Digital Signature | I. Asymmetric encryption algorithm |
| B. Hash Function | II. Confirms authenticity and integrity |
| C. AES | III. Produces a fixed-size digest |
| D. RSA | IV. Symmetric encryption algorithm |
Answer: (B) A-II, B-III, C-IV, D-I
Explanation
Match fuzzy-set intersection, bounded sum, bounded difference, and algebraic sum with their membership functions.
| Operation | Membership function |
|---|---|
| A. Intersection | I. μA(x) + μB(x) − μA(x)μB(x) |
| B. Bounded Sum | II. max(0, μA(x) − μB(x)) |
| C. Bounded Difference | III. min(1, μA(x) + μB(x)) |
| D. Algebraic Sum | IV. min(μA(x), μB(x)) |
Answer: (C) A-IV, B-III, C-II, D-I
Explanation
Match worst individual, best individual, sum of fitness, and median fitness termination criteria with their convergence descriptions.
| Criterion | Description |
|---|---|
| A. Worst Individual | I. At least half the individuals are at or above convergence value |
| B. Best Individual | II. Virtually all individuals are within a fitness range |
| C. Sum of Fitness | III. Entire population meets a minimum standard |
| D. Median Fitness | IV. At least one best solution / faster convergence |
Answer: (A) A-III, B-IV, C-II, D-I
Explanation
Which high-level program corresponds to the displayed three-address code?

Three-address code and its four high-level-code alternatives.
init = x/(y+2); limit = 10; while (i > j && num > b) { num = limit-1; b = y+2; i = i-num; } j = i-num; k = j+b;Answer: (D) init = x/(y+2); limit = 10; while (i > j && num > b) { num = limit-1; b = y+2; i = i-num; } j = i-num; k = j+b;
Explanation
What are the leaders for this three-address code?
100: t1 = y + 2
101: initial = x / t1
102: limit = 10
103: if i > j goto 105
104: goto 111
105: if num > b goto 107
106: goto 111
107: num = limit - 1
108: b = y + 2
109: i = i - num
110: goto 103
111: j = i - num
112: k = j + b
Answer: (D) 100, 103, 104, 105, 106, 107, 111
Explanation
Which displayed flow graph is correct for the given three-address code?

Four adjacency-matrix flow-graph alternatives for the three-address code.
Answer: (A) Adjacency-matrix option 1
Explanation
In the flow graph for the given three-address code, which blocks are dominated by Block 3 and Block 5?
Answer: (A) Block 3: 3; Block 5: 5
Explanation
Editorially repaired version of an NTA-dropped item. Consider this three-address code. Assume y is not reassigned between lines 100 and 108. Which single change is a semantics-preserving common-subexpression elimination?
100: t1 = y + 2
101: initial = x / t1
102: limit = 10
103: if i > j goto 105
104: goto 111
105: if num > b goto 107
106: goto 111
107: num = limit - 1
108: b = y + 2
109: i = i - num
110: goto 103
111: j = i - num
112: k = j + b
b = t1.num = limit - 1 before the test at line 105.k = i + b.i = i - limit - 1.Answer: (A) Replace only line 108 with b = t1.
Explanation
Using FCFS disk scheduling, what is the total head movement for request queue 45, 81, 185, 33, 175, 99, 150, 77 with initial head location 58?
Answer: (C) 647
Explanation
Using SSTF disk scheduling, what is the total head movement for request queue 45, 81, 185, 33, 175, 99, 150, 77 with initial head location 58?
Answer: (C) 177
Explanation
For SCAN moving left from initial head location 58, what is the second request processed for queue 45, 81, 185, 33, 175, 99, 150, 77?
Answer: (C) 33
Explanation
For C-SCAN moving right from initial head location 58, what is the total head movement for queue 45, 81, 185, 33, 175, 99, 150, 77?
Answer: (D) 385
Explanation
For C-LOOK moving right from initial head location 58, what is the second request processed for queue 45, 81, 185, 33, 175, 99, 150, 77?
Answer: (A) 81
Explanation
Paper 1 had 50 questions and Paper 2 (Computer Science & Applications) had 100 questions, for 150 in total across 3 hours.
No. Each correct answer earns 2 marks and there is no penalty for a wrong answer, so leaving a question blank is never better than attempting it.
Answers follow the official NTA answer key for this session. If you spot a discrepancy, use the report option inside the practice test and we will review it.
Yes. Every paper on this page has an "Attempt this paper" button that opens the same questions in the timed test interface, with instant scoring and weak-area analysis afterwards.
Want the full mock experience?
Attempt Paper 1 + Paper 2 (Computer Science & Applications) together in a single timed session.
Practice Paper 1 from other subjects
Every subject's exam sitting has its own Paper 1 (General Aptitude) set — more real PYQs to solve.