Basics of Computers

This test consists of 20 questions related to basics of computer, database, data structures and programming languages.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is/are the application(s) of Tree data structure?

  1. Arithmetic expression representation and evaluation
  2. Lexical analysis phase of compiler
  3. Syntax analysis
  4. Both (2) and (3)
  5. (1), (2) and (3) all are true
Question 2 Multiple Choice (Single Answer)

Which of the following is/are the examples of an application software?

  1. Linux
  2. Unix
  3. Opera
  4. BIOS
  5. All of the above
Question 3 Multiple Choice (Single Answer)

Which of the following statements is/are true?

  1. B Tree can be used in database.
  2. In B+ Tree, the root may be either leaf or an internal node with two or more children.
  3. In B Tree of order m, every node has at most m children.
  4. Both (2) and (3).
  5. (1), (2) and (3) all are true.
Question 4 Multiple Choice (Single Answer)

Which of the following statements is/are true?

  1. A perfect binary tree has 2^{(n+1)-1 nodes, where n is the depth of the tree.
  2. A perfect binary tree has 2^n leaf node, where n is the depth of the tree.
  3. A full binary tree has each node either a leaf node or internal node with exactly two non-empty children.
  4. Only (1) and (2) are true.
  5. (1) , (2) and (3) all are true.
Question 5 Multiple Choice (Single Answer)

Which of the following is an example of durability property of database transaction?

  1. Flight booking
  2. Flight ticket
  3. ATM
  4. All of the above
  5. None of the above
Question 6 Multiple Choice (Single Answer)

Which of the following features is not supported by an object based language?

  1. Inheritance
  2. Polymorphism
  3. Abstraction
  4. Encapsulation
  5. None of the above
Question 7 Multiple Choice (Single Answer)

Which of the following statements is /are false?

  1. A cursor defines a private area in memory, when SQL statements are executed.
  2. Implicit cursor are created, when any DML operation occurs in the database.
  3. Explicit cursors are executed by default.
  4. Explicit cursors can process only one record at a time.
  5. None of the above
Question 8 Multiple Choice (Single Answer)

Which of the following statements is/are not true?

  1. Triggers are executed automatically when any associated DML operation is executed.
  2. In row level trigger, an even is fired when any row is updated.
  3. Cyclic cascading in triggers can crash the database.
  4. DESC USER_TRIGGERS function is used to get information about the trigger.
  5. None of the above
Question 9 Multiple Choice (Single Answer)

What is/are the advantage(s) of using stored procedure in SQL?

  1. Stored procedure reduces network traffic.
  2. Stored procedures provide security to the database.
  3. Stored procedure provides maintainability to the application.
  4. Stored procedures are limited to T/SQL only and produce somewhat complexity.
  5. (1), (2) and (3) all are true.
Question 10 Multiple Choice (Single Answer)

Which of the following statements is/are true?

  1. RAM is a volatile memory.
  2. ROM is non-volatile.
  3. Cache memory acts as a buffer between the CPU and the main memory.
  4. Only (2) and (3).
  5. (1), (2) and (3) all are true.
Question 11 Multiple Choice (Single Answer)

Which of the following is called the Container class in Abstract Window Toolkit (AWT) in Java?

  1. It is an abstract superclass of AWT components.
  2. It is a subclass of Component class and is used to hold the other components.
  3. It is a top level window with a title and a border.
  4. It is a top level window with a title and a border and is used to take input from the user.
  5. None of the above
Question 12 Multiple Choice (Single Answer)

Which of the following operating systems has a very short response time?

  1. Real time operating system
  2. Network operating system
  3. Distributed operating system
  4. Time-sharing operating system
  5. None of the above
Question 13 Multiple Choice (Single Answer)

Which of the following is the subclass of Hashtable in Java Collection Framework?

  1. Properties
  2. Dictionary
  3. Vector
  4. Stack
  5. None of the above
Question 14 Multiple Choice (Single Answer)

Which of the following is a method of Vector class in Java Collection Framework?

  1. boolean add(Object o)
  2. int capacity()
  3. void clear()
  4. object clone()
  5. all of the above
Question 15 Multiple Choice (Single Answer)

Which of the following methods is immediately called after the start() method in an applet?

  1. paint()
  2. destroy()
  3. stop()
  4. init()
  5. none of the above
Question 16 Multiple Choice (Single Answer)

Which of the following statements is/are true?

  1. TreeSet class ensures that the elements will be sorted in the natural ascending order.
  2. HashSet class does not maintain the order of the elements.
  3. HashSet ensures that the elements have no duplicacy.
  4. Both (2) and (3).
  5. (1), (2) and (3) all are true.
Question 17 Multiple Choice (Single Answer)

Which of the following statememnts is/are false?

  1. A full adder has a combinational circuit of three input and two output.
  2. A half adder has two input and two output combinational circuits.
  3. XOR gate can be used in half adder, full adder and subtractor.
  4. Only (1) and (2).
  5. (1), (2) and (3) all are true.
Question 18 Multiple Choice (Single Answer)

Which of the following methods of the String class in Java is used to copy a range of characters from the given string to another character array?

  1. getChars()
  2. replace()
  3. replaceAll()
  4. both (2) and (3)
  5. none of the above
Question 19 Multiple Choice (Single Answer)

Which of the following Java applications is known as desktop application?

  1. Standalone application
  2. Enterprise application
  3. Mobile application
  4. Web application
  5. None of the above
Question 20 Multiple Choice (Single Answer)

Which of the following is not related to the Process Control Block (PCB) in the operating system?

  1. Program counter
  2. Process state
  3. CPU registers
  4. Accounting information
  5. None of the above