Practice Question and Answer

Q: How do you handle error condition while writing stored procedure or accessing stored procedure from java ? 810 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Stored procedure should return error code if some operation fails but if stored procedure itself fail than catching SQLException is only choice.

Q: Rs. 2600 is divided into three parts A, B and C. How much A is more than C if their ratio is 1/2:1/3:1/4 ? 3096 0

  • 1
    600
    Correct
    Wrong
  • 2
    300
    Correct
    Wrong
  • 3
    150
    Correct
    Wrong
  • 4
    75
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "600"
Explanation :

Answer: A) 600 Explanation: 1/2:1/3:1/4 = 6:4:3 As the difference is 3 => 3/13x2600 = 600

Q: The sum of three consecutive multiples of 3 is 72. What is the second largest number ? 2241 0

  • 1
    27
    Correct
    Wrong
  • 2
    24
    Correct
    Wrong
  • 3
    21
    Correct
    Wrong
  • 4
    42
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "24"
Explanation :

Answer: B) 24 Explanation: Let the numbers be 3x, 3x + 3 and 3x + 6.Then,3x + (3x + 3) + (3x + 6) = 729x = 63x = 7Largest number = 3x + 6 = 27. => Second largest number = 27 - 3 = 24

Q: Explain What is the difference between debenture holders and creditors ? 1454 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

Debenture holder are those who provides long term loan at specific interest rate in term of cash and creditor provides only short term credit in term of cash for purchasing of goods.

Q: Spelling test - find correct spelling : 1581 0

  • 1
    Skillfull
    Correct
    Wrong
  • 2
    Skillfful
    Correct
    Wrong
  • 3
    Skillful
    Correct
    Wrong
  • 4
    Skkillful
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Skillful"
Explanation :

Answer: C) Skillful Explanation:

Q: The sum of the digits of a two-digit number is 12. The difference of the digits is 6. Find the number ? 1519 0

  • 1
    57
    Correct
    Wrong
  • 2
    75
    Correct
    Wrong
  • 3
    48
    Correct
    Wrong
  • 4
    39
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "39"
Explanation :

Answer: D) 39 Explanation: Let the two-digit number be 10a + ba + b = 12 --- (1)If a>b, a - b = 6If b>a, b - a = 6If a - b = 6, adding it to equation (1), we get2a = 18 => a =9so b = 12 - a = 3Number would be 93.if b - a = 6, adding it to the equation (1), we get2b = 18 => b = 9a = 12 - b = 3.Number would be 39.There fore, Number would be 39 or 93.

Q: Two persons K and L can complete a piece of work in 30 days and 45 days respectively. If they work together, what part of the work will be completed in 3 days ? 1710 0

  • 1
    1/6
    Correct
    Wrong
  • 2
    1/3
    Correct
    Wrong
  • 3
    2/3
    Correct
    Wrong
  • 4
    1/18
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "1/6"
Explanation :

Answer: A) 1/6 Explanation: K's one day's work = 1/30 L's one day's work = 1/45 (K + L)'s one day's work = 1/30 + 1/45 = 1/18 The part of the work completed in 3 days = 3 (1/18) = 1/6.

Q: What is the capital of Indian Union Territory Lakshadweep  ? 1683 0

  • 1
    Port Blair
    Correct
    Wrong
  • 2
    Delhi
    Correct
    Wrong
  • 3
    Pondicherry
    Correct
    Wrong
  • 4
    Kavaratti
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "Kavaratti"
Explanation :

Answer: D) Kavaratti Explanation:

      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