There was global Samsung aptitude test(GSAT)


There was global Samsung aptitude test(GSAT)


50 questions 60 minutes each question carries equal marks..

section-1(25 q’s):-quantitative ability total 25 ques-20 questions Data Interpretation(pie chart, bar chart, line graph) and 5 questions quant very simple(multiplication n division and percentage)no need to study quant except DI


section-2( 25 q’s):-analytic reasoning(solve reasoning questions given in GRE)


Technical interview:- He asked based on my resume. C basic questions like storage class, structures and on my project, 2 questions on c++ . Then he told me to write 1 c program and solve a puzzle


Q:-C program to set a bit (whose position is given) in integer no. if it is not set, and return the no. if it is set.

Puzzle:-There are two ropes of uneven size and composition. Each of them get completely burnt in 60 mins. How to measure 45mins using this info.

HR interview:-Tell me about your family background, why Samsung, your technological interests. That’s all


Samsung SISO dec-2011 paper

Written test C (20 q’s)

1) If integer needs two bytes of storage, then maximum value of an unsigned integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

2) If integer needs two bytes of storage, then maximum value of a signed integer is

a. 2^16-1

b. 2^15-1

c. 2^16

d. 2^15

3) What is the output of

printf (“%d”, printf(“tim”) );

a. results in a syntax error

b. outputs tim3

c. outputs garbage

d. prints tim and terminates abruptly

4) Length of string “correct” is




d. implementation dependant

5)Consider the following program fragment

char c= ‘a’;

while(c++ <= ‘z’)


If the required output is abcd…wxyz, then xxx should be

a. c

b. c++

c. c-1

d. –c

6) Consider the function

Find(int x, int y)


return ((x<y)?0:x-y)


The call find   find(a, b)  can be used to find

a. maximum of a, b

b. positive difference of a, b

c. sum of a, b

d. minimum of a, b

7) If abc is the input, then the following program fragment

char x, y, z;

printf(“%d”,scanf(“%c%c%c”, &x, &y, &z));

results in

a. a syntax error

b. a fatal error

c. segmentation violation

d. printing of 3

8) Consider the statements



If ab is the input, the output will be

a. an error message

b. this can’t be input

c. ab

d. a b

9) The operators ,  ||   <   = if arranged in the ascending order of

a. ,  ||  <   =

b. =  <   ||  ,

c. =   ||    <  ,

d. <   ||    =   ,

10) The following program fragment

Unsigned i=-1;

int j = -4

printf(“%u”, i+j);


a. garbage

b. -3

c. an integer that changes from machine to machine

d. none of the above

11) The following program fragment

for( i=3; i<15;i+=3);

printf (“%d”,i);

results in

a. a syntax error

b. an execution error

c. printing of 12

d. printing of 15

12)The following description of the program, please pick the wrong one?

int main(void) {

int i= 100;


int**dpi = π



a. dpi to store a pointer with the address for pi is a double pointer

b. (*pi==i) is true.

c. (*pi== **dpi)is true.

d. (*dpi == 100) is true

13)Below, please find the results for the program do?

int counter = 0, i;

for(i=0;;i++) (

if (i < 100) continue;

counter ++;

if (counter == 100) break;


printf(%d%d”,i, counter);


a.199 100

b. 200 100      

c. 199 99

d. 200 0

14) See below for a description of the defined array, please choose the  wrong thing ?

int a [] = {10,20,30,40};

a. successive one-dimensional array of elements in the array a[1], a[2] is  located in the contiguous memory space.

b. a[1] and a* (a+1) is the same.

c. During the initialization of an array; array size must be specified
otherwise the initial value at compile error occurs

d.  & a[1] which has a +1 value, such as the address

15) Which is true about goto statement(don’t remember the options)

Ans:- It is used for coming out of the nested loop

16)what is conditional compilation(don’t remember the options)

Ans:-compilation is based on condition

17)minimum no. of temporary variables required for swapping two numbers

a) 3

b) 2

c) 1

d) 0

18) The correct relation between / and %( don’t remember the options and answer but I ll tell u logic)

Logic:-there will be expression containing a,b,/,%.take random values substitute and check the result(LHS=RHS)


19) what is the output of the below code

Main ()





Leave a Reply0

Your email address will not be published.