Embed
Email

HCL

Document Sample

Shared by: xiang
Categories
Tags
Stats
views:
7
posted:
11/10/2011
language:
English
pages:
236
HCL





Sample Test Paper





1. Which of the following involves context switch,





(a) system call

(b) priviliged instruction

(c) floating poitnt exception

(d) all the above

(e) none of the above





Ans: (a)









2. In OST, terminal emulation is done in





(a) sessions layer

(b) application layer

(c) presentation layer

(d) transport layer





Ans: (b)









3. For a 25MHz processor , what is the time taken by the instruction which needs 3 clock

cycles,





(a)120 nano secs

(b)120 micro secs

(c)75 nano secs

(d)75 micro secs









4. For 1 MB memory, the number of address lines required,





(a)11

(b)16

(c)22

(d) 24





Ans. (b)

5. Semaphore is used for





(a) synchronization

(b) dead-lock avoidence

(c) box

(d) none





Ans. (a)









6. Which holds true for the following statement





class c: public A, public B





a) 2 member in class A, B should not have same name

b) 2 member in class A, C should not have same name

c) both

d) none





Ans. (a)









7. Question related to java









8. OLE is used in





a) inter connection in unix

b) interconnection in WINDOWS

c) interconnection in WINDOWS NT









9. Convert a given HEX number to OCTAL









10. Macros and function are related in what aspect?





(a)recursion

(b)varying no of arguments

(c)hypochecking

(d)type declaration









11.Preproconia.. does not do which one of the following





(a) macro

(b) conditional compliclation

(c) in type checking

(d) including load file





Ans. (c)









12. Piggy backing is a technique for





a) Flow control

b) Sequence

c) Acknowledgement

d) retransmition





Ans. (c)









13. In signed magnitude notation what is the minimum value that can be represented with 8

bits





(a) -128

(b) -255

(c) -127

(d) 0









14. There is an employer table with key fields as employer number data

in every n'th row are needed for a simple following queries will get required results.





(a) select A employee number from employee A , where exists from employee B where A

employee no. >= B

employee having (count(*) mod n)=0

(b) select employee number from employe A, employe B where A employe number>=B

employ number

group by employee number having(count(*) mod n=0 )

(c) both (a) &a

HELLO SOFT









1. What is diners phylosophers algorithm.

2. What is atomicity.Explain

3. Give an example of source- level debugger in unix/linx.

4. What is Pre-emptive multitasking.

5. Do not remember this one.



DataStructures: (ONly 5 Questions)



1. Where will the parameters be stored when a function is called in a program.

2. What is recursion?What are its disadvantages.

3. Which one is the best and efficient sort?



Networking:(Only 5 Questions)



1. ASN.1 belongs to which layer.

2. Give an example of popular Transport Layer Protocol

3. What is the netmask of Class B IP address?

4. Explain CSMA/CD.

5. Given a size from 0-7 what would be the least window size.



C Language (Total 13 Questions)



1. main()

{

printf("%d",printf("HelloSoft"));

} Output?

2. case 1: case 2:

typedef Struct { typedef Struct {

int a; char p;

char b; int q;

int d; char k;

char e; int l;

}A; }A;

Assuming 'packing' is not enabled, which case will give an error of Sizeof(A) less.

3. main()

{

int i=3;

printf("%d %d %d",i++,i,++i);

}

4. main()

{

int i=10;

int j,k=5;

int a[10];

for(j=0;j20)

if(i==10)

print("Hi");

else

printf("Bye");

} Output ?

10. main()

{

float f;

int i;

//something like this not remember these 4 questionsexactly

f=(float *)malloc(sizeof((float *)*4));

}

Some Question was asked not remenber .



HCL





HCL TECHNOLOGIES







Q)Piggy backing is a technique for

a) Flow control b) sequence c) Acknowledgement d) retransmition

ans: c





Q)The layer in the OST model handles terminal emulation

a) session b) application c) presentation d) transport

ans: b application





Q)In signed magnitude notation what is the minimum value that

can be represented with 8 bits

a) -128 b) -255 c) -127 d) 0





Q)There is an employer table with key feilds as employer no.

data in every n'th row are needed for a simple following queries

will get required results.

a) select A employe no. from employe A , where exists from employe B

where A employe no. >= B employe having (count(*) mod n)=0

b) select employe no. from employe A, employe B where

A employe no.>=B employ no.grouply employe no.having(count(*) mod n=0 )

c) both a& b

d) none of the above





Q)Type duplicates of a row in a table customer with non uniform

key feild customer no. you can see

a) delete from costomer where customer no. exists

( select distinct customer no. from customer having count )

b) delete customer a where customer no. in

b rowid

c) delete customer a where custermor no. in

( select customer no. from customer a, customer b )

d) none of the above





Q)long int size

a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

ans: compiler dependent





Q)x=2,y=6,z=6

x=y==z;

printf(%d",x) ?





Q}what does the hexanumber E78 in radix 7.

(a) 12455 (b) 14153 (c) 14256 (d) 13541 (e) 131112

ans: (d)





Q) Q is not equal to zero and k = (Q x n - s)/2 find n?

(a) (2 x k + s)/Q (b) (2 x s x k)/Q (c) (2 x k - s)/Q

(d) (2 x k + s x Q)/Q (e) (k + s)/Q





(from GRE book page no:411)

data:

A causes B or C, but not both

F occurs only if B occurs

D occurs if B or C occurs

E occurs only if C occurs

J occurs only if E or F occurs

D causes G,H or both

H occurs if E occurs

G occurs if F occurs

NOTE: check following answers.

Q). If A occurs which of the following must occurs

I. F & G

II. E and H

III. D

(a) I only (b) II only (c) III only (d) I,II, & III

(e) I & II (or) II & III but not both

ans: (e)





Q). If B occurs which must occur

(a) D (b) D and G (c) G and H (d) F and G (e) J

ans: (a)





Q). If J occurs which must have occured

(a) E (b) either B or C (c) both E & F (d) B (e) both B & C

ans: (b)





Q). which may occurs as a result of cause not mentioned

(1) D (2) A (3) F

(a) 1 only (b) 2 only (c) 1 & 2 (d) 2 & 3 (e) 1,2,3

ans: (c)





Q). E occurs which one cannot occurs

(a) A (b) F (c) D (d) C (e) J

ans: (b)









*****









HCL-TECH (MADURAI)









Ordering is changed this time.So don't byheart by

a,b,c,d. Byheart

the

answers. Pls check answer once again





Don't hesitate to answer all. Ever HR knows that

Students have

this qp.

Ist section of the Question is as such in the

placement

papers.com





Section II - C Programming





1. Which of the following about the following two

declaration is

true

i ) int *F()

ii) int (*F)()





Choice :

a) Both are identical

b) The first is a correct declaration and the second

is wrong

c) The first declaraion is a function returning a

pointer to an

integer and the second is a pointer to function

returning int

d) Both are different ways of declarin pointer to a

function





Answer : c) The first de...





2. What are the values printed by the following

program?





#define dprintf(expr) printf(#expr "=%d\n",expr)





main()

{

int x=7;

int y=3;

dprintf(x/y);

}





Choice:

a) #2 = 2 b) expr=2 c) x/y=2 d) none





Answer: c)x/y=2

3. Which of the following is true of the following

program





main()

{

char *c;

int *p;

c =(char *)malloc(100);

p=(int *)c;

free(p);

}









ans: The code functions properly releasing all the

memory

allocated









4.output of the following.





main()

{

int i;

char *p;

i=0X89;

p=(char *)i;

p++;

printf("%x %x\n",p,i);

}

*

ans:0X8A





5.

which of the following is not a ANSI C language

keyword?





ans:Function.





6. When an array is passed as parameter to a function,

which of

the following statement is correct

choice:

a) The function can change values in the original

array

b) In C parameters are passed by value. The funciton

cannot

change

the original value in the array

c) It results in compilation error when the function

tries to

access the

elements in the array

d) Results in a run time error when the funtion tries

to access

the elements

in the array





Answer: a) The fu...





7. The type of the controlling expression of a switch

statement

cannot be of

the type





a) int b) char c) short d)float e) none





Answer : d)float









8.What is the value of the expression (3^6) + (a^a)?





a) 3 b) 5 c) 6 d) a+18 e) None





Answer : 5





9. What is the value assigned to the variable X if b

is 7 ?

X = b>8 ? b 4 ? b>>1:b;





a) 7 b) 28 c) 3 d) 14 e) None

ans: 3;

10. Which is the output produced by the following

program

main()

{

int n=2;

printf("%d %d\n", ++n, n*n);

}





a) 3,6 b) 3,4 c) 2,4 d) cannot determine





Answer : b) 3,4





11. What is th output of the following program?

int x= 0x65;

main()

{

char x;

printf("%d\n",x);

}





a) compilation error b) 'A' c) 65 d)

unidentified





12. What is the output of the following program

main()

{

int a=10;

int b=6;





if(a=3)

b++;

printf("%d %d\n",a,b++);

}





a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none





Answer : d) 3,7





13. What can be said of the following program?

main()

{

enum Months {JAN =1,FEB,MAR,APR};

Months X = JAN;

if(X==1)

{

printf("Jan is the first month");

}

}





a) Does not print anything

b) Prints : Jan is the first month

c) Generates compilation error

d) Results in runtime error





Answer: b) Prints : Jan..





14. What is the output of the following program?

main()

{

char *src = "Hello World";

char dst[100];

strcpy(src,dst);

printf("%s",dst);

}

strcpy(char *dst,char *src)

{

while(*src) *dst++ = *src++;

}





a) "Hello World" b)"Hello" c)"World" d) NULL e)

unidentified





Answer: d) NULL





15. What is the output of the following program?





main()

{

int l=6;

switch(l)

{ default : l+=2;

case 4: l=4;

case 5: l++;

break;

}

printf("%d",l);

}

a)8 b)6 c)5 d)4 e)none





Answer : c)5





16. What is the output of the following program?

main()

{

int x=20;

int y=10;

swap(x,y);

printf("%d %d",y,x+2);

}

swap(int x,int y)

{

int temp;

temp =x;

x=y;

y=temp;

}





a)10,20 b) 20,12 c) 22,10 d)10,22 e)none





Answer:d)10,22





17. What is the output of the f

ollowing problem ?

#define INC(X) X++

main()

{

int X=4;

printf("%d",INC(X++));

}





a)4 b)5 c)6 d)compilation error e) runtime error





Answer : d) compilation error









18. what can be said of the following

struct Node {

char *word;

int count;

struct Node left;

struct Node right;

}





a) Incorrect definition

b) structures cannot refer to other structure

c) Structures can refer to themselves. Hence the

statement is OK

d) Structures can refer to maximum of one other

structure





Answer :c)





19. What is the size of the following union.

Assume that the size of int =2, size of float =4 and

size of char

=1.

Union Tag{

int a;

flaot b;

char c;

};





a)2 b)4 c)1 d) 7









20) What is the output of the following program? (.

has been used

to

indicate a space)

main()

{

char s[]="Hello,.world";

printf(%15.10s",s);

}





a)Hello,.World...

b)....Hello,.Wor

c)Hello,.Wor....

d)None of the above









(1) The combined length of the longer two pieces of

rope is 12

metres.

(2) The combined length of the shorter two pieces of

rope is 11

metres.





(A) (B) (C) (D) (E)





10) A certain company paid bonuses of Rs. 125 to each

of its

executive

emplyees and Rs 75 to each of its nonexecutive

employees. If 100

of the employees were nonexecutive, how many were

executive?

1) The company has a total of 120 employees

2) The total amount that the company paid in bonuses

to its

employees was

Rs.10,000





(A) (B) (C) (D) (E)





11. What fraction of his salary did Mr. Johnson put

into savings

last week ?





1) Last week Mr.Johnson put Rs 17 into savings.

2) Last week Mr.Johnson put 5% of his salary into

savings.





(A) (B) (C) (D) (E)





12. Each M-type memory unit will increase the base

memory

capacity

of a certain computer by 3 megabytes. What is the base

memory

capacity,

in megabytes, of the computer ?





1) 2 M-type memory units will increase the computer's

base memory

capacity

by 300%





2) The memory capacity of the computer after 2-M type

memory

units

are added to the base memory capacity, is 1.6 times

the memory

capacity

of the computer after 1 M-type unit is added to the

base memory

capacity.





(A) (B) (C) (D) (E)





13. What fractional part of the total surface area of

cube C is

red?





1) Each of 3 faces of C is exactly 1/2 red

2) Each of 3 faces of C is entirely white





(A) (B) (C) (D) (E)









SECTION C





Instructions ALL NUMBER USED ARE REAL NUMBERS

FOLLOWING

EACH QUESTIONS ARE FIVE POSSIBLE ANSWERS LABELED

A).B).C).D)&E).TICK THE BEST CHOICE.





14. How many of the integers between 25 and 45 are

even ?

(A)21 (B)20 (C)11 (D)10 (E)9





Answer:d)10





15. If taxi fares were Rs 1.00 for the first 1/5 mile

and Rs

0.20

for each 1/5 miles thereafter. The taxi fare for a

3-mile ride

was





(A)Rs 1.56 (B)Rs 2.40 (C)RS 3.00 (D)Rs 3.80 (E)Rs 4.20





Answer :d)Rs 3.80





16. A computer routine was developed to generate two

numbers

(x,y)

the first being a random number between 0 and 100

inclusive, and

the second being less than or equal to the square root

of the

first.

Each of the following pair satisfies the routine

EXCEPT





(A) (99.10) (B) (85.9) (C) (50.7) (D) (1.1) (E)

(1.0)





Answer : A) (99.10)





17. A warehouse had a square floor with area 10,000

sq.meters. A

rectangular addition was built along one entire side

of the

warehouse

that increased the floor by one-half as much as the

original

floor.

How many meters did the addition extend beyond the

original

buildings ?





(A)10 (B)20 (C)50 (D)200 (E)500





Answer: c)50





18. A digital wristwatch





HCL





HCL System Software Sample Test Paper

NOTE : This is a system paper and not application paper





Section 1- General Computer Concepts





1. Piggy backing is a technique for

a) Flow control

b) Sequence

c) Acknowledgement

d) retransmition

Ans. (c)

2. In OSI, terminal emulation is done in

(a) sessions layer

(b) application layer

(c) presentation layer

(d) transport layer

Ans: (b)

3.Bit parity check,when performed on a byte ,can

catch

a)odd number of errors

b)even number of errors

c)any number of errors

d)none of the above

Ans: (a)

4. In signed magnitude notation what is the minimum

value that can be represented with 8 bits

(a) -128

(b) -255

(c) -127

(d) 0

Ans: (c)

5. For 1 MB memory, the number of address lines

required,

(a)11

(b)16

(c)20

(d) 24

Ans. (c)

6.For a 25MHz processor , what is the time taken by

the instruction which needs 3 clock cycles,

(a)120 nano secs

(b)120 micro secs

(c)75 nano secs

(d)75 micro secs

Ans: (a)

7. Semaphore is used for

(a) synchronization

(b) dead-lock avoidence

(c) both a and b

(d) none

Ans. (c)

8. Which of the following involves context switch,

(a) system call

(b) priviliged instruction

(c) floating poitnt exception

(d) all the above

(e) none of the above

Ans: (a)

9.Virtual address are translated to physical

address by

(a)the process

(b)operating system

(c)MMU

(d)All of the above

(e) None of the above





10.convert the hexadecimal number 0xFEDB to the

octal

(a) 177333

ans: (a)





11. OLE is a mechanism

a)in UNIX for network communication

b)in INTERNET for communication between nodes

c)for communication between processes in a NT system

d)used as a network layer protocol in NT & Windows

systems





12. an internet IP address of a node

a)has to be unique only for the domain of the node

b)has to be unique in the node's sub-network

c)has to be unique in the country in which the node

is present

d)none of the above





13. There is an employee table with key feilds as

employer no.data in every n'th row are needed for a

sample. Which of the following queries will get

required results.

a) select A employe no. from employe A , where

exists (select (max (emp_no)))from employe B

where A employe no. >= B employe having (count(*)

mod

n)=0

b) select employe no. from employe A, employe B

where A.employe no.>=B employ no.group by employe

no.having(count(*) mod n)=0 )

c) both a& b

d)none of the above

ans: (d)





14. Type duplicates of a row in a table customer

with

non unique key feild customer no. can use

a) delete from costomer where customer no. exists(

select distinct customer no. from customer having

count )

b) delete customer a where customer no. in (select

cust_no from customer b where a.cust_no=b.cust_no)

and

a.rowid>b.rowid

c) delete customer a where custermor no. in ( select

customer no. from customer a, customer b group by

a.cust_no

having (count(*)>1) and a.rowid>b.rowid);

d) none of the above





15.which of the following is a feature of the ANSI C

language and not present in Java?

a)forward referencing

b)variable length argument lists

c)volatile modifier

d)none of the above

ans: (b)

section 2 - C Programming

1.which of the following about the following two

declarations is true

i) int *F();

ii)int (*F)();

a)Both are identical

b)the first is a correct declaration and second is

wrong

c) the first declaration is a function returning a

pointer to an integer and the second is a pointer

to

a

function returning int

d)Both are different ways of declaring pointer to a

function

ans : (c)





2.what are the values printed by the following

program?

#define dprintf(expr) printf(#expr=%d\n",expr)

main()

{

int x=7;

int y=3;

dprintf(x/y);

}

a)#2=2 b)expr=2 c)x/y=2 d)none

ans ( c)

3.which of the following is true of the following

program

main()

{

char *c;

int *ip;

c=(char *)malloc(100);

ip=(int *)c;

free(ip);

}

a)the code functions properly by releasing all the

memory allocated

b)results in compilation error as a pointer of

various

types cannot be equated

c)the program ties to free more memory than

allocated

and results in run time error

d) works well except when the machine runs low on

memory and malloc is unabel to allocate the memory

ans : (d)









4.output

main()

{

int I;

char *p;

i=0x89;

p=(char *)i;p++;

printf("%x\n"p);

}

a)0x8c b)0x4566788A c)0x8A d)0x8B e)none





5.which of the following is not an ANSI c language

keyword?

a)volatile b)function c)default d)const e)void

ans; (b)





6.when an array is passed as parameter to a function

,which of the following statement is correct

a)the function can change values in the original

array

b)in c parameters are passed by value . the function

cannot change the original value in the array

c)it results in compilation error.Array cannot be

passed as a parameter to a function

d)results in runtime error when the function tries

to

access the elements in the array





7.the type of the controlling expression of a switch

statement cannot be of the type

a)int b)char c)short d)float e)none

ans (d)





8.value of (3^6)+(a ^a)=?

Ans :value=5





9. x= b>8?b4?b>>1:b;

ans: x=3





10.output:

main()

{

int n=2;

printf("%d %d\n"++n,n*n);

}

a)3,6 b)3,4 c)2,4 d)cannot determine

ans :( b)

11.output:

int x=0x65;

main()

{

char x;

printf("%d\n",x);

]

a)compilation error b)'A' c)65 d)undefined

12.output

main()

{





int a=10;

int b=6;

if(a=3)

b++;

printf("%d %d",a,b++);

}

a)10,6 b)10,7 c)3,6 d)3,7 e)none





13.main()

{





enum months {jan=1,feb,mar,apr};

months x=jan;

if(x==1)

printf("jan is the first month");

}

a)does not print anything

b)prints : jan is the first month

c)generates compilation error

d)results in runtime error





14.what is the output of the following program?

Main()

{

char *src="hello world";

char dst{100];

strcpy(src,dst);

printf("%s",dst);

}

strcpy(char *dst,char *src)

{

while (*src) *dst++=*src++;

}

a)"hello world" b)"hello" c)"world" d)NULL

e)undefined





15.main()

{

int i=6;

switch(i)

{

default: i+=2;

case 4;i=4;

case 5:i++;

break;

}

printf("%d",i);

}

a)8 b)6 c)5 d)4 e)none





16.main()

{

int x=20;

itn y=10;

swap(x,y);

printf("%d %d",y,x+2);

}

swap(int x,int y)

{

int temp;

temp=x;

x=y;

y=temp;

}

a)10,20 b)20,12 c)22,10 d)10,22 e)none





17.#define INC(x) x++

main()

{

int x=4;

printf("%d",INC(x++));





}

a)4 b)5 c)6 d)compilation error e)runtime

error









18.struct node{

char *word;

int count;

struct node left;

struct node right;

};

a)incorrect definiton

b)structures cannot refer to other structrues

c)structures can refer to themselves.Hence the

statement is ok

d)structures can refer to maximum of one other

structure

19.what is the size of the following union

union tag{

int a;

float b;

char c;

};

a)2 b)4 c)1 d)7

ans :( b)





20. main()

{

char s[]="hello world";

printf("%15.10s",s);

}

a)hello,.world...

b).....hello world

c)heloo,.wor.....

d)none of the above

ans: (b)





section C - analysing program segements





1)struct dlink{

int nodeid;

struct dlink *next;

struct dline *prev;

} dlink_t;

A pointer to the head of tha linked list is

maintained

as a global variable whose definition is

dlink_t *head;





The function remove_element(dlink_t*rp), needs to

remove the node pointed to by rp and adjust the head





The first node's prev and the last node's text are

NULL

remove_element (dlink_t *rp)

{

rp->prev->next =rp->next;

rp->next->prev =rp->prev;

if(head ==rp)

head =rp->next;

}

which of the following statement is true about the

function remove_element

a)it works when head is the same as rp;

b)it does not work whe rp is the last element on the

list

c)it sets the head of the list correctly

d)it works in all cases





ans:( b)





2.#define NULL 0

char *

index (sp,c)

register char *sp,c;

{

do {

if(*sp==c)

return(sp);

}while (*sp++);

return (NULL);

}

The first argument sp,is a pointer to a C string.

The

second argument c is a character. This function

searches for the character c in the string . If it

is

found

a pointer to that location is returned ,else NULL is

returned





This function works

a)Always

b)always but fails when the first byte contains the

character c

c)works when c is a non NULL character array

d)works only when the character c is found in the

string





3.main()

{

printf("%d\n",f(7));

}

f(x)

{

if(x

class x{

public :

int a;

x();

};

x::x() { a=10;coutB+D;2CB>C>D> etc and all.









Q.NO.1&2

A FACTORY produces a product (measured in cubic feet) over seven days as

per the following schedule:





Day1 Day2 Day3 Day4 Day5 Day6 Day7





150 180 120 250 160 120 150









The finished goods are to be transported to the market by a truck having

a capacity of 2000 cubic feet. Any finished goods (ready at the end of

the day) retained overnight at the factory will incur a storage cost of

rs.5 per cubic foot for each night of storage. The hiring cost for the

truck is rs.1000 per day.





1.If the total cost of transportation and storage is to be minimized,

the truck should operate on

(a) 2nd,4th,6thand 7th days

(b) only the 7th day

(c) 2nd,4th,5th and 7th days

(d) only on 4th and 5th days

(e) none of these

ans:( )

2.if the storage cost reduces to re.0.80per cubic foot per night,the

truck should operate on

(a)2nd,4th,5thand 7th days

(b)only the 7th day

(c)2nd,4th,5th and 7th days

(d)only on 4th and 5th days

(e)none of these

ans:( )









6.if a+d=b+c,a+e=c+d,2cb+d,then

(a) a>b>c>d>e

(b) b>a>d>c>e

(c) d>b>c>a>e

(d) b>c>d>e>a ans:( )

(e) none of these









Q21. three students appear in a test but no one write there name on

answer sheet .and they submitted their sheet to teacher . when teacher

distributed their answer sheet . what is probability that no one get

their own answer sheet.









HCL Sample Paper





Sample Test Paper









1. Which of the following involves context switch,

(a) system call

(b) priviliged instruction

(c) floating poitnt exception

(d) all the above

(e) none of the above

Ans: (a)

2. In OST, terminal emulation is done in

(a) sessions layer

(b) application layer

(c) presentation layer

(d) transport layer

Ans: (b)





3. For a 25MHz processor , what is the time taken by the instruction

which needs 3 clock cycles,

(a)120 nano secs

(b)120 micro secs

(c)75 nano secs

(d)75 micro secs





4. For 1 MB memory, the number of address lines required,

(a)11

(b)16

(c)22

(d) 24

Ans. (b)





5. Semaphore is used for

(a) synchronization

(b) dead-lock avoidence

(c) box

(d) none

Ans. (a)





6. Which holds true for the following statement

class c: public A, public B

a) 2 member in class A, B should not have same name

b) 2 member in class A, C should not have same name

c) both

d) none

Ans. (a)





7. Question related to java





8. OLE is used in

a) inter connection in unix

b) interconnection in WINDOWS

c) interconnection in WINDOWS NT





9. Convert a given HEX number to OCTAL





10. Macros and function are related in what aspect?

(a)recursion

(b)varying no of arguments

(c)hypochecking

(d)type declaration





11.Preproconia.. does not do which one of the following

(a) macro

(b) conditional compliclation

(c) in type checking

(d) including load file

Ans. (c)





12. Piggy backing is a technique for

a) Flow control

b) Sequence

c) Acknowledgement

d) retransmition

Ans. (c)





13. In signed magnitude notation what is the minimum value that can be

represented with 8 bits

(a) -128

(b) -255

(c) -127

(d) 0





14. There is an employer table with key fields as employer number data

in every n'th row are needed for a simple following queries will

get required results.

(a) select A employee number from employee A , where exists from

employee B where A employee no. >= B

employee having (count(*) mod n)=0

(b) select employee number from employe A, employe B where A employe

number>=B employ number

group by employee number having(count(*) mod n=0 )

(c) both (a) &a

HCL TECHNOLOGIES









Ist section of the Question is as such in the

placement papers.com





Section II - C Programming





1. Which of the following about the following two

declaration is true

i ) int *F()

ii) int (*F)()





Choice :

a) Both are identical

b) The first is a correct declaration and the second

is wrong

c) The first declaraion is a function returning a

pointer to an integer and the

second is a pointer to function returning int

d) Both are different ways of declarin pointer to a

function





Answer : c





2. What are the values printed by the following

program?





#define dprint(expr) printf(#expr "=%d\n",expr)





main()

{

int x=7;

int y=3;

dprintf(x/y);

}





Choice:

a) #2 = 2 b) expr=2 c) x/y=2 d) none

Answer: c





3. Which of the following is true of the following

program





main()

{

char *c;

int *p;

c =(char *)malloc(100);

ip=(int *)c;

free(ip);

}









ans: The code functions properly releasing all the

memory allocated









4.output of the following.





main()

{

int i;

char *p;

i=0X89;

p=(char *)i;

p++;

printf("%x\n",p);

}

ans:0X8A





5.

which of the following is not a ANSI C language

keyword?





ans:Function.





6. When an array is passed as parameter to a function,

which of the following

statement is correct





choice:

a) The function can change values in the original

array

b) In C parameters are passed by value. The funciton

cannot change the original

value in the array

c) It results in compilation error when the function

tries to access the

elements in the array

d) Results in a run time error when the funtion tries

to access the elements in

the array





Answer: a





7. The type of the controlling statement of a switch

statement cannot be of the

type





a) int b) char c) short d)float e) none





Answer : d









8.What is the value of the statement (3^6) + (a^a)?





a) 3 b) 5 c) 6 d) a+18 e) None





Answer : b





9. What is the value assigned to the variable X if b

is 7 ?

X = b>8 ? b 4 ? b>>1:b;





a) 7 b) 28 c) 3 d) 14 e) None

ans: c





10. Which is the output produced by the following

program

main()

{

int n=2;

printf("%d %d\n", ++n, n*n);

}





a) 3,6 b) 3,4 c) 2,4 d) cannot determine





Answer : b





11. What is th output of the following program?

int x= 0x65;

main()

{

char x;

printf("%d\n",x)

}





a) compilation error b) 'A' c) 65 d) unidentified





12. What is the output of the following program

main()

{

int a=10;

int b=6;





if(a=3)

b++;

printf("%d %d\n",a,b++);

}





a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none





Answer : d





13. What can be said of the following program?

main()

{

enum Months {JAN =1,FEB,MAR,APR};

Months X = JAN;

if(X==1)

{

printf("Jan is the first month");

}

}





a) Does not print anything

b) Prints : Jan is the first month

c) Generates compilation error

d) Results in runtime error





Answer: b





14. What is the output of the following program?

main()

{

char *src = "Hello World";

char dst[100];

strcpy(src,dst);

printf("%s",dst);

}

strcpy(char *dst,char *src)

{

while(*src) *dst++ = *src++;

}





a) "Hello World" b)"Hello" c)"World" d) NULL e)

unidentified





Answer: may be d





15. What is the output of the following program?





main()

{

int l=6;

switch(l)

{ default : l+=2;

case 4: l=4;

case 5: l++;

break;

}

printf("%d",l);

}

a)8 b)6 c)5 d)4 e)none





Answer : c





16. What is the output of the following program?

main()

{

int x=20;

int y=10;

swap(x,y);

printf("%d %d",y,x+2);

}

swap(int x,int y)

{

int temp;

temp =x;

x=y;

y=temp;

}





a)10,20 b) 20,12 c) 22,10 d)10,22 e)none





Answer:d





17. What is the output of the following problem ?

#define INC(X) X++

main()

{

int X=4;

printf("%d",INC(X++));

}





a)4 b)5 c)6 d)compilation error e) runtime error





Answer : d









18. what can be said of the following





struct Node {

char *word;

int count;

struct Node left;

struct Node right;

}





a) Incorrect definition

b) structures cannot refer to other structure

c) Structures can refer to themselves. Hence the

statement is OK

d) Structures can refer to maximum of one other

structure





Answer :c





19. What is the size of the following union.

Assume that the size of int =2, size of float =4 and

size of char =1.

Union Tag{

int a;

flaot b;

char c;

};





a)2 b)4 c)1 d) 7





may be b





20) What is the output of the following program? (.

has been used to indicate a

space)

main()

{

char s[]="Hello,.world";

printf(%15.10s",s);

}





a)Hello,.World...

b)....Hello,.Wor

c)Hello,.Wor....

d)None of the above





may be c

9)

(1) The combined length of the longer two pieces of

rope is 12 metres.

(2) The combined length of the shorter two pieces of

rope is 11 metres.





(A) (B) (C) (D) (E)





10) A certain company paid bonuses of Rs. 125 to each

of its executive emplyees

and Rs 75 to each of its nonexecutive employees. If

100 of the employees were

nonexecutive, how many were executive?

1) The company has a total of 120 employees

2) The total amount that the company paid in bonuses

to its employees was

Rs.10,000





(A) (B) (C) (D) (E)





11. What fraction of his salary did Mr. Johnson put

into savings last week ?





1) Last week Mr.Johnson put Rs 17 into savings.

2) Last week Mr.Johnson put 5% of his salary into

savings.





(A) (B) (C) (D) (E)





12. Each M-type memory unit will increase the base

memory capacity of a certain

computer by 3 megabytes. What is the base memory

capacity, in megabytes, of the

computer ?





1) 2 M-type memory units will increase the computer's

base memory capacity by

300%





2) The memory capacity of the computer after 2-M type

memory units are added to

the base memory capacity, is 1.6 times the memory

capacity of the computer after

1 M-type unit is added to the base memory capacity.





(A) (B) (C) (D) (E)





13. What fractional part of the total surface area of

cube C is red?





1) Each of 3 faces of C is exactly 1/2 red

2) Each of 3 faces of C is entirely white





(A) (B) (C) (D) (E)









SECTION C





Instructions ALL NUMBER USED ARE REAL NUMBERS

FOLLOWING

EACH QUESTIONS ARE FIVE POSSIBLE ANSWERS LABELED

A).B).C).D)&E).TICK THE BEST CHOICE.





14. How many of the integers between 25 and 45 are

even ?

(A)21 (B)20 (C)11 (D)10 (E)9





Answer:d





15. If taxi fares were Rs 1.00 for the first 1/5 mile

and Rs 0.20 for each 1/5

miles thereafter. The taxi fare for a 3-mile ride was





(A)Rs 1.56 (B)Rs 2.40 (C)RS 3.00 (D)Rs 3.80 (E)Rs 4.20





Answer :d





16. A computer routine was developed to generate two

numbers (x,y) the first

being a random number between 0 and 100 inclusive, and

the second being less

than or equal to the square root of the first. Each of

the following pair

satisfies the routine EXCEPT





(A) (99.10) (B) (85.9) (C) (50.7) (D) (1.1) (E) (1.0)





Answer : A





17. A warehouse had a square floor with area 10,000

sq.meters. A rectangular

addition was built along one entire side of the

warehouse that increased the

floor by one-half as much as the original floor. How

many meters did the

addition extend beyond the original buildings ?





(A)10 (B)20 (C)50 (D)200 (E)500





Answer: c





18. A digital wristwatch was set accurately at 8.30

a.m and then lost 2 seconds

every 5 minutes. What time was indicated on the watch

at 6.30 p.m of the same

day if the watch operated continuously that time ?





(A)5:56 B)5:58 (C)6.00 (D)6.23 (E)6.26





Answer :E





19) A 5 litre jug contains 4 litres of a salt water

solution that is 15 percent

salt. If 1.5 litres of the solution spills out of the

jug, and the jug is then

filled to capacity with water, approximately what

percent of the resulting

solution in the jug is salt?





(A)7.5% (B)9.5% (C) 10.5% (D)12% (E)15%





Answer :A





20) A plane travelled K miles in the first 96 miles of

flight time. If it

completed the remaining 300 miles of the trip in 1

minute, what was its average

speed in miles per hour for the entire trip ?

(A)

(B)

(C)

(D)

(E)





Answer :(300+k)/97 * 60





21) A merchant sells an item at a 20 percent discount.

but still makes a gross

profit of 20 percent of the cost. What percent of cost

would be gross profit on

the item have been if it had been sold without the

discount?





(A)20% (B)40% (C)50% (D)60% (E)66.6%





Answer :c





22) A millionaire bought a job lot of hats 1/4 of

which were brown. The

millionaire sold 2/3 of the hats including 4/5 of the

brown hats. What fraction

of the unsold hats were brown.





(A)1/60 (B)1/15 (C)3/20 (D)3/5 (E)3/4





Answer :c





23) How many integers n greater than and less than 100

are there such that, if

the digits of n are reversed, the resulting integer is

n+9 ?





(A)5 (B)6 (C)7 (D)8 (E)9





Answer :D

24) An investor purchased a shares of stock at a

certain price. If the stock

increased in price Rs 0.25 per share and the total

increase for the x shares was

Rs 12.50, how many shares of stock had been purchased

?





(A)25 (B)50 (C)75 (D)100 (E)125





Answer :B





25) At a special sale, 5 tickets can be purchased for

the price of 3 tickets. If

5 tickets are purchased at the sale, the amount saved

will be what percent of

the original price of the 5 tickets?





(A)20% (B)33.3% (C)40% (D)60% (E)66.6%





Answer :c





26) Working independently, Tina can do a certain job

in 12 hours. Working

independently, Ann can do the same job in 9 hours. If

Tina works independently

at the job for 8 hours and then Ann works

independently, how many hours will it

take Ann to complete the remainder of the jobs?





(A)2/3 (B)3/4 (C)1 (D)2 (E)3





Answer :E





27) A decorator bought a bolt of d

m number of red

chips in any one stack ?





(A)7 (B)6 (C)5 (D)4 (E)3





Answer :C

SECTION III - ANALYSIS PROGRAM SEGMENTS

1) Here is the structure declaration of a doubly

linked list





struct dlink {

int nodeid;

struct dlink *next;

struct dlink *prev;

} dlink_t;





A pointer of the head of the linked list is maintained

as a global variable,

whose definition is

dlink_t *head;





The funtion remove_element(dlink_t *rp), needs to

remove the node pointed to

the rp and adjust the head.





The first node's prev and the last node's next are

NULL.





remove_element(dlink_t *rp)

{

rp->prev->next = rp->next;

rp->next->prev = rp->prev;

if( head == rp)

head = rp->next;





Which of the following statement is true about the

function remove_element





A) It work when head is the same as rp

B) It does not work when rp is the last element on the

list

c) It sets the head of the list correctly

D) It works in all cases

Answer :B





2) Consider the following function written in c:





#define NULL 0





char *

index(sp,c)

register char *sp,c;

{

do {

if(*sp == c)

return (sp);

} while (*sp++);

return NULL;

}





The first argument sp, is a pointer to a C string. The

second

argument, c, is a character. This function scarches

for the character

c, in the string. If it is found a pointer to that

location is returned

else NULL is returned.

This function works

a) Always

b) Always, but fails when the first byte contais the

character c

c) works when c is a non NULL character only

d) Works only when the character c is found in the

string

answer: a





03) What is printed when this program is executed

main()

{

printf ("%d\n",f(7));

}

f(X)

{

if (xB+D;2CB>C>D> etc and all.

7.MBC=(BE)2; where M,B,C,E represent different numbers What does M

represent.

8.There was a question on number series.









9.

20 ? 15

0 18 11

Ans(6)









Five questions were on data sufficiencies all of them I can^Òt recall

the ones

can remember I have written them.

A) The first condition is sufficient and the second condition is not

necessary.

B) The second condition is sufficient and the first condition is not

necessary

C) Both the conditions are necessary but alone is not sufficient

D) Both the conds. Are necessary and any one alone is sufficient

condition.

E) Insufficient conditions

10.X =Y;

a)X2-Y2=0 is the sufficient conditions

b)X-Y =0 is the sufficient condition

11.28 bananas and 35 orange scost Rs 84.After a deduction of 10 % Rs

12 can

buy 4 bananas and 5 oranges.Find the cost of each items.





12 The distance between two pts is 335 kms.A car starts from a point

A towards

B with a speed of 65 km/hr at 8.00 am.Another car started from B

towards A at

9.00 am at a speed of 70km/hr.When will they meet each other.

a)11.00 am(ans) b)11.30am c)12.00 pm d)1.00 pm e)10.30 am









A,B,C,D,E are travelling in a car.Three of them are drivers.there is

one

couple,B is wife of D and is a Driver. A is the brother of D .Of them

only one

lady can drive.A drove for a while followed by A and then by E.





24.Which among of the following pairs are brothers,

a)AD(ans)

b)CD

c)EA

d)BA

e)ED









25.Which is the other lady present there?

a)B b)A c)D d)C(ans) e)E









Four question were based on the logical reasining.given below:

There are six inverted cups below which there are one ball each under

each

cup.colored by solid colours.-red,orange

,magenta,purple,yellow,green.The

arrangements was such that one can tell which ball is under a

particular

cup.The green ball was under the 5thcup,

The purple ball at a number lower than the orange ball.the red ball

and magenta

ball are kept side by side.





16.Find the arrangement of the balls

ans:---------,-----------,-----------,-----------,green,orange

(I don^Òt remember the other options but the correct pattern

consisits of

green and orange at the last)









17.Which ball is under the 6th cup?









21.In a clock how many times does the hands of a clock are at right

angle in a

day?

Ans(44 times)









23.A man said to a woman ^ÓYour brother^Òs son^Òs sister is my wife^Ô

What is

the relation between the man and the lady?









Those who qualified from section I were shortlisted to sit for the

second test

on techinal questions.The second test consists of two parts Section I

consists

of Only Operating system and the Section II consists of only Cand C++

fundamentals









I got HCL full paper. I am mailing it. The quetions are in order.

So you no need to prepare answers and mugging that quetions. Just

Jyou mug that answers which are in order or you write all these

answers on the hand compactly while you are going to exam.





Paper Model:









Section I: computer awareness(i.e general things about computer)

Q.15

-ve marks -1/4









Section II: Simple C- language Q. 15 & -ve marks: -1/4

Section III: On pointers & structures

C++,JAVA( only 1 on this) Q.10 each quetion ->2 marks





-ve marks: -1

Section IV: Analytical Q.20 each quetion -> 2 marks.





-ve marks: -1/4





VIJAYA from each section Iam giving one are to quetions also because

for checking whether the same paper or not. And for doubtful

answers also I am writing quetions but not writing

answers for these quetions.





SECTION-I





1). Piggy backing is a technique for





a) Flow control b) sequence c) Acknowledgement d) retransmition





ans: c piggy backing









2). The layer in the OST model handles terminal emulation





a) session b) application c) presentation d) transport





ans: b application





3) ans: a odd numbers of errors

4)Q. In signed magnitude notation what is the minimum value that

can be represented with 8 bits





a) -128 b) -255 c) -127 d) 0





5) c 20





6) a 120





7) b synchronise the access





8) a system call





9) b the operating system





10) a 177333





11) d used as a network layer protocall in network and

windows system

12) b has to be unique in the sub network





13)Q. there is an employer table with key feilds as employer no.

data in every n'th row are needed for a simple following queries

will get required results.





a) select A employe no. from employe A , where exists from employe B

where A employe no. >= B employe having (count(*) mod n)=0

b) select employe no. from employe A, employe B where

A employe no.>=B employ no.grouply employe no.having(count(*) mod n=0 )

c) both a& b

d)none of the above





14)Q. type duplicates of a row in a table customer with non uniform

key feild customer no. you can see





a) delete from costomer where customer no. exists

( select distinct customer no. from customer having count )

b) delete customer a where customer no. in

b rowid

c) delete customer a where custermor no. in

( select customer no. from customer a, customer b )

d) none of the above





15) c Volatile modifier









Section I over with 15 quetions





SECTION-II





Section II is not covered completly But it is very very easy

. You can do it very easely.

1) ans: recursion

2) long int size

a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes

ans: compiler dependent

note: order of a,b,c,d are doubt but answer is correct.





3) x=2,y=6,z=6

x=y==z;

printf(%d",x) ?





4) if(x>2)?3:4





5)





6)





7) ans: c 6 ( quetion on enum )





8) ----

---

---

--

14) c : class A,B and C can have member functions with same name.





15) ans: d none of the above





SECTION-III





1) ans: b It does not work when rp is the last element in the

linked list

2) ans: a always





3) ans: b 13





4) ans: b 16





5) ans: d 55,55





6) ans: c 5,10,10,3





7) ---





8) ans:d 4





9) ans: c 5





10)ans: c semicolon missing









SECTION-IV





following are not in order:





2. M > D > Y ans: (a)





6. 10 in 4 seconds,

? in 6 minutes = 10x6x60/4 = 900 ans: (a)





7. a=2, b=4, c=5

(a+b)/c - c/(a+b) = 11/30 (ans).





8. 100(100000000+100000000)/10000 = 2x1000000 (ans).





9. what does the hexanumber E78 in radix 7.

(a) 12455 (b) 14153 (c) 14256 (d) 13541 (e) 131112 ans: (d)





10. Q is not equal to zero and k = (Q x n - s)/2 find n?

(a) (2 x k + s)/Q (b) (2 x s x k)/Q (c) (2 x k - s)/Q

(d) (2 x k + s x Q)/Q (e) (k + s)/Q

(from GRE book page no:411)

data:

A causes B or C, but not both

F occurs only if B occurs

D occurs if B or C occurs

E occurs only if C occurs

J occurs only if E or F occurs

D causes G,H or both

H occurs if E occurs

G occurs if F occurs





NOTE: check following answers.





11. If A occurs which of the following must occurs





I. F & G

II. E and H

III. D





(a) I only (b) II only (c) III only (d) I,II, & III

(e) I & II (or) II & III but not both ans: (e)





12. If B occurs which must occur





(a) D (b) D and G (c) G and H (d) F and G (e) J ans: (a)





13. If J occurs which must have occured





a) E (b) either B or C (c) both E & F (d) B (e) both B & C ans: (b)





14. which may occurs as a result of cause not mentioned





(1) D (2) A (3) F





(a) 1 only (b) 2 only (c) 1 & 2 (d) 2 & 3 (e) 1,2,3 ans: (c)





15. E occurs which one cannot occurs





(a) A (b) F (c) D (d) C (e) J ans: (b)

11 to 15:- ----------- e , a , b , c , b ---------------





Below are in order:





16. to 20. answers:





e

a

c

a









HCL SYSTEM SOFTWARE PAPER: 60 qs; 90 min. (4 sections)









NOTE : Please check answers once again.





only this much i got , which is available here in iit-kgp









section 1.





1.which of the following involves context switch,

a) system call b)priviliged instruction

c)floating poitnt exception

d)all the above

e)none of the above

ans: a





2.In OSI, terminal emulation is done in

a)semion b)appl.. c)presenta... d)transport

ans: b





3....... 25MHz processor , what is the time taken by the instruction

which needs 3 clock cycles,

a)120 nano secs b)120 micro secs

c)75 nano secs d)75 micro secs

4. For 1 MBmemory no of address lines required,

a)11 b)16 c)22 d) 24

ans: 16





5. Semafore is used for

a) synchronization b0 dead-lock avoidence

c)box d) none

ans : a









6. class c: public A, public B





a) 2 member in class A,B shouldnot have same name

b) 2 member in class A,C " '' '' ''

c) both

d) none





ans : a









7. question related to java









8. OLE is used in





a)inter connection in unix

b)interconnection in WINDOWS

c)interconnection in WINDOWS NT





9.No given in HEX ---- write it in OCTAL





10.macros and function are related in what aspect?

a)recursion b)varying no of arguments

c)hypochecking d)type declaration





11.preproconia.. does not do one of the following

a)macro ...... b)conditional compliclation

c)in type checking d)including load file

ans: c





SECTION B





1.enum day = { jan = 1 ,feb=4, april, may}

what is the value of may?

a)4 b)5 c)6 d)11

e)none of the above









2.main

{

int x,j,k;

j=k=6;x=2; ans x=1

x=j*k;

printf("%d", x);





3. fn f(x)





{ if(x9 && Y++!=10 && Y++>10)

printf("........ Y);

else printf("".... )





ans : 13





8. f=(x>y)?x:y

a) f points to max of x and y

b) f points to min of x and y

c)error

d) ........





ans : a









9. if x is even, then





(x%2)=0

x &1 !=1

x! ( some stuff is there)





a)only two are correct

b) three are correct

c), d) ....

ans : all are correct





10. which of the function operator cannot be over loaded





a) 10 9 && Y++!=10 && Y++>10) printf("........ Y); else printf("".... )

ans : 13





8. f=(x>y)?x:y

a) f points to max of x and y b) f points to min of x and y c)error d) ........





ans : a





9. if x is even, then (x%2)=0 x &1 !=1 > x! ( some stuff is there)

a)only two are correct b) three are correct c), d) ....





ans : all are correct





10. which of the function operator cannot be over loaded

a) >)

3) int i=10;

if(1,i++,++i)

printf("The value for i is %d",i);





4) one question on structure and u have to fine the error in the syntax

5) int a=10,b=33;

a=a^b;

b=a^b;

a=a^b;

printf("%d %d", a,b);

6) int *a;

int (*b)();

printf("%d %d",sizeof(a),sizeof(b);

7) # define SQR(a) (a*a)

void main()

{

printf("%d", SQR(5));

}





8) And in another question # define directive is declared in the main() function of the program

and u have to predict the output of the program.?

9) what is the time complexity of bubble sort (Ans: O(n^2))

10) what is the preorder traversal of the folowing tree

some tree is given (this is not the actual tree given in the paper only idea)

A

/\

BC

/\

DE

/\

FG

11) x=2,y=6,z=6

x=y==z;

printf(%d",x)

12) What is the size of the address bus and data bus in 8086?

13) address of IVT in 8086?





Section II:









1) some 6 guys are there A,B,C,D,E,F(say) and u have to adjust in the row.

and some statements are there like A & D can't be adjacent

E,A have one vacant area in between.. like that and there are 5 questions are based on that?

2) this one is tricky .. there are two groups . one is many brothers can mary one sister of other

group. and second is many sister can mary one brother of other group

and some statements are there like V & U is father of S, X is the only grandmother of S ...like

that..

And there are 6 question based on that..

3) and rest of questions are purely aptitude & quant based.

like there are two questions on coding if MYSORE is code like MEMEME

then how TAMILNADU is coded?





HCL (or) HCL Perot Systems (HPS) (or) HCL-CISCO





Section II - C Programming









1. Which of the following about the following two declaration is true

i ) int *F()

ii) int (*F)()

Choice :

a) Both are identical

b) The first is a correct declaration and the second is wrong

c) The first declaraion is a function returning a pointer to an

integer

and

the

second is a pointer to function returning int

d) Both are different ways of declarin pointer to a function

Answer : c) The first de...

2. What are the values printed by the following program?

#define dprint(expr) printf(#expr "=%d\n",expr)

main()

{

int x=7;

int y=3;

dprintf(x/y);

}

Choice:

a) #2 = 2 b) expr=2 c) x/y=2 d) none

Answer: c)x/y=2

3. Which of the following is true of the following program

main()

{

char *c;

int *p;

c =(char *)malloc(100);

ip=(int *)c;

free(ip);

}

ans: The code functions properly releasing all the memory allocated

4.output of the following.

main()

{

int i;

char *p;

i=0X89;

p=(char *)i;

p++;

printf("%x\n",p);

}

ans:0X8A

5.which of the following is not a ANSI C language keyword?

ans:Function.

6. When an array is passed as parameter to a function, which of the

following

statement is correct

choice:

a) The function can change values in the original array

b) In C parameters are passed by value. The funciton cannot change the

original

value in the array

c) It results in compilation error when the function tries to access

the

elements in the array

d) Results in a run time error when the funtion tries to access the

elements

in

the array

Answer: a) The fu...

7. The type of the controlling expression of a switch statement

cannot

be of

the type

a) int b) char c) short d)float e) none

Answer : d)float

8.What is the value of the expression (3^6) + (a^a)?

a) 3 b) 5 c) 6 d) a+18 e) None

Answer : 5

9. What is the value assigned to the variable X if b is 7 ?

X = b>8 ? b 4 ? b>>1:b;

a) 7 b) 28 c) 3 d) 14 e) None

ans: 3;

10. Which is the output produced by the following program

main()

{

int n=2;

printf("%d %d\n", ++n, n*n);

}

a) 3,6 b) 3,4 c) 2,4 d) cannot determine

Answer : b) 3,4

11. What is th output of the following program?

int x= 0x65;

main()

{

char x;

printf("%d\n",x)

}

a) compilation error b) 'A' c) 65 d) unidentified

12. What is the output of the following program

main()

{

int a=10;

int b=6;





if(a=3)

b++;

printf("%d %d\n",a,b++);

}

a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none

Answer : d) 3,7

13. What can be said of the following program?

main()

{

enum Months {JAN =1,FEB,MAR,APR};

Months X = JAN;

if(X==1)

{

printf("Jan is the first month");

}

}





a) Does not print anything

b) Prints : Jan is the first month

c) Generates compilation error

d) Results in runtime error





Answer: b) Prints : Jan..





14. What is the output of the following program?

main()

{

char *src = "Hello World";

char dst[100];

strcpy(src,dst);

printf("%s",dst);

}

strcpy(char *dst,char *src)

{

while(*src) *dst++ = *src++;

}





a) "Hello World" b)"Hello" c)"World" d) NULL e) unidentified





Answer: d) NULL





15. What is the output of the following program?





main()

{

int l=6;

switch(l)

{ default : l+=2;

case 4: l=4;

case 5: l++;

break;

}

printf("%d",l);

}

a)8 b)6 c)5 d)4 e)none





Answer : c)5





16. What is the output of the following program?

main()

{

int x=20;

int y=10;

swap(x,y);

printf("%d %d",y,x+2);

}

swap(int x,int y)

{

int temp;

temp =x;

x=y;

y=temp;

}





a)10,20 b) 20,12 c) 22,10 d)10,22 e)none

Answer:d)10,22





17. What is the output of the following problem ?

#define INC(X) X++

main()

{

int X=4;

printf("%d",INC(X++));

}





a)4 b)5 c)6 d)compilation error e) runtime error





Answer : d) compilation error









18. what can be said of the following





struct Node {

char *word;

int count;

struct Node left;

struct Node right;

}





a) Incorrect definition

b) structures cannot refer to other structure

c) Structures can refer to themselves. Hence the statement is OK

d) Structures can refer to maximum of one other structure





Answer :c)





19. What is the size of the following union.

Assume that the size of int =2, size of float =4 and size of char =1.

Union Tag{

int a;

flaot b;

char c;

};





a)2 b)4 c)1 d) 7

20) What is the output of the following program? (. has been used to

indicate

a

space)

main()

{

char s[]="Hello,.world";

printf(%15.10s",s);

}





a)Hello,.World...

b)....Hello,.Wor

c)Hello,.Wor....

d)None of the above









SECTION III - ANALYSIS PROGRAM SEGMENTS









1) Here is the structure declaration of a doubly linked list





struct dlink {

int nodeid;

struct dlink *next;

struct dlink *prev;

} dlink_t;





A pointer of the head of the linked list is maintained as a global

variable,

whose definition is

dlink_t *head;





The funtion remove_element(dlink_t *rp), needs to remove the node

pointed to

the rp and adjust the head.





The first node's prev and the last node's next are NULL.





remove_element(dlink_t *rp)

{

rp->prev->next = rp->next;

rp->next->prev = rp->prev;

if( head == rp)

head = rp->next;





Which of the following statement is true about the fution

remove_element





A) It work when head is the same as rp

B) It does not work when rp is the last element on the list

c) It sets the head of the list correctly

D) It works in all cases





Answer :B) It does...





2) Consider the following function written in c:





#define NULL 0





char *

index(sp,c)

register char *sp,c;

{

do {

if(*sp == c)

return (sp);

} while (*sp++);

return NULL;

}





The first argument sp, is a pointer to a C string. The second

argument, c, is a character. This function scarches for the character

c, in the string. If it is found a pointer to that location is

returned

else NULL is returned.

This function works

a) Always

b) Always, but fails when the first byte contais the character c

c) works when c is a non NULL character only

d) Works only when the character c is found in the string

ans: a

03) What is printed when this program is executed

main()

{

printf ("%d\n",f(7));

}

f(X)

{

if (xB assign A to X

Step 2 : If A>C assign A to X

Step 3 : If B>C assign B to X

Step 4 : Print X

The error in the above program:

It does not work in case C > A

It does not work in case B > A

It does not work in case C > B

It does not work in case A = B = C

All of the above





Study the following program and answer the following questions :





Step 1 : A = 0

Step 2 : B = 0

Step 3 : If B > 1

Step 4 : A = A + 1

Step 5 : B = B + 1

Step 6 : GOTO 7

Step 7 : END IF 9

Step 8 : B = B - 1

Step 9 : Stop.





What is the value of B at termination of program?

A) >)

3) int i=10;

if(1,i++,++i)

printf("The value for i is %d",i);





4) one question on structure and u have to fine the error in the syntax

5) int a=10,b=33;

a=a^b;

b=a^b;

a=a^b;

printf("%d %d", a,b);

6) int *a;

int (*b)();

printf("%d %d",sizeof(a),sizeof(b);

7) # define SQR(a) (a*a)

void main()

{

printf("%d", SQR(5));

}





8) And in another question # define directive is declared in the main() function of the program

and u have to predict the output of the program.?





9) what is the time complexity of bubble sort (Ans: O(n^2))

10) what is the preorder traversal of the folowing tree

some tree is given (this is not the actual tree given in the paper only idea)

A

/\

BC

/\

DE

/\

FG

11) x=2,y=6,z=6

x=y==z;

printf(%d",x)

12) What is the size of the address bus and data bus in 8086?

13) address of IVT in 8086?





Section II:

1) some 6 guys are there A,B,C,D,E,F(say) and u have to adjust in the row.

and some statements are there like A & D can't be adjacent

E,A have one vacant area in between.. like that and there are 5 questions are based on that?

2) this one is tricky .. there are two groups . one is many brothers can mary one sister of other

group. and second is many sister can mary one brother of other group

and some statements are there like V & U is father of S, X is the only grandmother of S ...like

that..

And there are 6 question based on that..

3) and rest of questions are purely aptitude & quant based.

like there are two questions on coding if MYSORE is code like MEMEME

then how TAMILNADU is coded?





HCL (or) HCL Perot Systems (HPS) (or) HCL-CISCO





Section II - C Programming

1. Which of the following about the following two declaration is true

i ) int *F()

ii) int (*F)()

Choice :

a) Both are identical

b) The first is a correct declaration and the second is wrong

c) The first declaraion is a function returning a pointer to an

integer

and

the

second is a pointer to function returning int

d) Both are different ways of declarin pointer to a function

Answer : c) The first de...

2. What are the values printed by the following program?

#define dprint(expr) printf(#expr "=%d\n",expr)

main()

{

int x=7;

int y=3;

dprintf(x/y);

}

Choice:

a) #2 = 2 b) expr=2 c) x/y=2 d) none

Answer: c)x/y=2

3. Which of the following is true of the following program

main()

{

char *c;

int *p;

c =(char *)malloc(100);

ip=(int *)c;

free(ip);

}

ans: The code functions properly releasing all the memory allocated

4.output of the following.

main()

{

int i;

char *p;

i=0X89;

p=(char *)i;

p++;

printf("%x\n",p);

}

ans:0X8A

5.which of the following is not a ANSI C language keyword?

ans:Function.

6. When an array is passed as parameter to a function, which of the

following

statement is correct

choice:

a) The function can change values in the original array

b) In C parameters are passed by value. The funciton cannot change the

original

value in the array

c) It results in compilation error when the function tries to access

the

elements in the array

d) Results in a run time error when the funtion tries to access the

elements

in

the array

Answer: a) The fu...

7. The type of the controlling expression of a switch statement

cannot

be of

the type

a) int b) char c) short d)float e) none

Answer : d)float

8.What is the value of the expression (3^6) + (a^a)?

a) 3 b) 5 c) 6 d) a+18 e) None

Answer : 5

9. What is the value assigned to the variable X if b is 7 ?

X = b>8 ? b 4 ? b>>1:b;

a) 7 b) 28 c) 3 d) 14 e) None

ans: 3;

10. Which is the output produced by the following program

main()

{

int n=2;

printf("%d %d\n", ++n, n*n);

}

a) 3,6 b) 3,4 c) 2,4 d) cannot determine

Answer : b) 3,4

11. What is th output of the following program?

int x= 0x65;

main()

{

char x;

printf("%d\n",x)

}

a) compilation error b) 'A' c) 65 d) unidentified

12. What is the output of the following program

main()

{

int a=10;

int b=6;





if(a=3)

b++;

printf("%d %d\n",a,b++);

}

a) 10,6 b)10,7 c) 3,6 d) 3,7 e) none

Answer : d) 3,7

13. What can be said of the following program?

main()

{

enum Months {JAN =1,FEB,MAR,APR};

Months X = JAN;

if(X==1)

{

printf("Jan is the first month");

}

}





a) Does not print anything

b) Prints : Jan is the first month

c) Generates compilation error

d) Results in runtime error





Answer: b) Prints : Jan..





14. What is the output of the following program?

main()

{

char *src = "Hello World";

char dst[100];

strcpy(src,dst);

printf("%s",dst);

}

strcpy(char *dst,char *src)

{

while(*src) *dst++ = *src++;

}





a) "Hello World" b)"Hello" c)"World" d) NULL e) unidentified





Answer: d) NULL





15. What is the output of the following program?





main()

{

int l=6;

switch(l)

{ default : l+=2;

case 4: l=4;

case 5: l++;

break;

}

printf("%d",l);

}

a)8 b)6 c)5 d)4 e)none





Answer : c)5





16. What is the output of the following program?

main()

{

int x=20;

int y=10;

swap(x,y);

printf("%d %d",y,x+2);

}

swap(int x,int y)

{

int temp;

temp =x;

x=y;

y=temp;

}





a)10,20 b) 20,12 c) 22,10 d)10,22 e)none





Answer:d)10,22





17. What is the output of the following problem ?

#define INC(X) X++

main()

{

int X=4;

printf("%d",INC(X++));

}





a)4 b)5 c)6 d)compilation error e) runtime error





Answer : d) compilation error









18. what can be said of the following





struct Node {

char *word;

int count;

struct Node left;

struct Node right;

}





a) Incorrect definition

b) structures cannot refer to other structure

c) Structures can refer to themselves. Hence the statement is OK

d) Structures can refer to maximum of one other structure





Answer :c)





19. What is the size of the following union.

Assume that the size of int =2, size of float =4 and size of char =1.

Union Tag{

int a;

flaot b;

char c;

};





a)2 b)4 c)1 d) 7









20) What is the output of the following program? (. has been used to

indicate

a

space)

main()

{

char s[]="Hello,.world";

printf(%15.10s",s);

}





a)Hello,.World...

b)....Hello,.Wor

c)Hello,.Wor....

d)None of the above









SECTION III - ANALYSIS PROGRAM SEGMENTS





1) Here is the structure declaration of a doubly linked list





struct dlink {

int nodeid;

struct dlink *next;

struct dlink *prev;

} dlink_t;





A pointer of the head of the linked list is maintained as a global

variable,

whose definition is

dlink_t *head;





The funtion remove_element(dlink_t *rp), needs to remove the node

pointed to

the rp and adjust the head.

The first node's prev and the last node's next are NULL.





remove_element(dlink_t *rp)

{

rp->prev->next = rp->next;

rp->next->prev = rp->prev;

if( head == rp)

head = rp->next;





Which of the following statement is true about the fution

remove_element





A) It work when head is the same as rp

B) It does not work when rp is the last element on the list

c) It sets the head of the list correctly

D) It works in all cases





Answer :B) It does...





2) Consider the following function written in c:





#define NULL 0





char *

index(sp,c)

register char *sp,c;

{

do {

if(*sp == c)

return (sp);

} while (*sp++);

return NULL;

}





The first argument sp, is a pointer to a C string. The second

argument, c, is a character. This function scarches for the character

c, in the string. If it is found a pointer to that location is

returned

else NULL is returned.

This function works

a) Always

b) Always, but fails when the first byte contais the character c

c) works when c is a non NULL character only

d) Works only when the character c is found in the string

ans: a





03) What is printed when this program is executed

main()

{

printf ("%d\n",f(7));

}

f(X)

{

if (x Associated with a client and keeps states for a client

Entity Beans -> Represents some entity in persistent storage such as a database





-------------------------------------------------------------------





15) What is enterprise bean?





Server side reusable java component





Offers services that are hard to implement by the programmer





Sun: Enterprise Bean architecture is a component architecture for the

deployment and development of component-based distributed business applications.

Applications written using enterprise java beans are scalable, transactional and

multi-user secure. These applications may be written once and then deployed on

any server plattform that supports enterprise java beans specification.





Enterprise beans are executed by the J2EE server.





First version 1.0 contained session beans, entity beans were not included.

Entity beans were added to version 1.1 which came out during year 1999.

Current release is EJB version 1.2





-------------------------------------------------------------------









16)Services of EJB?





Database management :

?Database connection pooling

?DataSource, offered by the J2EE server. Needed to access connection pool of the server.

?Database access is configured to the J2EE server -> easy to change database / database

driver





Transaction management :





?Distributed transactions

?J2EE server offers transaction monitor which can be accessed by the client.





Security management :





?Authetication

?Authorization

?encryption









Enterprise java beans can be distributed /replicated into separate machines





Distribution/replication offers

?Load balancing, load can be divided into separate servers.

?Failover, if one server fails, others can keep on processing normally.

?Performance, one server is not so heavy loaded. Also, for example Weblogic has thread

pools for improving performance in one server.









-------------------------------------------------------------------









17)When to choose EJB?





Server will be heavy loaded :

?Distribution of servers helps to achieve better performance.





Server should have replica for the case of failure of one server:

?Replication is invisible to the programmer





Distributed transactions are needed "

?J2EE server offers transaction monitor that takes care of transaction management.

?Distributed transactions are invisible to the programmer





Other services vs. money :





Weblogic J2EE server ~ 80 000 mk and Jbuilder X Professional Edition ~ 5 000mk





-------------------------------------------------------------------





18)Why not to use free J2EE servers?





?no tecnical support

?harder to use (no graphical user interface ...)

?no integration to development tools (for example, Jbuilder)

?Bugs? Other problems during project?





-------------------------------------------------------------------

19) Alternative:Tuxedo

Tuxedo is a middleware that offers scalability services and transaction monitors.

C or C++ based.

Can be used with Java client by classes in JOLT package offered by BEA.





Faster that J2EE server?

Harder to program?

Harder to debug?





Implementation is platform dependent.





-------------------------------------------------------------------









20) J2EE server offers





DataSource:

?Object that can be used to achieve database connection from the connection pool.

?Can be accessed by the interface DataSource





Transaction monitor:

?Can be accessed by the interface UserTransaction.





Java Naming and the Directory Service :





-------------------------------------------------------------------









21)Java Naming and the Directory Service





Naming service is needed to locate beans home interfaces or other objects (DataSource,

UserTransaction):

?For example, jndi name of the DataSource





Directory service is needed to store and retrieve properties by their name:

?jndi name: java:comp/env/propertyName





-------------------------------------------------------------------

22)XML ? deployment descriptor





ejb-jar.xml + server-specific xml- file Which is then Packed in a jar ? file

together with bean classes.

Beans are packaged into EJB JAR file , Manifest file is used to list EJB?s and

jar file holding Deployment descriptor.





-------------------------------------------------------------------









23) Session Bean





Developer programs three classes:

?Home interface, contains methods for creating (and locating for entity beans) bean

instances.

?Remote interface, contains business methods the bean offers.

?Bean class, contains the business logic of the enterprise bean.









-------------------------------------------------------------------









24)Entity Beans





Represents one row in the database:

?Easy way to access database

?business logic concept to manipulate data.





Container managed persistence vs. bean managed persistence:





Programmer creates three or four classes:

?Home interface for locating beans

?Remote interface that contains business methods for clients.

?Bean class that implements bean?s behaviour.

?Primary key class ? that represents primary key in the database. Used to locate beans.

Primary key class is not needed if primary key is a single field that could





-------------------------------------------------------------------





25) When to use which bean?





Entity beans are effective when application wants to access one row at a time.

If many rows needs to be fetched, using session beans can be better alternative

ava class (for example, Integer).





Entity beans are efficient when working with one row at a time

Cause a lot of network trafic.





Session Beans are efficient when client wants to access database directry.

?fetching/updating multiple rows from the database





-------------------------------------------------------------------









26) Explain J2EE Arch?





Normally, thin-client multitiered applications are hard to write because they

involve many lines of intricate code to handle transaction and state management,

multithreading, resource pooling, and other complex low-level details.

The component-based and platform-independent J2EE architecture makes J2EE

applications easy to write because business logic is organized into reusable

components and the J2EE server provides underlying services in the form of a

container for every component type. Because you do not have to develop these

services yourself, you are free to concentrate on solving the business problem

at hand.





Containers and Services :

Component are installed in their containers during deployment and are the

interface between a component and the low-level platform-specific functionality

that supports the component. Before a web, enterprise bean, or application

client component can be executed, it must be assembled into a J2EE application

and deployed into its container.

The assembly process involves specifying container settings for each component

in the J2EE application and for the J2EE application itself. Container settings

customize the underlying support provided by the J2EE Server, which include

services such as security, transaction management, Java Naming and Directory

InterfaceTM (JNDI) lookups, and remote connectivity.









Container Types :

The deployment process installs J2EE application components in the following

types of J2EE containers. The J2EE components and container addressed in this

tutorial are shown in Figure 5.

An Enterprise JavaBeans (EJB) container manages the execution of all

enterprise beans for one J2EE application. Enterprise beans and their

container run on the J2EE server.

A web container manages the execution of all JSP page and servlet components

for one J2EE application. Web components and their container run on the J2EE

server.

An application client container manages the execution of all application

client components for one J2EE application. Application clients and their

container run on the client machine.

An applet container is the web browser and Java Plug-in combination running on

the client machine





SATYAM PAPER 4



15 q's in 30 mins





All Aptitude





1. get the correct arrangment of sentences.

i. This is.

ii.This is sentence with 4 references.

iii.This is to say that this sentence is a lonf sentence.

iv.This is not the last sentence of the paragraph.

v. The previous sentence to this is the longest sentence.

vi.This is first sentence of last paragraph.

vii.This refers to last sentence.

There were 2 more sentncs similar 2 this. For the correct soln look at the answers & get it. By

lookin at the stmts u wont get anythin.

2. Somethin bout _a's,ii b's,ii c's.......i didnt get the question.

3. A third of this value is 1/2. What is the value.

Ans: 3/2

4. How to measure 4 l by using 5 l & 3 l vessels only.

Choices were 5 l - 520254 3 l - 032.....u will get it by lookin at answers.

5. there are 6 somethins...lets call it cups...holding 19,14,21,35,10,8 nails each. Joe and Jack

bought 5 of them with Jack buying twice number of nails than Joe. How much did they buy.

Ans: Jack-21,35,10 Joe-19,14 U can get it by lookin at ans(again). Easy.

6. Truck is travellin at 60 kmph. Wat rate should car travel to be ahead of truck for 2 mins.

Choices were 72, 66.8, 90,.... Me thinks its 66.8. Not sure.

7. Ther are 10 red balls,6 white and 5 blue. How many balls should i pick to make sure that i

have atleast 1 of each.

8. A horribly phrased & really long question bout base 3....If u do get it attempt it only if time

permits.

9.Next 4 Very very easy.

Old code

BLUE SKY (or somethin)....most of my qs r not xact

1234 567

New Code

SKY BLUE

123 4567





A company initially had a code for keepin price secret(god knows why)....dat was old code.

They felt it was time 2 change & adopted to new code.





Q: If LKY was old code...wat is correspondin new code

10. Refer above for a similar q

11.Again from the 8th one....somethin bout letters repeatin themselves.

12. If SUE was in old code & was overlooked during new code....wat will the price be if

salesman does not change code. Again refer 8.

from 4 mostly can score easily.

13. There are 1 way routes from A to G, Mto H, A to F....(A, G etc are given as some place)

Which is the shortest route from A to F.

Ans: U dont even have to draw a graph. Just look at q & ans is urs.

14. A Fence was being erected by Jatin. The poles were to be 5 ft apart, but as Jatin(the fool

that he is) forgot to bring 4 poles, he erected them 7 ft apart. The q is how much distance was

the fence to cover.

Choice: 70 ft 92 ft 100 ft 75 ft....Ans: 70 ft.





Following this was a gd. There were 5 topics

1. US war on iraq-justified or not.

2. Role of UN in peacekeeping.

3. Position of Women in India compared to other nations.

4. Environment MAnagement.

5. Is China better than India in software.

Ppl appearin for test: 828

PPl selected for gd: 300

Ppl selected for interviews: 142





THIS IS SATYAM QUESTIONS IN BANGALORE....





1. one question on the coding simple one..

ESETE?





WHAT IS NEXT.....

A) u B)r C) e D) s e) none





2. one question on figures...four fig ..are given what is next fig???





3. Similarly one more question...





4. given 6 persons having some RSxxx/- arrange the order with respect to money(8 lines Q)





5. Regarding ages one question





6. Given RS 140 how u will share the some thing like that...I don't remember...





7. Some relations given find the order...(some 7 lines questions)





8. work-time problem given...he given A work in 6 days B work in 8 days C work in 10

days....he given A leaves after 8 days ....some thing like that





9. he will give some sentences..Arrange the order like that one question





10. one big question just leave it ( wast of time)









Test Details :





1000 appeared.

299 shortlisted for GD.





1 mark for every right, 1/4 negative marks for every

wrong answer.





Company: Satyam





15 Questions (Aptitude Only).

Time: 30 mins.









I am trying my best to give u complete questions (but all Qs are nt complete). The Questions

are not in serial order. I m mailing these to u for u to get an idea of paper pattern.





1. A train has lenght of 108m, it is travelling at a speed of 50km/hr. a second train with length

of 1121m, opposite direction to first train, passes the first train in 6 seconds. What is the

speed of the second train?

options : a)40 b)55 c)65 d)non of these.

I chose d)





2. which no. comes next 7100, 13, 6, 4, 3, ...





3. Magzine a is kept on b, b is abov g,i is blow h etc... which was kept at the bottom?(easy)





4. there are two mugs, a 7ltr mug, a 3 ltr mug. what wud be the steps to fill 5ltr water in the 7

ltr

jug??

a) fill the 3 ltr mug, pour its 3 ltrs water into 7ltr mug

b) fill the 3 ltr mug, pour its 3 ltrs water into 7ltr mug

c) fill 3 ltr mug and pour 1 ltrs water into the 7 ltr mug

d) empty the 7 ltr mug, pour the remaining 2 ltrs water in 3ltrs jug, into the 7 ltr jug.

e) fill the 3 ltr mug, pour its 3 ltrs water into 7ltr mug





options: a) abced b)acbde c)abcde d)acbed

Ans: abcde





5. I m chasing a thief. The thief has a head start of 10 miles over me. I have a speed 1 mile/hr

greater

than the thief. my dog has a speed of 10km/hr. My dog runs to and fro between me and the

thief.

How many miles does my dog run, before i catch the thief?





a)96 miles b)124 mile c) 140 miles d) 180miles





Ans: 96 miles(b'cos the dog can cover a maximum of 10km/hr * 10hr=100km by the time i

catch the

thief. ie., about 96 or 94 miles. (options i have given for this Q are correct.)





6. George J Summers, " The Great book of puzzles and teasers" pg49, Question name : The

Widow.





For those who donot have the book above: I m typing the Qestion below.





(the following Q is compelete and accurate.) Four women Anna, Beth, Cass, Dora and 3 men

Earl,

Fred, Gene playbridge, a card game for 4 players.





condition: a)

The men and women consist of 3 married couples. an a

widow.





condition: b)

The members of each married couple are never partners

in a bridge game.





condition: c)

No more than one married couple ever plays in the same

bridge match.





condition: d)

One night they played four bridge games in which the

partners were as follows:





partners





Anna and Earl Vs Beth and Fred

Anna and Gene Vs Dora and Fred

Beth and Cass Vs Fred and Gene

Cass and Earl Vs Dora and Gene





who is the widow ?









Ans: Cass is the widow.





7. George J Summers, " The Great book of puzzles and teasers" pg148, Question name : The

Murderer in the Mansion.





(the following Q is compelete and accurate.)





The owner of the mansion has been murdered. The visitors to the mansion were Allen, Bixby,

Crain.





condition: a)

The murderer was one of the three visitors, arrived at the mansion later than atleast one of

the other two visitors.





condition: b)

A detective who was one of the three visitors arrived at the mansion earlier than atleast one of

the other two visitors.

condition: c)

the detective arrived at the mansion at midnight.





condition: d)

nither Allen nr Bixby arrived at the mansion after midnight.





condition: e)

The earlier arriver of Bixby and Crane was not the detective.





condition: f)

The later arriver of Allen and Crain was not the murderer.





Who was the murderer.





Ans: Allen was the Detective and the Murderer (both).





8. A questiono of type





one

+ one

+seven

------

something i dnot rmembr.

------





9. (inaccurate Q) AT="xy" MAT="YSD" then vb="?" This

type of question.





10. Find next word in the series:

Redden:ample:somthing:something...





11. A Q on upstream Downstream.





12. A simple Q on a chess match.





13. A series of 3 figures, Question was to predict the

next figure.









Questions:

1) For this question take

A-1,B-2,C-3..........X-24,Y-25,Z-26.





Edwin is a judge and a numerologist.He is married to

a woman whose name:





a) has a "product" that is the same as that for JUDGE:using the correspondence of letters and

numbers above, this product is 10*21*4*7*5.

b)has no letter in common with JUDGE.

c)Has no third letter of the alphabet because 3 is his unlucky number.

d)Has letters in alphabetical order when the first letter and second letter are interchanged.





What is the name of the judge's wife?





2) The owner of the house has been murdered. The visitors to the mansion were Allen,bixby

and Crain.





a) The murderer ,who was one of the three visitors ,arrived at the mansion later than atleast

one of the

other two visitors.





b)A detective,who was one of the three visitors,arrived at the mansion earlier than atleast one

of the other two visitors

c)The detective arrived at the mansion at midnight.





d)Neither Allen nor Bixby arrive at the mansion after

midnight

e)the earlier arriver of Bixby and crain wasnot the

detective

f)the later arriver of allen and crain was not the

murderer





Who was the murderer?





3) some farm tools and farm equipments have been stolen..3 farm workers were

interrogated..Each one makes 2 statements.(i dont remember the statements)One of the

statements made by each of them is right while the other is wrong. We have to tell who stole

them.





4) There is 4-digit number..the second digit is 2 more than the first..the last digit is five more

than the

third..something like this..it is very simple..jus have to go from the choices given..

5)





AD

BGE

CF









Each of seven digits from 0,1,2,3...8,9 is :

a) represented by a different letter in the figure above.

b) positioned in the figure above so that A*B*C, B*G*E and D*E*F are equal.





Which digit does G represent?





6) Given the names of four persons..and also given that one is taller than the other but shorter

than

someone else..statements like these..we have to find who is the shortest..





7) A man is walking inside the tunnel AB. when he is 3/8th of the distance from A, he hears a

train coming from behind him..he sees that when he moves towards B, the train just catches

him at B, and similar logic if he tried to reach





A..the man walks at a steady rate of 8m/h..what is the speed of the train?

8)Fifty minutes ago if it was four times as many minutes past four o clock, how many minutes

is it to

six o clock?





9) a simple problem related to ages..





10) There are 5 dacoits who have together stolen some gold coins..they stay at a place for

the night hiding the bounty safely...When evreyone's asleep, one of the dacoits wakes up,

takes 1/5th of the bounty plus one for himself..the rest he puts back in the bag and goes to

sleep..the next dacoit wakes up, does the same thing,ie takes 1/5th of the remaining bounty

plus one for himself, puts the rest back and goes to sleep..the third,fourth and fifth dacoits do

the same thing..in the morning, they all wake up and divide the bounty equally among

them..how may coins were there originally? The key to this question is to proceed from the

options..see which number leaves a remainder 1 when divided by 5 four times continuously

and the fifth time divides it exactly.

The rest 5 quests i dont remember....Quests 1,2 and 5 have been lifted straight out of

Puzzles' by George Summers..8 is from Shakuntala Devi..

The GD round is said to be the Main elimination round in Satyam..The topic we were given

was "US war on Iraq"..Some other topics could be "environmental pollution", "Indian Hockey"

etc.





The interview consisted of both technical and HR questions..Expect questions from ur

project..and brush up the subjects in ur major..





CSE- majors were asked on DBMS, a bit of networking, Object Orientation concepts.etc..





SATYMA PAPER 5



Satyam test conducted on 11 June 2005 at JIIT Noida.





30 min. 15 ques. 1/4 negative marking.



Aptitude





1. From a total of 10 bulbs 6 bulbs are working.One has to choose 3 bulbs out

of them. what is the probability that all the 3 bulbs will be glowing.

a) 1/6 b) 1/29 c) 1/29 d) 30/29 e) None of these.







2. A sum at a given rate of intrest becomes 1200 in 4 yrs. 2000 in 5 yrs.what

was that sum.

a) 2000 b) 1500 c)2500 d) 1800 e) None of the above.

Ans... e) None of the above. (sum ....800)







3. Three teams J,K,L . some conditions like J is in the left of K , L is in the

middle of K and L and so on.







4. Students fail in at least 2n-p subjects. n is the number of subjects.p is an

integer. If total number of failures is 63. what is the number of students.







5. if STRONG is written as ------. Then ENERGY will be written as ------.







6. G,R,S are three towns. If G is North west of S. R is east of S.which city is

north most.







7. Side of cube add to 4 feet. what is the volume of cube.

i) 64 inch^3 ii) 128 inch^3 iii) 512 inch^3 iv) None

Ans i) 64 inch^3.

8. Logical reasoning ...If battery is down Razor will not work. ....







9. If tomato price is hiked by 65%. Apple price by 10%. Tomato is now dearer

than apple. Some conclusions.....







10. In a chessboard of 64 squares. Pearls are to be decorated such that each

corner has 1 pearl.And each side has three pearls. How many pearls will be

required.







11. A number plate has 3 digits. If first digit is always 1. And rest two digits are in

ascending order. Total number of differnt numbers that can be given the number

plate.







12. Data interpretation. 3 pie charts and a histogram were given. What is the

average ?







13. Number generator... If a given sequence was given to the number generator

,it processes the sequence as....

step 1: Multiply each number by 2.

step 2: sort the numbers in ascending order.

step 3: increase 1st, 3rd and 6th number by 6.

step 4: again sort.

step 5: add 1 to 1st, 2 to 2nd , 3 to 3rd , 5 to 4th, 7 to 5th, 11 to 6th .

( Pattern was not given only output sequence was given, you have to identify this

pattern.)

If given sequence is input of the number generator. What will be it's state in step 4.







14. Odd one out. Very simple, 4 were geometric figures and last one was a zig-

zag.







15. Average of 8 scores is 85. After removing the "maximum" score and next to

maximum which is "maximum-2".The average comes out to be 83.What is the

maximum.





GD topics 10 min. 10 memebers each Group.







16. Higher education in India or abroad.

17. Mercy Killing.



18. Positive impact of Wstern culture on India.



19. Younger man should marry a elder woman or not. (absolutely not...).



20. Love marriage or Arrange marriage.



21. Banning new year party safe or not.



22. Dress code in colleges.



23. Copying the west.



24. Working woman Vs House wife.



25. Should mobile phones be banned or not ?



26. Current education system.



27. Should follow western culture or not.



28. Effect of Extra marital affairs on marriage life.





SATYAM Paper 6



Sample Test Paper





1. A plane travels 695km with wind and 498km aginst the wind in same

time.The speed of wind is 21km/hr. Find the speed of plane?

Ans:144km/hr



2. A person wheres clean shirt every day he picks up the shirts from londry on

every monday how many shirt he needs to have?

Ans:15



3. A,B,C are three plots. their ratio is 5:6:9. If diff between the areas of a and c

is 270m. what is the area of plot B.( the numericals r not same, i do not remember)



4. Two words are given HEAVEN nd another. Then the Third will be( a simple

one)



5. Some three long passages (Like in gre). Never try to attempt them. If u have

time only then go for it.



6. some numbers are given 3, 5,8,6,8,8,4,8,5 how many times the number 8 is

repeated preceeding with even number and suceeding with an odd number.



7. If circle=rectangle and rectangle=triangle and if triangle= circle then from the

following numbers which is there in triangle and not in others

1)6 2)16 3)4 4)8

8. A problem on probability.



9. A relation problem like if a is sister of b and b is sister of c and if a is sister of

d and if d is parent of all of them. then what will not be true from the following(some

options are given.)



10. A simple problem like if one man can travel 45km in 1 hour then in 4 hours he

can travel?



11. A boy goes to school late by 10min, if his speed is 3km/hr. The next day he

goes 15min early if he travels 5km/hr. Now how far is the school from his house.( the

numericals r not same).



12. again some kilometers to hours problem regarding to the train( do not

remember exactly).



13. find the next number in the series. 33,66,132,.........



GD



1. Should Filam actors enter poltics r not



2. Remixing of old songs



3. Rebirth



4. Life after death



5. R sprtiual leadrs r holy r not



HR



1. Tell me about yourself



2. As u have written u were dynamic nd positive attitude person give me the

instances of both of them.



3. Tell me about satyam



4. Why do u want to work



5. What is CMM level 5



6. He even asked me my intermediate principal's name



7. And some personal questions which they usually ask for girls like in future if

ur in-laws ask to quit the job what will u do?



8. Then the tech person started asking questions. what is oops



9. what is pointer



10. call by value and call by reference



11. encapsulation



12. pointers in c++. He even asked me java but i said i do not java



13. as u r from eee how will u contribute to software side?

IGATE Paper 1





QUESTION PAPER CONSIST OF TWO PARTS

ANALYTICAL SKILLS : 20 QUES, 20 MIN.

C SKILLS : 30 QUES, 30 MINS.





ANALYTICAL :

1. COMPLETE THE DIAGRAM :

FOUR FIG WILL BE GIVEN , YOU HAVE TO DRAW THE FINAL ONE





TRIANGLE FIG :

2. DRAW VENN DIAGRAM RELATING RHOMBUS, QUADRILATERAL & POLYGON









3.IN A GROUP OF 5 PERSONS A,B,C,D,E ONE OF THE PERSON IS ADVOGATE, ONE IS

DOCTOR, ONE BUSINESSS MAN, ONE SHOP KEEPER AND ONE IS PROFESSOR.

THREE OF THEM A,C,AND PROFESSOR PREFER PLAYING CRICKET TO FOOT BALL

AND TWO OF THEM B AND BUSINESSMAN PREFER PLAYING FOOT BALL TO

CRICKET. THE SHOP KEEPER AND B AND A ARE FRIENDS BUT TWO OF THESE

PREFER PLAYING FOOT BALL TO CRICKET. THE ADVOGATE IS C'S BROTHER AND

BOTH PLAY SAME GAME . THE DOCTOR AND E PLAY CRICKET.

(a) WHO IS ADVOGATE ? A, B, C, D

(b) WHO IS SHOP KEEPER ? A, B, C, D

(C) WHICH OF THE FOLLOWING GROUP INCLUDE PERSONS WHO LIKE PLAYING

CRICKET

BUT DOESN'T INCLUDE PROFESSOR ? AB,BC,CD, NONE

(d) WHO IS DOCTOR ? A,B,C,D.





{ SAME MODEL PROBLEM WAS ASKED IN QUES PAPER BUT PROFESSIONS WILL BE

DIFFERENT SUCH AS HORTICULTURIST ,PHYSICST,JOURNALIST,ADVOCATE AND

OTHER ONE. INSTEAD OF FOOTBALL AND CRICKET THEY WILL GIVE TEA AND

COFFEE }





4. THEY WILL GIVE SOME CONDITION'S AND ASKED TO FIND OUT FARTHEST CITY IN

THE WEST (EASY ONE )?





5. TRAVELLING SALES MAN PROBLEM . SOME CONDITION WILL BE GIVEN WE HAVE

TO FIND OUT THE ORDER OF STATION THE SALES MAN MOVES

( THREE QUES'S )





6. +,-,*, /, WILL BE GIVEN DIFFERENT MEANING EXAMPLE : TAKE + AS * AND SO ON .

THEY WILL GIVE EXPRESSION AND WE HAVE TO FIND THE VALUE OF THAT.

7. 3+5-2 =4 WHICH HAS TO BE INTERCHANGE TO GET THE RESULT ?





8. WE DON'T NO EXACT PROBLEM . EX : 8A3B5C7D.....

A WIIL BE GIVEN + SIGN.

B WILL BE GIVEN - SIGN.

FIND THE VALUE OF EXPRESSION ?





9. FIND THE TOTAL NUMBER OF SQUARES IN 1/4 OF CHESS BOARD ?





10. 6 FACE OF A CUBE ARE PAINTED IN A MANNER ,NO 2 ADJACENT FACE HAVE

SAME COLOUR. THREE COLURS USED ARE RED BLUE GREEN. CUBE IS CUT IN TO 36

SMALLER CUBE IN SUCH A MANNER THAT 32 CUBES ARE OF ONE SIZE AND REST

OF THEM BIGGER SIZE AND EACH BIGGER SIDE HAVE NO RED SIDE. FOLLOWING

THIS THREE QUES WILL BE ASKED . { IN QUES PAPER COLORS WILL BE DIFFERENT

}





11. TWO LADIES ,TWO MEN SIT IN NORTH EAST WEST SOUTH POSITION OF

RECTANCULAR TABLE. USING CLUES IDENTIFY THEIR POSITION ?





12. CLOCK PROBLEM :

(ONE QUES )





13. ALL MEN ARE VERTEBRATE. SOME MAMMALS ARE MEN. CONCLUDE.





C SKILLS :

1. find(int x,int y)

{ return ((xb)

if(b>c)

s1;

else s2;

s2 will be executed if

(a) ac,

(c) bb and b

#include

void main()

{

char buffer[82]={80};

char *result;

printf( "input line of text, followed by carriage return :\n");

result = cgets(buffer);

printf("text=%s\n",result);

}

(a) printf("length=%d",buffer[1]);

(b) printf("length=%d",buffer[0]);

(c) printf("length=%d",buffer[81]);

(d) printf("length=%d",buffer[2]);





17. consider scanf and sscanf function , which is true

(a) no standard function called sscanf

(b) sscanf(s,...) is equivalent to scanf(...) except that

input charecter are taken from string s.

(c) sscanf is equivalent to scanf.

(d) none of above.





18. #include

main()

{

char line[80];

scanf("%[^\n]",line);

printf("%s",line);

}

what scanf do ?

(a) compilation error . illegal format string.

(b) terminates reading input into variable line.

(c) and (d) other two options.





19. problem was big so i couldn't remember . simple one.





20 . ceil(-2.8) ?

(a) 0

(b) -3.0

(c) -2.0

(d) 2





21. for( p=head; p!=null; p= p -> next)

free(p);





(a) program run smooth.

(b) compilation error.

(c) run time error.

(d) none of above.





22. int x[3][4] ={

{1,2,3},

{4,5,6},

{7,8,9}

}

(a) x[2][1] = x[2][2] =x[2][3] = 0

(b) value in fourth column is zero

(c) value in last row is zero

(d) none of above.





23. problem was big so i couldn't remember . simple one.





24. main ()

{

printf("%u" , main());

}

(a) print garbage.

(b) execution error

(c) printing of starting address of function main.

(d) infinite loop.

25 . int a, *b = &a, **c =&b;

....

....

.....

a=4;

** c= 5;





(a) doesnot change value of a

(b) assign address of c to a.

(c) assign value of b to a.

(d) assign 5 to a.





26.problem was big so i couldn't remember . simple one.





27.problem was big so i couldn't remember . simple one.





28 . answer : swapping of values .





29 . simple one.





30 . i =5;

i= (++i)/(i++);

printf( "%d" , i);

prints ,

(a) 2

(b) 5

(c) 1

(d) 6





in interview they will ask questions related to ur project and some c

fundamentals.





IGATE Paper 2





Model paper of Inetrgraph





NO.of questions 40. Time 45minutes





out of 40 questions 20 from 'c' and 20 from analytical ability,quantitative ability . also 1

question ___ to draw venn diagram , 1 question__ on analogy 1 " _______non verbal

reasoning

1.there are 6 (p,q,r,s...)people.each one play one game #NAME? clues given like:shortest

one plays hokey largest person plays ..tennis P,Q ARE NEITHER LARGEST NOR

SHORTEST R PLAYS FOOTBALL s is between t &r in height question: who plays which

game who is taaller than whom





2.a cube has colors blue,red ,yellow each on two opposite sides.cube is divided into "32

small cubes and 4 large cubes". question:how many cubes (on 36 cubes) have blue at leat

one side. how many cubes have colors on two sides.





3.anlogy: cell: tissue::atom:?





4.aa person sold two articles for 80 /- each.with 20% profit on one article and 20% loss on

another article, what is the loss / prifit he will gain on both.





5.five cities. city1 is west to city3.city4 is east to city 5._____etc. which is farthest on west

side.





6.one question on: -=+,*=-,/=* etc then 10/5*45=?





7.on ,C, paper is easy.mostly on pointers,3 question on structures,5 on fundamentals,





8.ex:define max 10

main()

{int a,b;

int *p,*q;

a=10;b=19;

p=&(a+b);

q=&max;

} Q a)error in p=&(a+b) b)error in p=&max c)error in both d) no error









Important suggestions:





1. average preparation is enough to qualify foe interview.time is enough.

2.they are particular about academic background .

3.interview is only on personal details.no question on technical subjects

4.they may change paper sets also.

5.in outside recruitment they are asking more questions on CAD. but not in campus.

in iitd they interviewed 5students out of 21 .selected 1,waiting list 1.

6.cut off cgpa:7.5





IGATE Paper 3



iGate Paper 3/04/04



There were 50 questions in the aptitude section (12 minutes). After that there were 20

technical

questions.



Some GD topic were



-Business process outsourcing

-Science an evil or not

-Politics







APTITUDE QUESTIONS:-



1. Last month of an year

(a) January (b) February (c) December (d) November



2. Select the odd one

(a) January (b) February (c) Wednesday (d) November



3. Select the antonym of capture from the following

(a) attack (b) Release (c) condemn (d) None of the above



4. Find the antonym of autumn

(a) Spring (b) Winter (c) Summer (d) None of the above



5. One skirt requires 3.75 yards of cloth. How many skirts you can make from 45 yards?

Ans: 12 skirts



6. How can you make a square from two triangles?



7. Is the meaning of Client and Customer,

(a) same (b) contradictory (c) no relation



8. Is the meaning of It's and Its,

(a) same (b) contradictory (c) no relation



9. Is the meaning of Canvas and Canvass,

(a) same (b) contradictory (c) no relation



10. Is the meaning of Ingenious and Ingenuous,

(a) same (b) contradictory (c) no relation



11. Is the meaning of Credible and Credulous,

(a) same (b) contradictory (c) no relation



12. Select the odd one out.

(a) 1/4 (b) 1/3 (c) 1/6 (d) 1/18



13. Select the least from the following.

(a) 0.99 (b) 1 (c) 81 (d) 0.333



14. Find the next number in the series. 1, 0.5, 0.25, 0.125

Ans: 0.0625



15. One dollar is saved in one month. Then how much dollar is saved in one day?

Ans: 1/30 =0.0333$



16. Y catches 5 times more fishes than X. If total number of fishes caught by X and Y is 48,

then number of fishes caught by X?

Ans: 8



17. Y catches 5 times more fishes than X. If total number of fishes caught by X and Y is 42,

then number of fishes caught by X?

Ans: 7



18. If a train covers 600m in 0.5 seconds, how long it will cover in 10 seconds?

Ans: 3000m = 3km



19. The girl's age is twice that of boy, if the boy is four years old. After four years the age of

the girl is

Ans: 12 years



20. Sister's age is twice than that of the brother. If the brother's age is six, what is the sister's

age after two years?

Ans: 14 Yrs.



21. Two lemons cost 10 cents. Then one and a half dozen cost

Ans: 90 cents



22. A clock is late by 1 minute 27 seconds in a month. Then how much will it be late in 1

day?

Ans: 2.9 seconds



23. Which of the following figures together will make

a triangle?

Ans: a,b,c,d



24. Make a square by drawing only one line

Ans: line 2-5, square 2-3-4-5-2



25. Which of the following is the odd one?

crew, constellation, companion, league, participants.



Ans: companion



26. Opposite of Remote?

(a) Far (b) Near (c) Huge (d) Village



27. Statement A: All great men are ridiculous; Statement B: I am ridiculous ; Inference : I am

a great man;

(a) True (b) False (c) Not clear



28. Statement: Normal children are active; Inference: All children are active;

(a) True (b) False (c) Uncertain



29. Next number in the series 1, 1/2, 1/4, 1/8 ?

Ans: 1/16



30. In 6 seconds a light flashes once. In one hour how many times it will flash?

Ans: 601 times



31. At 20% discount, a cycle is sold at a selling price of 2500 Rs. What is the actual price?

Ans: Rs. 3125



32. Statement A: A & B have same age;

Statement B: B is younger than C;

Inference : A is younger than C;

(a) True

(b) False (c)

Uncertain



33. All chickens lay eggs (True/False)

Ans: False



34. A invests $12000, B invests $8000, C invests $6000 and they got a profit of $1200. How

much share A got more than B and C?

Ans: 2/13 and 3/13





TECHNICAL QUESTIONS:-



For technical there were 20 multiple choice questions: Out of which about 6 was electronics

and 14 was from computer related areas



1. Full form of TTL and CMOS



2. Which is a good conductor (Extrinsic or Intrinsic)



3. What are the different types of capacitors

(Electrolytic, dielectric...etc)



4. Select a passive component from the following

(four choices were there)



5. Minimum no. of lines required for communication using RS232 (Ans: i think its 2)



6. To convert 1's complement to 2's complement and vice versa



7. During which time we use 'size of' command. (ans: runtime)



8. Out of four choice we have to identify which is a macro.



9. There was one pointer expression related question.



10. To find post fix expression.



11. What type of operating system is unix (ans: pre-emptive,[not sure])

a)pre-emptive b)non-preemptive c)batch



12. Defnition of turing machine.



13. Where we use DFD(Data flow design)

a)structural languages b)object oriented languages c)UML d)all of the above



14. Name the error which occurs when we write on a page

a) segment fault b)permission fault c) page fault



15. A question based on the representation of an array in C

An array whose elements are fn pointers which intern

returns a character







INFOSYS Paper 1



1. There is a escalator and 2 persons move down it.A takes 50 steps and B takes 75 steps

while the escalator is moving down.Given that the time taken by A to take 1 step is equal to

time taken by B to take 3 steps.Find the no. of steps in the escalator while it is staionary.

2. If 5/2 artists make 5/2 paintings using 5/2 canvases in 5/2 days then how many artists r

required to make 25 paintings using 25 canvases in 25 days?





3. If the digits of my present age are reversed then i get the age of my son.If 1 year ago my

age was twice as that of my son.Find my present age.

ans. father-73, son-37





4. There are 6561 balls out of them 1 is heavy.Find the min. no. of times the balls have to be

weighed for finding out the haevy ball.

ans. 8





5. If i walk with 30 miles/hr i reach 1 hour before and if i walk with 20 miles/hr i reach 1 hour

late.Find the distance between 2 points and the exact time of reaching destination is 11 am

then find the speed with which it walks.

ans. 120miles and 24 miles/hr





6. There r four face cards (J,Q,K,A) all of different types(diamond,club,spade,heart) and some

conditions r given.find the order of cards

ans. king -> jack -> queen -> ace

heart diamond spade club





7. If A,B,C,D,E r 5 members of a family.4 of them give true statements :

1. E is my mother in law

2. C is my son in law's brother

3. B is my father's brother

4. A is my brother's wife





Who made the stmt. and what r the realtions among them

ans. E

|

AB--C

|

D

denotes husband-wife

-- denotes brothers





8. The product of 5 different temperatures is 12.If all of then r integers then find all the

temperatures

ans. -2,-1,1,2,3





9. If a flight travels between India(IST) and Toronto(TST).There r 2 types of flights slow and

fast.





IST TST

SLOW - -

FAST - -





TST IST

SLOW - -

FAST - ?





These are the departure times and arrival times for slow and fast flights in IST and TST. then

find the time in ?

ans. 22:40





10.There r 9 cities numbered 1 to 9.From how many cities the flight can start so as to reach

the city 8 either directly or indirectly such the path formed is divisible by 3.

eg. 1368-Flights goes through 1-3-6-8.





11. If i do this puzzle i find it to be hard than the last puzzle that i did before that after

that..............very complex stmt.

Is that puzzle difficult,easy,can't say or depends on the no. of puzzles





INFOSYS Paper 2



1. I participated in a race.1/5th of those who are before me are equal to 5/6th of those behind

me. What were the total number of contestants in the race?(3 Marks)





2. Find the 3 digit number. Third digit is square root of first digit. Second digit is sum of first

and third digits. Find the number. (3 Marks)





3. This problem is of time and work type. Some A and some B are able to produce so many

tors in so many hours.(for example 10 A and 20 B are able to produce 30 tors per hour). Like

this one more sentence was given. We have to find out the rate of working of A and B in

tors/hour.(4 Marks)





4. A and B play a game of dice between them. The dice consists of colors on their faces

instead of numbers. A wins if both dice show same color. B wins if both dice show different

colors. One dice consists of 1 red and 5 blue. What must be the color in the faces of other

dice.(i.e how many blue and how many red?). Chances of winning for A and B are even. (5

Marks)





5. A girl has 55 marbles. She arranges them in n rows. The nth row consists of n marbles, the

(n-1)th row consists of (n-1) marbles and so on. What are the number of marbles in nth row?

(3 Marks)





6. This question is of analogy type. Some sentences regarding tastes of people to poetry are

given like all who like A's Poem, like the poems of B. Like this 7 or 8 sentences were given.

Questions were based on this. (8 Marks)





7. This question is also of analogy type. Four persons are there A,B,C,D. Each of the four

persons own either P,Q,R,S. 10 sentences using if clause were given. We have to find out

which belongs to whom. (8 Marks)





8. This question involves percentage. (5 Marks)





9. Problems on ages. (6 Marks)





10. Problems on time and distance. (5 Marks)





INFOSYS Paper 3





Infosys Test Held on 3rd September, 2003





1) Every station in N railroad issues every other station's ticket. Some stations are added.

Now they have to issue 46 more tickets. Give the No. of stations after and before added. (5

marks).





2) There was a race between 3 people. Me, Doug and Anne. When I take 21 steps the

distance covered is equal to Doug's 24 steps and Anne's 28 steps. I take 6 steps to every 7

steps of Doug and 8 steps of Anne. Who won the race?





3)How many bearers will an explorer need for a 6 day march if each man can carry the food

stuff of one man for 4 days.





4) Consider the following statements:

Albert: Dave did it.

Dave: Tony did it.

Gug: I did not do it.

Tony: Dave lied when he said that i did it.

(a)If only one out of all above statements is true, who did it?

(b)If only one out of all above statements is false, who did it?





5) A contribution of Rs. 500 was raisedfrom 500 people. The fee was as follows:

Men: Rs.3.00 each

Women: Rs. 2.00 each

Childern: 0.48 each

If number of women is more than number of men, how many childern are there? (5 marks)





6) Alice and Liu had some berries. The total of Alice's berries and square of number of berries

with Liu is 62. The total of Liu's berries and square of number of berries with Alice is 176. How

many berries does each of them have? (6 marks)





7) A rope ladder was left down from a ship. 12 steps of the ladder were exposed at 10:00 am.

The queen who was going to visit the ship, said she would visit at 1:00 pm as she would have

to climb lesser number of steps then. The tide in the sea increases from morning to afternoon

at the rate of 1.2 meters per hour. The distance between any 2 steps of the ladder is 0.4 mts.

How many steps will the queen have to climb?





8) 5 hunters Doe, Deer,Hare,Boarand Row kill 5 animals. Each hunter kills an animal that

does not corrspond to his name. Also each hunter misses a different animal which again does

not correspond to his name.

a) The Deer is killed by the hunter,known by the name of the animal killed by Boar.

b) Doe is killed by the hunter, known by name of animal missed by Hare.

c) The Deer was disappointed to kill only a Hare and missed the Roe.





9) There was 1 more on moon gravity 1/6, weight ...





Altogether there were 11 questions to be completed in 1 hr.English test was simple for 30

mins - 1 comprehension & other fill in the blank kinds, questions some sentence correction

questions.





INFOSYS Paper 4



1) a) 10 1 9 2 8 3 7 4 6 5 5 6 4 7 3 8 2 _ _

b) 2 4 16 512 _ Write the next elements in the series.





2) A Man is sitting in the last coach of train could not find a seat, so he starts walking to the

front coach ,he walks for 5 min and reaches front coach. Not finding a seat he walks back to

last coach and when he reaches there, train had completed 5 miles. What is the speed of the

train.





3) The Old car of Mary requires tyres to be changed after each 24000 km. If she wants to go

for 42000 km journey then how many minimum number of tyres she will need.





4) A coin is so unbalanced that it may come both heads in 2 tosses as it may come tails in a

single toss. What is the probabality of getting a head in a single toss.





5) A pen, pencil and eraser together cost $1.00. if 2E2P, and 3P>4E then what a

single pen will cost?





6) A local forecast service has accuracy of 2/3 says No rain , and Meteriological service

having accuracy of 4/3 says Rain. if Preference is as no rain what is the chance of rain?





7) Sherlock holmes thrwated the plan to kidnapp Mrs mary when they were questioned Mercy

and his two associated shipy and rany.when they were telling the story one of them told one

thing wrong and other true, the other told both true, and the last told both false. examining the

following tell the roles played by each

Mercy:: 1) i wrote the ransome note 2) shipy broke into the window rany 1) shipy wrote the

ransome note 2) mercy ran away with the lady shipy 1)i broke into the window 2)rany wrote

the ran some note.





8) Tom asked kim did you like the stamps? She said yes ,me and rob too liked them. Kim

again said that rob got 3 more than he would have got, if i would have kept 2 more than, what

he got. Tom asked how many u gave Rob? She replied 2 more than what I got. Tell, how

many stamps each rob and kim got?





9) The virgo club members used to meet every week to play cards. Each time they used to

seat around a round table and for their memory they used all the possiblecombinations of

postions each for a single time only. Can you tell for how many times they met?





Essays Asked





If you are given a chance to change a thing in you hometown, what would you change? Give

examples why you want to do so.

Television is creating a communication gap among young generation.





INFOSYS Paper 5



1. A person needs 6 steps to cover a distance of one slab. If he increases his foot length (step

length) by 3 inches he needs only 5 steps to cover the slabs length. What is the length of the

each slab.

Ans: 31 inches.





2. There are 19 red balls and one black ball. Ten balls are put in one jar and the remaining 10

are put in another jar. What is the possibility that the black is in the right jar.

Ans: 1/2.





3. There is one lily in the pond on 1st june. There are two in the pond on 2nd june . There are

four on 3rd june and so on. The pond is full with lilies by the end of the june.

(i) On which date the pond is half full?

Ans: 29th. --the june has 30 days).

(ii) If we start with 2 lilies on 1st june when will be the pond be full with lilies.

Ans: 29th June.





4. A lorry starts from Banglore to Mysore at 6.00 A.M, 7.00 A.M, 8.00 am.....10 pm. Similarly

one another starts from Mysore to Banglore at 6.00 am,7.00 am, 8.00 am.....10.00pm. A lorry

takes 9 hours to travel from Banglore to Mysore and vice versa.

(i) A lorry which has started at 6.00 am will cross how many lorries.

Ans: 10.





(ii) A lorry which had started at 6.00pm will cross how many lorries.

Ans: 14.





5. A person meets a train at a railway station coming daily at a particular time . One day he is

late by 25 minutes, and he meets the train 5 k.m. before the station. If his speed is 12 kmph,

what is the speed of the train.

Ans: 60 kmph. Refer--Shakuntala Devi Book.





7. A theif steals half the total no of loaves of bread plus 1/2 loaf from a backery. A second

theif steals half the remaing no of loaves plus 1/2 loaf and so on. After the 5th theif has stolen

there are no more loaves left in the backery. What was the total no of loaves did the backery

have at the biggining.

Ans: 31.





8. A gardener plants 100 meters towards east, next 100 meters towards north,next 100

meters towards west. 98 meters towards east, 96 meters towards north and 96 meters

towards west, 94 meters towards south. and 94 meters towards east and so on. If a person

walks between the trees what is the total distance travelled by him before he reaches the

center.

Ans: |---------------| | | | | | | | --------|- | ---------------------| -.





9. Long division: example: 1089709/12 ?





ANALYTICAL 4 question---40 marks; 40 minutes;





1. There are four women and 3 men. They play bridge one night. Find widow among them.

Rules:

(i) wife and husband are never partners.

(ii) Wife and husand never play more than one game. One night they played four games as

follows:-





1. ------ + ------ vs ------- + ---------

2. ------ + ------ vs ------- + ---------

3. ------ + --*--- vs ------- + ---------

4. ---*-- + ------ vs ------- + ---------

the woman are marked * above.





Ans: Refer Problem 21. Mind Teasers by Summers.





2. There are 5 peoples; few of them speak true, few of them false. Identify them.





3. & 4.th problems on Venn diagram.





INFOSYS Paper 27



1. BE * BE = ACB.

A, B, C, E are non zero numbers. Find B, E.

Ans: B=1 E=9.





2. A, B, C, D, E are having numerical values. There are some conditions given:-

a) A=C B!=E

b) Difference between A and C as same as difference between C and B as same as

difference between A and D.

c) C D,

Then Find A, B, C, D, E.





3. There are six cards, in which, it has two king cards. All cards are turned down and two

cards are opened.

a) What is the possibility to get at least one king?

b) What is the possibility to get two kings?





4. A person went to a shop and asked for change for 1.15 paise, but he said that he could not

only give change for one rupee but also for 50p, 25p, 10p and 5p. What were the coins he

had?

Ans: 1-->50p 4--->10p 1--->25p.





5. There are 3 nurses and they work altogether only once in a week. No nurse is called to

work for 3 consecutive days. Nurse 1 is off on tueseday, thursday and sunday. Nurse 2 is off

on saturday. Nurse 3 is off on thursday, sunday. No two nurses are off more than once a

week.

Find the day on which all the 3 nurses were on work.





6. There are 5 persons A, B, C, D, E and each is wearing a block or white cap on his head. A

person can see the caps of the remaining 4 but can't see his own cap. A person wearing

white says true and who wears black says false.

i) A says I see 3 whites and 1 black.

ii) B says I see 4 blacks.

iii) E says I see 4 whites.

iv) C says I see 3 blacks and 1 white.

Now Find the caps weared by A, B, C, D and E.





7. There are two women, Kavitha and Shamili and two males Shyam and Aravind, who are

musicians. Out of these four one is a Pianist, one Flutist, Violinist and Drummer.

i) Across Aravind beats Pianist.

ii) Across Shyam is not a Flutist.

iii) Kavitha's left is a Pianist.

iv) Shamili's left is not a Drummer.

v> Flutist and Drummer are married.





8. 1/3 rd of the contents of a container evaporated on the 1st day. 3/4 th of the remaining

contents of the container evaporated the second day. What part of the contents of the

container are left at the end of the second day?





9. A man covered 28 steps in 30 seconds but he decided to move fast and covered 34 steps

in 18 seconds. How many steps are there on the escalator when stationary?





10. All fair skinned, rich, handsome, muscular, lean and employed are tall men.

1) All lean men are muscular.

2) No fairskinned person who is not rich is handsome.

3) Some muscular men are handsome.

4) All handsome are fairskinned.

5) No person who is neither fair skinned nor muscular is employed.





INFOSYS Paper 28

This paper contains INFOSYS Interview Questions.

1. Person1: Most of us are satch J.

Person2: Most of us are jute S.

Person3: Two of us are satch J.

Person4: Three of us are jute J.

Person5: I am satch J we have to find who is satch and who is jute.

Ans: S: Satch J:Jute.



2. Four persons are there to cross a bridge they have one torch light.

Person A can cross in 1 min.

Person B can cross in 2 min.

Person C can cross in 5 min.

Person D can cross in 10 min.



They have to cross bridge with in 17 min. At a time only two persons can cross.



I. A & B ----> 2.

II. A 10.

IV. B 2

______________

Total 17.



3. 7 hours hour glass 11 hours hour glass you have to boil one egg for 15 hours.



4. What is the maximum number of slices can you obtain by cutting a cake with only 4 cuts?

Ans: 16.



5. Three are three boxes. In first box, two white balls. In second box, 2 black balls. In third

box, 1 white & 1 black ball. The lables on the boxes are not correct. Then you have to open

one box and to find the colour of the balls in all boxes.

Ans: Open the box labled black & white. If white balls are there then the box labled with white

balls contain black balls and labled with black balls contain one black and one white ball and

vice versa, if two black balls are there



INFOSYS Paper 29





1. A begger collects cigarette stubs and makes one ful cigarette with every 7 stubs. Once he

gets 49 stubs . How many cigarettes can he smoke totally?

Ans: 8.





2. A soldier loses his way in a thick jungle at random walks from his camp but mathematically

in an interesting fashion. First he walks one mile east then half mile to north. Then 1/4 mile to

west, then 1/8 mile to south and so on making a loop. Finally how far he is from his camp and

in which direction.

Ans: In north and south directions 1/2 - 1/8 + 1/32 - 1/128 + 1/512 - and so on = 1/2/((1-(-1/4))

similarly in east and west directions 1- 1/4 + 1/16 - 1/64 + 1/256 - and so on = 1/(( 1- ( - 1/4)).

Add both the answers.





3. How 1000000000 can be written as a product of two factors neither of them containing

zeros?

Ans: 2 power 9 x 5 ppower 9 (check the answer).





4. Conversation between two mathematcians:

First : I have three childern. The product of their ages is 36. If you sum their ages, it is exactly

same as my neighbour's door number on my left.





The second mathematician verfies the door number and says that the clue is not sufficient.

Then the first says " OK, one more clue is that my youngest is the youngest". Immmediately

the second mathematician answers. Can you answer the question asked by the first

mathematician? What are the childeren ages?

Ans: 2 and 3 and 6.





5. Light glows for every 13 seconds. How many times did it between 1:57:58 and 3:20:47

AM?

Ans: 383 + 1 = 384.

6. 500 men are arranged in an array of 10 rows and 50 columns. ALL tallest among each row

are asked to fall out. And the shortest among them is A. Similarly after resuming that to their

originaal positions that the shortest among each column are asked to fall out. And the longest

among them is B. Now who is taller among A and B?

Ans: A.





7. A person spending out 1/3 for cloths, 1/5 of the remaining for food and 1/4 of the remaining

for travelles. He is left with Rs 100/-. How he had in the begining?

Ans: Rs 250/-.





8. There are six boxes containing 5, 7, 14, 16, 18, 29 balls of either red or blue in colour.

Some boxes contain only red balls and others contain only blue . One sales man sold one box

out of them and then he says "I have the same number of red balls left out as that of blue".

Which box is the one he solds out?

Ans: Total no of balls = 89 and (89-29 /2 = 60/2 = 30 and also 14 + 16 = 5 + 7 + 18 = 30.





9. A chain is broken into three pieces of equal lengths, containing 3 links each. It is taken to a

blacksmith to join into a single continuous one. How many minimum number of links are to to

be opened to make it?

Ans: 2.





10. Grass in lawn grows equally thick and in a uniform rate. It takes 24 days for 70 cows and

60 for 30 cows. How many cows can eat away the same in 96 days?

Ans: 18 or 19.





11. There is a certain four digit number whose fourth digit is twice the first digit. Third digit is

three more than second digit. Sum of the first and fourth digits twice the third number. What

was that number?

Ans: 2034 and 4368.





1. From a vessel on the first day, 1/3rd of the liquid evaporates. On the second day 3/4th of

the remaining liquid evaporates. What fraction of the volume is present at the end of the

second day?





2. An orange glass has orange juice and white glass has apple juice. Both are of equal

volume. 50 ml of the orange juice is taken and poured into the apple juice. 50 ml from the

white glass is poured into the orange glass. Of the two quantities, the amount of apple juice in

the orange glass and the amount of orange juice in the white glass, which one is greater and

by how much?





3. There is a 4 inch cube painted on all sides. This is cut into number of 1 inch cubes. What is

the number of cubes which have no painted sides?





4. Sam and Mala have a conversation. Sam says I am certainly not over 40. Mala says I am

38 and you are atleast 5 years older than me. Now Sam says you are atleast 39. All the

statements by the two are false. How old are they realy?





5. Ram singh goes to his office in the city every day from his suburban house. His driver

Mangaram drops him at the railway station in the morning and picks him up in the evening.

Every evening Ram singh reaches the station at 5 o'clock. Mangaram also reaches at the

same time. One day Ram singh started early from his office and came to the station at 4

o'clock. Not wanting to wait for the car he starts walking home. Mangaram starts at normal

time, picks him up on the way and takes him back house, half an hour early. How much time

did Ram singh walked?





6. In a railway station, there are two trains going. One in the harbour line and one in the main

line, each having a frequency of 10 minutes. The main line service starts at 5 o'clock. The

harbour line starts at 5.02 AM. A man goes to the station every day to catch the first train.

What is the probability of man catchinhg the first train?





7. Some people went for vaction. Unfortunately it rained for 13 days when they were there.

But whenever it rained in the morning, they had clean afternood and vice versa. In all they

enjoyed 11 morning and 12 afternoons. How many days did they stay there totally?





8. Escalator Problem Repeat.





9. A survey was taken among 100 people to find their preference of watching TV

programmes. There are 3 channels. Given no of people who watch at least channel 1, at least

channel 2, at least channel 3, no channels at all, at least channels 1 and 3, at least channels

1 and 2, at least channels 2 and 3. Find the no of people who watched all three?





10. Albert and Fernandes have two-leg swimming race. Both start from opposite end of the

pool. On the first leg, the boys pass each other at 18 mt from the deep end of the pool. During

the second leg they pass at 10 mt from the shallow end of the pool. Both go at constant

speed. But one of them is faster. Each boy rests for 4 sec to see at the end of the first leg.

What is the length of the pool?





11. T H I S

Each alphabet stands for one I S digit, what is the maximum value of T?





INFOSYS Paper 31 of 43

. Father's age is three years more than three times the son's age.

After three years, father's age will be ten years more than twice the son's age.

What is the father's present age.

Ans: 33 years. (2 marks)





2. Find the values of each of the alphabets.

NOON

SOON

+MOON

----------

JUNE

Ans: 9326 (2 marks)





3. There are 20 poles with a constant distance between each pole A car takes 24 second to

reach the 12th pole. How much will it take to reach the last pole.

Ans: 41.45 seconds (2 marks)

Let the distance between two poles = x

Hence 11x:24::19x:?





4. A car is travelling at a uniform speed.

The driver sees a milestone showing a 2-digit number.

After travelling for an hour the driver sees another milestone with the same digits in reverse

order.

After another hour the driver sees another milestone containing the same two digits.

What is the average speed of the driver.

Ans: 45 kmph (4 marks)





5. The minute and the hour hand of a watch meet every 65 minutes.

How much does the watch lose or gain time and by how much?

Ans: Gains; 5/11 minutes (4 marks)





6. Ram, Shyam and Gumnaam are friends.

Ram is a widower and lives alone and his sister takes care of him.

Shyam is a bachelor and his neice cooks his food and looks after his house.

Gumnaam is married to Gita and lives in large house in the same town.

Gita gives the idea that all of them could stay together in the house and share monthly

expenses equally.

During their first month of living together, each person contributed Rs.25.

At the end of the month, it was found that Rs 92 was the expense so the remaining amount

was distributed equally

among everyone.

The distribution was such that everyone recieved a whole number of Rupees.

How much did each person recieve?



Ans. Rs 2 (4 marks)

(Hint: Ram's sister, Shyam's neice and Gumnaam's wife are the same person)





7. Four persons A, B, C and D are playing cards.

Each person has one card, laid down on the table below him, which has two different colours

on either side.

The colours visible on the table are Red, Green, Red and Blue.

They see the color on the reverse side and give the following comment.



A: Yellow or Green

B: Neither Blue nor Green

C: Blue or Yellow

D: Blue or Yellow



Given that out of the 4 people 2 always lie find out the colours on the cards each person.

Infosys Sample Test #2 Home



1. At 6'o a clock ticks 6 times.

The time between first and last ticks is 30 seconds.

How long does it tick at 12'o clock.



Ans: 66 sec. (2 marks)





2. Three friends divided some bullets equally.

After all of them shot 4 bullets the total number of bullets remaining is equal to the bullets

each had after division.

Find the original number divided.



Ans: 18 (2 marks)



Initially . x x x

Now x-4 x-4 x-4

Equation is 3x-12 = x





3. A ship went on a voyage.

After it had travelled 180 miles a plane statrted with 10 times the speed of the ship.

Find the distance when they meet from starting point.



Ans: 200miles. (2 marks)

Distance travelled by plane = 1/10 distance travelled by ship + 180





4. Complete the Table given below:



Three football teams are there. Given below is the group table. Fill in the x's



Played Won Lost Draw Goals For Goals Against

A22xxx1

B2xx124

C2xxx37



Ans: The filled table is given below (4 marks)



Played Won Lost Draw Goals For Goals Against

A220071

B201124

C201137







5. There are 3 societies A, B, C.

A lent cars to B and C as many as they had already.

After some time B gave as many tractors to A and C

as many as they have. After sometime c did the same thing. At the end of this transaction

each one of them had 24.

Find the cars each orginally had.



Ans: A had 39 cars, B had 21 cars & C had 12 cars (4 marks)





6. There N stations on a railroad.

After adding X stations on the rail route 46 additional tickets have to be printed.

Find N and X.



Ans. x=2 and N=11

Let initially, N(N-1) = t

After adding, (N+X)(N+X-1) = t+46

By trail and error method (4 marks)





7. Given that April 1 is tuesday.

A, B, C are 3 persons told that their farewell party was on



A - May 8, thursday

B - May 10,tuesday

C - June 5, friday

Out of A, B, C only one made a completetly true statement concerning date,day and month

The other told two one told the day right and the other the date right..

What is correct date, month, day.



Ans: B - (May 10) SUNDAY

C - June 6 (Friday). (5 marks)





8. The Bulls, Pacers, Lakers and Jazz ran for a contest.

Anup, Sujit, John made the following statements regarding results.



Anup said either Bulls or Jazz will definitely win

Sujit said he is confident that Bulls will not win

John said he is confident that neither Jazz nor Lakers will win

When the result cameit was found that only one of the above three had made a correct

statement.

Who has made the correct statement and who has won the contest.



Ans: Sujith; Lakers (5marks )





9. Five people A ,B ,C ,D ,E are related to each other.

Four of them make one true statement each as follows.



(i) B is my father's brother.

(ii) E is my mother-in-law.

(iii)C is my son-in-law's brother

(iv)A is my brother's wife.



Ans: (i) D

(ii) B

(iii) E

(iv) C (10 marks)





10. Some statements are given below:



L says all of my other four friends have money

M says that P said that exactly one among them has money

N says that L said that precisely two among them have money

O says that M said that three of the others have money

P, L and N said that they have money

All the above statement are false..

Who has money & who doesn't have any money?



(5 marks)





1) A man collects cigarette stubs and makes one full cigarette with every 8 stubs.

If he gets 64 stubs how many full cigarettes can he smoke.

Ans: 8+1=9





2) A soldier looses his way in a thick jungle. At random he walks from his camp but

mathematically in an interesting fashion. First he walks one mile East then half mile to North.

Then 1/4 mile to West, then 1/8 mile to South and so on making a loop.

Finally how far he is from his camp and in which direction.



Ans: Distance travelled in north and south directions

1/2 - 1/8 + 1/32 - 1/128 + 1/512 - and so on

= 1/2/((1-(-1/4))

Similarly in east and west directions

1- 1/4 + 1/16 - 1/64 + 1/256 - and so on

= 1/(( 1- ( - 1/4))

Add both the answers





3) How can 1000000000 be written as a product of two factors neither of them containing

zeros



Ans: 2 power 9 x 5 power 9





4) Conversation between two mathematcians:

First : I have three childern. The product of their ages is 36.

If you sum their ages, it is exactly same as my neighbour's door number on my left.

The second mathematician verfies the door number and says that it is not sufficient.

Then the first says " Ok one more clue is that my youngest is really the youngest".

Immmediately the second mathematician answers .

Can you answer the question asked by the first mathematician?

What are the childeren ages?



Ans 1,6 and 6





5) Light glows for every 13 seconds . How many times did it glow between 1:57:58 and

3:20:47 am.



Ans : 383 + 1 = 384





6) 500 men are arranged in an array of 10 rows and 50 columns according to their heights.

Tallest among each row of all are asked to fall out.

And the shortest among them is A.

Similarly after resuming that to their original podsitions that the shortest among each column

are asked to fall out.

And the tallest among them is B .

Now who is taller among A and B ?



Ans A





7) A person with some money spends1/3 for cloths, 1/5 of the remaining for food and 1/4 of

the remaining for travel.

He is left with Rs 100/- .

How much did he have with him in the begining ?



Ans: Rs 250/-





8) There are six boxes containing 5 , 7 , 14 , 16 , 18 , 29 balls of either red or blue in colour.

Some boxes contain only red balls and others contain only blue.

One sales man sold one box out of them and then he says

" I have the same number of red balls left out as that of blue ".

Which box is the one he solds out ?



Ans: Total no of balls = 89 and (89-29 /2) = 60/2 = 30

and also 14 + 16 = 5 + 7 + 18 = 30





9) A chain is broken into three pieces of equal lenths containing 3 links each.

It is taken to a backsmith to join into a single continuous one .

How many links are to to be opened to make it ?



Ans : 2.





10) Grass in lawn grows equally thick and in a uniform rate.

It takes 24 days for 70 cows and 60 days for 30 cows to eat the whole of the grass.

How many cows are needed to eat the grass in 96 days.?



Ans : 20

g - grass at the beginning

r - rate at which grass grows, per day

y - rate at which one cow eats grass, per day

n - no of cows to eat the grass in 96 days

g + 24*r = 70 * 24 * y

g + 60*r = 30 * 60 * y

g + 96*r = n * 96 * y

Solving, n = 20.









Infosys Sample Test #6 Home









1. From a vessel, 1/3rd of the liquid evaporates on the first day.

On the second day 3/4th of the remaining liquid evaporates.

What fraction of the volume is present at the end of the second day.



Ans: 50%





2. An orange glass has orange juice and white glass has apple juice both of equal volumes.

50ml of the orange juice is taken and poured into the apple juice.

50ml from the white glass is poured into the orange glass.

Of the two quantities, the amount of apple juice in the orange glass and the amount of orange

juice in the white glass, which one is greater and by how much?



Ans: The two quantities are equal





3. There is a 4 inch cube painted on all sides.

This is cut down into of 1 inch cubes.

What is the no of cubes which have no pointed sides.



Ans: 8

4. Sam and Mala have a conversation.



Sam says I am certainly not over 40

Mala says I am 38 and you are atleast 5 years older than me

Now Sam says you are atleast 39

All the statements by the two are false.

How old are they really?



Ans: Mala = 38 yrs

Sam = 41 yrs.





5. Ram Singh goes to his office in the city, every day from his suburban house.

His driver Gangaram drops him at the railway station in the morning and picks him up in the

evening.

Every evening Ram Singh reaches the station at 5 O' Clock.

Gangaram also reaches at the same time.

One day Ram Singh started early from his office and came to the station at 4 O' Clock.

Not wanting to wait for the car he starts walking home. Mangaram starts at normal time, picks

him up on the way

and takes him back house, half an hour early.

How much time did Ram Singh walk?





6. In a railway station, there are two trains going.

One in the harbour line and one in the main line, each having a frequency of 10 minutes.

The main line service starts at 5 o'clock and the harbour line starts at 5.02A.M.

A man goes to the station every day to catch the first train that comes.

What is the probability of the man catching the first train?



Ans: 0.8





7. A family X went for a vacation.

Unfortunately it rained for 13 days when they were there.

But whenever it rained in the mornings, they had clear afternoons and vice versa.

In all they enjoyed 11 mornings and 12 afternoons.

How many days did they stay there totally?



Ans: 18





8. A survey was taken among 100 people to find their preference of watching T.V.

programmes.

There are 3 channels. Given the no of people who watch



at least channel 1

at least channel 2

at least channel 3

no channels at all

atleast channels 1and 3

atleast channels 1 and 2

atleast channels 2 and 3

Find the no of people who watched all three.





9. Albert and Fernandes have two leg swimming race.

Both start from opposite ends of the pool.

On the first leg, the boys pass each other at 18 m from the deep end of the pool.

During the second leg they pass at 10 m from the shallow end of the pool.

Both go at constant speed but one of them is faster.

Each boy rests for 4 seconds at the end of the first leg.

What is the length of the pool?

10. Each alphabet stands for one digit in the following multiplication.



THIS

xIS

---------

XFXX

XXUX

------------

XXNXX

------------



What is the maximum value T can take?



Ans: T max value = 4



Back to top

Infosys Sample Test #7 Home





Back To Infosys Page





1.An escalator is descending at constant speed.

A walks down and takes 50 steps to reach the bottom.

B runs down and takes 90 steps in the same time as A takes 10 steps.

How many steps are visible when the escalator is not operating?



Ans: 150 steps





2. Every day a cyclist meets a train at a particular crossing.

The road is straight before the crossing and both are travelling in the same direction.

The cyclist travels with a speed of 10 Kmph.

One day the cyclist comes late by 25 min. and meets the train 5km before the crossing.

What is the speed of the train?



Ans: 60 kmph





3. There are five persons with surnames Mukherjee, Misra, Iyer, Patil and Sharma.

There are 4 persons having first or middle name of Kumar, 3 persons with Mohan, 2 persons

with Dev and 1 Anil.

Either Mukherjee and Patil have a first or middle name of Dev or Misra and Iyer have their

first or middle name of Dev.

Of Mukherkjee and Misra, either both of them have a first or middle name of Mohan or neither

have a first or

middle name of Mohan.

Either Iyer or Sharma has a first or middle name of Kumar but not both.

Who has the first or middle name of Anil?



Ans: Kumar Misra Dev

Mohan Iyer Dev

Kumar Patil Mohan

Mohan Sharma Kumar





4. Boys are allowed to watch football at C.V.Raman auditorium subjected to conditions.



The boy over age 16 can wear overcoat

No boy over age 15 can wear cap

To watch the football either he has to wear overcoat or cap or both

A boy with an umberella or above 16 or both cannot wear sweater.

Boys must either not watch football or wear sweater.

What is the appearence of the boy who is watching football.





5. A bird keeper has got P pigeons, M mynas and S sparrows.

The keeper goes for lunch leaving his assistant to watch the birds.



Suppose p=10, m=5, s=8 when the bird keeper comes back, the assistant informs the x birds

have escaped. The bird keeper exclaims: "Oh no! All my sparrows are gone."

How many birds flew away?

When the bird keeper comes back, the assistant told him that x birds have escaped. The

keeper realised that atleast 2 sparrows have escaped.

What is minimum no of birds that can escape?



6. Answer the following questions based on the conditions from the choices A, B, C, D, E as

described below:

(A) if a definete conclusion can be drawn from condition 1

(B) if a definete conclusion can be drawn from condition 2

(C) if a definete conclusion can be drawn from condition 1 and 2

(D) if a definete conclusion can be drawn from condition 1 or 2

(E) no conclusion can be drawn using both conditions



person 1 says N<5

person says N5

person 3 says 3N20

person 4 says 3N10

person 5 says N<8

What is the value of N?





a) 1. No of persons who speak false being less than no of persons who tells the truth.

2. Person 2 is telling the truth.



b) 1. no of persong telling the truth is greater than no of persons telling lies

2. person 5 is telling the truth.





7. There are N coins on a table and there are two players A & B.

You can take 1 or 2 coins at a time.

The person who takes the last coin is the loser.

A always starts first.



If N=7

(a) A can always win by taking two coins in his first chanse

(b) B can win only if A takes two coins in his first chance.

(c) B can always win by proper play

(d) none of the above



2. A can win by proper play if N is equal to

(a) 13 (b) 37 (c) 22 (d) 34 (e) 48

Ans: (e.)



3. B can win by proper play if N is equal to

(a) 25 (b)26 (c) 32 (d) 41 (e) none



4. if N<4, can A win by proper play always?

(a) Yes (b) No



8. Two twins have vertain peculiar charcteristics.

One of them always lies on Monday, Wednesday, Friday.

The other always lies on Tuesdays, Thursdays and Saturdays.

On the other days they tell the truth. You are given a conversation.

Person A-- today is Sunday my name is Anil

Person B -- today is Tuesday, my name is Bill

What day is today?



Ans: Today is Tuesday.





9. There is a safe with a 5 digit number as the key.

The 4th digit is 4 greater than second digit, while 3rd digit is 3 less than 2nd digit.

The 1st digit is thrice the last digit.

There are 3 pairs whose sum is 11.

Find the number.



Ans: 65292





10. A hotel has two wings,the east wing and the west wing.

Some east wing rooms but not all have an ocean view.

All west wing rooms have a harbour view.

The charge for all rooms is identical, except as follows :



Extra charge for all harbour view rooms on or above the 3rd floor

Extra charge for all ocean view rooms except those without balcony

Extra charge for some harbour rooms on the first two floor & some east wing rooms without

ocean view but

having kitchen facilities.

Which of the following cannot be determined on the basis of the nformation given:



I. Whether there are any rooms without a balcony for which an extra charge is imposed.

II. Whether any room without a kitchen or a view involves an extra charge.

III. Whether two extra charges are impsed for any room.



(A) I only

(B) II only

(C) III only

(D) II and III only

(E) I, II and III



(This question is from 1999 Barrons GRE Guide model Test 3 - section 6, question 22)



Ans: (A)



Back to top





--- sandeep kumar
Date: Thu, 10 Aug 2000 07:40:48 -0700 (PDT)

From: sandeep kumar
Subject: infosys-iitd..

To: nagesh


iit,delhi.

infosys-2000,iitdelhi:

there are 10 questions altogether.languages of all

the

questions may not be exactt

but main theme is the same.

all questions are logical in nature.

apart from these questions(duration-1 hour) there

were

an essay writing(15 min.)

the questions are as follows:

=====

Keep in touch. ::

Sandeep Kr.Morthala ::

::

EC10,Kumaon House ::



IIT Delhi ::



New Delhi-110 016.

::

Ph.No.6581283,6581129(011) ::

::

::



__________________________________________________

Do You Yahoo!?

Kick off your party with Yahoo! Invites.

http://invites.yahoo.com/





__________________________________________________

Do You Yahoo!?

Yahoo! Auctions - buy the things you want at great prices

http://auctions.yahoo.com/



Here is theinfosys paper It may not contain full

questions and ans



Understand it





1. There are 4 married couples out ofwhich 3

a group

isneeded . Butther



should not be his of her spouse .How nmany

groups are

possible ?



Ans 32



2.In the 4 digits 1,2,3,4 how many 4 digited

numbers are

possible



which are divisable by 4? Repetetions are

allowed

Ans 64



3. Twow men are goingalong a trackf rail in

the opposite

direction.



One goods train crossed the first person

in 20 sec.

After 10 min

the train crossed the other person who is

commingin

opposite direction



in 18 sec .Afterthe train haspassed, when

thetwo

persons will meet?





Approx 72min check it once.



4. Theno. of children adults . Theno .of

adults the

no .of boys .



The no.of boys no. of girls .The no.of

girls no.of

familyi conditions



1.No family is without a child

2 Every girl has atleast one brotherand sister

.



Ans cabgf; 9 6 5 4 3 .



6.There are4 boys Anand ,Anandya ,Madan and

Murali with

nicmnames perich ,zomie ,drummy and madeena

not in thesame

order



Some com=nditons



Ans Anand : Perich

Anandya: drummy

Madan : Zombie

murali: Madeena

7.Thereare2diomans ,1 spadeand1 club and 1ace

and also 1king ,1

jack



and 1 aceare arranged in a straight line



1.The king is at third place

2.Theleft of jack is a heart and itsright is

king

3. No two red colours arein consequtive.

4.The queensareseperated by two cards. Write

the orderor which

suits



(hearts ,clubs )and names(jacks queensetc.)

8. Writeeach statementis true or false 8M

1.The sum of the1st three statements and

the2nd false statement

givesthe true statement.



2.The no.oftrue statements falsestatement

3. The sum of2nd true statement and 1st

falsestatement gives

the first



true statement.

4. Thereareatmost 3 falsestatements

5.There is no two consequtive true statements

6.If this containsonly 1-5 statements

,theanswer of this is

sameasthe an answer of the following question





9.Question on Venn diagram.

All handsome are also fair skinned

Sme musularsare fair skinned

Some musculars are also handsome

All lean are also muscular

Some lean are also fair skinned.

All rich man inot fair skinned but all rich

manare handsome



Some questions follows.

10

There are 3 pileseach containe 10 15 20

stones. There are

A,B,C,D,F,G



and h persons .One man can catch upto four

stones from any

pile.



The last manwho takeswill win. If first A

starts next B. and

so on



who will win?

Ans May be F



Essay writing

1 Intrnet revolution

2.Media for youth





INFOSYS(1998-99)



LOGICAL THINKING TEST

---------------------



Time : 1 hour



Total Marks : 50



ALL QUESTIONS DO NOT CARRY EQUAL MARKS



INSTRUCTIONS



* Please do not write/mark on the question

paper.



* Read the questions carefully. Work your

answers carefully

and as



rapidly as possible.



* Do not spend too much time on questions

that seem difficult

for you.

If time permits go back to the ones you

have left out.



* Answer sheets have been provided to you

separately. Use the

first



sheet to write your answers and use the

remaining sheets for

the



detailed working.



* On completion, please put your answer sheet

along with the

working



sheets, inside the question paper and hand

them back to us.



* There is no negative marking.





Do not turn the page until you are told to do

so.









1.

2 Marks



When Arthur is as old as his father Hailey is

now, he shall be

5 times



as old as his son Clarke is now. By then,

Clarke will be 8

times older



than Arthur is now. The combined ages of

Hailey and Arthur are

100



years. How old is Clarke ?



2.

3 Marks



I have one orange glass containing orange

juice and another

white glass



containing apple juice. I take 50 ml of orange

juice and mix it

with



apple juice in the white glass. Then I take 50

ml of this

mixture and

transfer it back to the orange glass.

If you compare amount of apple juice in the

orange glass and

amount of



orange juice in the white glass which is more

than the other

and by



how much ?



3.

3 Marks



The seven digits in this subtraction problem

are

0,1,2,3,4,5 and 6.



Each letter represents the same digit whenever

it occurs.





DADCB



EBEG



--------------------



BFEG



--------------------



What digit is represented by each letter ?





4.

4 Marks



The Jones have named their four boys after

favourite

relatives; their



friends, the Smiths, have done the same thing

with their three

boys.



One of the families has twin boys. From the

following clues,

can you



determine the families of all seven children

and their ages ?



i) Valantine is 4 years older than his twin

brothers.

ii) Winston, who is 8, and Benedict are not

brothers. They are

each



named after a grandfather.

iii) Briscoe is two years younger than his

brother Hamilton,

But three

years older than Dewey.

iv) Decatur is 10 years old.

v) Benedict is 3 years younger than

Valentine; they are not

related.



vi) The twins are named for uncles.





5.

4 Marks



Motorboat A leaves shore P as B leaves Q;

they move

across the lake at



a constant speed. They meet first time 600

yards from P. Each

returns



from the opposite shore without halting, and

they meet 200

yards from



Q. How long is the lake ?





6.

4 Marks



Fanta, Pepsi and Citra often eat dinner out.



a) Each orders either coffee or tea after

dinner.

b) If Fanta orders coffee, then Pepsi orders

the drink that

Citra orders.



c) If Pepsi orders coffee, then Fanta orders

the drink that

Citra does



not order.

d) If Citra orders tea, then Fanta orders the

drink that Pepsi

orders.





Which person/persons always orders the same

drink after dinner

?







7.

6 Marks



On the Island of imperfection there is a

special road,

Logic Lane, on



which the houses are usually reserved for the

more mathematical

inhabitants.





Add, Divide and Even live in three different

houses on this

road (which



has houses numbered from 1-50). One of them is

a member of the

Pukka Tribe,



who always tell the truth; another is a member

of the Wotta

Tribe, who never



tell the truth; and the third is a member of

the Shalla Tribe,

who make



statements which are alternately true and

false, or false and

true.





They make statements as follows :



ADD : 1 The number of my house is greater

than that of

Divide's.



2 My number is divisible by 4.

3 Even's number differs by 13 from

that of one of the

others.





DIVIDE : 1 Add's number is divisible by 12.

2 My number is 37.

3 Even's number is even.



EVEN : 1 No one's number is divisible by

10.

2 My number is 30.

3 Add's number is divisible by 3.



Find to which tribe each of them belongs, and

the number of

each of



their houses.





8.

8 Marks





The names of the inhabitants of Walkie

Talkie Land sound

strange to the



visitors, and they find it difficult to

pronounce them, due to

their



length and a few vowel sounds they contain.

The Walkie Talkie

guide is



discussing the names of four inhabitants -

A,B,C and D. Their

names



each contain upto eight syllables, although

none of the four

names



contain the same number. Two of the names

contain no vowel

sounds; one



contains one vowel sound; and one contains two

vowel sounds.



From the Guide's statements below, determine

the number of

syllables



and vowel sounds in each of the four Walkie

Talkie names :



i) The one whose name contains two vowel

sounds is not A.

ii) C's name does not contain more than one

vowel sound or

fewer than



seven syllables.

iii)The name with seven syllables does not

contain exactly one

vowel



sound.

iv) B and C do not have names with the same

number of vowel

sounds.



v) Neither the name with five syllables nor

the name with

seven syllables



contains more than one vowel sound.

vi) Neither the name with six syllables, nor

the B's name,

contains



two vowel sounds.





9.

8 Marks





Multiplication and Division.

(1) - - - - - (a) (2) _

_ . _ (d)



________________

- - - (b) - - -) - - - -

-.0

_________________ - - -



_______________

-----

--------

-

___________________ - -

-



_______________

- - - - - - - (c)

-

--

-

--



========



(1) and (2) represent the same two numbers -

in one case

multiplied



9together, in other case divided.



Given that there are no 3's. find the missing

digits indicated

as



(a), (b), (c) and (d) above ?



10.

8 Marks



Two identical twins have a very unusual

characteristic.

One tells



nothing but lies on Mondays, Wednesdays and

Fridays, and tells

nothing



but the truth all other days. The other tells

nothing but lies

on



Tuesdays, Thursdays and Saturdays, and tells

nothing but the

truth



all other days. On Sundays both children speak

the truth.



1) Which of the following statements can be

deduced from the

information presented ?



i) If it is Sunday, the twins will both

say so.

ii) If it is not Sunday,one twin will give

the correct day

and



the other will lie about everything.

iii)On any given day, only one twin will

give his correct

name.





a) i only

b) i and ii only

c) i and iii only

d) ii and iii only

e) i,ii and iii



2) According to the information presented,

which of the

following



conversations will be impossible.



a) Twin A : "Today you are a lier"

Twin B : "You are telling the truth"



b) Twin A : "Today you are a lier"

Twin B : "Today I am a truthteller"



c) Twin A : "Tommorow I shall be a lier"

Twin B : "That's correct"



d) Twin A : "Tommorow you will be a lier"

Twin B : "Today you are a truthteller"



e) Twin A : "Yesterday we were both

truthtellers"

Twin B : "You are lying"



3) Assume that the twins followed a different

set of

rules, so that on



a given day both told only the truth while

next day

both only lied,



alternating days of truth telling and lying.

Under these

rules,which



of the following conversations would be

possible ?



a) Twin A : "Today you are a lier"

Twin B : "That is correct"



b) Twin A : "Today you are a lier"

Twin B : "That is not so"



c) Twin A : "Tommorow we will be liers"

Twin B : "Yesterday we were

truthtellers"

d) Twin A : "Tommorow we will be liers"

Twin B : "You are 1 year older than I

am"



e) Twin A : "We always tell the truth"

Twin B : "We some times tell the

truth"



4) If the twins are heard saying the following

on the same

day, which



choice presents a correct statement ?



Twin A : "It is Sunday Today"

Twin B : "Yesterday was Sunday"

Twin A : "it is summer season now"



a) it is a summer sunday

b) it is a summer monday

c) it is Monday but not summer

d) it is Sunday but not summer

e) it is impossible to determine whether it

is Sunday or

Monday.







-----------------*-----------------



THIS IS INFOSYS 99 FROM IITBHU



q1) a frog jumps 3 ft comres bacfk 2ft in a day in

how many day

it will come out of 30ft deep well (2 marks )ns ans

28 day

q2) A-B=C

D/E=F

G+H=I

C.F=I ANS A=9,B=5,C=4,F=2.

Q3)when the asctual time pass 1hr wall clock ic 10

min behind it

when 1 hr is shown by wall clock, table clock shows 10

min ahead

of ih when table clock shows 1 hr the alarm closck

goes 5minbehind

it,when alarm clock goes 1 hr wrist watch is 5 min

ahead of it assuming

that all clocks are correcrt with actual tinme at 12

noon what will

be time shown by wrist watch after 6 hr

ans---5:47:32.5

(n X 60 )50/60 X 70/60 X 55/60 X 65/60



q4)a soft. engr just returned from US has eaten too

mucgh fat &put

a lot of weight everfy sunday he starts walking 4

km/hr on level

ground then up at 3 km\hr then back down hill at

6km\hr then again

on level grounggd at 4km\hr till he reaches his

destination if he

returned home at 9 p.m. e what distance did he covered

ans 24km

it is aslo asked in some parer fingd half of the dist

covered by hoim

in this case ans 12km

q5 ] one family promblem was there in wich varios

relations are givern

ans is correcr 3 families



q6] one question was about cards 4 persons play yjthe

game of cards

cards are of 4 colour yellow green blue,red fing

colours of playing cards which are hiddeden

ans remember the sequence

yellow,yellow,green,blue,probably frob gre

q7] one very easy question just solve two eq, about

ages

i rembemer only ans boy=10yrsor girl =4 yrs or vice

versa pl. check it

q8]ans the questions from facts 8marks

the member of certain tribe are divided into 3 casts

abhor,dravid magar

1 an abhor woman cant marry dravid nman

2 a nmagar man cant marry a dravid man

3 a son takes the caste of his father a dauhgter

takes cast of her mother

5 all marriages except those mentioned are not

permirtted 6 there

are no childern born out of a wedlock

1]aliertnates cant rem u acan previos question

some ans are

q]an abhor woman a alternative istrue ---can have a

dra, grandson

q]it can be refer from conditions described that a

magar man

ans is 2 &3 only iii choice --cant have a dravid

mother & may have abhou mother

q]an abhor marreies & has thr e childern allof are

members aof

abhor acsateeich of ffoloewing is true

ans i & ii only --i is if c were married toa magar

man

ii-- if c were married to abhor man,they have a male

child





eassy topic

role of media ohun youth

& interner revolution

one more q] there are 2 scales of temp A & B it was

given A 14 to 133

B 36 to 87

find the temp when temp oa a is eq. to temp of b

ans 52.5

let t=mx+c c=-70 m=51/119

a=a.51/119 -70 ; a=52.5

this all came in bhu

TCS paper was repeat of 98 some crirtical reasoning

new ques 50 t0 70

some new quants question i rembember some bnew q

ans are 1]some rect question %of widthis inscresaded

like that ans is 4%

2]some packet of 1 a and 2 ---- ans 114 etCn

INFOSYS - 99 AT

JU,CALCUTTA.

(1). ALL TALLMEN ARE

HANDSOME,FAIRSKIMED,LEAN,NULSCULAR RICH

AND EMPLOYED.

1. ALL HANDSOME PERSONS ARE

FAIRSKIMED

2. SOME NULSCULAR ARE FAIR SKIMED

AND HANDSOME

3. ALL LEANS ARE NUSCULAR PERSONS

4. NO FAIRSKIMED PERSON WHO IS NOT

HANDSOME IS RICH

5. NEITHER FAIRSKIMED NOR

NULSCULAR ARE EMPLOYED.

THERE ARE 4 QUESTIONS BASED ON THE ABOVE.

8 MARKS



(2). PROBLEM





(3). A SOFTWARE ENGINEER STARTS FROM HOME

AT 3PM FOR EVENING

WALK.

HE WALKSPEED OF 4KMPH ON LEVEL GROUND

AND THEN AT A SPEED

OF

3KMPH ON THE UPHILL AND THEN DOWN THE

HILL AT A SPEED OF

6KMPH

TO THE LEVEL GROUND AND THEN AT A

SPEED OF 4KMPH TO THE

HOME

AT 9PM

WHAT IS THE DISTENCE ON ONE WAY?

4MARKS



(4). A BAG CONTAINS CERTAIN NUMBER OF

FILES. EACH FILE IS

NUMBERED

WITH ONE

DIGIT OF 0 TO 9. SUPPOSE THE PERSON

WANT TO GET THE NUMBER

BETWEEN 1 TO

2000 (OR 7000 CHECK ) . HOW MANY MIN

NO. OF FILES SHOULD BE

PRESENT IN

THE BAG.

3MARKS



(5). A + B + C +D = D + E + F + G = G + H

+ I =17.

IF A = 4 WHAT ARE THE VALUES OF D

AND G. EACH LETTER

TAKEN

ONLY ONE OF THE DIGIT FROM 1 TO 9.

8MARKS



ANS : A = 4 ,B = 2, C =6, D =

5, E = 3, F = 8, G =

1,

H = 7, I = 9.

(6). SIX PERSONS A,B,C,D,E &F WENT TO

SOLIDER CINIMA. THERE ARE

SIX

CONSEUTIVE SEATS. A SITS IN THE FIRST

SEAT FOLLOWED BY B ,

FOLLOWED BY C AND SOON. IF A TAKEN

ONE OF THE SIX SEATS ,

THEN

B SHOULD SIT ADJACENT TO A. C SHOULD

SIT ADJACENT A OR B. D

SHOULD SIT ADJACENT TO A, B,ORC AND

SOON. HOW MANY

POSSIBILITIES ARE THERE?



(7). SUPPOSE THERE ARE 4 GRADES A, B, C,

D. (A IS THE BEST AND D

IS THE WORST) 4 PERSONS

JACK,JEAN,POUL,LUCY WROTE THEN

FINAL

EXAM

AND MADE THE STATEMENTS LIKE THIS.

1. JACK: IF I WILL GET A THEN LUCY

WILL GET D

2. LUCY: IF I WILL GET C THEN JACK

WILL GET D . JACK GRADE

IN BETTER THEN POUL GRADE.

3. JEAN: IF JEAN DOESNOT GET A ,

THEN LACK WILL NOT GET A.

4. POUL: IF JACK GET A , THEN JEAN

WILL NOT GET B.

LUCY WILL GET C, I WON'T

EITHER A OR B.

IF ALL THE ABOVE STATEMENTS ARE TRUE,

THEN WHICH PERSON

WILLGET WHICH GRADES.

(8). EACH MAN DANCES WITH 3 WOMEN. EACH

WOMEN DANCES WITH 3

MENS.

AMONG EACHG PAIR OF MEN THEY HAVE

EXACTLY TWO WOMEN IN

COMMAN.

FIND THE NO. OF MEN & WOMEN.







ESSAY.



1. INTERNET REVOLUTION

2. ROLE OF MEDIA FOR YOUNG.



INFOSYS Paper 32



There are passages from A to M.Each one is having

four questions.





A.My father had no brothers.but his three.....

1.My father was only child. (F)

2.Three of my aunts have sons. (C)

3.I have six cousins on my mothers side (C)

4.I have only one uncle. (F)

B.Senoir manegers in a leading company..........

1.Some senoir managers said that more people will want to buy new cars in the future. (F)

2.Managers told workers that Japanese workers are taking jobs away form India Workers in

the car industry (F)

3.The managers issued their warning after a rise in interest rates(T).

4.The increased rate of interest will mean that Japanese firms will cease to operate in this

country.

C.Reaserchers in Mumbai have found that............

1.Injecting eather into the gallbladdre dissolves most gallastones.(T)

2.Surgery is the only treatment for calcium based gallastones(T)

3.Only a few hundred people suffer from calcium based gallastones(C)

4.It takes more than one day for the eather to dissolve calcium gallastones.(F)





Here is a small trick for D,E,F,G

D. T F T F

E.F F T C

F.F F T C

G.T F T F





D and G are same and E and F are same.Be carefull.

-------------------------------------------------





H. Every form of art is proteted by copyright...........(Tagore)

1.Tagore plays are not protected by copyright(F)

2.Tagore's desecendents should be asked to make some contribution to the arts.(T)

31.Instead of buying a ticket,theatregoers should pay a fee to a trust for the benifit of the arts.

(F)

32.More people could go to the theatre if copyright were abolished (C)

I. Hacking is a crime..............





33.Most hackers are authorised to breaks into networks

34.Computers are only vulnerable to the unauthorised manipulation of thier data via another

computer if they are networked. (C)

35.The main reason why it is relatively easy. (T)

36.Hackers do not work for the firms whose networks they break into(C)

J. In this only two questions





37.F

38.T

K.Electronics......

39.F

40. to 42 all are True

L.

All are true.(43 to 46)





M. All are true (47 to 50)

No of candidates appeared : 220

For the Interview : 90.









GEORGE SUMMERS puzzle books are suggested.

-----------------------------

INFOSYS TECHNOLOGIES LIMITED.

-----------------------------

Question Paper

--------------

Part 1.

------

(1) 9 cards are there. u have to arrange them in a 3*3 matrix. cards are of 4 colors.they are

red,yellow,blue,green. conditions for arrangement: one red card must be in first row or second

row.2 green cards should be in 3rd column.Yellow cards must be in the 3 corners only. Two

blue

cards must be in the 2nd row. Atleast one green card in each row.

Solution:

Yello Red Gren

Blu Blu Gren

Yello Gren Yello

2. 4 cards are placed on a table, each card has two colors. U don't know the color of the back

side of

eachcard.4 persons A B C and D are sitting on the table before the cards. They can see Red,

Green Red and blue .Out of the 4 poeple 2 always lie. They see the color on the reverse side

and give

the following comment

A: Yello/green

B: Neither Blue/nor Green

c: Blue/Yello

D: Blue/ Yello

find out the color on the other side of the 4 cards.





3.Red and brown tribes [FROM BARRONS GRE] Conditions to get married with each other.

4. Venn diagram regarding Rich, muscular, soft-skinned, employed, etc.,( Refer BARRONS

GRE GUIDE)









------------------------------------------------------------------------

PART 2.

-------

1. SAKUNTALA DEVI'S PUZZLE BOOK : PUZZLES TO PUZZLE YOU.

problem no: 3. ( Brothers and Sisters) A family I know has several children. Each boy in this

family has as many sisters as brothers but each girl has twice as many brothers as sisters.

How many brothers and sisters are there?





ans: 4 boys and 3 girls.





2. No. of animals is 11 more than the no. of birds. If the no. of birds were the no. of animals

and no. of animals were the no. of birds( ie., interchanging no.s of animals and birds.), the

total no. of legs get

reduced by one fifth (1/5). How many no. of birds and animals were there?

ans: birds:11,animals:22





3. In a soap company a soap is manufactured with 11 parts. For making one soap you will get

1 part as scrap. At the end of the day u have 251 such scraps. From that how many soaps

can be manufactured? ans: 22 + 2+ 1 = 25.







4. 2 * * | 3 * * | No. 7 does not occur in this ---------------- | 5 * * | multiplication. * 4 * | * * 3 | Find

the

product.

---------------- |

*****|

---------------- |





--------------------------------------------------

ans 2 8 1

322

-----

562

5620

84300

---------

90482

---------

5. There is a 5digit no. 3 pairs of sum is eleven each. Last digit is 3 times the first one. 3 rd

digit is 3 less than the second. 4 th digit is 4 more than the second one. Find the digit.

ans : 25296.





6. There are five thieves, each loot a bakery one after the other such that the first one takes

1/2 of the total no. of the breads plus 1/2 of a bread. Similarly 2nd, 3rd,4th and 5fth also did

the same. After the

fifth one no. of breads remained are 3. Initially how many breads were there?

ans : 31.





7.ESCALATOR PROBLEM OF SAKUNTALA DEVI 'PUZZLES TO PUZZLE'book.

Problem No: Problem 27( Down the escalator)

ans : the no of steps in the stair way : 46.





8.Harbour line and Main line Problem of Sakuntala Devi Puzzle book. Ans : 4/5.

( More Puzzles book)





9.There are some chicken in a poultry. They are fed with corn One sack of corn will come for

9 days.The farmer decides to sell some chicken and wanted to hold 12 chicken with him.

He cuts the feed by 10% and sack of corn comes for 30 days. So initially how many chicken

are there?





10.Two people X & Y walk on the wall of a godown in opposite direction. They meet at a point

on one

side and then go ahead. X after walking for some time, walks in opposite direction for 15

mtrs.Then again he turns back and walks in the original direction. What distance did Y walk

before they met again, if X walks 11 mtrs by the time Y walks 8 mtrs.





11.Problem from SAKUNTALA DEVI 'PUZZLES TO PUZZLE U'.

Problem no: 23( Walking back to happiness.)

The walking time : 55 mins.





INFOSYS Paper 33



1. Father's age is three years more than three times the son's age. After three years, father's

age will be ten years more than twice the son's age. What is the father's present age.

Ans: 33 years. (2 marks)





2. Find the values of each of the alphabets.

NOON

SOON

+MOON

----------

JUNE

Ans: 9326 (2 marks)

3. There are 20 poles with a constant distance between each pole A car takes 24 second to

reach the 12th pole. How much will it take to reach the last pole.

Ans: 41.45 seconds (2 marks)

Let the distance between two poles = xHence 11x:24::19x:?





4. A car is travelling at a uniform speed. The driver sees a milestone showing a 2-digit

number.

After travelling for an hour the driver sees another milestone with the same digits in reverse

order.

After another hour the driver sees another milestone containing the same two digits. What is

the average speed of the driver.

Ans: 45 kmph (4 marks)





5. The minute and the hour hand of a watch meet every 65 minutes. How much does the

watch lose or gain time and by how much?

Ans: Gains; 5/11 minutes (4 marks)





6. Ram, Shyam and Gumnaam are friends. Ram is a widower and lives alone and his sister

takes care of him. Shyam is a bachelor and his neice cooks his food and looks after his

house.

Gumnaam is married to Gita and lives in large house in the same town. Gita gives the idea

that all of them could stay together in the house and share monthly expenses equally. During

their first month of living together, each person contributed Rs.25. At the end of the month, it

was found that Rs 92

was the expense so the remaining amount was distributed equally among everyone. The

distribution was such that everyone recieved a whole number of Rupees. How much did each

person recieve?

Ans. Rs 2 (4 marks)

(Hint: Ram's sister, Shyam's neice and Gumnaam's wife are the same person)









7. Four persons A, B, C and D are playing cards. Each person has one card, laid down on

the table

below him, which has two different colours on either side. The colours visible on the table are

Red, Green, Red and Blue. They see the color on the reverse side and give the following

comment.

A: Yellow or Green

B: Neither Blue nor Green

C: Blue or Yellow

D: Blue or Yellow

Given that out of the 4 people 2 always lie find out the colours on the cards each person





1. Number of null pointers in any binary tree = n+1





2. max(t1,t2,...tn) = pipelining





3. 50% -DBETXXXXXX - density





4. print (Head(T))

Traverse(left(T))

print (Head(T))

Traverse(right(T)) - ans: none of the above





5. Boolean expn Evalvate





6. Common subexpn : - ans : a + e





7. LRU : 1, 2, 3.





8. Tr. Delay - 10000 bits ans. 10.01





9. Grammar of Number of shift / reduce operator : ans. 4





10. CPU scheduling 9,8 ?





11. if even x/2 else p(p(3x+1))

2^k + 1: 3 . 2^(k-1) clarify this with sans





12. allocation ans: (ii) only





13. swapping : ans: reference only





14. Compiler - related Qn.





15. LAN frames - ? related Qn.





16. parameter passing (35,20)





17. sliding window protocol

- BUFFER SIZE large

18. kernel mode - deallocate resource





19. logic circuit

ans . Minimum OR = 3





20. Combinatorics related





21. priority scheduling





22. cobegin

begin x = y; x= x+1; y= x

begin x =y; z= z+1; y= z

coend





ans. Number of values possi = 2





23. 2 bits flip / 2 bits exchange





ans : the word with one '1'





24. any addr

K^+ v(a) + 2I - 2a

clarify with SANS.





1.An escalator is descending at constant speed. A walks down and takes 50 steps to reach

the bottom. B runs down and takes 90 steps in the same time as A takes 10 steps. How

many steps are visible when the escalator is not operating?

Ans: 150 steps





2. Every day a cyclist meets a train at a particular crossing. The road is straight before the

crossing and both are travelling in the same direction. The cyclist travels with a speed of 10

Kmph. One day the cyclist comes late by 25 min. and meets the train 5km before the

crossing. What is the speed of the train?

Ans: 60 kmph





3. There are five persons with surnames Mukherjee, Misra, Iyer, Patil and Sharma. There are

4 persons having first or middle name of Kumar, 3 persons with Mohan, 2 persons with Dev

and 1 Anil.

Either Mukherjee and Patil have a first or middle name of Dev or Misra and Iyer have their

first or middle name of Dev. Of Mukherkjee and Misra, either both of them have a first or

middle name of Mohan or neither have a first or middle name of Mohan. Either Iyer or

Sharma has a first or middle name of Kumar but not both. Who has the first or middle name

of Anil?

Ans: Kumar Misra Dev

Mohan Iyer Dev

Kumar Patil Mohan

Mohan Sharma Kumar





4. Boys are allowed to watch football at C.V.Raman auditorium subjected to conditions. The

boy over age 16 can wear overcoat No boy over age 15 can wear cap To watch the football

either he has to wear overcoat or cap or both A boy with an umberella or above 16 or both

cannot wear sweater. Boys must either not watch football or wear sweater. What is the

appearence of the boy who is watching football.





5. A bird keeper has got P pigeons, M mynas and S sparrows. The keeper goes for lunch

leaving his assistant to watch the birds. Suppose p=10, m=5, s=8 when the bird keeper

comes back, the assistant informs the x birds have escaped. The bird keeper exclaims: "Oh

no! All my sparrows are

gone." How many birds flew away? When the bird keeper comes back, the assistant told him

that x birds have escaped. The keeper realised that atleast 2 sparrows have escaped. What

is minimum no of birds that can escape?





6. Answer the following questions based on the conditions from the choices A, B, C, D, E as

described below:

(A) if a definete conclusion can be drawn from condition 1

(B) if a definete conclusion can be drawn from condition 2

(C) if a definete conclusion can be drawn from condition 1 and 2

(D) if a definete conclusion can be drawn from condition 1 or 2

(E) no conclusion can be drawn using both conditions

person 1 says N<5

person says N5

person 3 says 3N20

person 4 says 3N10

person 5 says N<8

What is the value of N?





a) 1. No of persons who speak false being less than no of persons who tells the truth.

2. Person 2 is telling the truth.





b) 1. no of persong telling the truth is greater than no of persons telling lies

2. person 5 is telling the truth.









7. There are N coins on a table and there are two players A & B. You can take 1 or 2 coins at

a time. The person who takes the last coin is the loser. A always starts first.

If N=7

(a) A can always win by taking two coins in his first chance

(b) B can win only if A takes two coins in his first chance.

(c) B can always win by proper play

(d) none of the above





2. A can win by proper play if N is equal to (a) 13 (b) 37 (c) 22 (d) 34 (e) 48

Ans: (e.)





3. B can win by proper play if N is equal to (a) 25 (b)26 (c) 32 (d) 41 (e) none





4. if N<4, can A win by proper play always?

(a) Yes (b) No





8. Two twins have vertain peculiar charcteristics. One of them always lies on Monday,

Wednesday, Friday. The other always lies on Tuesdays, Thursdays and Saturdays. On the

other days they tell the truth. You are given a conversation.

Person A-- today is Sunday my name is Anil

Person B -- today is Tuesday, my name is Bill

What day is today?





Ans: Today is Tuesday.









9. There is a safe with a 5 digit number as the key. The 4th digit is 4 greater than second digit,

while 3rd digit is 3 less than 2nd digit. The 1st digit is thrice the last digit. There are 3 pairs

whose sum is 11. Find the number.

Ans: 65292





10. A hotel has two wings,the east wing and the west wing. Some east wing rooms but not all

have an ocean view. All west wing rooms have a harbour view. The charge for all rooms is

identical, except as follows :

Extra charge for all harbour view rooms on or above the 3rd floor

Extra charge for all ocean view rooms except those without balcony

Extra charge for some harbour rooms on the first two floor & some east wing rooms without

ocean view but having kitchen facilities. Which of the following cannot be determined on the

basis of the information given:





I. Whether there are any rooms without a balcony for which an extra charge is imposed.

II. Whether any room without a kitchen or a view involves an extra charge.

III. Whether two extra charges are imposed for any room.

(A) I only

(B) II only

(C) III only

(D) II and III only

(E) I, II and III

(This question is from 1999 Barrons GRE Guide model Test 3 - section 6, question 22)

Ans: (A)





Infosys Sample Test #6 Home

1. From a vessel, 1/3rd of the liquid evaporates on the first day. On the second day 3/4th of

the remaining liquid evaporates. What fraction of the volume is present at the end of the

second day.

Ans: 50%





2. An orange glass has orange juice and white glass has apple juice both of equal volumes.

50ml of the orange juice is taken and poured into the apple juice. 50ml from the white glass is

poured into the

orange glass. Of the two quantities, the amount of apple juice in the orange glass and the

amount of orange juice in the white glass, which one is greater and by how much?

Ans: The two quantities are equal





3. There is a 4 inch cube painted on all sides. This is cut down into of 1 inch cubes. What is

the no of cubes which have no pointed sides.

Ans: 8









4. Sam and Mala have a conversation. Sam says I am certainly not over 40 Mala says I am

38 and you are atleast 5 years older than me Now Sam says you are atleast 39 All the

statements by the two are false. How old are they really?

Ans: Mala = 38 yrs

Sam = 41 yrs.





5. Ram Singh goes to his office in the city, every day from his suburban house. His driver

Gangaram drops him at the railway station in the morning and picks him up in the evening.

Every evening Ram Singh reaches the station at 5 O' Clock. Gangaram also reaches at the

same time. One day Ram Singh started early from his office and came to the station at 4 O'

Clock. Not wanting to wait for the car he starts walking home. Mangaram starts at normal

time, picks him up on the way

and takes him back house, half an hour early. How much time did Ram Singh walk?









6. In a railway station, there are two trains going. One in the harbour line and one in the main

line,

each having a frequency of 10 minutes. The main line service starts at 5 o'clock and the

harbour line starts at 5.02A.M. A man goes to the station every day to catch the first train that

comes. What is the probability of the man catching the first train?

Ans: 0.8





7. A family X went for a vacation. Unfortunately it rained for 13 days when they were there.

But whenever it rained in the mornings, they had clear afternoons and vice versa. In all they

enjoyed 11 mornings and 12 afternoons.

How many days did they stay there totally?

Ans: 18





8. A survey was taken among 100 people to find their preference of watching T.V.

programmes. There are 3 channels. Given the no of people who watch

at least channel 1

at least channel 2

at least channel 3

no channels at all

atleast channels 1and 3

atleast channels 1 and 2

atleast channels 2 and 3

Find the no of people who watched all three.





9. Albert and Fernandes have two leg swimming race. Both start from opposite ends of the

pool. On the first leg, the boys pass each other at 18 m from the deep end of the pool. During

the second leg they pass at 10 m from the shallow end of the pool. Both go at constant

speed but one of them is

faster. Each boy rests for 4 seconds at the end of the first leg.

What is the length of the pool?





10. Each alphabet stands for one digit in the following multiplication.

THIS

xIS

---------

XFXX

XXUX

------------

XXNXX

------------

What is the maximum value T can take?

Ans: T max value = 4

1) A man collects cigarette stubs and makes one full cigarette with every 8 stubs. If he gets

64 stubs how many full cigarettes can he smoke.

Ans: 8+1=9





2) A soldier looses his way in a thick jungle. At random he walks from his camp but

mathematically in an interesting fashion. First he walks one mile East then half mile to North.

Then 1/4 mile to West, then 1/8 mile to South and so on making a loop. Finally how far he is

from his camp and in which

direction.

Ans: Distance travelled in north and south directions

1/2 - 1/8 + 1/32 - 1/128 + 1/512 - and so on

= 1/2/((1-(-1/4))

Similarly in east and west directions

1- 1/4 + 1/16 - 1/64 + 1/256 - and so on

= 1/(( 1- ( - 1/4))

Add both the answers





3) How can 1000000000 be written as a product of two factors neither of them containing

zeros

Ans: 2 power 9 x 5 power 9





4) Conversation between two mathematicians: First : I have three children. The product of

their

ages is 36. If you sum their ages, it is exactly same as my neighbor's door number on my

left.

The second mathematician verifies the door number and says that it is not sufficient.

Then the first says " Ok one more clue is that my youngest is really the youngest".

Immediately the

second mathematician answers . Can you answer the question asked by the first

mathematician?

What are the children ages?

Ans 1,6 and 6





5) Light glows for every 13 seconds . How many times did it glow between 1:57:58 and

3:20:47 am.

Ans : 383 + 1 = 384





6) 500 men are arranged in an array of 10 rows and 50 columns according to their heights.

Tallest among each row of all are asked to fall out. And the shortest among them is A.

Similarly after resuming that to their original positions that the shortest among each column

are asked to fall out.

And the tallest among them is B . Now who is taller among A and B ?

Ans A





7) A person with some money spends1/3 for cloths, 1/5 of the remaining for food and 1/4 of

the remaining for travel. He is left with Rs 100/- . How much did he have with him in the

beginning ?

Ans: Rs 250/-





8) There are six boxes containing 5 , 7 , 14 , 16 , 18 , 29 balls of either red or blue in colour.

Some boxes contain only red balls and others contain only blue. One sales man sold one box

out of them and then he says " I have the same number of red balls left out as that of blue ".

Which box is the one he solds out ?

Ans: Total no of balls = 89 and (89-29 /2) = 60/2 = 30

and also 14 + 16 = 5 + 7 + 18 = 30





9) A chain is broken into three pieces of equal lenths containing 3 links each. It is taken to a

backsmith to join into a single continuous one . How many links are to to be opened to make

it ?

Ans : 2.





10) Grass in lawn grows equally thick and in a uniform rate. It takes 24 days for 70 cows and

60 days for 30 cows to eat the whole of the grass. How many cows are needed to eat the

grass in 96 days.?

Ans : 20

g - grass at the beginning

r - rate at which grass grows, per day

y - rate at which one cow eats grass, per day

n - no of cows to eat the grass in 96 days

g + 24*r = 70 * 24 * y

g + 60*r = 30 * 60 * y

g + 96*r = n * 96 * y

Solving, n = 20



Related docs
Other docs by xiang
The Parable of the Rich Fool
Views: 23  |  Downloads: 0
14838-Nat.Equest Summer 08-2
Views: 7  |  Downloads: 0
kompendium_februar_01
Views: 1  |  Downloads: 0
Antimikrobielle Wirkung ausgewhl
Views: 2  |  Downloads: 0
Vietnamese BULLETIN vietnamien
Views: 1  |  Downloads: 0
Information Retrieval Models and
Views: 19  |  Downloads: 0
Download our Menu - Aveda Institutes
Views: 2  |  Downloads: 0
Journ茅e mondiale de l'hydrograph
Views: 2  |  Downloads: 0
SJSAS
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!