570 Computer Science questions asked in UGC NET previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
Q151UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statements is FALSE about weak entity set?
AWeak entities can be deleted automatically when their strong entity is deleted
BWeak entity set avoids the data duplication and consequent possible inconsistencies caused by duplicating the key of the strong entity
CA weak entity set has no primary keys unless attributes of the strong entity set on which it depends are included
DTuples in a weak entity set are not partitioned according to their relationship with tuples in a strong entity set
Show answerHide answer
Correct answer: (D) Tuples in a weak entity set are not partitioned according to their relationship with tuples in a strong entity set
Explanation
We have weak entities for several reasons : • We want to avoid the data duplication and consequent entity. Possible inconsistencies caused by duplicating the key of strong. • Weak entities be stored physically with their strong entities • Weak entities can be detected automatically when their strong entity is detected. So (d) is incorrect statement, Hence (d) is the answer.
Q152UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
An assertion is a predicate expressing a condition we wish database to always satisfy. The correct syntax for Assertion is :
CREATE ASSERTION <assertion name> CHECK <predicate> is the proper syntax. For example, an assertion demanding that there is no more than one president among the employees: CREATE ASSERTION AT_MOST_ONE_PRESIDENT CHECK ((SELECT COUNT(*) FROM EMP e WHERE e.job = 'PRESIDENT') <= 1).
Q153UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following concurrency protocol ensures both conflict serializability and freedom from deadlock?
(1) 2-phase Locking
(2) Time stamp - ordering
ABoth (1) and (2)
B(1) only
C(2) only
DNeither (1) nor (2)
Show answerHide answer
Correct answer: (C) (2) only
Explanation
In basic two-phase locking there is a chance of deadlock. The timestamp-ordering protocol ensures conflict serializability and, since no transaction waits, it is free from deadlock. So the answer is (2) only.
Q154UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is not associated with the session layer?
ADialog control
BToken management
CSemantics of the information transmitted
DSynchronization
Show answerHide answer
Correct answer: (C) Semantics of the information transmitted
Explanation
Semantics of the information transmitted is not associated with the session layer but associated with presentation layer So correct option is (c).
Q155UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is/are restriction (s) in classless addressing?
AThe number of addresses needs to be power of 2
BThe mask needs to be include in the address to define the block
CThe starting address must be divisible by the number of addresses in the block
DAll of the above
Show answerHide answer
Correct answer: (D) All of the above
Explanation
In class addressing : (1) the number of addresses needs to be power of 2 (2) The mask needs to be included in the address to define the block (3) The starting address must be divisible by the number of addresses in block So answer is (d)
Q156UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statement is incorrect for parallel virtual machine (PVM)?
AThe PVM communication model asynchronous blocking send, asynchronous blocking receive, and non-blocking receive function.
BMessage buffers are allocated dynamically
CThe PVM communication model assumes that any task can send a message to any other PVM task and that there is no limit to the size or number of such messages
DIn PVM model, the message order is not preserved.
Show answerHide answer
Correct answer: (D) In PVM model, the message order is not preserved.
Explanation
PVM provides fault tolerance through dynamic addition and deletion of hosts/processes, and message buffers are allocated dynamically. PVM guarantees that message order between any pair of tasks is preserved, so statement (d) is incorrect.
Q157UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following protocols is an application layer protocol that establish, manages and terminates multimedia sessions?
ASession maintenance protocol
BReal – time streaming protocol
CReal – time transport control protocol
DSession Initiation protocol
Show answerHide answer
Correct answer: (D) Session Initiation protocol
Explanation
Session initiation protocol is an application layer control protocol that can establish, modify & terminate multimedia sessions such as internet telephony calls.
Q158UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Match the following port numbers with their uses :
List - I
(A) 23
(B) 25
(C) 80
(D) 119
List - II
(i) World wide web
(ii) Remote login
(iii) USENET news
(iv) E-mail
Codes : A B C D
A(iv) (i) (ii) (iii)
B(ii) (i) (iv) (iii)
C(ii) (iv) (iii) (i)
D(ii) (iv) (i) (iii)
Show answerHide answer
Correct answer: (D) (ii) (iv) (i) (iii)
Explanation
23 port number is (TELNET) that uses by remote login 25 port number is (SMTP) that uses by E-mail 80 port number is (HTTP) that uses by world wide web 119 port number is used by USENET news
Q159UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
What is the size of the 'total length' in IPv4 datagram?
A4 bits
B8 bits
C16 bits
D32 bits
Show answerHide answer
Correct answer: (C) 16 bits
Explanation
Total length 16 bit field define the entire packet size in IPv4, including header and data, in bytes. The minimum length packet is 20 bytes (20 byte header. + 0 byte data) and maximum is 65, 535 bytes the maximum value of a 16 bit word.
Q160UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which process model is also called as classic life cycle model?
AWaterfall model
BRAD model
CPrototyping model
DIncremental model
Show answerHide answer
Correct answer: (A) Waterfall model
Explanation
The waterfall model was first process model to be introduce. • It is also referred as linear sequential life cycle model • It is very simple to understand and use. In this each phase must be complicated fully before the next phase can begin. • In this model the testing stands only after the development is complete • In this model phases do not overlap
Q161UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Match the following :
List - I
(A) Size-oriented metrics
(B) Function-oriented metrics
(C) Extended function point metrics
(D) Function point
List - II
(i) Uses number of external interfaces as one of the measurement parameter
(ii) Originally designed to be applied to business information system
(iii) Derived by normalizing quality and/or productivity measures by considering the size of the software
(iv) uses algorithm characteristics as one of the measurement parameter
Codes : A B C D
A(iii) (iv) (i) (ii)
B(ii) (i) (iv) (iii)
C(iv) (ii) (iii) (i)
D(iii) (i) (iv) (ii)
Show answerHide answer
Correct answer: (D) (iii) (i) (iv) (ii)
Explanation
(a) Size oriented metrics is directly implied with (iii) (b) Function oriented metrics is number of user inputs, number of user outputs, number of files, number of external interfaces. So it satisfies (i) (c) Extended function point metrics is a superset of the function point measure that can be applied to system. It uses algorithm characteristics as one of the measurement parameter. (d) Function point is a "unit of measurement" to express the amount of business functionality an information provides to a user.
Q162UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which one from the following is highly associated activity of project planning?
AKeep track of the project progress
BCompare actual and planned progress and costs
CIdentify the activities, milestones and deliverables produced by a project
DBoth (b) and (c)
Show answerHide answer
Correct answer: (C) Identify the activities, milestones and deliverables produced by a project
Explanation
Project planning means identifying the activities, milestones and deliverables produced by a project. It is commonly perceived as creating a Gantt chart, which is incorrect; a Gantt chart is merely a visual representation of the project schedule.
Q163UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Cohesion is an extension of :
AAbstraction concept
BRefinement concept
CInformation hiding concept
DModularity
Show answerHide answer
Correct answer: (C) Information hiding concept
Explanation
A cohesion module performs a single task within a software procedure, requiring little interaction with little procedures in other parts of software. Type of cohesion : • A module that performs takes that are related logically is logically cohesion • When a module contains takes that are related by the fact that all must be executed with the same span of time, the exhibits temporal cohesion • At the low end of the spectrum, a module that performs a set of takes that relate to each other loosely called coincidentally cohesive.
Q164UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In which testing strategy requirements established during requirements analysis are validated against developed software?
AValidation testing
BIntegration testing
CRegression testing
DSystem testing
Show answerHide answer
Correct answer: (A) Validation testing
Explanation
Validation is "Are we building the right product? According to the capability maturity model Software validation : The process of evaluating software during or at the end of the development process to determine whether it satisfies specified requirements.
Q165UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
When the inheritance is private, the private methods in base class are _______ in the derived class (in C++).
AInaccessible
BAccessible
CProtected
DPublic
Show answerHide answer
Correct answer: (A) Inaccessible
Explanation
Inaccessible in the derived class, only public or protected members are inherited So answer is (a)
Q166UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following in C++, is inherited in a derived class from base class?
AConstructor
BDestructor
CData Members
DVirtual Methods
Show answerHide answer
Correct answer: (C) Data Members
Explanation
Data members in C++ is inherited in a derived class from base class. Constructor is a member function of a class which initialize objects of a class. In C++, constructor is automatically called when object create. It is special member function of the class. Destructor is a member function which destructs or deletes an object. Virtual methods is a method which is redefined (over- ridden) in derived class.
Q167UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following is incorrect in C++?
AWhen we write overloaded function we must code the function for each usage
BWhen we write function template we code the function only once
CIt is difficult to debug macros
DTemplates are more efficient than macros
Show answerHide answer
Correct answer: (D) Templates are more efficient than macros
Explanation
The first three statements are correct; the fourth is incorrect. Templates are more powerful and obey C++ syntactic rules, whereas macros do not, but templates take more compilation time and code size, so templates are not more efficient than macros.
Q168UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
For the 8-bit word 00111001, the check bits stored with it would be 0111. Suppose when the word is read from memory, the check bits are calculated to be 1101. What is the data word that was read from memory?
A10011001
B00011001
C00111000
D11000110
Show answerHide answer
Correct answer: (B) 00011001
Explanation
Data bits: d₈ = 0, d₇ = 0, d₆ = 1, d₅ = 1, d₄ = 1, d₃ = 0, d₂ = 0, d₁ = 1. Stored check bits p₈p₄p₂p₁ = 0111. Codeword layout (positions 12 to 1): d₈ d₇ d₆ d₅ p₈ d₄ d₃ d₂ p₄ d₁ p₂ p₁. Syndrome = 0111 XOR 1101 = 1010 = 10, so bit position 10, which holds d₆, is in error. Flipping d₆ gives the word that was read: 00011001.
Q169UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The equivalent hexadecimal notation for octal number 2550276 is :
Q170UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The number of flip-flops required to design a modulo – 272 counter is :
A8
B9
C27
D11
Show answerHide answer
Correct answer: (B) 9
Explanation
Remember with 'n' number of flip-flop you can get upto maximum modulo - (2ⁿ) counter. Since 2⁹ = 512 > 272 it can satisfy the condition.
Q171UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Consider a 32-bit microprocessor, with a 16 - bit external data bus, driven by an 8 MHz input clock. Assume that this microprocessor has a bus cycle whose minimum duration equals four input clock cycles. What is the maximum data transfer rate for this microprocessor?
A8 × 10⁶ bytes/sec
B4 × 10⁶ bytes/sec
C16 × 10⁶ bytes/sec
D4 × 10⁹ bytes/sec
Show answerHide answer
Correct answer: (B) 4 × 10⁶ bytes/sec
Explanation
Since minimum bus cycle duration = 4 clock cycle bus clock = 8 MHZ then, maximum bus cycle rate = 8 m/4sec = 2m/sec Data transferred per bus cycle = 16 bit = 2 B Data transfer rate per second = bus cycle rate × data per bus cycle = 2 M × 2 = 4 × 10⁶ bytes/sec So, option (b) is correct.
Q172UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The CPU a system having 1 MIPS execution needs 4 machine cycles on an average for executing an instruction. The fifty percent of the cycles use memory bus. A memory read/write employs one machine cycle. For execution of the programs, the system utilizes 90 percent of the CPU time. For block data transfer, an IO device in attached to the system while CPU executes the background programs continuously. What is the maximum I/O data transfer rate if programmed I/O data transfer technique is used?
A500 Kbytes/sec
B2.2 Mbytes/sec
C125Kbytes/sec
D250 Kbytes/sec
Show answerHide answer
Correct answer: (D) 250 Kbytes/sec
Explanation
CPU speed is 1 MIPS = 10⁶ instructions per second. With programmed I/O, each byte transferred needs about one instruction-equivalent of 4 machine cycles (status check, branch, read/write data), so the maximum transfer rate = 10⁶ / 4 = 250,000 bytes/sec = 250 Kbytes/sec.
Q173UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In the indexed scheme of blocks to a file, the maximum possible size of the file depends on :
AThe number of blocks used for index and the size of index
BSize of Block and size of Address
CSize of index
DSize of Block
Show answerHide answer
Correct answer: (B) Size of Block and size of Address
Explanation
Number of pointers that can be stored in the index block – which depends on the size of the index block and the size of each address. Size of each data block – because each pointer points to a block, so the larger the block size, the more data each pointer represents.
Q174UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
An all-pairs shortest-paths problem is efficiently solved using :
ADijkstra' algorithm
BBellman-Ford algorithm
CKruskal algorithm
DFloyd-Warshall algorithm
Show answerHide answer
Correct answer: (D) Floyd-Warshall algorithm
Explanation
The Floyd-Warshall algorithm solves the all-pairs shortest-paths problem efficiently in O(n³) time using dynamic programming.
Q175UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The travelling salesman problem can be solved in :
APolynomial time using dynamic programming algorithm
BPolynomial time using branch-and-bound algorithm
CExponential time using dynamic programming algorithm or branch-and-bound algorithm
DPolynomial time using backtracking algorithm
Show answerHide answer
Correct answer: (C) Exponential time using dynamic programming algorithm or branch-and-bound algorithm
Explanation
It will be solved by using branch and bound technique. The travelling salesman problem is NP- complete problem. It can also be solved by- one of the earliest application of dynamic programming is the Held-Karp algorithm to solve TSP in time O(n².2ⁿ).
Q176UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statements is true for branch - and - bound search?
AUnderestimates of remaining distance may cause deviation from optimal path
BOverestimates can't cause right path to be overlooked.
CDynamic programming principle can be used to discard redundant partial paths.
DAll of the above
Show answerHide answer
Correct answer: (C) Dynamic programming principle can be used to discard redundant partial paths.
Explanation
Branch and bound is an algorithm design paradigm for discrete and combinatorial optimization problems; it systematically enumerates candidate solutions by state space search. In branch and bound, the dynamic programming principle can be used to discard redundant partial paths.
Q177UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
AInheritance
BPolymorphism
CEncapsulation
DAbstraction
Show answerHide answer
Correct answer: (C) Encapsulation
Explanation
The golden rule in module design is to maximize cohesion and minimize coupling. Encapsulation is the key to implementing this rule.
Q178UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In Java , when we implement an interface method, it must be declared as :
APrivate
BProtected
CPublic
DFriend
Show answerHide answer
Correct answer: (C) Public
Explanation
Interface: It is used to provide total abstraction. That means all the methods in interface are declared with empty body and are public and all fields are public, static and final default.
Q179UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which one of the following is correct?
AJava applets can be written in any programming language
BAn applet is not a small program
CAn applet can be run on its own
DApplets are embedded in another applications
Show answerHide answer
Correct answer: (D) Applets are embedded in another applications
Explanation
An applet is a small program that is intended not to be run on its own, but rather to be embedded inside-another application.
Q180UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statements is not true for multi level feedback queue processor scheduling algorithm?
AQueues have different priorities
BEach queue may have different scheduling algorithm
CProcesses are permanently assigned to a queue
DThis algorithm can be configured to match a specific system under design
Show answerHide answer
Correct answer: (C) Processes are permanently assigned to a queue
Explanation
Processes are not permanently assigned to a queue they can vary between queues as their priorities change
Q181UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
What is the most appropriate function of Memory management Unit (MMU)?
AIt is an associative memory to store TLB
BIt is a technique of supporting multiprogramming by creating dynamic partitions
CIt is a chip to map virtual address to physical address
DIt is an algorithm to allocate and deallocate main memory to a process
Show answerHide answer
Correct answer: (C) It is a chip to map virtual address to physical address
Explanation
Memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a computer hardware unit having all memory references passing through itself, primarily performing the translation of virtual memory addresses to physical addresses. It is usually implemented as part of the central processing unit (CPU), but it also can be in the form of a separate integrated circuit. So we can say it is a chip to map virtual address to physical address
Q182UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In _____ allocation method for disk block allocation in a file system, insertion and deletion of blocks in a file is easy.
AIndex
BLinked
CContiguous
DBit Map
Show answerHide answer
Correct answer: (B) Linked
Explanation
Just like linked list where insertion, deletion of blocks is easy. In linked allocation only pointer needs to be changed. In linked allocation each file is a linked list of disk blocks. The directory contains a pointer to the first block of the file, for example, a file of 5 blocks which starts at block 4, might continuous at block 7, then block 16, block 10, 8 finally block 27. Each block constrains a pointer to the next block & the last block contains a NIL-pointer. The value-1 may be used for NIL to differential it from block 0.
Q183UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
WOW32 is a :
AWin 32 API library for creating processes and threads
BSpecial kind of file system to the NT name space
CKernel - mode objects accessible through Win 32 API
DSpecial execution environment used to run 16 bit Window applications on 32-bit machines
Show answerHide answer
Correct answer: (D) Special execution environment used to run 16 bit Window applications on 32-bit machines
Explanation
Wow 32 is a running environment used in windows to run 16 bit windows application on a 32 bit machine
Q184UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The Unix command : $ vi file1 file2
AEdits file1 and stores the contents of file1 in file2
BBoth files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
CBoth files can be edited using 'mv' command to move between the files
DEdits file1 first, saves it and then edits file2
Show answerHide answer
Correct answer: (B) Both files i.e. file1 and file2 can be edited using 'ex' command to travel between the files
Explanation
You can edit more than one file at a time with vi. vi file1 file2 vi two (or more) files at the same time.
Q185UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A Unix file may be of the type :
ARegular file
BDirectory file
CDevice file
DAny one of the above
Show answerHide answer
Correct answer: (D) Any one of the above
Explanation
A Unix file may be of any of the type like regular file, directory file, or device file.
Q186UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Let E₁ and E₂ be two entities in E-R diagram with simple single valued attributes. R₁ and R₂ are two relationships between E₁ and E₂ where R₁ is one - many and R₂ is many - many. R₁ and R₂ do not have any attribute of their own. How minimum number of tables are required to represent this situation in the Relational model?
A4
B3
C2
D1
Show answerHide answer
Correct answer: (B) 3
Explanation
One table for each entity : 2 R₁ is one to many (No separate table): 0 R₂ is many to many and requires one separate table: 1 Total number of tables: 3
Q187UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The STUDENT information in a university stored in the relation STUDENT (Name, SEX, Marks, DEPT _Name) Consider the following SQL query SELECT DEPT_Name for STUDENT where SEX = 'M' group by DEPT_Name having avg (Marks) > SELECT avg (Marks) STUDENT. It Returns the Name of the Department for which :
AThe average marks of male students is more than the average marks of students in the same Department
BThe average marks of male students is more than the average marks of students in the University
CThe average marks of male students is more than the average marks of male students in the University
DThe average marks of students is more than the average marks of male students in the University
Show answerHide answer
Correct answer: (B) The average marks of male students is more than the average marks of students in the University
Explanation
The average marks of male students is more than the average marks of student in the university.
Q188UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Select the 'False' statement from the following statements about Normal forms :
ALossless preserving decomposition into 3NF is always possible
BLossless preserving decomposition into BCNF is always possible
CAny Relation with two attributes is in BCNF
DBCNF is stronger than 3NF
Show answerHide answer
Correct answer: (C) Any Relation with two attributes is in BCNF
Explanation
Note: statement (c) is actually true (every two-attribute relation is in BCNF); the false statement is (b), so the book's key appears wrong. A BCNF decomposition that is both lossless and dependency preserving is not always possible. Example: R(a, b, c) with FDs ab → c and c → b cannot be decomposed into BCNF while preserving ab → c.
Q189UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The Relation Vendor Order (V_no, V_ord_no, V_name, Qty_sup, unit_price) is in 2NF because :
ANon_key attribute V_name is dependent on V_no which is part of composite key
BNon_key attribute V_name is dependent on Qty_sup
CKey attribute Qty_sup is dependent on primary_key unit price
DKey attribute V_ord_no is dependent on primary_key unit price
Show answerHide answer
Correct answer: (A) Non_key attribute V_name is dependent on V_no which is part of composite key
Explanation
Option (a) is which it is clearly mentioned that partial dependency exists is against 2NF principle. Question seems incomplete, because there is nothing said about functional dependency.
Q190UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following statement(s) is/are incorrect?
(1) Mapping the co-ordinates of the points and lines that form the picture into the appropriate co-ordinates on the device or workstation is known as viewing transformation
(2) The right-handed Cartesian co-ordinates system in whose co-ordinates we describe the picture is known as world co-ordinate system
(3) The co-ordinate that corresponds to the device or workstation where the image is to be displayed is known as physical device co-ordinate system
(4) Left - handed co-ordinate system in which the display area of the virtual display device corresponds to the unit (1 × 1) square whose lower left-hand corner is at the origin of the co-ordinate system, is known as normalized device co-ordinate system
A(1) only
B(1) and (2)
C(3) only
D(4) only
Show answerHide answer
Correct answer: (D) (4) only
Explanation
Normalized device co-ordinates describe positions on a virtual plotting device: the lower left corner is (0,0) and the upper right corner is (1,1). NDC is a right-handed system, not left-handed, so statement (4) is incorrect.
Q191UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which transmission technique guarantees that data packets will be received by the receiver in the same order in which they were sent by the sender?
ABroadcasting
BUnicasting
CPacket switching
DCircuit switching
Show answerHide answer
Correct answer: (D) Circuit switching
Explanation
Circuit switching transmission technique guarantees the data packets will be received by the receiver in the same order in which they were sent by the sender because path is fixed and all packet goes through that path in same order.
Q192UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A message "COMPUTER NETWORK" encrypted (ignore quotes) using columnar transposition cipher with a key "LAYER". The encrypted message is :
ACTTOEWMROPNRUEK
BMROUEKCTTPNROEW
COEWPNRCTTUEKMRO
DUEKPNRMROOEWCTT
Show answerHide answer
Correct answer: (C) OEWPNRCTTUEKMRO
Explanation
Key LAYER gives column order L = 3, A = 1, Y = 5, E = 2, R = 4. Writing the message row-wise:
C O M P U
T E R N E
T W O R K
Reading columns in order 1 (A), 2 (E), 3 (L), 4 (R), 5 (Y): OEW PNR CTT UEK MRO. Encrypted message: OEWPNRCTTUEKMRO.
Q193UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which of the following control fields in TCP header is used to specify whether the sender has no more data to transmit?
AFIN
BRST
CSYN
DPSH
Show answerHide answer
Correct answer: (A) FIN
Explanation
FIN control fields in TCP header is used to specify whether the sender has no more data to transmit i.e., close the connection from sender side.
Q194UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which are the two modes of IP security?
ATransport and certificate
BTransport and tunnel
CCertificate and tunnel
DPreshared and transport
Show answerHide answer
Correct answer: (B) Transport and tunnel
Explanation
Transport mode:- IP header, IPSec, headers IP payload. Tunnel Mode:- New IP header, IPSec, headers, old IP header, IP payload. IP Sec can be implemented in a host-to-host transport mode, as well as in network tunning mode.
Q195UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
The maximum payload of a TCP segment is :
A65, 535
B65, 515
C65, 495
D65, 475
Show answerHide answer
Correct answer: (C) 65, 495
Explanation
The maximum payload of TCP segment is 65, 495 bytes. Because maximum IP packet is 65, 535 bytes out of which 20 is used for header. TCP header is 20 bytes. So, 2¹⁶ – 20 – 20 = 65535 – 40 = 65495 bytes left for TCP.
Q196UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Which design metric is used to measure the compactness of the program in terms of lines of codes ?
AConsistency
BConciseness
CEfficiency
DAccuracy
Show answerHide answer
Correct answer: (A) Consistency
Explanation
Note: the metric that measures compactness of a program in lines of code is conciseness, so option (b) appears correct; the book keys (a). Consistency is the use of uniform design and documentation techniques throughout the software development project.
Q197UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Requirements prioritization and negotiation belongs to :
ARequirements validation
BRequirements elicitation
CFeasibility study
DRequirements reviews
Show answerHide answer
Correct answer: (B) Requirements elicitation
Explanation
Elicitation is the process of gathering, understanding and documenting requirement. Prioritization and negotiation are key activities within the elicitation process to ensure a feasible and well defined set of requirements for the project. Requirements Validation– This is the process of checking if the gathered requirements are correct, complete and consistent. Feasibility study– This is an assessment of whether a project is viable and achievable, considering factors like cost, resources and technology. Requirements Reviews– These are formal assessments of the requirements documentation, typically conducted by stakeholders and experts, to identify potential issues and ensure quality.
Q198UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
A software design is highly modular if :
ACohesion is functional and coupling is data type
BCohesion is coincidental and coupling is data type
CCohesion is sequential and coupling is content type
DCohesion is functional and coupling is stamp type
Show answerHide answer
Correct answer: (A) Cohesion is functional and coupling is data type
Explanation
We know our aim is to maximize cohesion & minimum coupling Strong form of cohesion is functional cohesion weakest form of coupling is data coupling.
Q199UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
Adaptive maintenance is a maintenance which ______
ACorrect errors that were not discovered till testing phase
BIs carried out to port the existing software to a new environment
CImproves the system performance
DBoth (b) and (c)
Show answerHide answer
Correct answer: (B) Is carried out to port the existing software to a new environment
Explanation
Adaptive maintenance is a modification of a software product performed after delivery to keep it usable in a changed or changing environment, e.g. porting the existing software to a new environment.
Q200UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)
In XML we can specify the frequency of an element by using the symbols :
A+ * !
B# * !
C+ * ?
D– * ?
Show answerHide answer
Correct answer: (C) + * ?
Explanation
In an XML DTD, + means one or more times, * means zero or more times and ? means zero or one time.
How to use these UGC NET Computer Science questions
Every question here was asked in a real UGC NET paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full UGC NET papers as timed tests to check your speed under exam conditions.