# R Systems Written Test July 2013

Posted on :07-04-2016

Q1. There are 6 red shoes & 4 green shoes. If two of red shoes are drawn what is the probability of getting red shoes?

ANS: 6 c2/ 10 c2

Q2. A company contracts to paint 3 houses. Mr. Brown can paint a house in 6 days while Mr. Black would take 8 days and Mr. Blue 12 days. After 8 days Mr. Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr. Blue to complete the contract?

A. 7
B. 8
C. 11
D. 12

ANS: C

Q3. A men take 21 days of 8 hrs each to do a piece of work. How many days of 6 hrs each would it take for 21 women if 3 women do as much work as 2 men?

A. 30
B. 20
C. 19
D. 29

ANS: A

Q4. What is the output of the following program?

main()
{int i=3;
while(i--)
{
int i=100
i--;
printf(%d..,i);
}
}

A. infinite loop
B. error
C. 99..99..99..99
D. 3..22..1..

ANS: C

Q5. What is the output of the following program?

main()
{ int I=-3, j=2, k=0, m;
m= ++ I &&++j|| ++k;
printf(
%d%d%D, I, j, k, m);

A. 2 3 0 1
B. 2 3 1 1
C. 2 3 1 0
D. 2 3 0 0

Register