Practice Question and Answer

Q: Who has been appointed as Secretary to new President Ram Nath Kovind ? 1394 0

  • 1
    Sanjay Kothari
    Correct
    Wrong
  • 2
    Gopal Baglay
    Correct
    Wrong
  • 3
    Bharat Lal
    Correct
    Wrong
  • 4
    Ashok Malik
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "Sanjay Kothari"
Explanation :

Answer: A) Sanjay Kothari Explanation: Sanjay Kothari, Chairman of Public Enterprises Selection Board, has been appointed as Secretary to President-elect Ram Nath Kovind.

Q: Chola Empire was divided into ____ 1758 0

  • 1
    Mandalams, Nadu, Avanti & Kurram
    Correct
    Wrong
  • 2
    Mandalams, Nadu, Malkhand & Kurram
    Correct
    Wrong
  • 3
    Avanti, Nadu, Malkhand & Kurram
    Correct
    Wrong
  • 4
    Mandalams, Nadu,Kurram & Valanadu
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "Mandalams, Nadu,Kurram & Valanadu"
Explanation :

Answer: D) Mandalams, Nadu,Kurram & Valanadu Explanation:

Q: What is the output after compile and run the following code ? int Output = 10;boolean b = false;if((b == true) && ((Output += 10) == 20)){ System.out.println("We are equal " + Output);}else{ System.out.println("Not equal! " + Output);} 1307 0

  • 1
    Compilation and output of "We are equal 10"
    Correct
    Wrong
  • 2
    Compilation and output of "Not equal! 10"
    Correct
    Wrong
  • 3
    Compilation error, attempting to perform binary comparison on logical data type
    Correct
    Wrong
  • 4
    Compilation and output of "Not equal! 20"
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "Compilation and output of "Not equal! 10""
Explanation :

Answer: B) Compilation and output of "Not equal! 10" Explanation: The output will be "Not equal! 10". Please note that && is logical AND operator. If first operand before (&&) is false then the other operand will not be evaluated. This illustrates that the Output +=10 calculation was never performed because processing stopped after the first operand was evaluated to be false. If you change the value of b1 to true, processing occurs as you would expect and the output would be "We are equal 20".

Q: Both Joyel and Susy share a Windows 10 tablet with different user accounts. Joyel needs to access some files in Susy’s Documents folder. How can he do this ? 1368 0

  • 1
    Joyel can access the files only if he has administrative rights
    Correct
    Wrong
  • 2
    Susy must choose to make the Documents folder Public for Joyel to see them
    Correct
    Wrong
  • 3
    Joyel can, by default, see and access the files in any Documents folder on this computer
    Correct
    Wrong
  • 4
    Joyel cannot access those files without Susy moving them to another folder
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "Joyel can access the files only if he has administrative rights"
Explanation :

Answer: A) Joyel can access the files only if he has administrative rights Explanation:

Q: In the following pieces of code, B and D will compile without any error. True or false ? A: StringBuffer sb1 = "abcd"; B: Boolean b = new Boolean("abcd"); C: byte b = 255; D: int x = 0x1234; E: float fl = 1.2; 1389 0

  • 1
    TRUE
    Correct
    Wrong
  • 2
    FALSE Answer & Explanation Answer:
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "TRUE"
Explanation :

Answer: A) TRUE Explanation: The code segments B and D will compile without any error. A is not a valid way to construct a StringBuffer, you need to create a StringBuffer object using "new". B is a valid construction of a Boolean (any string other than "true" or "false" to the Boolean constructor will result in a Boolean with a value of "false"). C will fail to compile because the valid range for a byte is -128 to +127 (i.e., 8 bits, signed). D is correct, 0x1234 is the hexadecimal representation in java. E fails to compile because the compiler interprets 1.2 as a double being assigned to a float (down-casting), which is not valid. You either need an explicit cast, as in "(float)1.2" or "1.2f", to indicate a float.

Q: In budget 2017-18, the fund allocation for Deen Dayal Upadhyay Gram Jyoti Yojana Scheme ? 1312 0

  • 1
    Rs. 6815 Crores
    Correct
    Wrong
  • 2
    Rs. 5550 Crores
    Correct
    Wrong
  • 3
    Rs. 4814 Crores
    Correct
    Wrong
  • 4
    Rs. 2115 Crores
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Rs. 4814 Crores"
Explanation :

Answer: C) Rs. 4814 Crores Explanation:

Q: Which of the following are displayed in File Explorer ? 5130 0

  • 1
    Only OneDrive
    Correct
    Wrong
  • 2
    Only Storage locations
    Correct
    Wrong
  • 3
    Both A & B
    Correct
    Wrong
  • 4
    Hardware devices such as monitors, printers, and cameras
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Both A & B"
Explanation :

Answer: C) Both A & B Explanation: Storage locations and OneDrive are both displayed in File Explorer.

Q: Crack the Relation Logical Puzzle ? 1426 0

  • 1
    Son
    Correct
    Wrong
  • 2
    Himself
    Correct
    Wrong
  • 3
    Father
    Correct
    Wrong
  • 4
    Uncle
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Father"
Explanation :

Answer: C) Father Explanation: Man's Father is Madhu's Father's Son => Madhu itself. So the Man in the photograph is Madhu's son.

      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