Practice Question and Answer

Q: Which is a reserved word in the java programming language? 2499 0

  • 1
    Variable
    Correct
    Wrong
  • 2
    Identifier
    Correct
    Wrong
  • 3
    Keyword
    Correct
    Wrong
  • 4
    Main
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Keyword"
Explanation :

Answer: C) Keyword Explanation: Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language. Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names). If a reserved word was used as a variable you would get an error or unexpected result.   Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...

Q:

The three vertices of a parallelogram taken in order are (0, 1), (2, 3) and (4, 3) respectively, then the coordinates of the fourth vertex is – 

2499 0

  • 1
    (-2, 1)
    Correct
    Wrong
  • 2
    (-2, -1)
    Correct
    Wrong
  • 3
    (2, 1)
    Correct
    Wrong
  • 4
    (1, 2)
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "(2, 1) "

Q: If 'A $ B' means 'A is brother of B', 'A @ B' means 'A is wife of B', 'A #B' means ' A is daughter of B' and 'A * B' means 'A is father of B', then which of the following expressions indicates the relationship 'U is father-in-law of P ? 2499 0

  • 1
    P@Q$T#U*W
    Correct
    Wrong
  • 2
    P@Q$T#W*U
    Correct
    Wrong
  • 3
    P@W$Q*T#U
    Correct
    Wrong
  • 4
    P@Q$W*T#U
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "P@Q$T#U*W"
Explanation :

Answer: A) P@Q$T#U*W Explanation: Here the P is the wife of Q who is brother of T who is daughter of U. That implies P is wife of U's son Q => U is father-in-law of P.

Q:

If 'sand' is called 'air', 'air' is called 'plateau', 'plateau' is called 'well, 'well' is called 'island' and island' is called 'sky', then from where will a woman draw water? 

2498 0

  • 1
    Well
    Correct
    Wrong
  • 2
    Island
    Correct
    Wrong
  • 3
    Sky
    Correct
    Wrong
  • 4
    Air
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "Island "

Q: If a switch has three computers connected to it, with no VLANs present, how many broadcast and collision domains is the switch creating? 2498 0

  • 1
    Three broadcast and one collision
    Correct
    Wrong
  • 2
    Three broadcast and three collision
    Correct
    Wrong
  • 3
    one broadcast and three collision
    Correct
    Wrong
  • 4
    One broadcast and one collision
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "one broadcast and three collision"
Explanation :

Answer: C) one broadcast and three collision Explanation: If a switch has three computersconnected to it, with no VLANs present , one broadcast and three collision domains are created.

Q:

The government of which state has recently launched a water ATM policy for urban areas?

2497 0

  • 1
    Rajasthan
    Correct
    Wrong
  • 2
    Haryana
    Correct
    Wrong
  • 3
    Gujarat
    Correct
    Wrong
  • 4
    Maharashtra
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "Haryana"

Q: 7, 8, 18, 57, ?, 1165, 6996 2497 0

  • 1
    228
    Correct
    Wrong
  • 2
    542
    Correct
    Wrong
  • 3
    232
    Correct
    Wrong
  • 4
    415
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "232"
Explanation :

Answer: C) 232 Explanation: Here 2nd number = (1st number x 1 )+1  3rd number = (2nd number x 2 +2)  4th number = (3rd number x 3 )+3 and so on..   Therefore, 5th number = (4th number x 4) +4 =57 x 4 + 4 =232.

Q:

Choose the alternative mirror image.

2497 0

  • 1

    Correct
    Wrong
  • 2

    Correct
    Wrong
  • 3

    Correct
    Wrong
  • 4

    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "

"

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully

      Report Error

    Please Enter Message
    Error Reported Successfully