UGC NET/JRF PAPER 2 COMPUTER SCIENCE QUESTION PAPER

UGC NET/JRF 2020 Exam comprises of two papers – Paper 1 and Paper 2. “PAPER 2” is COMPUTER SCIENCE for those candidates which have done their master in COMPUTER SCIENCE.Here we are providing you UGC NET/JRF paper 2 COMPUTER SCIENCEPREVIOUS YEAR” question WITH answer .

Following are the some java questions asked in UGC NET PAPER 2 examination: –

Q 1 – What is the size of char variable?

A – 8 bit

B – 16 bit

C – 32 bit

D – 64 bit

Answer : B

Q 2 – What is polymorphism?

A – Polymorphism is a technique to define different objects of the same type.

B – Polymorphism is the ability of an object to take on many forms.

C – Polymorphism is a technique to define different methods of the same type.

D – None of the above.

Answer : B

Q 3 – What is JIT compiler?

A – JIT improves the runtime performance of computer programs based on bytecode.

B – JIT is an application development framework.

C – JIT is an implementation of the Java Virtual Machine which executes Java programs.

D – None of the above

Answer : A

Explanation

JIT, Just-In-Time Compiler, improves the runtime performance of computer programs based on bytecode.

Q 4 – Static binding uses which information for binding?

A – type.

B – object.

C – Both of the above.

D – None of the above.

Answer : A

Q 5 – What are Wrapper classes?

A – These are classes that allow primitive types to be accessed as objects.

B – These are classes that wraps functionality of an existing class.

C – Both of the above.

D – None of the above.

Answer : A

Q 6 – Which of the following is a marker interface?

A – serializable

B – comparable

C – cloneable

D – none of the above.

Answer : A

Q 7 – What is the size of the short variable?

A – 8 bit

B – 16 bit

C – 32 bit

D – 64 bit

Answer : C

Q 8 – What is the default value of String variable?

A – “”

B – ”

C – null

D – not defined

Answer : C

Q 9 – What is local variable?

A – Variables defined inside methods, constructors or blocks are called local variables.

B – Variables defined outside methods, constructors or blocks are called local variables.

C – Static variables defined outside methods, constructors or blocks are called local variables.

D – None of the above.

Answer : A

Q 10 – What is NullPointerException?

A – A NullPointerException is thrown when calling the instance method of a null object or modifying/accessing field of a null object.

B – A NullPointerException is thrown when an object is set as null.

C – A NullPointerException is thrown when object property is set as null.

D – None of the above.

Answer : A

To get more help on ” What is JavaScript and why so popular??? ” you may write us at: 

[email protected]

To check about PREVIOUS YEAR QUESTION PAPER of UGC NET PAPER 1 topic on ICT click below:

https://www.soluversity.in/ugc-net-paper-1-ict-mcq

If you want to DOWNLOAD syllabus of ugc net please visit the official site:

https://ugcnet.nta.nic.in/webinfo/public/home.aspx

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *