Previous Year Paper · Questions with answers

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.

  • 85 questions
  • 85 explained
  • Official answer key
  • Free

Paper II 48 questions

Q1UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)
The Octal equivalent of the binary number 1011101011 is :
  1. A7353
  2. B1353
  3. C5651
  4. 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.
  1. A(635)₄
  2. B(32312)₄
  3. C(21323)₄
  4. 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
  1. A(A + C) . D + B
  2. B(A + B) . C + D
  3. C(A + D) . C + B
  4. 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.
  1. A[1 1 1 0] [0 1 1 0] [1 1 1 0] [1 0 1 1]
  2. B[1 1 0 1] [0 1 0 1] [1 1 1 0] [1 0 1 1]
  3. C[1 1 1 1] [0 1 1 0] [1 1 1 0] [1 0 1 1]
  4. D[1 1 1 0] [0 1 1 0] [1 0 1 1] [1 0 1 1]
Show answerHide answer

Correct answer: (A) [1 1 1 0] [0 1 1 0] [1 1 1 0] [1 0 1 1]

Explanation

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 :
  1. AP ↔ ¬Q
  2. B¬ P ↔Q
  3. C¬ P ↔ ¬ Q
  4. 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)
Negation of the proposition ∃ x H(x) is :
  1. A∃x ¬H(x)
  2. B∀x ¬H(x)
  3. C∀x H(x)
  4. D¬x H(x)
Show answerHide answer

Correct answer: (B) ∀x ¬H(x)

Explanation

Proposition: ∃x H(x). Negation: ¬∃x H(x) ≡ ∀x ¬H(x).

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?
  1. A9 O'clock
  2. B8 O'clock
  3. C5 O'clock
  4. 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?
  1. A720
  2. B120
  3. C60
  4. 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?
  1. Aax = FFF5 h and cx = 0 h
  2. Bax = FFF6 h and cx = 0 h
  3. Cax = FFF7 h and cx = 0A h
  4. 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 :
  1. Aax = 003CH; CF = 0
  2. Bax = 001EH; CF = 0
  3. Cax = 007BH; CF = 1
  4. 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?
  1. AInfinite
  2. B5
  3. C20
  4. 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?
  1. A3, 4, 5, 7, 9, 14, 20, 18, 17, 16, 15
  2. B20, 18, 17, 16, 15, 14, 3, 4, 5, 7, 9
  3. C20, 18, 17, 16, 15, 14, 9, 7, 5, 4, 3
  4. D3, 4, 5, 7, 9, 14, 15, 16, 17, 18, 20
Show answerHide answer

Correct answer: (D) 3, 4, 5, 7, 9, 14, 15, 16, 17, 18, 20

Explanation

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?
  1. A3
  2. B4
  3. C5
  4. 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 :
  1. AO(n log n)
  2. BO(n² log n)
  3. CO(n² + log n)
  4. 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 :
  1. Afloor ((i + 1)/2)
  2. Bceiling ((i + 1)/2)
  3. Cfloor (i/2)
  4. 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?
  1. AAD, AE, AG, GC, GB, BF
  2. BGC, GB, BF, GA, AD, AE
  3. CGC, AD, GB, GA, BF, AE
  4. 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?
  1. AEvery minimum spanning tree of G must contain Eₘᵢₙ
  2. BIf Eₘₐₓ is in minimum spanning tree, then its removal must disconnect G.
  3. CNo minimum spanning tree contains Eₘₐₓ
  4. 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_____
  1. ATolerance
  2. BScalability
  3. CCapability
  4. 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.
  1. ALOOK
  2. BSCAN
  3. CC – LOOK
  4. 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?
  1. AF5, F2, F1, F3, F6, F4
  2. BF4, F6, F3, F1, F2, F5
  3. CF1, F2, F3, F4, F5, F6
  4. 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?
  1. ADispatcher
  2. BInterrupt
  3. CScheduler
  4. 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 _____
  1. AWait, stop
  2. BWait, hold
  3. CHold, signal
  4. 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.
  1. AFunctional dependencies
  2. BData integrity
  3. CReferential integrity
  4. 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.
  1. ALOOK-UP
  2. BINSERT
  3. CMODIFY
  4. 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 :
  1. AOnly (A) is true
  2. BOnly (B) is true
  3. CBoth (A) and (B) are true
  4. 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.
  1. ASELECT
  2. BCREATE
  3. CAVG
  4. 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
  1. Aiii iv i ii
  2. Biv iii ii i
  3. Civ ii iii i
  4. 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.
  1. AStatic algorithm
  2. BAdaptive algorithm
  3. CNon-adaptive algorithm
  4. 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?
  1. ANetwork layer
  2. BDatalink layer
  3. CSession layer
  4. 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?
  1. AHub
  2. BModem
  3. CSwitch
  4. 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 ______
  1. A32 bits
  2. B48 bits
  3. C64 bits
  4. 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.
  1. A0.0.0.0
  2. B1.0.0.0
  3. C1.1.1.1
  4. 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 :
  1. ASoftware suffers from exposure to hostile environments
  2. BDefects are more likely to arise after software has been used often
  3. CMultiple change requests introduce errors in component interactions
  4. DSoftware spare parts become harder to order
Show answerHide answer

Correct answer: (C) Multiple change requests introduce errors in component interactions

Explanation

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 :
  1. ARe-constructing the original source code from the existing machine (low - level) code program and modifying it to make it more user - friendly
  2. BScrapping the source code of a software and re-writing it entirely from scratch
  3. CRe-organizing and modifying existing software systems to make then more maintainable
  4. 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?
  1. AThe importance of self-organizing teams as well as communication and collaboration between team members and customers
  2. BRecognition that change represents opportunity
  3. CEmphasis on rapid delivery of software that satisfies the customer
  4. 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 :
  1. A(C), (A), (B), (D)
  2. B(C), (A), (D), (B)
  3. C(D), (C), (B), (A)
  4. 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?
  1. APath Testing
  2. BIntegration Testing
  3. CUnit Testing
  4. 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++?
  1. AMust be declared in public section of class
  2. BVirtual function can be static
  3. CVirtual function should be accessed using pointers
  4. 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++)?
  1. AClass templates and function templates are instantiated in the same way
  2. BClass templates differ from function templates in the way they are initiated
  3. CClass template is initiated by defining an object using the template argument
  4. 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++?
  1. AUnary Operator
  2. BLogical not
  3. CArray element access
  4. 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++)
  1. Athe class of which it is member
  2. Bthe object of which it is a member
  3. Cthe public part of its class
  4. 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++):
  1. A*(ptrdata++)
  2. B(*ptrdata)++
  3. C*(ptrdata)++
  4. 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?
  1. AZigbee
  2. BBluetooth
  3. CWi-Fi
  4. 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
  1. Aiii iv ii i
  2. Biv iii ii i
  3. Cii iv i iii
  4. 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?
  1. ASun-way Taihu Light
  2. BTitan
  3. CPiz Daint
  4. 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?
  1. AMost ERP software implementations fully achieve seamless integration.
  2. BERP software package are themselves combinations of separate applications for manufacturing, materials, resource planning, general ledger, human resources, procurement and order entry
  3. CIntegration of ERP systems can be achieved in only one way
  4. 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?
  1. AK–Mean method
  2. BSelf Organizing feature map method
  3. CK – nearest neighbor method
  4. 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.
  1. A0*1+0*1*
  2. B0*10+1*
  3. C0*1*0*1+
  4. 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 :
  1. A17 bits
  2. B20 bits
  3. C24 bits
  4. 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?
  1. AIn memory-mapped I/O, the CPU can manipulate I/O data residing in interface registers that are not used to manipulate memory words
  2. BThe isolated I/O method isolates memory and I/O addresses so that memory address range is not affected by interface address assignment
  3. CIn asynchronous serial transmission of data the two units share a common clock
  4. 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?
  1. AAC flag only
  2. BCY flag only
  3. CZ flag only
  4. 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
  1. A4
  2. B8
  3. C16
  4. 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
  1. Aiv i ii
  2. Biii iv ii
  3. Cii iii i
  4. 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?
  1. AIndexed addressing mode
  2. BBase Register addressing mode
  3. CRelative address mode
  4. 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?
  1. Ae = i + n
  2. Be = i + 2n
  3. Ce = 2i + n
  4. 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...............
  1. ABoth deterministic and fully observable
  2. BNeither deterministic nor fully observable
  3. CDeterministic but not fully observable
  4. 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?
  1. AO(b + m)
  2. BO(bm)
  3. CO(bᵐ)
  4. 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 :
  1. Ause dynamic scope rules
  2. Bsupport dynamic data structures
  3. Csupport recursion
  4. 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.
  1. A3(x')² + 4(y')² = 1
  2. B(x'/3)² + (y'/4)² = 1
  3. C(3x')² + (4y')² = 1
  4. 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
  1. A[1/2 0 −1/2] [0 1/4 −1/4] [0 0 1]
  2. B[1/2 0 1/2] [0 −1/4 1/4] [1 1 1]
  3. C[1/2 0 −1/2] [0 1/4 1/4] [1 0 0]
  4. D[1/2 0 1/2] [0 1/4 −1/4] [1 0 0]
Show answerHide answer

Correct answer: (A) [1/2 0 −1/2] [0 1/4 −1/4] [0 0 1]

Explanation

Window: xwmin = 1, ywmin = 1, xwmax = 3, ywmax = 5. Viewport (normalized screen): xvmin = 0, yvmin = 0, xvmax = 1, yvmax = 1. Scale factors sx = (1 − 0)/(3 − 1) = 1/2 and sy = (1 − 0)/(5 − 1) = 1/4. N = T(xvmin, yvmin) · S(sx, sy) · T(−xwmin, −ywmin), which gives the matrix [1/2 0 −1/2], [0 1/4 −1/4], [0 0 1].

Q61UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions) · Paper III
The Bounded buffer problem is also known as_____
  1. AProducer - consumer problem
  2. BReader - writer problem
  3. CDining philosophers problem
  4. 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 :
  1. A(A) is true; (B) is false
  2. B(A) is false; (B) is true
  3. CBoth (A) and (B) are true
  4. 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.
  1. AFIFO
  2. BLIFO
  3. CLRU
  4. 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?
  1. AOnly (A)
  2. BOnly (B)
  3. CBoth (A) and (B)
  4. 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
  1. Aiii iv i ii
  2. Biv iii i ii
  3. Civ iii ii i
  4. 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.
  1. AR₁ has no duplicates and R₂ is empty
  2. BR₁ has no duplicates and R₂ is non - empty
  3. CBoth R₁ and R₂ have no duplicates
  4. 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 ______
  1. ADependency preserving and lossless join
  2. BLossless join but not dependency preserving
  3. CDependency preserving but not lossless join
  4. 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 _____
  1. AFirst normal form
  2. BSecond normal form
  3. CThird normal form
  4. 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 ______
  1. AIn 1NF but not in 2NF
  2. BIn 2NF but not in 3NF
  3. CIn 3NF but not in BCNF
  4. 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 :
  1. A(A) only
  2. B(A) and (B) only
  3. C(C) only
  4. 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 :
  1. AFrequency and phase of the carrier
  2. BFrequency and amplitude of the carrier
  3. CAmplitude and phase of the carrier
  4. 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 ...........
  1. A1 kbps
  2. B1.25 kbps
  3. C2 kbps
  4. 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 :
  1. ACoding error, sampling rate and Amplification
  2. BSampling rate, Coding error and Conditioning
  3. CSampling rate, Aperture time and Coding error
  4. 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
  1. Aiv iii i ii
  2. Biii iv ii i
  3. Civ ii iii i
  4. 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?
  1. A62 subnets and 1022 hosts
  2. B64 subnets and 1024 hosts
  3. C62 subnets and 254 hosts
  4. 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 :
  1. A(A) and (B) only
  2. B(B) and (C) only
  3. C(A) and (C) only
  4. 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______
  1. AUsing sampling in place of exhaustive testing of software
  2. BSurveying customers to find out their opinions about product quality
  3. CTracing each defect to its underlying cause, isolating the vital few causes, and moving to correct them
  4. 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 :
  1. A96.9862%
  2. B97.9862%
  3. C98.9962%
  4. D99.9962%
Show answerHide answer

Correct answer: (D) 99.9962%

Explanation

Availability = MTBF / (MTBF + MTTR). MTBF = 91.25 × 24 × 60 = 131,400 minutes and MTTR = 5 minutes, so availability = 131,400 / 131,405 = 99.9962%.

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
  1. AOnly S1 and S2 are FALSE
  2. BOnly S1 and S3 are FALSE
  3. COnly S2 and S3 are FALSE
  4. 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?
  1. AFlooding gun
  2. BCollector
  3. CGround
  4. 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?
  1. AParallel projection rays are not perpendicular to the viewing plane
  2. BParallel lines in space appear parallel on the final projected image
  3. CUsed exclusively for pictorial purposes rather than formal working drawings
  4. 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 :
  1. AThe path an electron beam takes when returning to the left side of the CRT
  2. BThe path an electron beam takes when returning to the right side of the CRT
  3. CThe technique to turning the electron beam off while retracing
  4. 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?
  1. ASimple reflex agent
  2. BModel based agent
  3. CLearning agent
  4. 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 :
  1. AConcatenation
  2. BComplementation
  3. CKleene Star
  4. 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?
  1. ATo determine if two finite automata are equivalent
  2. BMembership problem for context free equivalent
  3. CFiniteness problem for finite automata
  4. 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.

Practise it as a real test

Reading answers is not the same as solving under time pressure. Attempt UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions) online with the real 150-minute timer and marking scheme to get your score and all-India rank, or browse the other tests in the UGC NET Computer Science Previous Year Papers & Mock Test.