UGC NET Computer Science PYQ, December 2015 (Paper II & III, Selected Questions)
All 47 questions of UGC NET Computer Science PYQ, December 2015 (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, December 2015 (Paper II & III, Selected Questions)
In general, in a recursive and non-recursive implementation of problem (program) :
ABoth time and space complexities are better in recursive than in non-recursive program
BBoth time and space complexities are better in non-recursive than in recursive program
CTime complexity is better in recursive version but space complexity is better in non-recursive version of the program
DSpace complexity is better in recursive version but time complexity is better in non-recursive version of the program
Show answerHide answer
Correct answer: (B) Both time and space complexities are better in non-recursive than in recursive program
Explanation
Recursion does not offer better space or time complexity; it only makes the program compact and simpler to write and understand than a non-recursive implementation. The non-recursive version avoids function-call overhead and stack space.
Q2UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
An ideal sort is an in-place-sort whose additional space requirement is.............
AO (log₂ n)
BO (nlog₂ n)
CO (1)
DO (n)
Show answerHide answer
Correct answer: (C) O (1)
Explanation
In-place sorts do not need extra space beyond the input array; any extra space they use is a constant, O(1).
Q3UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
The .............. transfers the executable image of a C++ program from hard disk to main memory.
ACompiler
BLinker
CDebugger
DLoader
Show answerHide answer
Correct answer: (D) Loader
Explanation
It is the responsibility of loader to transfer executable files from hard disk to main memory. Debugger is a computer program that is used to test and debug other-programs (target program). Compiler is a software which converts a program written in high level language (Source Language) to low level language. Linker takes object files, links them with each other and with any library files that you specify and produces an executable output file.
Q4UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Consider the following program :
#include < stdio.h>
main ( )
{
int i, inp;
float x, term = 1, sum = 0
scanff ("% f", & inp, &x);
for(i = 1, < = inp; i ++)
{
term = term * x/t;
sum = sum + term;
}
printf("Result = %f\n", sum);
}
The program computes the sum of which of the following series?
Ax + x²/2 + x³/3 + x⁴/4 +….
Bx + x²/2! + x³/3! + x⁴/4! +….
C1 + x²/2 + x³/3 + x⁴/4 +….
D1 + x²/2! + x³/3! + x⁴/4! +….
Show answerHide answer
Correct answer: (B) x + x²/2! + x³/3! + x⁴/4! +….
Explanation
Initially term = 1, sum = 0.
Iteration 1 (i = 1): term = 1 * x/1 = x; sum = x
Iteration 2 (i = 2): term = x * x/2 = x²/2; sum = x + x²/2
Iteration 3 (i = 3): term = (x²/2) * x/3 = x³/6; sum = x + x²/2 + x³/6
Iteration 4 (i = 4): term = (x³/6) * x/4 = x⁴/24; sum = x + x²/2 + x³/6 + x⁴/24
This is x/1! + x²/2! + x³/3! + x⁴/4! + ....
Q5UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Consider the following two statements :
(1) A publicly derived is a subtype of base class
(2) Inheritance provides for code ruse
Which one of the following statements is correct?
ABoth the statements (1) and (2) are correct
BNeither of the statement (1) and (2) are correct
CStatement (1) is correct and (2) is incorrect
DStatement (1) is incorrect and (2) is correct
Show answerHide answer
Correct answer: (A) Both the statements (1) and (2) are correct
Explanation
Inheritance provides for code reuse, and public inheritance creates a subtype: a publicly derived class is a subtype of its base class. Both statements are correct.
Q6UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
System calls are usually invoked by using :
AA privileged instruction
BAn indirect jump
CA software interrupt
DPolling
Show answerHide answer
Correct answer: (C) A software interrupt
Explanation
System calls are invoked from user mode by a software interrupt (trap). A privileged instruction cannot be the answer because privileged instructions cannot be executed in user mode.
Q7UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
In Unix, the login prompt can be changed by changing the contents of the file _____
AContrab
BInit
CGettydefs
DInittab
Show answerHide answer
Correct answer: (C) Gettydefs
Explanation
The gettydefs file supplies the getty command with information about various terminal attributes, such as the default initialization and the login message. (i) There is nothing like contrab in Unix. (ii) The inittab file controls what happens whenever a Unix system is rebooted or forced to change run levels. (iii) init (short for initialization) is the first process started during booting of the computer system.
Q8UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
______ allows selection of the relevant information necessary for the data warehouse.
AThe Top – Down view
BData warehouse view
CData source view
DBusiness query view
Show answerHide answer
Correct answer: (A) The Top – Down view
Explanation
Four views regarding the design of a data warehouse: Top-down view – allows selection of the relevant information necessary for the data warehouse; Data source view – exposes the information being captured, stored and managed by operational systems; Data warehouse view – consists of fact tables and dimension tables; Business query view – sees the data in the warehouse from the view of the end-user.
Q9UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Data which improves the performance and accessibility of the database are called :
AIndexes
BUser data
CApplication metadata
DData dictionary
Show answerHide answer
Correct answer: (A) Indexes
Explanation
Indexes are special lookup tables that the database search engine can use to speed up data retrieval. An index is a pointer to data in a table, very similar to an index at the back of a book.
Q10UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Consider a "CUSTOMERS" database table having a column "CITY" filled with all the names of Indian cities (in capital letters). The SQL statement that finds all cities that have "GAR" somewhere in its name, is :
ASelect * from customers where city = '%GAR%';
BSelect * from customers where city = '$GAR$'
CSelect * from customers where city like '%GAR%';
DSelect * from customers where city as '%GAR'
Show answerHide answer
Correct answer: (C) Select * from customers where city like '%GAR%';
Explanation
The LIKE operator with the % wildcard matches any sequence of characters: Select * from customers where city like '%GAR%';
Q11UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Which of the following services is not provided by wireless access point in 802.11 WLAN?
AAssociation
BDisassociation
CError correction
DIntegration
Show answerHide answer
Correct answer: (C) Error correction
Explanation
Services provided by a wireless access point in 802.11 WLAN: (i) Integration (ii) Disassociation (iii) Association (iv) Authentication (v) Privacy (vi) Distribution (vii) MSDU delivery. Error correction is not provided by the wireless access point in 802.11 WLAN.
Q12UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Which of the following is not a congestion policy at network layer?
AFlow control policy
BPacket discard policy
CPacket lifetime management policy
DRouting algorithm
Show answerHide answer
Correct answer: (A) Flow control policy
Explanation
Flow control is a function of the data link layer and transport layer, not a network layer congestion policy. Flow control manages the rate of data transmission between two nodes to prevent a fast sender from overwhelming a slow receiver. Network layer congestion policies are: (1) Virtual circuits vs datagram inside the subnet (2) Packet queueing and service policy (3) Packet discard policy (4) Routing algorithm (5) Packet lifetime management.
Q13UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Which of the following fields in IPv4 datagram is not related to fragmentation?
AType of service
BFragment offset
CFlags
DIdentification
Show answerHide answer
Correct answer: (A) Type of service
Explanation
Identification, Flags and Fragment offset are the IPv4 header fields used for fragmentation. Type of service is not related to fragmentation.
Q14UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
Which of the following is not a software process model?
APrototyping
BIterative
CTimeboxing
DGlassboxing
Show answerHide answer
Correct answer: (D) Glassboxing
Explanation
Prototyping and iterative are well-known software process models. In the timeboxing model, development is done iteratively as in the iterative enhancement model, with each iteration done in a timebox of fixed duration. Glass boxing is a software testing approach, not a process model.
Q15UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
_____ system is market oriented and is used for data analysis by knowledge workers including managers, Executives and analysts.
AOLTP
BOLAP
CData system
DMarket system
Show answerHide answer
Correct answer: (B) OLAP
Explanation
OLAP (Online Analytical Processing) is market oriented and used for data analysis by knowledge workers. It is characterized by a relatively low volume of transactions; queries are often very complex and involve aggregations; response time is an effectiveness measure; OLAP applications are widely used by data mining techniques.
Q16UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions)
_____ uses electronic means to transfer funds directly from one account to another rather than by cheque or cash
AM-Banking
BE-Banking
CO-Banking
DC-Banking
Show answerHide answer
Correct answer: (B) E-Banking
Explanation
Electronic Banking or E-banking is the use of electronic means to transfer funds directly from one account to another instead of using physical methods like cash or cheques. It includes service like online banking and mobile banking.
Paper III 31 questions
Q17UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
A DMA controller transfers 32-bit words to memory using cycle stealing. The words are assembled from a device that transmits characters at a rate of 4800 characters per second. The CPU is fetching and executing instructions at an average rate of one million instructions per second. By how much will the CPU be slowed down because of the DMA Transfer?
A0.06%
B0.12%
C1.2%
D2.5%
Show answerHide answer
Correct answer: (B) 0.12%
Explanation
1 character = 1 byte and a 32-bit word = 4 bytes. At 4800 characters per second, one word is assembled every 1/1200 sec, so 1200 words are transferred per second by cycle stealing. The CPU executes 1 million instructions per second, so the slowdown = (1200/1000000) × 100 = 0.12%.
Q18UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
A CPU handles interrupt by executing interrupt service subroutine ................
ABy checking interrupt register after execution of each instruction
BBy checking interrupt register at the end of the fetch cycle
CWhenever an interrupt is registered
DBy checking interrupt register at regular time interval
Show answerHide answer
Correct answer: (A) By checking interrupt register after execution of each instruction
Explanation
A CPU handles interrupt by executing interrupt service subroutine by checking the interrupt register after finishing the executing of the current instruction.
Q19UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following 8085 microprocessor hardware interrupt has the lowest priority?
ARST 6.5
BRST 7.5
CTRAP
DINTR
Show answerHide answer
Correct answer: (D) INTR
Explanation
Priority of hardware interrupts in 8085: TRAP > RST 7.5 > RST 6.5 > RST 5.5 > INTR. INTR is a level-triggered, maskable interrupt and has the lowest priority.
Q20UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
If there are n integers to sort, each integer has d digits and each digit is in the set {1, 2, ......, k}, radix sort can sort the numbers in :
AO (d n k)
BO (d nᵏ)
CO((d + n)k)
DO(d(n + k))
Show answerHide answer
Correct answer: (D) O(d(n + k))
Explanation
Consider k buckets. For each digit: (1) place each number in the appropriate bin – O(n); (2) append all the k bins sequentially – O(k). With d digits, the total is O(d(n + k)).
Q21UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Floyd–Warshall algorithm utilizes ............. to solve the all-pairs shortest paths problem on a directed graph in .............. time.
AGreedy algorithm, Θ(V³)
BGreedy algorithm, Θ log n(V²lgn)
CDynamic programming, Θ(V³)
DDynamic programming, Θ log n(V² lgn)
Show answerHide answer
Correct answer: (C) Dynamic programming, Θ(V³)
Explanation
The Floyd–Warshall algorithm uses dynamic programming and compares all possible paths through the graph between each pair of vertices. It does this with Θ(|V|³) comparisons.
Q22UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
A basic feasible solution of a linear programming problem is said to be ............. if at least one of the basic variable is zero.
Adegenerate
Bnon-degenerate
Cinfeasible
Dunbounded
Show answerHide answer
Correct answer: (A) degenerate
Explanation
A feasible solution to an LP problem which is also a basic solution is called a basic feasible solution. A basic feasible solution is called degenerate if the value of at least one basic variable is zero. So the answer is option (a).
Q23UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following is/are correct with reference to abstract class and interface?
(1) A class can inherit only one Abstract class but may inherit several interfaces
(2) An Abstract class can provide complete and default code but an interface has no code
Codes :
A(1) is true
B(2) is true
CBoth (1) and (2) are true
DNeither (1) nor (2) is true
Show answerHide answer
Correct answer: (C) Both (1) and (2) are true
Explanation
An interface is an empty shell: there are only the signatures of the methods, which do not have a body, so statement (2) is true. A class can extend only a single class, whereas it can implement multiple interfaces, so statement (1) is true.
Q24UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following is used to make an Abstract class?
AMaking atleast one member function as pure virtual function
BMaking atleast one member function as virtual function
CDeclaring as abstract class virtual keyword
DDeclaring as Abstract class static keyword
Show answerHide answer
Correct answer: (A) Making atleast one member function as pure virtual function
Explanation
To make a class abstract, at least one member function should be made a pure virtual function.
Q25UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In an operating system, indivisibility of operation means :
AOperation is interruptible
BRace – condition may occur
CProcessor cannot be pre-empted
DAll of the above
Show answerHide answer
Correct answer: (C) Processor cannot be pre-empted
Explanation
In an OS, an indivisible (atomic) operation is performed entirely or not performed at all. This means the processor cannot be pre-empted during it.
Q26UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Function of memory management unit is :
AAddress translation
BMemory allocation
CCache management
DAll of the above
Show answerHide answer
Correct answer: (A) Address translation
Explanation
A memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a hardware unit through which all memory references pass, primarily performing the translation of virtual memory addresses to physical addresses.
Q27UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
A dynamic RAM is refresh cycle of 32 times per msec. Each refresh operation requires 100 nsec and a memory cycle requires 250 nsec. What percentage of memory's total operating time is required for refreshes?
A0.64
B0.96
C2.00
D0.32
Show answerHide answer
Correct answer: (D) 0.32
Explanation
In 1 msec (10⁶ nsec) there are 32 refresh cycles, each taking 100 nsec, so refresh time per msec = 32 × 100 = 3200 nsec. Equivalently, per memory cycle of 250 nsec, refresh cycles = (32 × 250)/10⁶ and refresh time = ((32 × 250)/10⁶) × 100 = 0.8 nsec; percentage = (0.8/250) × 100 = 0.32%.
Q28UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
The character set used in windows 2000 operating system is _____
A8 bit ASCII
BExtended ASCII
C16 bit UNICODE
D12 bit UNICODE
Show answerHide answer
Correct answer: (C) 16 bit UNICODE
Explanation
Windows 2000 uses the 16-bit UNICODE character set. Extended ASCII encodings are 8-bit or larger encodings that include the 7-bit ASCII characters.
Q29UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In Unix, the command to enable execution permission for file "mylife" by all is _____
AChmod ugo + X myfile
BChmod a + X myfile
CChmod + X myfile
DAll of the above
Show answerHide answer
Correct answer: (D) All of the above
Explanation
All three commands enable execute permission: X stands for execute and + adds the permission; ugo means user, group and others; a means all; with no class given, + applies it for all.
Q30UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
What will be the output of the following Unix command?
$rm chap0\[1 – 3\]
ARemove file chap0[1 – 3]
BRemove file chap01, chap02, chap03
CRemove file chap\[1 – 3\]
DNone of the above
Show answerHide answer
Correct answer: (A) Remove file chap0[1 – 3]
Explanation
rm chap* would remove all files beginning with chap. To remove a file whose name contains a special character, escape it with the backslash (\); this is called escaping or despecializing. So rm chap0\[1 – 3\] removes the file named chap0[1 – 3] itself.
Q31UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In Unix operating system, special files are used to :
ABuffer data received in its input from where a process reads
BProvide a mechanism to map physical device to file names
CStore list of file names plus pointers associated with i-nodes
DStore information entered by a user application program or utility program
Show answerHide answer
Correct answer: (B) Provide a mechanism to map physical device to file names
Explanation
In the Unix file system, six types of file are distinguished: special, named pipes, links, symbolic links, regular (ordinary) and directory. A special file contains no data, but provides a mechanism to map physical devices to file names. The file names are used to access peripheral devices, such as terminals and printers.
Q32UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following statement regarding the features of the object-oriented approach to databases are true?
(1) The ability to develop more realistic models of the real world
(2) The ability to represent the world in a non-geometric way
(3) The ability to develop databases using natural language approaches
(4) The need to split objects into their component parts
(5) The ability to develop database models based on location rather than state and behavior
Codes :
A(1), (2) and (3)
B(2), (3) and (4)
C(1), (4) and (5)
D(3), (4) and (5)
Show answerHide answer
Correct answer: (A) (1), (2) and (3)
Explanation
The following statements are true: (1) the ability to develop more realistic models of the real world; (2) the ability to represent the world in a non-geometric way; (3) the ability to develop databases using natural language approaches. Hence the answer is (a).
Q33UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Consider the following database table :
Create table test (
one integer,
two integer,
primary key (one),
unique (two),
check(one > = 1 and < = 10),
check(two > = 1 and < = 5)
How many data records/tuples atmost can this table contain?
A5
B10
C15
D50
Show answerHide answer
Correct answer: (A) 5
Explanation
Attribute 'one' can have 10 values from 1 to 10 and attribute 'two' can have 5 values from 1 to 5. Since 'two' is unique, it cannot repeat, and every tuple must have a distinct value of 'two' from only 5 possibilities. So the relation can have at most 5 tuples.
Q34UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Suppose ORACLE relation R(A, B) currently has tuples {(1, 2), (1, 3), (3, 4)} and relation S(B, C) currently has {(2, 5), (4, 6), (7, 8)}. Consider the following two SQL queries SQ1 and SQ2 :
SQ1 : Select *
From R Full Join S
On R.B = S.B;
SQ2 : Select *
From R Inner Join S
On R.B = S.B;
The numbers of tuples in the result of the SQL query SQ1 and the SQL query SQ2 are given by :
A2 and 6 respectively
B6 and 2 respectively
C2 and 4 respectively
D4 and 2 respectively
Show answerHide answer
Correct answer: (D) 4 and 2 respectively
Explanation
R.B = S.B holds for 2 records (B = 2 and B = 4), so SQ2 (inner join) returns 2 tuples. The full outer join returns the 2 matching tuples plus the unmatched tuple of R (1, 3) and the unmatched tuple of S (7, 8), so SQ1 returns 4 tuples.
Q35UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Consider the following three SQL queries (Assume the data in the people table) :
(1) Select Name from people where Age > 21;
(2) Select Name from people where Height > 180;
(3) Select Name from people where (age > 21) or (Height > 180);
If the SQL queries (1) and (2) above, return 10 row and 7 rows in the result set respectively, then what is one possible number of rows returned by the SQL query (3)?
A3
B7
C10
D21
Show answerHide answer
Correct answer: (C) 10
Explanation
Query (3) returns the union of the two result sets, so it returns between 10 and 17 rows. If all rows are distinct the answer would be 10 + 7 = 17; if set (2) is a subset of set (1), it is 10 + 7 – 7 = 10. Among the options only 10 is possible.
Q36UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
The combination of an IP address and a port number is known as .............
ANetwork number
BSocket address
CSubnet mask number
DMAC address
Show answerHide answer
Correct answer: (B) Socket address
Explanation
A socket address is the combination of an IP address & a port number, much like one end of a telephone connection is the combination of a phone number and a particular extension.
Q37UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Consider a subnet with 720 routers. If a three-level hierarchy is choosen with eight clusters, each containing 9 regions of 10 routers, then total number of entries in the routing table is........
A25
B27
C53
D72
Show answerHide answer
Correct answer: (A) 25
Explanation
With eight clusters, each containing 9 regions of 10 routers, each router needs 10 entries for local routers, 8 entries for the other regions in its own cluster and 7 entries for the distant clusters: total 10 + 8 + 7 = 25.
Q38UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In a classful addressing, the IP addresses with 0 (zero) as network number:
ARefers to the current network
BRefers to broadcast on the local network
CRefers to broadcast on a distant network
DRefers to loopback testing
Show answerHide answer
Correct answer: (A) Refers to the current network
Explanation
A host number of 0 denotes the network address of a network. Addresses with a network number of 0 refer to the current network, allowing a host to send to a neighbour without needing to know the network number of its local network (IP packets with destination network address 0 are not routed).
Q39UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In electronic mail, which of the following protocols allows the transfer of multimedia messages?
AIMAP
BSMTP
CPOP 3
DMIME
Show answerHide answer
Correct answer: (D) MIME
Explanation
Multipurpose Internet Mail Extensions (MIME) is an internet standard that extends the format of email to support text in character sets other than ASCII, non-text attachments (audio, video, images, application programs etc.) and message bodies with multiple parts.
Q40UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which one of the following statements, related to the requirements phase in software Engineering, is incorrect?
A"Requirement validation" is one of the activities in the requirements phase
B"Prototyping" is one of the methods for requirement analysis
C"Modeling-oriented approach" is one of the methods for specifying the functional specifications
D"Function points" is one of the most commonly used size metric for requirements
Show answerHide answer
Correct answer: (C) "Modeling-oriented approach" is one of the methods for specifying the functional specifications
Explanation
Requirement validation is an activity in the requirements phase where the gathered requirements are checked for completeness, consistency and correctness. Prototyping is a technique for requirement analysis that builds a working model to get user feedback. Function points are a commonly used size metric for requirements. The modeling-oriented approach is not one of the methods for specifying the functional specifications, so statement (c) is incorrect.
Q41UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which one of the following non-functional quality attributes is not highly affected by the architecture of the software?
APerformance
BReliability
CUsability
DPortability
Show answerHide answer
Correct answer: (C) Usability
Explanation
Usability is not highly affected by the architecture of the software; performance, reliability and portability are highly affected by the software architecture.
Q42UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
............. tag is an extension to HTML that can enclose any number of JavaScript statements.
A<SCRIPT>
B<BODY>
C<HEAD>
D<TITLE>
Show answerHide answer
Correct answer: (A) <SCRIPT>
Explanation
The <SCRIPT> tag is an extension to HTML that can enclose any number of JavaScript statements. Syntax: <script> ... </script>
Q43UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
JavaScript and Java similar name because ............ is/are true.
(1) JavaScript's syntax is loosely based on Java's syntax
(2) JavaScript is stripped down version of Java
(3) Java and JavaScript are originated from Island of Java
Codes :
A(1) only
B(1), (2) and (3)
C(1) and (2)
D(1) and (3)
Show answerHide answer
Correct answer: (A) (1) only
Explanation
Statement (2) and Statement (3) are not true because JavaScript is not stripped down version of Java and they are not originated from Island of Java. Although they are different languages, JavaScript's syntax is loosely based on Java.
Q44UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following statements are true with reference to the way of describing XML data?
(1) XML uses DTD to describe the data
(2) XML uses XSL to describe the data
(3) XML uses a description node to describe the data
Codes :
A(1) only
B(2) only
C(1) and (2)
D(1) and (3)
Show answerHide answer
Correct answer: (D) (1) and (3)
Explanation
XML data is described using a DTD (or schema) and description nodes; XSL is used to transform/present XML, not to describe it. The correct statements are (1) and (3). Hence the answer is option (d).
Q45UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Blind image deconvolution is ______
ACombination of blur identification and image restoration
BCombination of segmentation and classification
CCombination of blur and non-blur image
DNone of the above
Show answerHide answer
Correct answer: (A) Combination of blur identification and image restoration
Explanation
In image processing, blind deconvolution is a deconvolution technique that permits recovery of the target scene from a single or a set of blurred images in the presence of a poorly determined or unknown point spread function (PSF). It combines blur identification and image restoration.
Q46UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
Which of the following graphic primitives are considered as the basic building blocks of computer graphics?
(1) Points
(2) Lines
(3) Polylines
(4) Polygons
Codes :
A(1) only
B(1) and (2)
C(1), (2) and (3)
D(1), (2), (3) and (4)
Show answerHide answer
Correct answer: (B) (1) and (2)
Explanation
A pixel is a point of light, one tiny dot on a raster display; though it has no structure, it is a building block and a graphics primitive. Lines, especially straight lines, constitute the basic building block of line graphs, bar and pie charts, graphs of mathematical functions, engineering drawings and architectural plans. Points and lines are the basic building blocks of computer graphics.
Q47UGC NET Computer Science, December 2015 (Paper II & III, Selected Questions) · Paper III
In constraint satisfaction problem, constraints can be stated as ______
AArithmetic equations and inequalities that bind the values of variables
BArithmetic equations and inequalities that doesn't bind any restriction over variables
CArithmetic equations that impose restrictions over variables
DArithmetic equations that discard constraints over the given variables
Show answerHide answer
Correct answer: (A) Arithmetic equations and inequalities that bind the values of variables
Explanation
In a constraint satisfaction problem (e.g. the map colouring problem), constraints are expressed as arithmetic equations and inequalities that bind (restrict) the values of the variables. So option (a) is the proper choice.