Java Programming and Computer Technology

Covers Java programming keywords and access modifiers, computer networking layers and protocols, and computer hardware fundamentals

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

A bluetooth device can communicate with maixmum of how many devices(including master)?

  1. 6
  2. 1
  3. 8
  4. No limit
Question 2 Multiple Choice (Single Answer)

Which was the first evolved complete CPU on one chip?

  1. Intel 8085
  2. Intel 4004
  3. Intel 8086
  4. Intel 3003
Question 3 True/False

Accessing a shared network folder through a mapped network drive is much faster than accessing the same folder via My Network Places.

  1. True
  2. False
Question 4 True/False

An IP address can only be Public

  1. True
  2. False
Question 5 True/False

The main function of the network layer is routing packets from the source machine to the destination machine

  1. True
  2. False
Question 6 Multiple Choice (Single Answer)

A router that can handle multiple protocols is called a ________router.

  1. Ethernet
  2. Internet
  3. Multiprotocol
  4. None of the above
Question 7 Multiple Choice (Single Answer)

The technique of temporarily delaying outgoing acknowledgements so that they can be hooked onto the next outgoing data frame is known as

  1. Sliding
  2. piggybacking
  3. correcting
  4. None of the above
Question 8 True/False

The data link layer takes the packets it gets from the network layer and encapsulates them into frames for transmission

  1. True
  2. False
Question 9 True/False

The data link layer takes the packets it gets from the network layer and encapsulates them into frames for transmission

  1. True
  2. False
Question 10 True/False

Undirectional protocols are also called as Sliding window protocols

  1. True
  2. False
Question 11 Multiple Choice (Single Answer)

The data link layer :

  1. Provides a well-defined service interface to the network layer
  2. Deals with transmission errors
  3. Regulating the flow of data so that slow receivers are not swamped by fast senders
  4. All of the above
Question 12 Multiple Choice (Single Answer)

SCSI port (pronounced skuzzy) stands for

  1. System Computer Scanning Interface
  2. Small Computer System Interface
  3. Small Computer System Internet
  4. System Computer, System Interfaced
Question 13 Multiple Choice (Single Answer)

Which keyword can protect a class in a package from accessibility by the classes outside the package

  1. private
  2. final
  3. protected
  4. don't use any keyword at all (make it default)
Question 14 Multiple Choice (Single Answer)

The use of protected keyword to a member in a class will restrict its visibility as follows

  1. Visible only inside the package
  2. Visible only in the class and its subclass in the same package
  3. Visible in all classes in the same package and subclasses in other packages
  4. Visible only in the class where it is declared
Question 15 Multiple Choice (Single Answer)

Which of the following statements about abstract methods/classes in Java are true?1. An abstract class cannot be instantiated.2. Constructors cannot be abstract.3. A subclass of an abstract class must defined the abstract methods.4. Static methods may be declared abstract.

  1. Line 1, line 2 and line 3 only
  2. Line 1 only
  3. Line 1 and line 2 only
  4. Line 2 only
  5. All are true
Question 16 Multiple Choice (Single Answer)

We would like to make a member of a class visible in all subclasses regardless of what package they are in. Which one of the following keywords would achieve this?

  1. private
  2. public
  3. private OR protected
  4. protected
Question 17 Multiple Choice (Single Answer)

Which of the following keywords are used to control access to a class member? (A) default (B) abstract (C) protected (D) interface (E) public

  1. All of these
  2. (A), (C) & (E)
  3. (C) & (E)
  4. (B), (C) & (E)
Question 18 Multiple Choice (Single Answer)

Which of the following are keywords? (A) switch (B) integer (C) default (D) boolean (E) object

  1. (B) & (C)
  2. (E)
  3. (A) & (C)
  4. (D)
Question 19 Multiple Choice (Single Answer)

The keywords reserved but not used in the initial version of Java are: (A) union (B) const (C) inner (D) goto (E) boolean (F) synchronized

  1. All of these
  2. (C) & (E)
  3. (A), (C) & (E)
  4. (B),(C) & (D)
Question 20 Multiple Choice (Single Answer)

Which of the following are not keywords?(A) NULL(B) implements(C) protected(D) extended(E) string

  1. (D) & (E)
  2. (A), (D) & (E)
  3. (D)
  4. (C), (D) & (E)