Computer Aptitude: Java & General Computing

Tests knowledge of Java programming concepts, computer hardware, software tools, operating systems, and general computing fundamentals.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following softwares is used to play videos?

  1. MS Office
  2. Windows Explorer
  3. Dreamweaver
  4. Avast
  5. None of these
Question 2 Multiple Choice (Single Answer)

Which of the following statements is false about java programming language?

  1. A class cannot be both final and abstract.
  2. A final class cannot be subclassed.
  3. An abstract class cannot be instantiated.
  4. A single abstract method in a class means the whole class must be abstract.
  5. None of these
Question 3 Multiple Choice (Single Answer)

Which of the following statements is/are false about access specifics?

  1. Default members can be accessed only by classes in the same package.
  2. Protected members can be accessed by other classes in the same package only.
  3. A protected member inherited by a subclass from another package is not accessible to any other class in the subclass package, except for the subclasses of the subclass.
  4. Public members cannot be accessed in other packages.
  5. Both (2) and (4)
Question 4 Multiple Choice (Single Answer)

Which of the following statements is/are correct about interface?

  1. Interface constant declarations of public, static and final are optional in any combination.
  2. An interface can have abstract method only; no concrete methods allowed.
  3. A class implementing an interface can itself be abstract.
  4. A class can implement any number of interfaces.
  5. All of the above
Question 5 Multiple Choice (Single Answer)

Which of the following statements is/are correct about StringBuffer class?

  1. This class is thread-safe.
  2. The object of this class can be modified.
  3. It contains some particular sequence of characters.
  4. All of the above
  5. Both (1) and (3)
Question 6 Multiple Choice (Single Answer)

Which of the following is/are used to get confidential information about the users?

  1. Viruses
  2. Worms
  3. Spyware
  4. Phishing
  5. Back door
Question 7 Multiple Choice (Single Answer)

Which of the following statements is/are correct about garbage collection in java?

  1. Garbage collection can be decided by the user.
  2. The finalise() method is guaranteed to run once for the garbage collection.
  3. Garbage collection works for the automatic memory management.
  4. Both (1) and (2)
  5. Both (2) and (3)
Question 8 Multiple Choice (Single Answer)

Which of the following is not a hardware device?

  1. Mouse
  2. Keyboard
  3. Bluetooth
  4. Pendrive
  5. Disc
Question 9 Multiple Choice (Single Answer)

Find the odd one out.

  1. Python
  2. C++
  3. C#
  4. ASP.NET
  5. Java
Question 10 Multiple Choice (Single Answer)

Which of the following statements is/are correct about volatile variables?

  1. These variable are used to save an object into a file.
  2. The thread will read the most recent updated value by using volatile variable.
  3. It is used to create variables and methods that will exist independently of any instances created for the class.
  4. Volatile variables are used in asynchronous medium.
  5. Both (2) and (4)
Question 11 Multiple Choice (Single Answer)

Which of the following options is not an 'Object Oriented Programming' (OOP) feature?

  1. Inheritance
  2. Encapsulation
  3. Abstraction
  4. Polymorphism
  5. Serialisation
Question 12 Multiple Choice (Single Answer)

Which of the following options is not a server?

  1. Tomcat
  2. Weblogic
  3. Netbeans
  4. Websphere
  5. Glassfish
Question 13 Multiple Choice (Single Answer)

Which of the following options is not a browser?

  1. Opera
  2. Firefox
  3. Internet Explorer
  4. Twitter
  5. Google Chrome
Question 14 Multiple Choice (Single Answer)

Which of the following IDEs (Integrated Development Environment) is used to develop android applications?

  1. Netbeans
  2. Eclipse
  3. Visual Studio
  4. iLog
  5. Android SDK
Question 15 Multiple Choice (Single Answer)

All of the following are types of operating system, except

  1. Windows 2000
  2. Linux
  3. Unix
  4. MS Office
  5. Both (3) and (4)