Placement Papers: Sasken Sample Test Paper

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Two people were walking in opposite directions. Both of them walked 6 miles forward then took right and walked 8 miles. How far is each from starting positions?

a person has certain number of cows and birds. They have 172 eyes and 344 legs. How many cows and birds does he have?

A person has 14 red socks and 14 white socks in a drawer. What is the minimum number of socks that he should take to get a correct pair?

when a number is multiplied by 13, it will become greater to 105 by an amt with which it is lesser to105 by now. What is the number

when asked what the time is, a person answered that the amount of time left is ⅕ of the time already completed. What is the time?

when I become as old as my father is now, I will be 5 times the age of my son. And my son will be 8 yrs older than what I am now. Father + my age = 100. How old is my son now?

Two peoples on cycles are traveling at 10 miles per hour. When they reach a distance of 50 miles, a housefly lands on the first cyclist and then flies to the other and so on at a speed of 16 miles per hour. What is the distance covered by fly before cyclist meet?

my successor's father is my father's son. And i don't have any brothers or sons. Who is my successor?

The hours remaining in a day is one-fifth of the hours passed in the day. What is the time?

My successor is my uncles only brothers son who is his only kid (some what like this).

My successor is my uncles only brothers son who is his only kid (some what like this).

A and B starts from the same point and moves in opposite direction for 8 miles and 6 miles respectively. After that A turns right and moves for another

In a pet shop there are 120 eyes and 172 legs. How many birds and puppies are included in these?

Two cyclists are moving towards each other at 10 miles per hour. They are now 50 miles apart. At this instance a fly starts from one cyclist and move towards other and moves to and fro till the two cyclist meet each other. If the fly is moving at 15 miles/hour, what is the total distance covered by the fly? 50 80 100

Guru's draw has 14 blue socks and 14 black socks. How many socks must be taken to get a pair of socks of the same color? 14 15 13 16

Computer Science

which of these checks for structural errors of a language

threads in the same process share the same

the depth of a binary tree…

a program computing log (n) accepts 1000 inputs its execution time is 110 ms… When it doubles n to 2000 inputs. It becomes 120____and what will be for 4000

algorithm to find the balancing of paranthesis was given and output had to be obtaines… Using stacks… Easy yaar____

which of the followin is non preemptive

fcfs

round robin

shortest job first

problem to find the avg waitin time of sjf. Given the burst times of each process

which of the follwing may be implemented using a stack

which of the foll data structures can be randomly accessed givin loc

#define SWAP (x, y) t = x; x = y; y = t.

main () { int x = 5, y = 6; if (x>y) SWAP (x, y); printf (-x = %d y = %d\n, x, y); }

note that the function SWAPis not within braces

sum (int x) { int t; if (x ⇐ 1) return (1); t = sum (x − 3) + sum (x − 1); return (t); }

if 6 is passed to the function, what is the value returned to the calling function.

ANS = 9 [ans: Don't remember the actual _expression. If the _expression is the same the ans was nine]

what is int ( * ptr) [] ()?

Main () { int a[] = (0, 2, 4, 6, 8); int * ptr; ptr = a; printf (-%d, * ( (char * ) ptr + 4) ); }

find output 8 2 4 6 ANS = 4

which takes the same memory space regardless of the type of operating system?

Char * char int float

main () { int I = 3; while (I--) { int I = 100; I--; Printf (-%d, I); } }

find output.

100 99 98 99 98 97 99 99 99 error ANS = 99 99 99

main () { char ch; for (ch = ‘0’ ch ⇐ 255; ch + + ) printf (-%c, ch); }

ans: Infinite loop

some program using variable b which was not initialized so

ans error