Practice Question and Answer

Q: What is TDD ? 1164 0

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

TDD is an acronym for Test-Driven Development. TDD is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that defines a desired improvement or new function, then produces the minimum amount of code to pass that test. TDD is an iterative software development process where you first write the test with the idea that it must fail. This is a different approach to the traditional development where you write the application functionality first andthen write test cases. The major benefit of this approach is that the code becomes thoroughly unit tested (you canuse JUnit or other unit testing frameworks).

Q: Population of a colony of mosquitoes is increasing by 20% per day. If the population on Monday was 3000, on which day of that week the population would be 5184 ? 2566 0

  • 1
    Thursday
    Correct
    Wrong
  • 2
    Friday
    Correct
    Wrong
  • 3
    Tuesday
    Correct
    Wrong
  • 4
    Monday
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "Thursday"
Explanation :

Answer: A) Thursday Explanation: Given monday population = 3000Per day 20% increase in population. Tuesday population = 3000 + 3000x20/100 = 3000 + 600 = 3600 Wednesday population =3600 + 3600x20/100 = 3600 + 720 = 4320 Thursday population = 4320 + 4320x20/100 = 4320 + 864 = 5184 So that day is Thursday.

Q: An express train takes 4 seconds to enter tunnel which is 1 km long. If it is traveling at 108 km an hour, how long will it take to pass completely through the tunnel ? 2261 0

  • 1
    33 sec
    Correct
    Wrong
  • 2
    37.33 sec
    Correct
    Wrong
  • 3
    36.43 sec
    Correct
    Wrong
  • 4
    32 sec
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "37.33 sec"
Explanation :

Answer: B) 37.33 sec Explanation: Speed = 108 km/hrenter a tunnel,, means that the train covers a distance equal to its own lengthso (108 x 5/18) = x/4 where x= length of trainhence x = 120 mtrsto pass completely train has to travel a distance = (x + tunnel length) that is 1120 mtrs.so (1120/t) = (108x5/18)t = 37.33 sec

Q: A computer assisted method for the recording and analyzing of existing or hypothetical systems is 5415 0

  • 1
    Data transmission
    Correct
    Wrong
  • 2
    Data capture
    Correct
    Wrong
  • 3
    Data flow
    Correct
    Wrong
  • 4
    Data processing
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "Data flow"
Explanation :

Answer: C) Data flow Explanation:

Q: The market was full of people ……….. attractive clothes of different styles. 45410 0

  • 1
    showing
    Correct
    Wrong
  • 2
    watching
    Correct
    Wrong
  • 3
    Having
    Correct
    Wrong
  • 4
    wearing
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "wearing"
Explanation :

Answer: D) wearing Explanation: The market was full of people wearing attractive clothes of different styles.

Q: Three strategies P, Q and R have been initiated for cost cutting in a company producing respectively 20%, 30% and 10% savings. Assuming that they operate independently, what is the net saving achieved ? 2857 0

  • 1
    49.6%
    Correct
    Wrong
  • 2
    50.4%
    Correct
    Wrong
  • 3
    33.67%
    Correct
    Wrong
  • 4
    66.66%
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 1. "49.6%"
Explanation :

Answer: A) 49.6% Explanation: As these three strategies P, Q and R are independent so these will cut cost one after the other.If initial cost is Rs 100, then20% cost is cut after initializing strategy P, then cost will remain 80% = 80further 30% cost is cut after strategy Q, then cost will remain 70% of 80 = 56further 10% cost is cut after strategy R, then cost will remain 90% of 56 = 50.4 Thus final cost remains 50.4 % of the original cost. Hence net saving is 100 - 50.4 = 49.6 %.

Q: A group of men can complete a job in K hours. After every 4 hours, half the number of men working at that point of time leave the job. Continuing this way if the job is finished in 16 hours, what is the value of K ? 4668 0

  • 1
    7 hrs
    Correct
    Wrong
  • 2
    7.5 hrs
    Correct
    Wrong
  • 3
    8 hrs
    Correct
    Wrong
  • 4
    8.25 hrs
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 2. "7.5 hrs"
Explanation :

Answer: B) 7.5 hrs Explanation: Let there are L men job requires LK man hours.   job completed in first 4 hrs = L x 4 = 4L job completed in next 4 hrs = 4 x L/2 = 2L job completed in next 4 hrs = 4 x L/4 = L job completed in last 4 hrs = 4 x L/8 = L/2 4L + 2L + L + L/2 = KL K = 7+1/2 = 7.5 hours.

Q: 5 years ago Sushma was 5 times as old as her Son. 5 years hence her age will be 8 less than three times the corresponding age of her Son. Find their ages ? 4581 0

  • 1
    24 and 13 years
    Correct
    Wrong
  • 2
    48 and 24 years
    Correct
    Wrong
  • 3
    35 and 11 years
    Correct
    Wrong
  • 4
    33 and 15 years
    Correct
    Wrong
  • Show AnswerHide Answer
  • Workspace

Answer : 3. "35 and 11 years"
Explanation :

Answer: C) 35 and 11 years Explanation: Let the age of sushma be x and the age of her son is yThen five years before x-5=5(y-5) ...(1)Five years hence x+5 = 3(y+5)-8 .....(2) By soving (1) & (2), we get5y - 15 = 3y + 7y = 11 => x = 35 Therefore, the age of Sushma = 35 and her son = 11.

      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