# Unisys Placement Questions January 2012

Posted on :07-03-2016

Q1. In some game 139 members have participated. Every time one fellow will get bye. What is the number of matches to choose the champion to be held?

ANS: 138

Q2. 96 16 81 = x
11 15 18 = y
What is the value of y-2x?

a) 108
b) 33
c) 105
d) 36
e) None of these

Q3. A man walks east and turns right and then from there to his left and then 45 degrees to his right. In which direction did he go?

ANS: North west

Q4. x% of y is y% of ?

a) x/y
b) 2y
c) x
d) can not be determined

Q5. In 80 coins, one coin is counterfeit. What is the minimum number of weighings to find out counterfeit coin?

Q6. What is the output of the program?

#include
main()
{
struct s1 {int i; };
struct s2 {int i; };
struct s1 st1;
struct s2 st2;
st1.i =5;
st2 = st1;
printf( %d  , st2.i);
}

ANS: nothing (error)

Explanation:

different struct variables should not assigned using = operator.

Q7. What is 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

Q8. 2 oranges, 3 bananas and 4 apples cost Rs.15. 3 oranges, 2 bananas, 1 apple costs Rs 10. What is the cost of 3 oranges, 3 bananas and 3 apples?

ANS: Rs. 15.

Q9. What is the output of the program?

# define infiniteloop while(1)
main()
{
infiniteloop;
printf(DONE);
}

ANS: none

Explanation:

infinite loop in main ends with ; so loop will not reach end;
and the DONE also will not print.

## Related Companies

Accenture
Cognizant
Infosys
TCS
Wipro
HP
Emphasis
L & T Infotech
IGate

FreshersLive - No.1 Job site in India. Here you can find latest 2018 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail.

 ✖