UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions)
All 85 questions of UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions) with the correct answer from the official answer key and a solution. Read them free on UTpaper, or attempt the paper as a timed online test.
Q1UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The Octal equivalent of the binary number 1011101011 is :
A7353
B1353
C5651
D5657
Show answerHide answer
Correct answer: (B) 1353
Explanation
Group the bits in threes from the right: 001 011 101 011. 001 = 1, 011 = 3, 101 = 5, 011 = 3. So (1011101011)₂ = (1353)₈.
Q2UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Let m = (313)₄ and n = (322)₄. Find three base 4 expansion of m + n.
A(635)₄
B(32312)₄
C(21323)₄
D(1301)₄
Show answerHide answer
Correct answer: (D) (1301)₄
Explanation
Convert both numbers to decimal, add, and convert back to base 4: (313)₄ = 3×4² + 1×4¹ + 3×4⁰ = 55; (322)₄ = 3×4² + 2×4¹ + 2×4⁰ = 58. 55 + 58 = 113, and 113 in base 4 is (1301)₄.
Q3UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The Boolean function with the Karnaugh map
(rows CD, columns AB in order 00, 01, 11, 10)
CD = 00: 0 1 1 0
CD = 01: 0 1 1 1
CD = 11: 1 1 1 1
CD = 10: 0 1 1 0
A(A + C) . D + B
B(A + B) . C + D
C(A + D) . C + B
D(A + C) . B + D
Show answerHide answer
Correct answer: (A) (A + C) . D + B
Explanation
Grouping the 1s: columns AB = 01 and 11 give B, the row CD = 11 together with the cell AB = 10, CD = 01 give CD and AD. SOP form = AD + CD + B = (A + C).D + B.
Q4UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Let A =
[1 0 0]
[0 1 0]
[1 1 0]
[0 0 1]
and B =
[1 1 1 0]
[0 1 1 0]
[1 0 1 1]
Find the Boolean product A ⊙ B of the two matrices.
In the Boolean product, multiplication is replaced by logical AND and addition by logical OR. Row i of A ⊙ B is the OR of the rows of B selected by the 1s in row i of A: row 1 = B1 = 1110, row 2 = B2 = 0110, row 3 = B1 ∨ B2 = 1110, row 4 = B3 = 1011. So option (a) is correct.
Q5UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Let P and Q be two propositions, ¬ (P ↔ Q) is equivalent to :
AP ↔ ¬Q
B¬ P ↔Q
C¬ P ↔ ¬ Q
DQ → P
Show answerHide answer
Correct answer: (A) P ↔ ¬Q
Explanation
P ↔ Q = P'Q' + PQ, so ¬(P ↔ Q) = P'Q + PQ', which is true exactly when P and Q differ. This is the same as P ↔ ¬Q (and ¬P ↔ Q).
Q6UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Q7UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
If the time is now 4 O'clock, what will be the time after 101 hours from now?
A9 O'clock
B8 O'clock
C5 O'clock
D4 O'clock
Show answerHide answer
Correct answer: (A) 9 O'clock
Explanation
The clock repeats every 12 hours. 101 mod 12 = 5, so the time after 101 hours = 4 + 5 = 9 O'clock.
Q8UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
How many distinguishable permutations of the letters in the word BANANA are there?
A720
B120
C60
D360
Show answerHide answer
Correct answer: (C) 60
Explanation
The number of permutations of n objects with n₁, n₂, ..., nₖ identical objects of each type is n!/(n₁! n₂! ... nₖ!). BANANA has 6 letters with A three times, N twice and B once: 6!/(3! 2! 1!) = 60.
Q9UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Consider the following program fragment in assembly language :
mov ax, 0h
mov cx, 0A, h
doloop :
dec ax
loop doloop
What is the value of ax and cx registers after the completion of the doloop?
Aax = FFF5 h and cx = 0 h
Bax = FFF6 h and cx = 0 h
Cax = FFF7 h and cx = 0A h
Dax = FFF5 and cx = 0A h
Show answerHide answer
Correct answer: (B) ax = FFF6 h and cx = 0 h
Explanation
cx = 0Ah = 10, so the loop body runs 10 times; loop decrements cx and stops when cx = 0h. ax starts at 0 and is decremented 10 times: 0 − 10 = FFF6h (16-bit two's complement). So ax = FFF6h and cx = 0h.
Q10UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Consider the following assembly program fragment :
stc
mov al, 110101110b
mov cl, 2
rcl al, 3
rol al, 4
shr al, cl
mul cl
The contents of the destination register ax (in hexadecimal) and the status of Carry Flag (CF) after the execution of above instructions, are :
Aax = 003CH; CF = 0
Bax = 001EH; CF = 0
Cax = 007BH; CF = 1
Dax = 00B7H; CF = 1
Show answerHide answer
Correct answer: (A) ax = 003CH; CF = 0
Explanation
After the rotate and shift instructions al = 00011110, and mul cl multiplies it by 2 (append a 0 bit at the LSB): ax = 0000000000111100 = 003CH. For mul, CF = 0 when the high byte of the result is 0 and CF = 1 otherwise; here the high byte is 0, so CF = 0. Hence ax = 003CH; CF = 0.
Q11UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which speed up could be achieved according to Amdahl's law of infinite number of processes if 5% of a program is sequential and the remaining part is ideally parallel?
AInfinite
B5
C20
D50
Show answerHide answer
Correct answer: (C) 20
Explanation
Sequential part = 5% = 0.05, parallel part = 0.95. By Amdahl's law with an infinite number of processors, speed up S = 1 / (1 − 0.95) = 1 / 0.05 = 20.
Q12UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Post order traversal of a given binary search tree T produces following sequence of keys : Which one of the following sequences of keys can be the result of an in-order traversal of the tree T?
An in-order traversal of a binary search tree always gives the keys in ascending order, so the in-order sequence is 3, 4, 5, 7, 9, 14, 15, 16, 17, 18, 20.
Q13UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The following numbers are inserted into an empty binary search tree in the given order : 10, 1, 3, 5, 15, 12, 16. What is the height of the binary search tree?
A3
B4
C5
D6
Show answerHide answer
Correct answer: (A) 3
Explanation
Inserting 10, 1, 3, 5, 15, 12, 16: 10 is the root; 1 is its left child, 3 is the right child of 1 and 5 is the right child of 3; 15 is the right child of 10 with children 12 and 16. The longest root-to-leaf path is 10-1-3-5 with 3 edges, so the height is 3.
Q14UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
A list of n strings, each of length n, is sorted into lexicographic order using merge - sort algorithm. The worst case running time of this computation is :
AO(n log n)
BO(n² log n)
CO(n² + log n)
DO(n³)
Show answerHide answer
Correct answer: (B) O(n² log n)
Explanation
Merge sort performs O(n log n) comparisons, and comparing two strings of length n takes O(n) time in the worst case. So the worst-case running time is O(n · n log n) = O(n² log n).
Q15UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Consider an array representation an n element binary heap where the elements are stored from index 1 to index n of the array. For the element stored at index i of the array (i < = n), the index of the parent is :
Afloor ((i + 1)/2)
Bceiling ((i + 1)/2)
Cfloor (i/2)
Dceiling (i/2)
Show answerHide answer
Correct answer: (C) floor (i/2)
Explanation
In a binary heap stored in an array from index 1 to n, the children of index i are at 2i and 2i + 1, so the parent of the element at index i is at floor(i/2).
Q16UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Consider the graph given below (edges with weights):
A-C = 6, A-E = 4, A-D = 2, A-G = 3, C-G = 2, C-F = 5, C-B = 4,
D-E = 5, D-G = 4, D-B = 4, G-B = 3, B-F = 4
Use Kruskal's algorithm to find a minimal spanning tree for the graph. The list of edges of the tree in the order in which they are choosen it?
AAD, AE, AG, GC, GB, BF
BGC, GB, BF, GA, AD, AE
CGC, AD, GB, GA, BF, AE
DAD, AG, GC, AE, GB, BF
Show answerHide answer
Correct answer: (C) GC, AD, GB, GA, BF, AE
Explanation
Kruskal's algorithm picks edges in increasing order of weight while avoiding cycles: GC = 2, AD = 2, GB = 3, GA = 3, then BF = 4 and AE = 4. So the order is GC, AD, GB, GA, BF, AE. Note: more than one order is possible since edge weights are repeated.
Q17UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Let G be an undirected connected graph with distinct edge weight. Let Eₘₐₓ be the edge with maximum weight and Eₘᵢₙ the edge with minimum weight. Which of the following statements is false?
AEvery minimum spanning tree of G must contain Eₘᵢₙ
BIf Eₘₐₓ is in minimum spanning tree, then its removal must disconnect G.
CNo minimum spanning tree contains Eₘₐₓ
DG has a unique minimum spanning tree
Show answerHide answer
Correct answer: (C) No minimum spanning tree contains Eₘₐₓ
Explanation
With distinct edge weights the MST is unique and always contains Eₘᵢₙ. Eₘₐₓ can be in the MST (when it is a bridge, its removal disconnects G), so the statement "No minimum spanning tree contains Eₘₐₓ" is false.
Q18UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
In distributed system, the capacity of a system to adapt the increased service load is called_____
ATolerance
BScalability
CCapability
DLoading
Show answerHide answer
Correct answer: (B) Scalability
Explanation
Scalability is the ability of a process, network, software or organization to grow and manage increased demand. A scalable system can adapt to the changing needs of its users.
Q19UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
In _____ disk scheduling algorithm, the disk head moves from one end to other end of the disk, serving the request along the way. When the head reaches the other end, it immediately returns to the beginning of the disk without serving any requests on the return trip.
ALOOK
BSCAN
CC – LOOK
Dc – SCAN
Show answerHide answer
Correct answer: (B) SCAN
Explanation
Note: returning to the beginning without serving requests on the return trip is the defining feature of C-SCAN (option d); the book keys (b). In the SCAN disk scheduling algorithm (as keyed by the book), the disk head moves from one end of the disk to the other, serving requests along the way, and then returns to the beginning without serving requests on the return trip.
Q20UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Suppose there are six files F1, F2, F3, F4, F5, F6 with corresponding sizes 150 KB, 225 KB, 75 KB, 60 KB, 275 KB and 65 KB respectively. The files are to be stored on a sequential device in such a way that optimizes access time. In what order should the files be stored?
AF5, F2, F1, F3, F6, F4
BF4, F6, F3, F1, F2, F5
CF1, F2, F3, F4, F5, F6
DF6, F5, F4, F3, F2, F1
Show answerHide answer
Correct answer: (B) F4, F6, F3, F1, F2, F5
Explanation
To minimise access time on a sequential device, store files in increasing order of size: F4 (60 KB), F6 (65 KB), F3 (75 KB), F1 (150 KB), F2 (225 KB), F5 (275 KB).
Q21UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which module gives control of the CPU to the process selected by the sort - term scheduler?
ADispatcher
BInterrupt
CScheduler
DThreading
Show answerHide answer
Correct answer: (A) Dispatcher
Explanation
The dispatcher is the module that gives control of the CPU to the process selected by the short-term scheduler.
Q22UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Two atomic operations permissible on Semaphores are _____ and _____
AWait, stop
BWait, hold
CHold, signal
DWait, signal
Show answerHide answer
Correct answer: (D) Wait, signal
Explanation
Wait & signal operations are the two atomic operations performed on a semaphore.
Q23UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
In RDBMS, different classes or relations are created using ______ technique to prevent modification anomalies.
AFunctional dependencies
BData integrity
CReferential integrity
DNormal forms
Show answerHide answer
Correct answer: (D) Normal forms
Explanation
Relations are decomposed into normal forms (normalization) to prevent insertion, deletion and update anomalies.
Q24UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
______ SQL command changes one or more fields in a record.
ALOOK-UP
BINSERT
CMODIFY
DCHANGE
Show answerHide answer
Correct answer: (C) MODIFY
Explanation
As keyed by the book, MODIFY is the SQL command that changes one or more fields in a record.
Q25UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is/are true with reference to 'view' in DBMS?
(A) A 'view' is a special stored procedure executed when certain event occurs
(B) A 'view' is a virtual table, which occurs after executing a pre-complied query.
Code :
AOnly (A) is true
BOnly (B) is true
CBoth (A) and (B) are true
DNeither (A) nor (B) are true
Show answerHide answer
Correct answer: (B) Only (B) is true
Explanation
A view is a virtual table through which a selective portion of the data from one or more tables can be seen; it does not contain data of its own. A stored procedure executed when an event occurs is a trigger, not a view. So only (B) is true.
Q26UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
In SQL ______is an Aggregate function.
ASELECT
BCREATE
CAVG
DMODIFY
Show answerHide answer
Correct answer: (C) AVG
Explanation
AVG returns the average of the values in a group, ignoring null values. It is an aggregate function. Syntax: AVG([ALL | DISTINCT] expression).
Q27UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Match the following with respect to RDBMS :
A. Entity integrity
B. Domain integrity
C. Referential integrity
D. User defined integrity
i. Enforces some specific business rule that to not fall into entity or domain
ii. Rows can't be deleted which are used by other records
iii. Enforces valid entries for a column
iv. No duplicate rows in a table
Code :
A B C D
Aiii iv i ii
Biv iii ii i
Civ ii iii i
Dii iii iv i
Show answerHide answer
Correct answer: (B) iv iii ii i
Explanation
Entity integrity - no duplicate rows in a table (iv); Domain integrity - enforces valid entries for a column (iii); Referential integrity - rows can't be deleted which are used by other records (ii); User defined integrity - enforces specific business rules that do not fall into entity or domain integrity (i).
Q28UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
______ do not take their decisions on measurements or estimates of the current traffic and topology.
AStatic algorithm
BAdaptive algorithm
CNon-adaptive algorithm
DRecursive algorithm
Show answerHide answer
Correct answer: (C) Non-adaptive algorithm
Explanation
Non-adaptive (static) routing algorithms do not base their routing decisions on measurements or estimates of the current traffic and topology. Instead, the route from one node to another is computed in advance.
Q29UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following layer of OSI Reference model is also called End-to-End layer?
ANetwork layer
BDatalink layer
CSession layer
DTransport layer
Show answerHide answer
Correct answer: (D) Transport layer
Explanation
The transport layer is responsible for end-to-end communication over a network; it provides logical communication between application processes running on different hosts.
Q30UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following devices takes data sent from one network device and forwards it to the destination node based on MAC address?
AHub
BModem
CSwitch
DGateway
Show answerHide answer
Correct answer: (C) Switch
Explanation
Switch takes data sent from one network device & forwards it to the destination node based on MAC address. A switch is a multi port bridge with a buffer and a design that can boost its efficiency and performance. Switch is data link layer device. It can perform error checking before forwarding data.
Q31UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The number of bits used for addressing in Gigabit Ethernet is ______
A32 bits
B48 bits
C64 bits
D128 bits
Show answerHide answer
Correct answer: (B) 48 bits
Explanation
Gigabit Ethernet uses the standard Ethernet frame, whose destination and source address (MAC address) fields are each 48 bits long.
Q32UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The IP address ______ is used by hosts when they are being booted.
A0.0.0.0
B1.0.0.0
C1.1.1.1
D255.255.255.255
Show answerHide answer
Correct answer: (A) 0.0.0.0
Explanation
The address 0.0.0.0 is used by a host as its source address while it is booting (e.g. in a DHCP request) before it knows its own IP address.
Q33UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Software not wear-out in the traditional sense of the term, but software does tend to deteriorate as it evolves, because :
ASoftware suffers from exposure to hostile environments
BDefects are more likely to arise after software has been used often
CMultiple change requests introduce errors in component interactions
As software is used, it receives multiple change requests; each change can introduce errors in component interactions, so the software deteriorates over time.
Q34UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Software re-engineering is concerned with :
ARe-constructing the original source code from the existing machine (low - level) code program and modifying it to make it more user - friendly
BScrapping the source code of a software and re-writing it entirely from scratch
CRe-organizing and modifying existing software systems to make then more maintainable
DTranslating source code of an existing software to a new machine (low - level) language
Show answerHide answer
Correct answer: (C) Re-organizing and modifying existing software systems to make then more maintainable
Explanation
Software re-engineering is a process of software development which is done to improve the maintainability of a software system.
Q35UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is not a key issue stressed by an agile philosophy of software engineering?
AThe importance of self-organizing teams as well as communication and collaboration between team members and customers
BRecognition that change represents opportunity
CEmphasis on rapid delivery of software that satisfies the customer
DHaving a separate testing phase after a build phase
Show answerHide answer
Correct answer: (D) Having a separate testing phase after a build phase
Explanation
Agile philosophy stresses self-organizing teams, collaboration with customers, welcoming change and rapid delivery of working software. Testing is done continuously along with development, not as a separate phase after the build phase.
Q36UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
What is the normal order of activities in which traditional software testing is organized ?
(A) Integration Testing
(B) System testing
(C) Unit Testing
(D) Validation Testing
Code :
A(C), (A), (B), (D)
B(C), (A), (D), (B)
C(D), (C), (B), (A)
D(B), (D), (A), (C)
Show answerHide answer
Correct answer: (A) (C), (A), (B), (D)
Explanation
Traditional testing starts with unit testing, followed by integration testing, then system testing and finally validation (acceptance) testing: (C), (A), (B), (D).
Q37UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following testing techniques ensures that the software product runs correctly after the changes during maintenance?
APath Testing
BIntegration Testing
CUnit Testing
DRegression Testing
Show answerHide answer
Correct answer: (D) Regression Testing
Explanation
Regression testing verifies that previously developed and tested software still performs correctly after it has been changed, e.g. after enhancements or patches during maintenance.
Q38UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is not correct for virtual function in C++?
AMust be declared in public section of class
BVirtual function can be static
CVirtual function should be accessed using pointers
DVirtual function is defined in base class
Show answerHide answer
Correct answer: (B) Virtual function can be static
Explanation
A virtual function cannot be static, because a virtual function is a non-static member function whose call is resolved through a specific object at run time.
Q39UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is not correct (in C++)?
AClass templates and function templates are instantiated in the same way
BClass templates differ from function templates in the way they are initiated
CClass template is initiated by defining an object using the template argument
DClass templates are generally used for storage classes
Show answerHide answer
Correct answer: (A) Class templates and function templates are instantiated in the same way
Explanation
Function templates are instantiated implicitly when the function is called with arguments, whereas class templates are instantiated by defining an object with explicit template arguments. So class templates and function templates are not instantiated in the same way; statement (a) is not correct.
Q40UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The associativity of which of the following operators is left to right, in C++?
AUnary Operator
BLogical not
CArray element access
DAddress of
Show answerHide answer
Correct answer: (C) Array element access
Explanation
Only array element access ([]) is left-to-right associative among the options listed. All others are unary operators and are right-to-left associative.
Q41UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
A member function can always access the data in ______ , (in C++)
Athe class of which it is member
Bthe object of which it is a member
Cthe public part of its class
Dthe private part of its class
Show answerHide answer
Correct answer: (A) the class of which it is member
Explanation
A member function can always access all the data (public, private and protected) of the class of which it is a member.
Q42UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
'ptrdata' is a pointer to a data type. The expression *ptrdata++ is evaluated as (in C++):
A*(ptrdata++)
B(*ptrdata)++
C*(ptrdata)++
DDepends on compiler
Show answerHide answer
Correct answer: (A) *(ptrdata++)
Explanation
Postfix ++ has higher precedence than *, so *ptrdata++ is evaluated as *(ptrdata++): the value at ptrdata is used and then the pointer moves to the next location. (*ptrdata)++ would instead increment the value stored at that location.
Q43UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the given wireless technologies used in IoT, consumes the least amount of power?
AZigbee
BBluetooth
CWi-Fi
DGSM/CDMA
Show answerHide answer
Correct answer: (B) Bluetooth
Explanation
As keyed by the book, Bluetooth (in its low-energy form) consumes the least power among the options; Wi-Fi and GSM/CDMA consume much more.
Q44UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Match the description of several parts of a classic optimizing compiler in List-I, with the names of those parts in List - II :
List-I
A. A part of a compiler that is responsible for recognizing syntax
B. A part of a complier that takes as input a stream of characters and produces as output a stream of words along with their associated syntactic categories
C. A part of a compiler that understand the meanings of variable names and other symbols and checks that they are used in ways consistent with their definitions.
D. An IR-to-IR transformer that tries to improve the IR program in some way (Intermediate Representation)
List-II
i. Optimizer
ii. Semantic Analysis
iii. Parser
iv. Scanner
Code :
A B C D
Aiii iv ii i
Biv iii ii i
Cii iv i iii
Dii iv iii i
Show answerHide answer
Correct answer: (A) iii iv ii i
Explanation
The parser (syntax analyzer) recognizes syntax (A-iii); the scanner (lexical analyzer) turns the character stream into words/tokens (B-iv); the semantic analyzer checks meanings and consistent use of names (C-ii); the optimizer is an IR-to-IR transformer that improves the IR program (D-i).
Q45UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following Super Computers in the fastest Super Computer?
ASun-way Taihu Light
BTitan
CPiz Daint
DSequoria
Show answerHide answer
Correct answer: (A) Sun-way Taihu Light
Explanation
Sunway TaihuLight was named the world's fastest supercomputer in the TOP500 list at that time. It was developed by China's National Research Center of Parallel Computer Engineering & Technology (NRCPC).
Q46UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following statements about ERP system is true?
BERP software package are themselves combinations of separate applications for manufacturing, materials, resource planning, general ledger, human resources, procurement and order entry
CIntegration of ERP systems can be achieved in only one way
DAn ERP package implemented uniformly throughout an enterprise is likely to contain very flexible connections to allow charges and software variations.
Show answerHide answer
Correct answer: (B) ERP software package are themselves combinations of separate applications for manufacturing, materials, resource planning, general ledger, human resources, procurement and order entry
Explanation
ERP software packages are themselves combinations of separate applications for manufacturing, materials resource planning, general ledger, human resources, procurement and order entry.
Q47UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following is not a clustering method?
AK–Mean method
BSelf Organizing feature map method
CK – nearest neighbor method
DAgglomerative method
Show answerHide answer
Correct answer: (C) K – nearest neighbor method
Explanation
K-means, self-organizing feature maps and agglomerative methods are clustering methods. The k-nearest neighbour (K-NN) algorithm is a non-parametric method used for classification and regression, not clustering.
Q48UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
Which of the following regular expressions, each describing a language of binary numbers (MSB to LSB) that represents non-negative decimal values, does not include even values?
Where {+, *} are quantification characters.
A0*1+0*1*
B0*10+1*
C0*1*0*1+
D0*1*0*1*
Show answerHide answer
Correct answer: (C) 0*1*0*1+
Explanation
Odd binary numbers end with 1 in the LSB and even numbers end with 0. Only 0*1*0*1+ always ends with at least one 1, so its language contains no even values.
Paper III 37 questions
Q49UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
A micro-instruction format has micro-ops field which is divided into three subfields F1, F2, F3 each having seven distinct micro-operations, condition field CD for four status bits, branch field BR having four options used in conjunction with address field ADF. The address space is of 128 memory locations. The size of micro-instruction is :
A17 bits
B20 bits
C24 bits
D32 bits
Show answerHide answer
Correct answer: (B) 20 bits
Explanation
F1, F2, F3 each with 7 micro-operations need 3 bits each = 9 bits; CD for 4 status bits needs 2 bits; BR with 4 options needs 2 bits; ADF for 128 locations needs 7 bits. Total = 9 + 2 + 2 + 7 = 20 bits.
Q50UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following is correct statement?
AIn memory-mapped I/O, the CPU can manipulate I/O data residing in interface registers that are not used to manipulate memory words
BThe isolated I/O method isolates memory and I/O addresses so that memory address range is not affected by interface address assignment
CIn asynchronous serial transmission of data the two units share a common clock
DIn synchronous serial transmission of data two units have different clocks
Show answerHide answer
Correct answer: (B) The isolated I/O method isolates memory and I/O addresses so that memory address range is not affected by interface address assignment
Explanation
The isolated I/O method isolates memory and I/O addresses so that the memory address range is not affected by interface address assignment. Memory-mapped I/O uses the same address space for memory and I/O devices. In asynchronous serial transfer the two units do not share a common clock; in synchronous serial transfer they do.
Q51UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
In 8085 microprocessor which of the following flag(s) is (are) affected by an arithmetic operation?
AAC flag only
BCY flag only
CZ flag only
DAC, CY, Z flags
Show answerHide answer
Correct answer: (D) AC, CY, Z flags
Explanation
AC is the auxiliary carry flag, CY is the carry flag and Z is the zero flag. All these flags are affected by arithmetic operations.
Q52UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
In 8085 microprocessor the address bus is of .......... bits
A4
B8
C16
D32
Show answerHide answer
Correct answer: (C) 16
Explanation
The 8085 microprocessor has a 16-bit address bus, so 2¹⁶ = 65,536 different memory locations can be addressed.
Q53UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
In the architecture of 8085 microprocessor match the following :
A. Processing unit
B. Instruction unit
C. Storage and Interface unit
i. Interrupt
ii. General purpose Register
iii. ALU
iv. Timing and control
Code :
A B C
Aiv i ii
Biii iv ii
Cii iii i
Di ii iv
Show answerHide answer
Correct answer: (B) iii iv ii
Explanation
The ALU forms the processing unit (A-iii); timing and control belongs to the instruction unit (B-iv); the general-purpose registers are in the storage and interface unit (C-ii).
Q54UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following addressing mode is best suited to access elements of an array of contiguous memory locations?
AIndexed addressing mode
BBase Register addressing mode
CRelative address mode
DDisplacement mode
Show answerHide answer
Correct answer: (A) Indexed addressing mode
Explanation
Indexed addressing mode is best suited for accessing an array in contiguous memory location.
Q55UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Consider a full binary tree with n internal nodes, internal path length i, and external path length e. The internal path length of a full binary tree is the sum, taken over all nodes of the tree, of the depth of each node. Similarly, the external path length is the sum, taken over all leaves of the tree, of the depth of each leaf. Which of the following is correct for the full binary tree?
Ae = i + n
Be = i + 2n
Ce = 2i + n
De = 2ⁿ + i
Show answerHide answer
Correct answer: (B) e = i + 2n
Explanation
For a full binary tree with n internal nodes, e = i + 2n. Example: a full binary tree with 7 internal nodes of depth up to 2 has i = 0 + 1×2 + 2×4 = 10 and 8 leaves at depth 3, so e = 24 = 10 + 2×7.
Q56UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Standard planning algorithms assume environment to be...............
ABoth deterministic and fully observable
BNeither deterministic nor fully observable
CDeterministic but not fully observable
DNot deterministic but fully observable
Show answerHide answer
Correct answer: (A) Both deterministic and fully observable
Explanation
Standard planning algorithms assume the environment to be both deterministic and fully observable.
Q57UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
If b is the branding factor and m is the maximum depth of the search tree, what is the space complexity of greedy search?
AO(b + m)
BO(bm)
CO(bᵐ)
DO(mᵇ)
Show answerHide answer
Correct answer: (C) O(bᵐ)
Explanation
In the worst case greedy (best-first) search keeps all generated nodes in memory. With branching factor b and maximum depth m, the space complexity is O(bᵐ).
Q58UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Heap allocation is required for languages that :
Ause dynamic scope rules
Bsupport dynamic data structures
Csupport recursion
Dsupport recursion and dynamic data structures
Show answerHide answer
Correct answer: (B) support dynamic data structures
Explanation
Heap allocation is required for languages that support dynamic data structures, whose storage is allocated and freed at run time in an arbitrary order.
Q59UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Find the equation of the circle x² + y² = 1 in terms of x'y' coordinates, assuming that the xy coordinate system results from a scaling of 3 units in the x' direction and 4 units in the y' direction.
A3(x')² + 4(y')² = 1
B(x'/3)² + (y'/4)² = 1
C(3x')² + (4y')² = 1
D(1/3)(x')² + (1/4)(y')² = 1
Show answerHide answer
Correct answer: (B) (x'/3)² + (y'/4)² = 1
Explanation
Scaling by 3 units in x' and 4 units in y' gives x = x'/3 and y = y'/4. Substituting in x² + y² = 1 gives (x'/3)² + (y'/4)² = 1.
Q60UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Find the normalization transformation that maps a window whose lower left corner is at (1, 1) and upper right corner is at (3, 5) onto a view port that is the entire normalized device screen
Q61UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
The Bounded buffer problem is also known as_____
AProducer - consumer problem
BReader - writer problem
CDining philosophers problem
DBoth (a) and (b)
Show answerHide answer
Correct answer: (A) Producer - consumer problem
Explanation
The producer-consumer (bounded buffer) problem describes two processes, the producer and the consumer, which share a common fixed-size buffer used as a queue. The producer puts items into the buffer and waits if it is full; the consumer removes items and waits if it is empty.
Q62UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
User level threads are threads that are visible to the programmer and are unknown to the kernel. The operating system kernel supports and manages kernel level threads. Three different types of models relate user and kernel level threads.
Which of the following statements is/are true?
(A)
(i) The many to one model maps many user threads to one kernel thread
(ii) The one - to - one model maps one user threads to one kernel thread
(iii) The many model maps many user threads to smaller or equal kernel threads
(B)
(i) Many - to- one model maps many kernel threads to one user thread
(ii) One - to - one model maps one kernel thread to one user thread
(iii) Many - to - many model maps many kernel threads to smaller or equal user threads
Code :
A(A) is true; (B) is false
B(A) is false; (B) is true
CBoth (A) and (B) are true
DBoth (A) and (B) are false
Show answerHide answer
Correct answer: (A) (A) is true; (B) is false
Explanation
In statement set (A), the many-to-one model maps many user threads to one kernel thread, the one-to-one model maps one user thread to one kernel thread, and the many-to-many model maps many user threads to a smaller or equal number of kernel threads; all are true. Set (B) reverses the roles of user and kernel threads, so it is false.
Q63UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Consider a virtual page reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 Suppose a demand paged virtual memory system running on a computer system such that the main memory has 3 page frames. Then.............. page replacement algorithm has minimum number of page faults.
AFIFO
BLIFO
CLRU
DOptimal
Show answerHide answer
Correct answer: (D) Optimal
Explanation
For this reference string with 3 frames, the optimal algorithm gives 9 page faults, fewer than FIFO, LIFO or LRU. So the optimal algorithm has the minimum number of page faults.
Q64UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Consider the following statements :
(A) UNIX provides three types of permissions
* Read
* Write
* Execute
(B) UNIX provides three sets of permissions
* permission for owner
* permission for group
* permission for others
Which of the above statement/s is/are true?
AOnly (A)
BOnly (B)
CBoth (A) and (B)
DNeither (A) nor (B)
Show answerHide answer
Correct answer: (C) Both (A) and (B)
Explanation
UNIX provides read, write and execute permissions on files, and three sets of permissions: for the owner, for the group and for others. So both (A) and (B) are true.
Q65UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Match the following WINDOWS system calls and UNIX system calls with reference to process control and file manipulation.
Windows
A. Create - process ( )
B. Wait for single object ( )
C. Create file ( )
D. Close Handle ( )
UNIX
i. Open ( )
ii. Close ( )
iii. Fork ( )
iv. Wait ( )
Code :
A B C D
Aiii iv i ii
Biv iii i ii
Civ iii ii i
Diii iv ii i
Show answerHide answer
Correct answer: (B) iv iii i ii
Explanation
Note: the standard correspondence is CreateProcess() - fork(), WaitForSingleObject() - wait(), CreateFile() - open(), CloseHandle() - close(), i.e. A-iii, B-iv, C-i, D-ii, which is option (a); the book keys (b). The book's mapping is A-iv, B-iii, C-i, D-ii.
Q66UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Given two relations R₁(A, B) and R₂(C, D), the result of following query
Select distinct A, B
From R₁, R₂
is guaranteed to be same as R₁ provided one of the following condition is satisfied.
AR₁ has no duplicates and R₂ is empty
BR₁ has no duplicates and R₂ is non - empty
CBoth R₁ and R₂ have no duplicates
DR₂ has no duplicates and R₁ is non - empty
Show answerHide answer
Correct answer: (B) R₁ has no duplicates and R₂ is non - empty
Explanation
The query takes the Cartesian product R₁ × R₂ and projects A, B with duplicates removed. If R₂ is empty the product is empty, so R₂ must be non-empty; and since DISTINCT removes duplicates, the result equals R₁ only if R₁ has no duplicates.
Q67UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Consider a schema R(A, B, C, D) and following functional dependencies.
A → B
B → C
C → D
D → B
Then decomposition of R into R1(A, B), R2(B, C) and R3 (B, D) is ______
ADependency preserving and lossless join
BLossless join but not dependency preserving
CDependency preserving but not lossless join
DNot dependency preserving and not lossless join
Show answerHide answer
Correct answer: (A) Dependency preserving and lossless join
Explanation
A → B is preserved in R1, B → C in R2, and B → D, D → B in R3; C → D follows from C → B (in R2, since C → D → B) and B → D. So all dependencies are preserved. R1 ∩ R2 = B and R2 ∩ R3 = B, and B is a key of R2 and R3, so the decomposition is also lossless.
Q68UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
If every non-key attribute is functionally dependent on the primary key, then the relation is in _____
AFirst normal form
BSecond normal form
CThird normal form
DFourth normal form
Show answerHide answer
Correct answer: (B) Second normal form
Explanation
A relation is in 2NF if it is in 1NF and every non-key attribute is fully functionally dependent on the primary key. If every non-key attribute is functionally dependent on the primary key (no partial dependency), the relation is in second normal form.
Q69UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Consider a relation R (A, B, C, D, E, F, G, H), where each attribute is atomic, and following functional dependencies exist
CH → G
A → BC
B → CFH
E → A
F → EG
The relation R is ______
AIn 1NF but not in 2NF
BIn 2NF but not in 3NF
CIn 3NF but not in BCNF
DIn BCNF
Show answerHide answer
Correct answer: (A) In 1NF but not in 2NF
Explanation
A⁺ contains all attributes except D, and D cannot be derived from any attribute, so D must be part of every key (e.g. AD, BD, ED, FD are keys). Then A → BC is a partial dependency of non-key attribute C on part of key AD, so R is in 1NF but not in 2NF.
Q70UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following routing technique/ techniques is/are used in distributed systems?
(A) Fixed Routing
(B) Virtual Routing
(C) Dynamic Routing
Code :
A(A) only
B(A) and (B) only
C(C) only
DAll (A), (B), (C)
Show answerHide answer
Correct answer: (A) (A) only
Explanation
As keyed by the book, distributed systems use fixed routing; virtual and dynamic routing are not the technique keyed here.
Q71UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Quadrature Amplitude Modulation means changing both :
AFrequency and phase of the carrier
BFrequency and amplitude of the carrier
CAmplitude and phase of the carrier
DAmplitude and wavelength of the carrier
Show answerHide answer
Correct answer: (C) Amplitude and phase of the carrier
Explanation
Quadrature amplitude modulation means changing both amplitude and phase of the Carrier.
Q72UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
If a file consisting of 50,000 characters takes 40 seconds to send, then the data rate is ...........
A1 kbps
B1.25 kbps
C2 kbps
D10 kbps
Show answerHide answer
Correct answer: (D) 10 kbps
Explanation
50,000 characters × 8 bits = 400,000 bits sent in 40 seconds, so the data rate = 400,000/40 = 10,000 bits/sec = 10 kbps.
Q73UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
The three aspects of quantization, programmers generally concerned with are :
ACoding error, sampling rate and Amplification
BSampling rate, Coding error and Conditioning
CSampling rate, Aperture time and Coding error
DAperture time, Coding error and Strobing
Show answerHide answer
Correct answer: (C) Sampling rate, Aperture time and Coding error
Explanation
The three aspects of quantization programmers are concerned with are: (1) sampling rate - the number of samples per second; (2) aperture time - the time over which each sample is taken; (3) coding error - the difference between the conditioned signal and the quantized signal.
Q74UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Match the following :
List-I
A. Data link layer
B. Network layer
C. Transport layer
D. Presentation layer
List-II
i. Encryption
ii. Connection control
iii. Routing
iv. Framing
Code :
A B C D
Aiv iii i ii
Biii iv ii i
Civ ii iii i
Div iii ii i
Show answerHide answer
Correct answer: (D) iv iii ii i
Explanation
Data link layer - framing (iv); Network layer - routing (iii); Transport layer - connection control (ii); Presentation layer - encryption (i).
Q75UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
The address of a class B host is to be split into subnets with a 6-bit subnet number. What is the maximum number of subnets and maximum number of hosts in each subnet?
A62 subnets and 1022 hosts
B64 subnets and 1024 hosts
C62 subnets and 254 hosts
D64 subnets and 256 hosts
Show answerHide answer
Correct answer: (A) 62 subnets and 1022 hosts
Explanation
Class B has 16 host bits. Using 6 bits for the subnet leaves 10 host bits. Number of subnets = 2⁶ − 2 = 62; hosts per subnet = 2¹⁰ − 2 = 1022.
Q76UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following statements are true?
(A) The fragmentation field in the base header section of IPv4 have moved to the fragmentation extension header in IPv6
(B) The authentication extension header is new in IPv6
(C) The record route option is not implemented in IPv6
Code :
A(A) and (B) only
B(B) and (C) only
C(A) and (C) only
D(A), (B) and (C)
Show answerHide answer
Correct answer: (D) (A), (B) and (C)
Explanation
In IPv6 the fragmentation fields of the IPv4 base header have moved to the fragmentation extension header, the authentication extension header is new in IPv6, and the record route option is not implemented in IPv6. So all the given statements are correct.
Q77UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Statistical software quality assurance in software engineering involves______
AUsing sampling in place of exhaustive testing of software
BSurveying customers to find out their opinions about product quality
CTracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them
DTracing each defect to its underlying causes, and using the pare to principle to correct each problem found
Show answerHide answer
Correct answer: (C) Tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them
Explanation
Statistical software quality assurance in software engineering involves tracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them.
Q78UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
A signal processor software is expected to operate for 91.25 days after repair, and the mean software repair time is expected to be 5 minutes. Then, the availability of the software is :
Q79UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following statements is/are FALSE with respect to software testing?
S1 : White-box tests are based on specifications; better at telling whether program meets specification, better at finding errors of omission
S2 : Black-box tests are based on code; better for finding crashes, out of bounds errors, file not closed errors.
S3 : Alpha testing is conducted at the developer's site by a team of highly skilled testers for software that is developed as a product to be used by many customers
AOnly S1 and S2 are FALSE
BOnly S1 and S3 are FALSE
COnly S2 and S3 are FALSE
DAll of S1, S2 and S3 are FALSE
Show answerHide answer
Correct answer: (A) Only S1 and S2 are FALSE
Explanation
S1 and S2 interchange white-box and black-box testing: black-box tests are based on specifications and white-box tests are based on code, so both are false. S3 correctly describes alpha testing. So only S1 and S2 are FALSE.
Q80UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following is not a component of memory tube display?
AFlooding gun
BCollector
CGround
DLiquid Crystal
Show answerHide answer
Correct answer: (D) Liquid Crystal
Explanation
Components of a memory tube (direct-view storage tube) display include the flooding gun, primary (writing) gun, collector, storage grid, screen, ground (base) and focusing and deflection system. Liquid crystal is not a component of a memory tube display.
Q81UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following is not true in case Oblique Projections?
AParallel projection rays are not perpendicular to the viewing plane
BParallel lines in space appear parallel on the final projected image
CUsed exclusively for pictorial purposes rather than formal working drawings
DProjectors are always perpendicular to the plane of projection
Show answerHide answer
Correct answer: (D) Projectors are always perpendicular to the plane of projection
Explanation
In oblique projection, the parallel projection rays are not perpendicular to the viewing plane but strike it at an angle other than 90°; parallel lines in space appear parallel on the projected image; and it is used for pictorial purposes rather than formal working drawings. Projectors perpendicular to the plane of projection describe orthographic projection, so (d) is not true.
Q82UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
With respect to CRT, the horizontal retrace is defined as :
AThe path an electron beam takes when returning to the left side of the CRT
BThe path an electron beam takes when returning to the right side of the CRT
CThe technique to turning the electron beam off while retracing
DThe technique of turning the electron beam on/off while retracing
Show answerHide answer
Correct answer: (A) The path an electron beam takes when returning to the left side of the CRT
Explanation
In computer graphics, horizontal retrace is the path the electron beam takes when returning to the left side of the CRT after completing a scan line.
Q83UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
In Artificial Intelligence (Al), which agent deals with happy and unhappy state?
ASimple reflex agent
BModel based agent
CLearning agent
DUtility based agent
Show answerHide answer
Correct answer: (B) Model based agent
Explanation
Note: a utility-based agent, which uses a utility function to distinguish happy and unhappy states, is the usual answer (option d); the book keys (b). The book states that the model-based agent deals with happy and unhappy states.
Q84UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Context free grammar is not closed under :
AConcatenation
BComplementation
CKleene Star
DUnion
Show answerHide answer
Correct answer: (B) Complementation
Explanation
Context-free languages are closed under union, concatenation and Kleene star, but not under complementation (or intersection).
Q85UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
Which of the following problem is undividable?
ATo determine if two finite automata are equivalent
BMembership problem for context free equivalent
CFiniteness problem for finite automata
DAmbiguity problem for context free grammar
Show answerHide answer
Correct answer: (D) Ambiguity problem for context free grammar
Explanation
The ambiguity problem for context-free grammars is undecidable: no Turing machine can always halt and decide whether an arbitrary CFG is ambiguous. Equivalence of finite automata, CFG membership and finiteness for finite automata are decidable.