The complete UGC NET June 2019 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 2019 |
|---|---|
| Papers | Paper 1 (General Aptitude) and Paper 2 (Computer Science & Applications) |
| Exam date(s) | June 24, 2019 |
| 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 2019 · Computer Science & Applications sitting
50 questions with the answer key and explanations.
Which of the following statements explains the concepts of inclusive teaching ?
Answer: (D) Teacher makes the students of different backgounds to learn together in the same class.
Explanation
To organize discussion method in teaching effectively, which of the following conditions should be met ?
(1) Topic be easy
(2) Topic be declared in advance
(3) Topic of common interest
(4) Availability of more than one teacher
(5) Language facility of participate
Select appropriate answer from the options given below:
Answer: (A) (2), (3) and (5)
Explanation
Which of the following is a plagiarism website ?
Answer: (A) http://go.turnitin.com
Explanation
Which among the following best describes the Emotional Intelligence of learners ?
(1) Understand the emotion of other people and your own.
(2) Express oneself very strongly.
(3) Being rational in thinking.
(4) Adjusting one’s emotion as per situation.
(5) Being creative and open to criticism.
(6) Accepting other people as they are.
Choose your answer from the options given below:
Answer: (A) (1), (4) and (6)
Explanation
In which of the following research studies interpretation and meaning get more attention than formulation of generalisations?
(i) Historical studies
(ii) Survey studies
(iii) Philosophical studies
(iv) Ethnographic studies
(v) Hypothetico – deductive studies
(vi) Ex-post facto studies
Choose your answer from the options given below:
Answer: (D) (i), (iii) and (iv)
Explanation
Bibliography given in a research report
Answer: (A) Helps those interested in further research.
Explanation
The research design is specifically related to which of the following features in research ?
(i) Sample selection
(ii) Formulation of a plan
(iii) Deciding about the tool for data collection
(iv) Hypothesis making
(v) Choice of a field of inquiry
Select your answer from the options given below:
Answer: (B) (i), (ii) and (iii)
Explanation
Who developed the theory of ‘Multiple Intelligence’ ?
Answer: (D) Howard Gardner
Explanation
Through which research method, the manipulation of an independent variable and its effect on dependent variable is examined with reference to a hypothesis under controlled conditions ?
Answer: (D) Experimental research
Explanation
From the list of the effective teaching behaviours, identify those which are called key behaviours.
(i) Direct, audible and oral delivery to all students.
(ii) Encouraging students to elaborate on an answer.
(iii) Warm and nurturing relationships with learners.
(iv) Varying modes of presentation.
(v) Preventing misbehaviour with a minimum of class disruption.
(vi) Organising what is to come and summarising what has gone before.
Select your answer from the options given below:
Answer: (A) (i), (iv) and (v)
Explanation
What actually may be concluded from the passage ?
Michaelangelo is famous for having successfully interpreted the human body. His great achievement is that of the painting of David whose hands reach out as a sign of human capability and potential. It is assumed that the time he lived was ripe for exchange of knowledge, development in science and matured enough to advance the horizon of investigation in all fields. Renaissance humanism stressed on a serious rethink on the nature of art that focussed on accurate details. In painting and sculpture, artists focussed on not so casual but verifiable and minute details. Michaelangelo’s paintings are no exception to it. In a study published in the journal of the Royal Society of medicine, a group of surgeons are of the opinion that the great master was “afflicted by an illness involving his joints”. They have used his portraits as evidence to argue their view. During his life, he complained of what he felt to be ‘gout’. Later he complained of his sore and stiff hands which the doctors would find to be natural for someone who was engaged in handmade art. The doctors found corroboration of those claims in portraits of the artists that show a hanging left hand with both degenerative and non-degenerative changes. They attribute the pain not just to arthritis, but to the stress of hammering and chiseling and note that though the master was seen hammering days before his death at an old age, he did not write or sign his own letters before his death. In recent times there have been attempts to diagnose famous artists with diseases that were not known during their time. This practice has raised many questions, especially on the issue of ethics in research. It is also inferred from authentic analysis that Michaelangelo persisted in his work until his last days. This theory would emphasize that his artistic subject defied his physical infirmities.
Answer: (B) Excellence in any form triumphs over extraneous factors including physical ailments.
Explanation
What generalisations do people subscribe to ?
Michaelangelo is famous for having successfully interpreted the human body. His great achievement is that of the painting of David whose hands reach out as a sign of human capability and potential. It is assumed that the time he lived was ripe for exchange of knowledge, development in science and matured enough to advance the horizon of investigation in all fields. Renaissance humanism stressed on a serious rethink on the nature of art that focussed on accurate details. In painting and sculpture, artists focussed on not so casual but verifiable and minute details. Michaelangelo’s paintings are no exception to it. In a study published in the journal of the Royal Society of medicine, a group of surgeons are of the opinion that the great master was “afflicted by an illness involving his joints”. They have used his portraits as evidence to argue their view. During his life, he complained of what he felt to be ‘gout’. Later he complained of his sore and stiff hands which the doctors would find to be natural for someone who was engaged in handmade art. The doctors found corroboration of those claims in portraits of the artists that show a hanging left hand with both degenerative and non-degenerative changes. They attribute the pain not just to arthritis, but to the stress of hammering and chiseling and note that though the master was seen hammering days before his death at an old age, he did not write or sign his own letters before his death. In recent times there have been attempts to diagnose famous artists with diseases that were not known during their time. This practice has raised many questions, especially on the issue of ethics in research. It is also inferred from authentic analysis that Michaelangelo persisted in his work until his last days. This theory would emphasize that his artistic subject defied his physical infirmities.
Answer: (D) To retroactively diagnose famous artists and public figures of conditions that were not prevalent during their time.
Explanation
Renaissance painting in Europe was sceptical of
Michaelangelo is famous for having successfully interpreted the human body. His great achievement is that of the painting of David whose hands reach out as a sign of human capability and potential. It is assumed that the time he lived was ripe for exchange of knowledge, development in science and matured enough to advance the horizon of investigation in all fields. Renaissance humanism stressed on a serious rethink on the nature of art that focussed on accurate details. In painting and sculpture, artists focussed on not so casual but verifiable and minute details. Michaelangelo’s paintings are no exception to it. In a study published in the journal of the Royal Society of medicine, a group of surgeons are of the opinion that the great master was “afflicted by an illness involving his joints”. They have used his portraits as evidence to argue their view. During his life, he complained of what he felt to be ‘gout’. Later he complained of his sore and stiff hands which the doctors would find to be natural for someone who was engaged in handmade art. The doctors found corroboration of those claims in portraits of the artists that show a hanging left hand with both degenerative and non-degenerative changes. They attribute the pain not just to arthritis, but to the stress of hammering and chiseling and note that though the master was seen hammering days before his death at an old age, he did not write or sign his own letters before his death. In recent times there have been attempts to diagnose famous artists with diseases that were not known during their time. This practice has raised many questions, especially on the issue of ethics in research. It is also inferred from authentic analysis that Michaelangelo persisted in his work until his last days. This theory would emphasize that his artistic subject defied his physical infirmities.
Answer: (C) The case and decorative excess of earlier art.
Explanation
Michaelangelo lived during a time that lets us know that
Michaelangelo is famous for having successfully interpreted the human body. His great achievement is that of the painting of David whose hands reach out as a sign of human capability and potential. It is assumed that the time he lived was ripe for exchange of knowledge, development in science and matured enough to advance the horizon of investigation in all fields. Renaissance humanism stressed on a serious rethink on the nature of art that focussed on accurate details. In painting and sculpture, artists focussed on not so casual but verifiable and minute details. Michaelangelo’s paintings are no exception to it. In a study published in the journal of the Royal Society of medicine, a group of surgeons are of the opinion that the great master was “afflicted by an illness involving his joints”. They have used his portraits as evidence to argue their view. During his life, he complained of what he felt to be ‘gout’. Later he complained of his sore and stiff hands which the doctors would find to be natural for someone who was engaged in handmade art. The doctors found corroboration of those claims in portraits of the artists that show a hanging left hand with both degenerative and non-degenerative changes. They attribute the pain not just to arthritis, but to the stress of hammering and chiseling and note that though the master was seen hammering days before his death at an old age, he did not write or sign his own letters before his death. In recent times there have been attempts to diagnose famous artists with diseases that were not known during their time. This practice has raised many questions, especially on the issue of ethics in research. It is also inferred from authentic analysis that Michaelangelo persisted in his work until his last days. This theory would emphasize that his artistic subject defied his physical infirmities.
Answer: (A) Human aspirations are limitless and open to new vistas of knowledge.
Explanation
The controversy that the passage refers to is whether
Michaelangelo is famous for having successfully interpreted the human body. His great achievement is that of the painting of David whose hands reach out as a sign of human capability and potential. It is assumed that the time he lived was ripe for exchange of knowledge, development in science and matured enough to advance the horizon of investigation in all fields. Renaissance humanism stressed on a serious rethink on the nature of art that focussed on accurate details. In painting and sculpture, artists focussed on not so casual but verifiable and minute details. Michaelangelo’s paintings are no exception to it. In a study published in the journal of the Royal Society of medicine, a group of surgeons are of the opinion that the great master was “afflicted by an illness involving his joints”. They have used his portraits as evidence to argue their view. During his life, he complained of what he felt to be ‘gout’. Later he complained of his sore and stiff hands which the doctors would find to be natural for someone who was engaged in handmade art. The doctors found corroboration of those claims in portraits of the artists that show a hanging left hand with both degenerative and non-degenerative changes. They attribute the pain not just to arthritis, but to the stress of hammering and chiseling and note that though the master was seen hammering days before his death at an old age, he did not write or sign his own letters before his death. In recent times there have been attempts to diagnose famous artists with diseases that were not known during their time. This practice has raised many questions, especially on the issue of ethics in research. It is also inferred from authentic analysis that Michaelangelo persisted in his work until his last days. This theory would emphasize that his artistic subject defied his physical infirmities.
Answer: (B) Michaelangelo could contain his physical infirmity by artistic excellence.
Explanation
The proposition ‘No historians are non-mathematician’ is equivalent to which of the following proposition ?
Answer: (A) All historians are mathematicians.
Explanation
If the proposition ‘Houses are not bricks’ is taken to be False then which of the following propositions can be True ?
(1) All houses are bricks
(2) No house is brick
(3) Some houses are bricks
(4) Some houses are not bricks
Select the correct answer from the options given below:
Answer: (D) Statement (3) only
Explanation
The dance of the honeybee conveying to other bees where nector will be found is an example of
Answer: (B) Group communication
Explanation
‘All republics are grateful’ and ‘Some republics are not grateful’ cannot both be true, and they cannot both be false. This is called as
Answer: (B) contradictories
Explanation
Choose the correct sequence of communication from the options given below:
Answer: (C) Exposure – information – persuasion – behavioural change.
Explanation
Given below are two premises with four conclusions drawn from them. Which of the following conclusions could be validly drawn from the premises ?
Premises:
(i) No paper is pen
(ii) Some paper are handmade
Conclusions:
(a) All paper are handmade
(b) Some handmade are pen
(c) Some handmade are not pen
(d) All handmade are paper
Answer: (C) Some handmade are not pen
Explanation
If 152 is divided into four parts proportional to 3, 4, 5 and 7, then the smallest part is
Answer: (D) 24
Explanation
Identify the reasoning in the following argument:
‘Use of teaching aids in the classroom to enhance learning is important in a similar way as that of the use of ICT for production of knowledge’.
Answer: (B) Analogical
Explanation
Oar is to rowboat as foot is to
Answer: (C) skateboard
Explanation
Today’s media-society equation is largely
Answer: (C) Consumer conscious
Explanation
Which of the following is a function of mass media ?
Answer: (A) To transmit culture
Explanation
For all integers y > 1, ⟨y⟩ = 2y + (2y − 1) + (2y − 2) + ··· + 1. What is the value of ⟨3⟩ × ⟨2⟩ ? Where × is a multiplication operator?
Answer: (B) 210
Explanation
In a new budget, the price of petrol rose by 25 %. By how much percent must a person reduce his consumption so that his expenditure on it does not increase ?
Answer: (C) 20 %
Explanation
In a classroom situation, a teacher organises group discussion to help arrive at a solution of a problem. In terms of a model of communication used, it will be called
Answer: (A) A transactional model
Explanation
A sum of money doubles at compound interest in 6 years. In how many years will it become 16 times?
Answer: (B) 24 years
Explanation
What is the difference in the number of 40-inch Television sets sold in 2013 and 2018?
Consider the table that shows the number (in lakhs) of different sizes of LED television sets sold by a company over the seven years from 2012 to 2018:
| Year | 22" | 24" | 32" | 40" | 49" |
|---|---|---|---|---|---|
| 2012 | 85 | 154 | 124 | 112 | 118 |
| 2013 | 100 | 136 | 112 | 94 | 136 |
| 2014 | 106 | 124 | 85 | 115 | 145 |
| 2015 | 115 | 100 | 160 | 100 | 85 |
| 2016 | 100 | 85 | 145 | 85 | 100 |
| 2017 | 115 | 70 | 175 | 55 | 130 |
| 2018 | 125 | 95 | 170 | 110 | 155 |
Answer: (A) 1,600,000
Explanation
What was the approximate percentage increase/decrease in the sales of 32-inch LED. Television sets in 2017 compared to that in 2013?
Consider the table that shows the number (in lakhs) of different sizes of LED television sets sold by a company over the seven years from 2012 to 2018:
| Year | 22" | 24" | 32" | 40" | 49" |
|---|---|---|---|---|---|
| 2012 | 85 | 154 | 124 | 112 | 118 |
| 2013 | 100 | 136 | 112 | 94 | 136 |
| 2014 | 106 | 124 | 85 | 115 | 145 |
| 2015 | 115 | 100 | 160 | 100 | 85 |
| 2016 | 100 | 85 | 145 | 85 | 100 |
| 2017 | 115 | 70 | 175 | 55 | 130 |
| 2018 | 125 | 95 | 170 | 110 | 155 |
Answer: (B) 56%
Explanation
For which LED Television set is the total sales of all the seven years the minimum?
Consider the table that shows the number (in lakhs) of different sizes of LED television sets sold by a company over the seven years from 2012 to 2018:
| Year | 22" | 24" | 32" | 40" | 49" |
|---|---|---|---|---|---|
| 2012 | 85 | 154 | 124 | 112 | 118 |
| 2013 | 100 | 136 | 112 | 94 | 136 |
| 2014 | 106 | 124 | 85 | 115 | 145 |
| 2015 | 115 | 100 | 160 | 100 | 85 |
| 2016 | 100 | 85 | 145 | 85 | 100 |
| 2017 | 115 | 70 | 175 | 55 | 130 |
| 2018 | 125 | 95 | 170 | 110 | 155 |
Answer: (D) 40-inch Television
Explanation
For which size LED Television sets is the total sales of all the seven years the maximum?
Consider the table that shows the number (in lakhs) of different sizes of LED television sets sold by a company over the seven years from 2012 to 2018:
| Year | 22" | 24" | 32" | 40" | 49" |
|---|---|---|---|---|---|
| 2012 | 85 | 154 | 124 | 112 | 118 |
| 2013 | 100 | 136 | 112 | 94 | 136 |
| 2014 | 106 | 124 | 85 | 115 | 145 |
| 2015 | 115 | 100 | 160 | 100 | 85 |
| 2016 | 100 | 85 | 145 | 85 | 100 |
| 2017 | 115 | 70 | 175 | 55 | 130 |
| 2018 | 125 | 95 | 170 | 110 | 155 |
Answer: (C) 32-inch Television
Explanation
What is the total sale of Television sets of size 49-inches (in lakhs) over all the seven years?
Consider the table that shows the number (in lakhs) of different sizes of LED television sets sold by a company over the seven years from 2012 to 2018:
| Year | 22" | 24" | 32" | 40" | 49" |
|---|---|---|---|---|---|
| 2012 | 85 | 154 | 124 | 112 | 118 |
| 2013 | 100 | 136 | 112 | 94 | 136 |
| 2014 | 106 | 124 | 85 | 115 | 145 |
| 2015 | 115 | 100 | 160 | 100 | 85 |
| 2016 | 100 | 85 | 145 | 85 | 100 |
| 2017 | 115 | 70 | 175 | 55 | 130 |
| 2018 | 125 | 95 | 170 | 110 | 155 |
Answer: (D) 869
Explanation
Which of the following are priority areas in relation to the Sustainable Development Goals?
(1) No poverty
(2) Zero hunger
(3) Reducing urbanization
(4) Peace, Justice and strong institutions
Choose the correct answer from the options given below:
Answer: (D) (1), (2), (4)
Explanation
Which one of the following pairs LEAST matches in respect of computers?
Answer: (C) ROM : Rapid Online Memory
Explanation
Which of the following NOT correctly matched?
(i) Gyan darshan – Satelite based educational T.V. Channel
(ii) Gyan vani – Educational FM Radio network
(iii) MOOCs – Massive Open Online Credits
Choose the correct from the options given below :
Answer: (C) Only (ii)
Explanation
Algal blooms in oligotrophic lakes are
Answer: (C) very rare
Explanation
In post independence India, which one of the following Committee/Commission’s report deals with all levels of education in India?
Answer: (C) Kothari Commission
Explanation
In the last few years, India has been affected by which of the following tropical cyclones?
Answer: (C) Gaja, Hudbud, Ockhi
Explanation
Which of the following is a type of malware intentionally into a software system that will set off a malicious function when specified conditions are met?
Answer: (D) Logic bomb
Explanation
Which one of the following instructional designs is not a part of SWAYAM launched by Government of India?
Answer: (C) Physical interaction
Explanation
Assertion (A): Mathemoglobinemia is a condition in which blood is not able to carry and deliver enough oxygen to the body.
Reason (R): Consuming drinking water with high nitrate levels may cause methemoglobinemia
Choose the correct answer from the options given below :
Answer: (A) Both (A) and (R) are true and (R) is the correct explanation of (A)
Explanation
The present form of Inter University Board that was previously established for promoting cooperation and coordination among Universities is
Answer: (B) AIU
Explanation
Which of the following statement(s) is/are True in respect of Wireless Technology?
P : Bluetooth is a wireless technology which can be used to connect a headset to a mobile phone
Q : Bluetooth is a long range wireless technology and is a low cost means of data
Choose the correct answer from the options given below:
Answer: (A) P only
Explanation
Select the option that shows the storage devices in order of capacity from lowest to highest
Answer: (A) CD-ROM, DVD-ROM, Blu-ray
Explanation
The Education Commission of India that first took serious note of the problem of Brain Drain was
Answer: (A) The Education Commission of India
Explanation
Assertion (A): Higher concentration of ozone in the lower troposphere is desirable
Reason (R): Ozone present in the atmosphere protects the living organisms on the surface of earth from the harmful ultra-violet radiation of the sun.
Choose the correct answer from the options given below :
Answer: (D) (A) is false but (R) is true
Explanation
Select the true statement about an Operation System (OS)?
Answer: (C) An OS controal peripheral, and allocates memory and processor time
Explanation
100 questions with the answer key and explanations.
Consider a disk system with 100 cylinders. The requests to access the cylinders occur in the following sequence:
4, 34, 10, 7, 19, 73, 2, 15, 6, 20
Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if it takes 1 ms to move from the cylinder to adjacent one and the shortest seek time first policy is used?
Answer: (D) 119 ms
Explanation
On translating the expression given below into quadruple representation, how many operations are required?
(ij) + (e + f) * (ab + c)
Answer: (B) 6
Explanation
A fully connected network topology is a topology in which there is a direct link between all pairs of nodes. Given a fully connected network with n nodes, the number of direct links as a function of n can be expressed as
Answer: (D) n(n-1)/2
Explanation
The value of the derivative of Sigmoid function given by
f(x) = 1/(1 + e^(-2x))
at x = 0 is
Answer: (B) 1/2
Explanation
Which of the following statements is/are true?
P: An XML document with correct syntax as specified by W3C is called "Well Formed".
Q: An XML documented validated against a DTD is both "Well formed" and "Valid".
R: <?xml version="1.0" encoding="UTF-8"> is syntactly correct declaration for the version of an XML document.
Select the correct answer from the options given below:
Answer: (A) P and Q only
Explanation
Suppose that a computer program takes 100 seconds of execution time on a computer with multiplication operation responsible for 80 seconds of this time. How much do you have to improve the speed of multiplication operation if you are asked to execute this program four times faster?
Answer: (C) 16 times faster
Explanation
Software products need adaptive maintenance for which of the following reasons?
Answer: (B) When the customers need the product to run on new platforms
Explanation
What will be the number of states when a MOD-2 counter is followed by a MOD-5 counter?
Answer: (B) 10
Explanation
Suppose that the register A and the register K have the bit configuration. Only the three leftmost bits of A are compared with memory words because K has 1's in these positions. Because of its organization, this type of memory is uniquely suited to parallel searches by data association. This type of memory is known as
Answer: (C) content addressable memory
Explanation
In the TCP/IP model, encryption and decryption are functions of ______ layer.
Answer: (D) application
Explanation
The RSA encryption algorithm also works in reverse, that is, you can encrypt a message with the private key and decrypt it using the public key. This property is used in
Answer: (B) digital signatures
Explanation
The STRIPS representation is
Answer: (B) an action-centric representation
Explanation
Match List-I with List-II:
| List-I | List-II |
|---|---|
| (a) Greedy best-first | (i) Minimal cost (p) + h(p) |
| (b) Lowest cost-first | (ii) Minimal h(p) |
| (c) A* algorithm | (iii) Minimal cost (p) |
Answer: (D) (a)-(ii); (b)-(iii); (c)-(i)
Explanation
Which of the following is application of depth-first search?
Answer: (C) Both topological sort and strongly connected components
Explanation
What is the name of the protocol that allows a client to send a broadcast message with its MAC address and receive an IP address in reply?
Answer: (C) RARP
Explanation
How many states are there in a minimum state automata equivalent to regular expression given below?
Regular expression is a*b(a+b)
Answer: (D) 4
Explanation
Consider an LPP given as
Max Z = 2x₁ - x₂ + 2x₃
subject to the constraints
2x₁ + x₂ ≤ 10
x₁ + 2x₂ - 2x₃ ≤ 20
x₁ + 2x₃ ≤ 5
x₁, x₂, x₃ ≥ 0
What shall be the solution of the LPP after applying first iteration of the Simplex Method?
Answer: (B) x₁ = 0, x₂ = 0, x₃ = 5/2, Z = 5
Explanation
In relational database management, which of the following is/are property/properties of candidate key?
P: Uniqueness
Q: Irreducibility
Answer: (C) Both P and Q
Explanation
Match List-I with List-II:
| List-I | List-II |
|---|---|
| (a) p → q | (i) ¬(q → ¬p) |
| (b) p ∨ q | (ii) p ∧ ¬q |
| (c) p ∧ q | (iii) ¬p → q |
| (d) ¬(p → q) | (iv) ¬p ∨ q |
Answer: (D) (a)-(iv); (b)-(iii); (c)-(i); (d)-(ii)
Explanation
The ability to inject packets into the Internet with a false source address is known as
Answer: (D) IP spoofing
Explanation
A relation has two attributes Employee_id and Manager_id, where Employee_id is a primary key and manager_id is a foreign key referencing Employee_id with on-delete cascade:
On deleting the tuple (20, 40), the set of other tuples that must be deleted to maintain the referential integrity of table is
| Employee_id | Manager_id |
|---|---|
| 20 | 40 |
| 25 | 40 |
| 30 | 35 |
| 35 | 20 |
| 40 | 45 |
| 45 | 25 |
Answer: (B) (30, 35) and (35, 20) only
Explanation
Consider the following C-code fragment running on a 32-bit x86 machine:
typedef struct {
union {
unsigned char a;
unsigned short b;
} U;
unsigned char c;
} S;
S B[10];
S *p = &B[4];
S *q = &B[5];
p -> U.b = 0x1234; /* structure S takes 32-bits */
If M is the value of q - p and N is the value of ((int) &(p -> c)) - ((int)p), then (M, N) is
Answer: (C) (1, 2)
Explanation
Shift-reduce parser consists of
(a) input buffer
(b) stack
(c) parse table
Choose the correct option from those give below:
Answer: (D) (a), (b) and (c)
Explanation
Consider the following C++ function f():
unsigned int f(unsigned int n) {
unsigned int b = 0;
while (n) {
b += n & 1;
n >>= 1;
}
return b;
}
The function f() returns the int that represents the P in the binary representation of positive integer n, where P is
Answer: (D) number of 1's
Explanation
Match List-I with List-II:
| List-I | List-II |
|---|---|
| (a) Disk | (i) Thread |
| (b) CPU | (ii) Signal |
| (c) Memory | (iii) File system |
| (d) Interrupt | (iv) Virtual address space |
Answer: (B) (a)-(iii); (b)-(i); (c)-(iv); (d)-(ii)
Explanation
Which data structure is used by the compiler for managing variables and their attributes?
Answer: (C) Symbol table
Explanation
A computer has six tape drives with n processes competing for them. Each process may need two drives. What is the maximum value of n for the system to be deadlock free?
Answer: (A) 5
Explanation
You need 500 subnets, each with about 100 usable host addresses per subnet. What network mask will you assign using a class B network address?
Answer: (B) 255-255-255-128
Explanation
Consider a raster system with resolution 640 by 480. What size is frame buffer (in bytes) for this system to store 12 bits per pixel?
Answer: (A) 450 kilobytes
Explanation
In the context of software testing, which of the following statements is/are NOT correct?
P: A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.
Q: A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.
R: A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.
Answer: (A) R only
Explanation
Consider that a process has been allocated 3 frames and has a sequence of page referencing as 1, 2, 1, 3, 7, 4, 5, 6, 3, 1.
What shall be the difference in page faults for the above string using the algorithms of LRU and optimal page replacement for referencing the string?
Answer: (A) 2
Explanation
A processor can support a maximum memory of 4 GB where memory is word addressable and a word is 2 bytes. What will be the size of the address bus of the processor?
Answer: (C) Atleast 31 bits
Explanation
Which of the following are the primary objectives of risk monitoring in software project tracking?
P: To assess whether predicted risks do, in fact, occur
Q: To ensure that risk aversion steps defined for the risk are being properly applied
R: To collect information that can be used for future risk analysis
Answer: (D) All of P, Q, R
Explanation
With respect to relational algebra, which of the following operations are included from mathematical set theory?
(a) Join
(b) Intersection
(c) Cartisian product
(d) Project
Answer: (B) (b) and (c)
Explanation
The M components in MVC are responsible for
Answer: (C) business logic and domain objects
Explanation
For a statement
A language L ⊆ Σ* is recursive if there exists some turing machine M.
Which of the following conditions is satisfied for any string ω?
Answer: (C) If ω ∉ L, then M halts without reaching to acceptable state
Explanation
Which of the following statements is/are true?
P: In software engineering, defects that are discovered earlier are more expensive to fix.
Q: A software design is said to be a good design, if the components are strongly cohesive and weakly coupled.
Select the correct answer from the options given below:
Answer: (B) Q only
Explanation
Which of the following key constraints is required for functioning of foreign key in the context of relational databases?
Answer: (B) Primary key
Explanation
Consider the following:
(a) Evolution
(b) Selection
(c) Reproduction
(d) Mutation
Which of the following are found in genetic algorithms?
Answer: (C) (a), (b), (c) and (d)
Explanation
Find the zero-one matrix of the transitive closure of the relation given by the matrix A:
A = [1 0 1; 0 1 0; 1 1 0]
Answer: (A) [1 1 1; 0 1 0; 1 1 1]
Explanation
Which type of addressing mode, less number of memory references are required?
Answer: (A) Immediate
Explanation
Consider the game tree given below:
Here ○ and □ represents MIN and MAX nodes respectively.
The value of the root node of the game tree is

Game tree with alternating MIN and MAX nodes
Answer: (B) 7
Explanation
Hadoop (a big data tool) works with number of related tools. Choose from the following, the common tools included into Hadoop:
Answer: (C) Map reduce, H Base and Hive
Explanation
How can the decision algorithm be constructed for deciding whether context-free language L is finite?
(a) By constructing redundant CFG G in CNF generating language L
(b) By constructing non-redundant CFG G in CNF generating language L
(c) By constructing non-redundant CFG G in CNF generating language L - {ε} (ε stands for null)
Which of the following is correct?
Answer: (C) (c) only
Explanation
Consider the following steps:
S₁: Characterize the structure of an optimal solution
S₂: Compute the value of an optimal solution in bottom-up fashion
Which of the step(s) is/are common to both dynamic programming and greedy algorithms?
Answer: (A) Only S₁
Explanation
A fuzzy conjunction operator denoted as t(x, y) and a fuzzy disjunction operator denoted as s(x, y) form a dual pair if they satisfy the condition:
Answer: (C) t(x, y) = 1 - s(1-x, 1-y)
Explanation
You are designing a link layer protocol for a link with bandwidth of 1 Gbps (10⁹ bits/second) over a fiber link with length of 800 km. Assume the speed of light in this medium is 200000 km/second. What is the propagation delay in this link?
Answer: (D) 4 milliseconds
Explanation
How many cards must be selected from a standard deck of 52 cards to guarantee that at least three hearts are present among them?
Answer: (D) 42
Explanation
At a particular time of computation, the value of a counting semaphore is 7. Then 20 P (wait) operations and 15 V (signal) operations are completed on this semaphore. What is the resulting value of the semaphore?
Answer: (C) 2
Explanation
Software validation mainly checks for inconsistencies between
Answer: (C) detailed specifications and user requirements
Explanation
How many ways are there to place 8 indistinguishable balls into four distinguishable bins?
Answer: (B) 165
Explanation
Which of the following is principal conjunctive normal form for [(p ∨ q) ∧ ¬p → ¬q]?
Answer: (A) p ∨ ¬q
Explanation
Consider the poset ({3, 5, 9, 15, 24, 45}, |).
Which of the following is correct for the given poset?
Answer: (D) There does not exist a greatest element and a least element
Explanation
Which of the following problems is/are decidable problem(s) (recursively enumerable) on turing machine M?
(a) G is a CFG with L(G) = φ
(b) There exist two TMs M₁ and M₂ such that L(M) ⊆ {L(M₁) ∪ L(M₂)} = language of all TMs
(c) M is a TM that accepts ω using at most 2^{|ω|} cells of tape
Answer: (B) (a) only
Explanation
How many address lines and data lines are required to provide a memory capacity of 16K × 16?
Answer: (C) 14, 16
Explanation
In relational databases, if relation R is in BCNF, then which of the following is true about relation R?
Answer: (D) R is in 2NF and 3NF
Explanation
Match List-I with List-II:
where L₁: Regular language
L₂: Context-free language
L₃: Recursive language
L₄: Recursively enumerable language
| List-I | List-II |
|---|---|
| (a) L̄₃ ∪ L₄ | (i) Context-free language |
| (b) L̄₂ ∪ L₃ | (ii) Recursively enumerable language |
| (c) L₁* ∩ L₂ | (iii) Recursive language |
Answer: (B) (a)-(ii); (b)-(iii); (c)-(i)
Explanation
K-mean clustering algorithm has clustered the given 8 observations into 3 clusters after 1st iteration as follows:
C1: {(3, 3), (5, 5), (7, 7)}
C2: {(0, 6), (6, 0), (3, 0)}
C3: {(8, 8), (4, 4)}
What will be the Manhattan distance for observation (4, 4) from cluster centroid C1 in second iteration?
Answer: (A) 2
Explanation
Reinforcement learning can be formalized in terms of ______ in which the agent initially only knows the set of possible ______ and the set of possible actions.
Answer: (C) Markov decision processes, states
Explanation
There are many sorting algorithms based on comparison. The running time of heapsort algorithm is O(n lg n). Like P, but unlike Q, heapsort sorts in place where (P, Q) is equal to
Answer: (D) Insertion sort, Merge sort
Explanation
Consider the Euler’s phi function given by
φ(n) = n ∏(1 - 1/p)
where p runs over all the primes dividing n. What is the value of φ(45)?
Answer: (D) 24
Explanation
Consider the following properties with respect to a flow network G = (V, E), in which a flow is a real-valued function f : V × V → R:
P₁: For all u, v ∈ V, f(u, v) = -f(v, u)
P₂: ∑ᵤ ∈ V f(u, v) = 0 for all u ∈ V
Which one of the following is/are correct?
Answer: (A) Only P₁
Explanation
For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due to
Answer: (B) arm starting or stopping inertia
Explanation
The fault can be easily diagnosed in the micro-program control unit using diagnostic tools by maintaining the contents of
Answer: (D) flags, registers and counters
Explanation
Replacing the expression 4 * 2.14 by 8.56 is known as
Answer: (A) constant folding
Explanation
Suppose that a connected planar graph has six vertices, each of degree four. Into how many regions is the plane divided by a planar representation of this graph?
Answer: (B) 8
Explanation
For which values of m and n does the complete bipartite graph K_{m,n} have a Hamilton circuit?
Answer: (C) m = n, m, n ≥ 2
Explanation
How many different Boolean functions of degree n are there?
Answer: (A) 2^(2^n)
Explanation
Consider the following statements regarding 2D transforms in computer graphics:
S1: [1 0; 0 -1] is a 2×2 matrix that reflects (mirrors) any 2D point about the X-axis.
S2: A 2×2 matrix which mirrors any 2D point about the X-axis, is a rotation matrix.
What can you say about the statements S1 and S2?
Answer: (B) Only S1 is true
Explanation
Which of the following statements is/are true with regard to various layers in the Internet stack?
P: At the link layer, a packet of transmitted information is called a frame.
Q: At the network layer, a packet of transmitted information is called a segment.
Answer: (A) P only
Explanation
Which of the following is best running time to sort n integers in the range 0 to n² - 1?
Answer: (B) O(n)
Explanation
What percentage (%) of the IPv4, IP address space do all class C addresses consume?
Answer: (A) 12.5%
Explanation
Consider the equation (146)ᵦ + (313)ᵦ₋₂ = (246)₈. Which of the following is the value of b?
Answer: (B) 7
Explanation
Match List-I with List-II:
List-I (Software Process Models)
(a) Waterfall model
(b) Incremental development
(c) Prototyping
(d) RAD
List-II (Software Systems)
(i) e-business software that starts with only the basic functionalities and then moves on to more advanced features
(ii) An inventory control system for a super-market to be developed within three months
(iii) A virtual reality system for simulating vehicle navigation in a highway
(iv) Automate the manual system for student record maintenance in a school
| List-I (Software Process Models) | List-II (Software Systems) |
|---|---|
| (a) Waterfall model | (iv) Automate the manual system for student record maintenance in a school |
| (b) Incremental development | (i) e-business software that starts with only the basic functionalities and then moves on to more advanced features |
| (c) Prototyping | (iii) A virtual reality system for simulating vehicle navigation in a highway |
| (d) RAD | (ii) An inventory control system for a super-market to be developed within three months |
Answer: (D) (a)-(iv); (b)-(i); (c)-(iii); (d)-(ii)
Explanation
Software reuse is
Answer: (B) the process of using existing software artifacts and knowledge to build new software
Explanation
Which of the following UNIX/Linux pipes will count the number of lines in all the files having .c and .h as their extension in the current working directory?
Answer: (D) cat *.[ch] | wc -l
Explanation
Consider the following pseudo-code fragment in which an invariant for the loop is "m*x^k = p^n and k ≥ 0" (here, p and n are integer variables that have been initialized):
/* Pre-conditions: p ≥ 1 ∧ n ≥ 0 */
/* Assume that overflow never occurs */
int x = p; int k = n; int m = 1;
while (k <> 0) {
if (k is odd) then m = m*x;
x = x*x;
k = [k/2]; /* floor(k/2) */
}
Which of the following must be true at the end of the while loop?
Answer: (B) m = p^n
Explanation
Which of the following statements is/are true?
P: In a scripting language like JavaScript, types are typically associated with values, not variables.
Q: It is not possible to show images on a web page without the <img> tag of HTML.
Select the correct answer from the options given below:
Answer: (A) P only
Explanation
Which of the following features is supported in the relational database model?
Answer: (C) Associations with multiplicities
Explanation
Match List-I with List-II:
| List-I | List-II |
|---|---|
| (a) Prim's algorithm | (i) O(V³ log V) |
| (b) Dijkstra's algorithm | (ii) O(VE²) |
| (c) Faster all-pairs shortest path | (iii) O(E lg V) |
| (d) Edmonds-Karp algorithm | (iv) O(V²) |
Answer: (B) (a)-(iii); (b)-(iv); (c)-(i); (d)-(ii)
Explanation
How many bit strings of length ten either start with a 1 bit or end with two bits 00?
Answer: (C) 640
Explanation
Consider double hashing of the form
h(k, i) = (h₁(k) + i h₂(k)) mod m
where h₁(k) = k mod m
h₂(k) = 1 + (k mod n)
where n = m - 1 and m = 701
For k = 123456, what is the difference between first and second probes in terms of slots?
Answer: (C) 257
Explanation
Consider the following methods:
M₁: Mean of maximum
M₂: Centre of area
M₃: Height method
Which of the following is/are defuzzification method(s)?
Answer: (D) M₁, M₂ and M₃
Explanation
Using the phong reflectance model, the strength of the specular highlight is determined by the angle between
Answer: (D) the reflected vector and the view vector
Explanation
Let Aα₀ denotes the α-cut of a fuzzy set A at α₀. If α₁ < α₂, then
Answer: (A) Aα₁ ⊇ Aα₂
Explanation
What is the output of the following JAVA program?
public class Good {
private int m;
public Good(int m) { this.m = m; }
public Boolean equals(Good n) { return n.m == m; }
public static void main (String args []){
Good m₁ = new Good(22);
Good m₂ = new Good(22);
Object s₁ = new Good(22);
Object s₂ = new Good(22);
System.out.println(m₁.equals(m₂));
System.out.println(s₁.equals(s₂));
System.out.println(m₁.equals(s₂));
System.out.println(s₁.equals(m₁));
}
}
Answer: (D) True, False, False, False
Explanation
Consider the following grammar:
S → XY
X → YaY | a and Y → bbX
Which of the following statements is/are true about the above grammar?
(a) Strings produced by the grammar can have consecutive three a's.
(b) Every string produced by the grammar have alternate a and b.
(c) Every string produced by the grammar have at least two a's.
(d) Every string produced by the grammar have b's in multiple of 2.
Answer: (D) (c) and (d) only
Explanation
The parallel bus arbitration technique uses an external priority encoder and a decoder. Suppose, a parallel arbiter has 5 bus arbiters. What will be the size of priority encoder and decoder respectively?
Answer: (D) 8×3, 3×8
Explanation
Which of the following is an example of unsupervised neural network?
Answer: (D) Self-organizing feature map
Explanation
Which of the following are NOT shared by the threads of the same process?
(a) Stack
(b) Registers
(c) Address space
(d) Message queue
Answer: (C) (a) and (b)
Explanation
Consider the following two statements with respect to IPv4 in computer networking:
P: The loopback (IP) address is a member of class B network.
Q: The loopback (IP) address is used to send a packet from host to itself.
What can you say about the statements P and Q?
Answer: (B) P-False; Q-True
Explanation
Which of the following statements are DML statements?
(a) Update [tablename]
Set [columnname] = VALUE
(b) Delete [tablename]
(c) Select * from [tablename]
Answer: (C) (a), (b) and (c)
Explanation
A Web application and its support environment has not been fully fortified against attack. Web engineers estimate that the likelihood of repelling an attack is only 30 percent. The application does not contain sensitive or controversial information, so the threat probability is 25 percent. What is the integrity of the web application?
Answer: (D) 0.825
Explanation
Consider the following statements:
S₁: For any integer n > 1, a^φ(n) ≡ 1 (mod n) for all a ∈ Z_n*, where φ(n) is Euler's phi function.
S₂: If p is prime, then a^p ≡ 1 (mod p) for all a ∈ Z_p*.
Which one of the following is/are correct?
Answer: (A) Only S₁
Explanation
The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by
Answer: (C) the instruction set architecture
Explanation
Consider the complexity class CO - NP as the set of languages L such that L̄ ∈ NP, and the following two statements:
S₁: P ⊆ CO-NP
S₂: If NP ≠ CO-NP, then P ≠ NP
Which of the following is/are correct?
Answer: (C) Both S₁ and S₂
Explanation
Consider three CPU intensive processes, which require 10, 20 and 30 units of time and arrive at times 0, 2 and 6 respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.
Answer: (B) 2
Explanation
Which of the following has same expressive power with regard to relational query language?
(a) Relational algebra and domain relational calculus
(b) Relational algebra and tuples relational calculus
(c) Relational algebra and domain relational calculus restricted to safe expression
(d) Relational algebra and tuples relational calculus restricted to safe expression
Answer: (B) (c) and (d) only
Explanation
In the context of 3D computer graphics, which of the following statements is/are true?
P: Orthographic transformations keep parallel lines parallel.
Q: Orthographic transformations are affine transformations.
Select the correct answer from the options given below:
Answer: (A) Both P and Q
Explanation
Which of the following terms best describes Git?
Answer: (C) Distributed Version Control System
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.