Sunday 26 July 2015

UGC NET COMPUTER SCIENCE SOLVED QUESTION AND ANSWERS


UGC NET COMPUTER SCIENCE SOLVED QUESTION AND ANSWERS

1. Which of the following is the function of mid-term scheduler in a time-sharing system?
(a) Process creation (b) Context switching
(c) Swapping (d) Controlling degree of multiprogramming
Ans.: b

2. To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
(a) 8 (b) 1 (c) 16 (d) 0
Ans.: b

3. Thrashing
(a) is a natural consequence of virtual memory systems
(b) can always be avoided by swapping
(c) always occurs on large computers
(d) can be caused by poor paging algorithms
Ans.: d

4. The number of entries in an inverted page table
(a) Depends on the size of the process.
(b) is equal to the number of page frames in main memory.
(c) Is equal to the number of page frames in virtual memory.
(d) Is equal to the size of the page frame.
Ans.: b

5. Water fall model for software development is:
(a) A top down approach
(b) A bottom up approach
(c) A sequential approach
(d) A consequential approach.
Ans.: a

6. In software development, value adjustment factors include the following among others.
(a) The criticality of the performance and reusability of the code.
(b) Number of lines of code in the software.
(c) Number of technical manpower and hardware costs.
(d) Time period available and the level of user friendliness.
Ans.: a

7. In clean room software engineering:
(a) Only eco-friendly hardware is used.
(b) Only hired facilities are used for development.
(c) Correctness of the code is verified before testing.
(d) Implementation is done only after ensuring correctness.
Ans.: d

8. The chief Programmer method of development of software was initially used at
(a) IBM
 (b) Microsoft
 (c) TCS
 (d) Infosys
Ans.: a

9. The addressing mode used in the instruction of the form ADD X, Y is
(a) Absolute
(b) Immediate
 (c) Indirect
 (d) Index
Ans.: a

Click to buy Cosmo's UGC NET Computer Sceince Book
10. The postfix expression for the infix expression is
A + B*(C+D)/F+D*E is
(a) AB + CD + *F/D+E*
(b) ABCD + *F/DE*++
(c) A*B + CD/F*DE++
(d) A+*BCD/F*DE++
Ans.: b

11. Which of the following graph has an eulerian circuit?
(a) Any k-regular graph where k is an even number
(b) Any complete graph on 90 vertices
(c) The complement of a cycle on 25 vertices
(d) None of these.
Ans.: a

12. What’s the difference between servlets and applets?
(1) Servlets executes on Servers, where as Applets executes on Browser
(2) Servlets have no GUI, where as an Applet has GUI
(3) Servlets creates static web pages, where as Applets creates dynamic web pages
(4) Servlets can handle only a single request, where as Applet can handle multiple requests
(a) 1,2,3 are correct
(b) 1,2 are correct
(c) 1,3 are correct
(d) 1,2,3,4 are correct
Ans.: b

13. AppletViewer tool is available in which of the folder of JDK
(a) Bin
(b) Lib
(c) Source
 (d) Class
Ans.: a

14. Which is the method that starts the applet?
(a) Main()
(b) Destroy()
 (c) Init()
(d) Reprint()
Ans.: c

15. Which of the following concepts means adding new concepts to a program as it runs ?
(a) Data hiding
(b) Dynamic loading
(c) Dynamic typing
(d) Dynamic binding
Ans.: b

16. Match the following with respect to programming languages :
   List -1                            List - II
(A) Structured Language (I) AVA
(B) Non-structured Language (II) BASIC
(C) Object Oriented Language (III) PASCAL
(D) Interpreted Language (IV) FORTRAN
Language Codes :
(a) A-III, B-IV, C-I, D-II
(b) A-IV, B-III, C-II, D-I
(c) A-II, B-IV, C-I, D-III
 (d) A-II, B-III, C-IV, D-I
Ans.: a

17. Important advantage of using new and delete operators in C++ is
(a) Allocation of memory
(b) Frees the memory previously allocated
(c) Initialization of memory easily
(d) Allocation of memory and frees the memory previously allocated.
Ans.: d

18. Which of the following connects segments of a LAN?
(a) switch
(b) bridge
 (c) router
(d) hub
Ans.: b

19. Which of the following operates only at the physical and data link layer?
(a) ATM
(b) Stop-and-wait ARQ
(c) Frame relay
(d) ICMP
Ans.: c

20. What is the IEEE protocl version for ethernet?
(a) 800
(b) 801
(c) 802
(d) 803
Ans.: c


No comments:

Post a Comment