UST Global Whole-Testpaper Contributed by Vasudev updated on Sep 2021

# USTGlobal Placement paper

UST Global placement-papers

1. 12 members were present at a board meeting. Each member shook hands with all of the other members before & after the meeting. How many hand shakes were there?
Think of it this way: the first person shakes hands with 11 people, the second person also shakes hands with 11 people, but you only count 10, because the hand shake with the first person was already counted. Then add 9 for the third person, 8 for the fourth, & so on. 66 hand shakes took place before & 66 after the meeting, for a total of 132

2. The letters P, Q, R, S, T, U and V, not necessarily in that order represents seven consecutive integers from 22 to 33.
- U is as much less than Q as R is greater than S.
- V is greater than U.
- Q is the middle term.
- P is 3 greater than S.
Can you find the sequence of letters from the lowest value to the highest value?
11. B, J and P are related to each other.
1. Among the three are B's legal spouse, J's sibling and P's sister-in-law.
2. B's legal spouse and J's sibling are of the same sex.
Who is the married man?
Answer: J is the married man.

3. A fish had a tail as long as its head plus a quarter the lenght of its body. Its body was three-quarters of its total length. Its head was 9 inches long. What was the length of the fish?

4. .The roads of city r either parallel or perpendicular to one another the roads are all straight, roads A,B,C,D & E are parallel to 1 another, Roads G,H,I,J,K,L & M are parallel to 1 another

5. There are 2 & only 2 kinds of people in island, one is the "knight" who say truth & the other kind is "knave" who say lie. A man once asked the first man..

6. In 1978, a kg of paper was sold at Rs25/-. If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year, then what will be the cost of a kg of paper after 2 years?

7. In A,B,C are having some marbles with each of them. A has given B and C the same number of marbles each of them already have. Then, B gave C and A the same number of marbles they already have.
Then C gave A and B the same number of marbles they already have. At the end A,B,and C have equal number of marbles.

(i) If x,y,z are the marbles initially with A,B,C respectively. Then the number of marbles B have at the end
2(3y-x-z

(ii) If the total number of marbles are 72, then the number of marbles with A at the starting
39 Ans.

8. If a car starts from A towards B with some velocity. Due to some problem in the engine after traveling 30km, the car goes with 4/5 th of its actual velocity
The car reaches B 45 min later to the actual time. If the car engine fails after traveling 45km, the car reaches the destination B 36min late to the actual time What is the initial velocity of car and what is the distance between A and B in km

Ans. 20 & 130.

9. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money for traveling expenses and purchased 5 pencils. So how many books he can purchase with the remaining money.

10. Ten questions on analogies.
eg: chief : tribe :: governer : state epaulette : shoulder :: tiara : head guttural : throat :: gastric : stomach inept : clever :: languid : active knife : butcher :: hammer : carpenter ::

11. The values of shares (in Rs).of A, B and C from January to June are as follows.
Month A B C
January 30 60 80
February 35 65 85
March 45 75 65
April 40 75 82
May 55 75 85
June 50 75 80

i) During this period which share has undergone maximium fluctuation?
ii) In which month it is possible to buy B and C selling A?
iii) In which month the share values are very low?
iv) By purchasing one share of A and 4 each of B and C in the beginning of the period,
when should these be sold to get maximum profit?

12. In a computer institute 9 languages can be taught. The module is of 6 months duration and of the six languages only one can be taught each month . In addition to that BASIC is always taught and should be in first month itselfWORD PERFECT is to be taught in the preceding week of WORD STAR. FORTRAN can not be taught until COBOL is taught prior to that BINO, FIFO can never be taught in single module languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO, LOTUS, C
i) If word star is in 3rd month , what could be in 6th month.
ii) If COBAL is in the 2nd month and BINO in 6th month. FORTRAN will be taught in which month.

13. In a class, except 18 all are above 50 years. 15 are below 50 years of age. How many people are there
Ans. none of these.

14. A square plate of some size is cut at four corners. Equal squares of the same size are cut and is formed as open box. If this open box carries 128 ml of oil. What is the size of the side of the plate?

15. In a square, all the mid points are joined. The inner square is shaded. If the area of the square is A, what is the area of the shaded area?

16. If the following statements are given

I @(a,b)= (a+b)/2
II /(a,b)= a/b
III *(a,b)= ab
IV If a=1, b=2 then find

i) /(a,(@(a,b),*(a,b)))
ii) */(a,@(*(a,b)))

17 If the following statements are given

(x#y) = x + y- xy
(x*y) = (x + y)/2
i) Find the values of x, y will satisfy this equation (x#y)#(x*y) < (x#y)
ii) Find the values of x, y will satisfy this equation (a*b)#(b*c)< (a#b)*(b*c)

18 Export PS1 results in(PS1 pwd)
a) primary prompt being your current directory
b) primary prompt and secondary prompts being the current directory
c) primary prompt prompt being your home directory
d) primary prompt and secondary prompts being the home directory
e) None of the above.

19. If you type in the command nohup sort employees > list 2 > error out & and log off ,the next time you log in, the output will be
a) in a file called list and the error will de typed in a file error out
b) there will be no file called list or error out
c) error will be logged in a file called list and o/p will be in error out
e) none of the above

20. In UNIX a files i-node ......?

Ans. Is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissions etc.

21 The UNIX shell ....
a) does not come with the rest of the system
b) forms the interface between the user and the kernal
c) does not give any scope for programming
d) deos not allow calling one program from with in another
e) all of the above
Ans. (b)

22 enum number { a= -1, b= 4,c,d,e}
What is the value of e ?
(a) 7
(b) 4
(c) 5
(d) 15
(e) 3

23 The very first process created by the kernal that runs till the kernal process is halts is
a) init
b) getty
c) both (a) and (b)
d) none of these
Ans. (a)

24 Output of the following program is
main()
{int i=0;
for(i=0;i<20;i++)
{switch(i)
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default i+=4;
break;}
printf("%d,",i);
}
}

a) 0,5,9,13,17
b) 5,9,13,17
c) 12,17,22
d) 16,21
e) Syntax error

Ans. (d

feedback