Dec 25, 2008

R Company's


(answers may not be correct please be careful)

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

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 ---------------


16. to 20. answers: a,b,a,c,d (or A,B,A,C,D) mostly small letters i.e
not the A,B, etc. given in question, a,b, etc. are
the answers of a,b,c,d,e the five choices.

16 to 20:- ----------- a , b , a , c , d ---------------


HCL in Anna University they have conducted
written test after the G.D. also in written test in each section you have to
get minimum marks i.e you have to pass in each section. There will be
questions from C, C++, JAVA. about 10 questions in C++ in the written test.
so read well all the above i.e C, C++, JAVA and all and get through the test.

WISH YOU GOOD LUCK.










RAMCO 'C' QUESTION PAPER
******************************************************




1).
--------------------------------------------------------------

main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}



Ans : An empty String

2).
--------------------------------------------------------------

main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}

Ans 57 94


3).
--------------------------------------------------------------


main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}

Ans 5 20 1



4).
-----------------------------------------------------------------
#define swap1(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5,y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}

int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}

Ans 10 5
10 5


5).
--------------------------------------------------------------


main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Ans Samco Systems
amco Systems

6).
--------------------------------------------------------------

#include
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}

Ans Compilation error giving it cannot be an modifible 'lvalue'



7).
--------------------------------------------------------------

#include
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}


Ans : RamcoSystems



8).
--------------------------------------------------------------

[1]. The following variable is available in file1.c


static int average_float;

Ans all the functions in the file1.c can access the variable




9).
--------------------------------------------------------------

Ans : [2]. extern int x;

Check the answer





10).
--------------------------------------------------------------
[3]. Another Problem with

# define TRUE 0

some code

while(TRUE)
{
some code

}


This won't go into the loop as TRUE is defined as 0
Ans NONE OF THE ABOVE i.e D



11).
--------------------------------------------------------------
Ans : [4]. A question in structures where the memebers are dd,mm,yy.

mm:dd:yy
09:07:97



12).
--------------------------------------------------------------
Ans : [5]. Another structure question

1 Rajiv System Analyst



13).
--------------------------------------------------------------

Answer

INFILE.DAT is copied to OUTFILE.DAT



14).
--------------------------------------------------------------

A question with argc and argv .

Input will be

c:\TEMP.EXE Ramco Systems India

Output will be

India: I n d i a
Systems: S y s t e m s
Ramco: R a m c o

Answer is choice d



15).
--------------------------------------------------------------

Structure swap

Ramco India
Ramco Systems Corporation
Ramco ... Limited .

After swapping the result will be

First two will be swapped.

Ramco Systems Corporation
Ramco India
Ramco ... Limited .





16).
--------------------------------------------------------------

int x;
main()
{
int x=0;
{
int x=10;
x++;
change_value(x);
x++;
Modify_value();
printf("First output: %d\n",x);
}
x++;
change_value(x);
printf("Second Output : %d\n",x);
Modify_value();
printf("Third Output : %d\n",x);
}

Modify_value()
{
return (x+=10);
}

change_value()
{
return(x+=1);
}





Ans : 12 1 1




17).
--------------------------------------------------------------



main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}


Ans : 11 16





18).
--------------------------------------------------------------


main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("Ramco Systems\n");
}

Ans : Ony one time
"Ramco Systems"
will be printed
*********************************************************************

[Part 2, "" Text 150 lines]
[Not Shown. Use the "V" command to view or save this part]

QUESTION PAPER STARTS.THE FILENAME IS RAMQP.I HOPE ITIS RAMCO


1) A - G are 7 consecutive +ve integers not necessarily in the same order

1) B is the middle number
2) D is 3 less than c
3) the difference between F & A is equal in magnitude and sign
to the difference between E & C
4) Neither F nor C lie between E & G

a) What is the value of B-F

1 2 -1 -2 cannot be determined

b) which is greatest

F C A E cannot be determined


c) Given both A & B are primes what is the lowest value of E

8 6 9 12 cannot


2) Given that a,b,c,d,e each represent one of the digits between
1-9 and that the following multiplication holds

a b c d e
4
----------
e d c b a

What digit does e represent

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


1. How many butes does an array A(1:8,-2:2,1:5) require for storage if
each element of the array is 24 bits long.

200 480 600 800 none


2. begin

i:=0;
j:=0; | block d

loop:


if(i != 0)
i := i-1;
else
i := i+1;

i := i+1; | block a
j := j+1; | block b

if (j <= 25)
goto loop;

end | block c


a) What is the value of i at [c]
2 ?
b) How many times is the goto executed
25 ?

c) How many times is the loop executed if i is initialized to 1
in [d] 26
d) How many times is the loop entered if the block [b] is changed
to j=j+1 ?

e) What is the value of i at [c] interchanging blocks [a] and [b] ?
2 ?

Follow the instructions given below [ From 1 to 8 ]

1. A cause B or C but not both

2. F occurs only if B occurs

3. D occurs if B or C occurs

4. E occurs if only c occurs

5. J occurs only if E or F occurs

6. H occurs if E occurs

7. D causes G, H or Both.

8. G occurs if F occurs.


Questions
---------

1. If A occurs which of the following may occur

1. F & G (ii) E & H (iii) D

Ans
---
(a) 1 only (b) 2 only (c) 3 only (d) 1,2,3 or 2 & 3 but not 1

(e) 1,2 & 3

2. If B occurs which must occur

Ans
--- (a) F & G (b) D & G (c) D (d) G & H (e) J

3. If J occurs which must occur

Ans
---
(a) E (b) Both E & F (c) Either B or C (d) B (e) Both B & c


4. Which may occur as a result by a cause not mentioned.

(I) D (II) A (III) F

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


5. If E occurs which cannot occur.

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



#include
int SumElement(int *,int);
void main(void)
{
int x[10];
int i=10;
for(;i;)
{
i--;
*(x+i)=i;

}
printf("%d",SumElement(x,10));
}
int SumElement(int array[],int size)
{
int i=0;
float sum=0;
for(;i sum+=array[i];
return sum;
}


#include
void main(void);
int printf(const char*,...);
void main(void)
{
int i=100,j=10,k=20;
-- int sum;
float ave;
char myformat[]="ave=%.2f";
sum=i+j+k;
ave=sum/3.0;
printf(myformat,ave);
}


#include
void main(void);
void main(void)
{
int a[10];
printf("%d",((a+9) + (a+1)));
}


#include


void main(void);
void main(void)
{
struct s{
int x;
float y;
}s1={25,45.00};
union u{
int x;
float y;
} u1;
u1=(union u)s1;
printf("%d and %f",u1.x,u1.y);
}


#include
void main(void)
{
{
unsigned int c;
unsigned x=0x3;
scanf("%u",&c);
switch(c&x)
{
case 3: printf("Hello!\t");
case 2: printf("Welcome\t");
case 1: printf("To All\t");
default:printf("\n");
}
}


#include
int fn(void);
void print(int,int(*)());
int i=10;
void main(void)
{
int i=20;
print(i,fn);
}
void print(int i,int (*fn1)())
{
printf("%d\n",(*fn1)());
}

int fn(void)
{
return(i-=5);
}


#include
void main(void);
void main(void)
{{
char numbers[5][6]={"Zero","One","Two","Three","Four"};
printf("%s is %c",&numbers[4][0],numbers[0][0]);
}


int bags[5]={20,5,20,3,20};
void main(void)
{
int pos=5,*next();
*next()=pos;
printf("%d %d %d",pos,*next(),bags[0]);
}
int *next()
{
int i;
for(i=0;i<5;i++)
if (bags[i]==20)
return(bags+i);
printf("Error!");
exit(0);
}



#include
void main(void)
{
int y,z;
int x=y=z=10;
int f=x;
float ans=0.0;
f *=x*y;
ans=x/3.0+y/3;
printf("%d %.2f",f,ans);
}
#include
void main(void);
double dbl=20.4530,d=4.5710,dblvar3;
void main(void)
{
double dbln(void);
dblvar3=dbln();
printf("%.2f\t%.2f\t%.2f\n",dbl,d,dblvar3);
}
double dbln(void)
{
double dblvar3;
dbl=dblvar3=4.5;
return(dbl+d+dblvar3);
}
#include
static int i=5;
void main(void)
{
int sum=0;
do
{
sum+=(1/i);
}while(0}
#include
void main(void)
{
int oldvar=25,newvar=-25;
int swap(int,int);
swap(oldvar,newvar);
printf("Numbers are %d\t%d",newvar,oldvar);
}
int swap(int oldval,int newval)
{
int tempval=oldval;
oldval=newval;
newval=tempval;
}
#include
void main(void);
void main(void)
{
int i=100,j=20;
i++=j;
i*=j;
printf("%d\t%d\n",i,j);
}
#include
void main(void);
int newval(int);
void main(void)
{
int ia[]={12,24,45,0};
int i;
int sum=0;
for(i=0;ia[i];i++)
{
sum+=newval(ia[i]);
}
printf("Sum= %d",sum);
}
int newval(int x)
{
static int div=1;
return(x/div++);
}
#include
void main(void);
void main(void)
{
int var1,var2,var3,minmax;
var1=5;
var2=5;
var3=6;
minmax=(var1>var2)?(var1>var3)?var1:var3:(var2>var3)?var2:var3;
printf("%d\n",minmax);
#include
void main(void);
void main(void)
{
void pa(int *a,int n);
int arr[5]={5,4,3,2,1};
pa(arr,5);
}

void pa(int *a,int n)
{
int i;
for(i=0;i printf("%d\n",*(a++)+i);
}
#include
void main(void);
void print(void);
void main(void)
{
print();
}
void f1(void)
{
printf("\nf1():");
}

#include "6.c"
void print(void)
{
extern void f1(void);
f1();
}
static void f1(void)

{
printf("\n static f1().");
}



#include
void main(void);
static int i=50;
int print(int i);
void main(void)
{
static int i=100;
while(print(i))
{
printf("%d\n",i);
i--;
}
}
int print(int x)
{
static int i=2;
return(i--);
}



#include
void main(void);
typedef struct NType
{
int i;
char c;
long x;
} NewType;
void main(void)
{
NewType *c;

c=(NewType *)malloc(sizeof(NewType));
c->i=100;
c->c='C';
(*c).x=100L;
printf("(%d,%c,%4Ld)",c->i,c->c,c->x);
}



#include
void main(void);
const int k=100;
void main(void)
{
int a[100];
int sum=0;
for(k=0;k<100;k++)
*(a+k)=k;
sum+=a[--k];
printf("%d",sum);
}

RAMCO PAPER.
MARKS------60---TOATAL
QUANTITATIVE ---------30
ENGLISH-----30

HAI FRIENDS

here i am sending ramco paper.here in iitm and
anna university they have given different papers.so don't depend fully on
this paper.quantitative is very easy.you can easily solve.
BEST OF LUCK.

Directions: Each of the following question has a question and two
statements labelled as (i) and (ii). Use the data/information given
in (i) and (ii) to decide whether the data are sufficient to answer
the question record your answer as

a) if you can get the answer from (1)alone but not from (2)
b) if you can get the answer from (2)alone but not from (1)
c) if can get the answer from (1)and (2)together ,although
neither statement by itself suffice
d) if statement (1)alone suffices and statement (2) alone also suffice.
e) if can't get the answer from statements (1) and (2) together
you need more data.

1)what will be the population of city X in 1991?

1) populatino of city % has 55 annual growth rate
2) in 1991,the population of city X was 8 million
ans)C

2) was it rani's birthday yesterday?
1)lata spends rs 100/ in rani's bitrth day
2)lata spends rs 100/ yesterday
ans) E

3)is 3*5 is greater 4*6?
1)a*b =b*a 2)a*b is the remainder of ab%(a+b)
ans)B

4)will the graph X-Y pass through the origin?
1) x proportional to the Y
2)increment in y per units rise of x is fixed.
ans)E

5) what was the value of the machine 2 years ago?
1) the deprecition of the value of the machine per year is 10%
2)present value of the machine is rs 8000/
ans)C

6) What will be the area of a square that can be inscribed in a circle?
1) Radius of the circle is T
2) Length of a diagonal of the square is 2r
and)D

7) Can it be concluded that the port made more profit in 1988 than in 1987
1) 1987
_______________________________________________________________
| Total tonnage handled by the | Expenditure made by the port |
| port 10 million tonnes | to handle one tonne of cargo |
| | Rs 20/- |
|________________________________________________________________|


2) 1988
___ ____________________________________________________________
| Total tonnage handled by the | Expenditure made by the port |
| port 12.5 million tonnes | to handle one tonne of cargo |
| | Rs 25/- |
|________________________________________________________________|

ans) E

8) There are two figures viz., a circle and a square. Which having greater
area?
1) Perimeter of the circle is the same as the perimeter of the square.
2) Eleven times the radius is equal to seven times the length of one
side of the square.
ans) D

9) A candidate who was found to be under weightin medical test had been
selected provisionally subject to his attainment of 60Kg weight within
one year. What should be the percentage increase of his weightso that
selection is confirmed after one year.
1) Weight (Kg)=16+8 Height (ft) is standard equation for the Indian
population. The candidates height is 5.5
2) His present weight is 55Kg.
ans) D

10) Is angle theta=90
1) sin**2(theta)+cos**2(theta)=1
2) sin**2(theta)-+cos**2(theta)=1
ans) E

11) What will be the average age of workers of an Institution after two
years?
1) Present average age is 35 years
2) There are total 20 workers in the Institution
ans) A

12) Can it be concluded that firestry is getting increasing importance in
India? ( Disregarding the change in money value )

1)
____________________________________________________________________
Name of the plan Expenditure on Forest
(Crores of rupees)
____________________________________________________________________

First five year plan 10
Second five year plan 19
____________________________________________________________________

2)
____________________________________________________________________
Name of the plan Expenditure on Forest
(Crores of rupees)
____________________________________________________________________

First five year plan 46
Second five year plan 92.5
____________________________________________________________________

ans) E

13) Is AB>AM ( A Triangle is given )
1) AB 2) M is any point other than B and C on BC
ans) E

14) Is X^2+Y^2 1) 0 2) 0 ans) C

15) Can it be concluded that angle ABO = angle ODC
1) ABCD is a Parallelogram and O is the point of
intersection of the diagonals.
2) Angle DOC =75deg. and angle DAO =35deg.
ans) A

16) What is the value of x+y?
1) 2y=x+6
2) 5x=10y-30
ans) E

17) How many students are there in the class?
1) 30 students play foot ball and 40 play cricket .
2)Each student plays either foot ball or cricket or both.
ans) E

18) What is the value of a:b?
1) a=x+10%ofx
2) b=a+10%ofa
ans) B

19) What is the maximum value of the expression 5+8x-8x^2?
1) x is real
2) x is not positive
ans) C

20) What will be the value of the greatest angle of the triangle ABC?
1) Angles of the triangle are in the ration 2:5:3
2) The side opposite to the greatest angle is the longest side.
ans) A

21) What is the range of values of x?
1)
x-2 1
---- < ---
2x+5 3

2)
2x 17
---- + --- > 3x-20
3 3
ans) D

22) Of the two which one is the greater?
- 3 -3
---- , ---
x y
1) x,y>0
2) x ans) C

23) What percentage of the candidates passed both in science and mathematics?
1) 52 percent of the candidates failed in science
2) 42% of the candidates failed in mathematics
ans) C


24. How much pure H2SO4 (HYDRO SULFURIC ACID) should be added to bring
down the percentage of impuritity to 5%?
1. 50 liters of pure H2SO4 was diluted
2. dilution was to the extent of 20%
ans:c
25. What is the cost of building when archtects feeses was 70,000
1. Architect gets 10% for the first Rs. 50000 of the cost of building
2. Architect gets 3% on the cost of the building over 50000
ans:C
26 What is the value of BC?
( here one triangle figure is there )
1. AP=4
2. PQ=5
ans: E
27. What is the area of the shaded portion (assume AB, CD are arcs of two
circles with centre at o.)
Here one arc figure is there
1. CA=20m
2. CB=5m
ans:C
28. What is the area of the greatest circle that can be out from
rectangular paper
1. length of the paper is 30cm
2. Width of the paper is 21cm
ans:B
29. Y is what percentage of X?
1. 0.3x=Y 2. 3x-10y=0
ans:D

30. What is the area of the trepazium abcd wher Ab is 5cm
1. BC=7CM
2. AB+CD= 16CM
ans:B orC
31 . Directions :- each sentense below has one or two blanks each blank
indicating that something has been omiting beneeth the sentense or five
letter words . choose the word for setof words foreach blank that best
fits the meaning of one sentense as a whole.

31. The air was bitter cold, the temperature well below the freexzing
point , yet they found themsemlevs ------freely as they clamsered up the
steep northern slope

ans: disporting

32. We were taken when we of his difection never having
suspected that he was anything but loyal. So capacble had been his ----
or and devotion to cease
ans: presentiment
33. WAR and peace are mutually(-------)states of being and warto
preserve peace not a paradox . It is a(-----)
ans:c incompatable -- contridction

34.For those who believe in the -- ---theory of histroy being ----- is
ipso facto testimony to behind the senses intrigue and plotting.
ans:e marxist --confession
35. Although the injuty appeared --- the examination by the opthamilogist
revealed that he would need immediate surgey to save his signt.
ans: superficial

ANTONIAMS
41. CORROBORATIVE --- REFUTABLE
42. roxious ---- harmless
43. sanction -- hinder
44. empirical -- experimental
45. aborigine -- emigrant

Directrions for questions . 56- 60 . questions 56 -60 are based on the
following information

A port has four berths W,V,X,Y of these two aregeneral cargo erth, one is
a fertiliser berth asnd one is for liquid cargo, when veseel A arrived she
was berthed at berth V. But the vessel B which along with A had to wait
prior to berthing as vessel C was working in berth Y and vessel D was
working in berth W .Vessel E came to unload fertilise and did not have to
wait. All are specilised berths that is general cargo vessel.has to work
only in a general cargo berth. So is true for fertiliser vessel and liquid
cargo vessel.
56. The vessel E should be alotted to the berth.
ans: X
57. Which of the following berth can accept a vessel carrying liquid cargo.
ans': V
58. Which of the following is not a general cargo vessel.
ans:A
59. Total number of general cargo vessels mentioned in the above
discription is
ans:3
60. Whcih of the following allotments is possible
ans: Bto W


Aptitude Section
Directions: Each of the following
question has a question and two statements labelled as (i) and (ii).
Use the data/information given in (i) and (ii) to decide whether
the data are sufficient to answer the question record your answer
as
A) If you can get the
answer from (1)alone but not from (2)
B) If you can get the answer from (2)alone but not from (1)
C) If can get the answer from (1)and (2)together ,although neither
statement by itself suffice
D) If statement (1)alone suffices and statement (2) alone also suffice.
E) If can't get the answer from statements (1) and (2) together
and you need more data.
Q1)What will be the
population of city X in 1991?
1) Population of the
city has 55% annual growth rate
2) in 1991,the population of city X was 8 million
Ans:C
Q2) Was it Rani's
birthday yesterday?
1)Lata spends Rs.100
on Rani's birthday
2)Lata spent Rs.100 yesterday
Ans: E
Q3)Is 3*5 or is 4*6
greater ?
1)a*b =b*a
2)a*b is the remainder of ab%(a+b)
Ans:B
Q4)Will the graph X-Y pass through the origin?
1) x proportional to
the Y
2)increment in y per units rise of x is fixed.
Ans:E
Q5) What was the value of the machine 2 years ago?
1) the deprecition
of the value of the machine per year is 10%
2)present value of the machine is rs 8000/
Ans:C
Q6) What will be the area of a square that can be inscribed in a
circle?
1) Radius of the circle
is T
2) Length of a diagonal of the square is 2r
Ans:D
Q7) Can it be concluded that the port made more profit in 1988 than
in 1987
1) 1987
Total tonnage handled
by the port 10 million tonnes Expenditure made by the port to handle
one tonne of cargo
Rs.20/-
2) 1988
Total tonnage handled
by the port 12.5 million tonnes Expenditure made by the port to
handle one tonne of cargo Rs 25/-
Ans: E
Q8) There are two figures
viz., a circle and a square. Which having greater area?
1) Perimeter of the
circle is the same as the perimeter of the square.
2) Eleven times the radius is equal to seven times the length of
one side of the square.
Ans: D
Q9) A candidate who was found to be under weightin medical test
had been selected provisionally subject to his attainment of 60Kg
weight within one year. What should be the percentage increase of
his weightso that selection is confirmed after one year.
1) Weight (Kg)=16+8
Height (ft) is standard equation for the Indian population. The
candidates height is 5.5
2) His present weight is 55Kg.
Ans: D
Q10) Is angle D=90
1) sin**2(D)+cos**2(D)=1
2) sin**2(D)-+cos**2(D)=1
Ans: E
Q11) What will be the average age of workers of an Institution after
two years?
1) Present average
age is 35 years
2) There are total 20 workers in the Institution
Ans: A
Q12) Can it be concluded that firestry is getting increasing importance
in India? ( Disregarding the change in money value )
1)
Name of the plan Expenditure
on Forest (Crores of rupees)
First five year plan
Second five year plan
10
19
2)
Name of the plan Expenditure
on Forest
(Crores of rupees)
First five year plan
Second five year plan 46
92.5
Ans: E
Q13) Is AB>AM ( A Triangle is given )
1) AB< ) 5 2x ( x-2 1)( x? of values range the is What Q21) A Ans: side. longest
angle greatest to opposite side The 2) 2:5:3 ration in are triangle Angles 1) ABC?
value be will Q20) C positive not x real 5+8x-8x^2? expression maximum Q19) B
b="a+10%ofa" a a:b? Q18) E both. or cricket ball foot either plays student 2)Each .
play 40 and students 30 class? there many How Q17) 5x="10y-30" 2y="x+6" x+y?
Q16) DAO="35deg." DOC="75deg." Angle diagonals. intersection point O
Parallelogram ABCD ODC ABO="angle" that concluded it Can Q15) Y) equal (X
X!="Y" 0Ans: D
Q22) Of the two which one is the greater -- -3/x , -3/y?
1) x,y>0
2) x<>2);
}
Ans. 5 20 1
4) Find the output for the following C program
#define swap1(a,b)
a=a+b;b=a-b;a=a-b;
main()
{
int x=5,y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}
int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
Ans. 10 5
5) Find the output for the following C program
main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Ans. Samco Systems
6) Find the output for the following C program
#include
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Ans. Compilation error
giving it cannot be an modifiable 'lvalue'
7) Find the output for the following C program
#include
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}
Ans. RamcoSystems
8) Find the output for the following C program given that
[1]. The following variable is available in file1.c
static int average_float;
Ans. All the functions
in the file1.c can access the variable
9) Find the output for the following C program
# define TRUE 0
some code
while(TRUE)
{
some code
}
Ans. This won't go
into the loop as TRUE is defined as 0
10) Find the output for the following C program
main()
{
int x=10;
x++;
change_value(x);
x++;
Modify_value();
printf("First output: %d\n",x);
}
x++;
change_value(x);
printf("Second Output : %d\n",x);
Modify_value(x);
printf("Third Output : %d\n",x);
}
Modify_value()
{
return (x+=10);
}
change_value()
{
return(x+=1);
}
Ans. 12 1 1
11) Find the output for the following C program
main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
Ans. 11 16
12) Find the output for the following C program
main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("Ramco Systems\n");
}
Ans. Ony one time "Ramco
Systems" will be printed
13) Find the output for the following C program
#include
int SumElement(int *,int);
void main(void)
{
int x[10];
int i=10;
for(;i;)
{
i--;
*(x+i)=i;
}
printf("%d",SumElement(x,10));
}
int SumElement(int array[],int size)
{
int i=0;
float sum=0;
for(;i
void main(void);
int printf(const char*,...);
void main(void)
{
int i=100,j=10,k=20;
-- int sum;
float ave;
char myformat[]="ave=%.2f";
sum=i+j+k;
ave=sum/3.0;
printf(myformat,ave);
}
Q15) Find the output for the following C program
#include
void main(void);
{
int a[10];
printf("%d",((a+9) + (a+1)));
}
Q16) Find the output for the following C program
#include
void main(void)
{
struct s{
int x;
float y;
}s1={25,45.00};
union u{
int x;
float y;
} u1;
u1=(union u)s1;
printf("%d and %f",u1.x,u1.y);
}
Q17) Find the output for the following C program
#include
void main(void)
{
unsigned int c;
unsigned x=0x3;
scanf("%u",&c);
switch(c&x)
{
case 3: printf("Hello!\t");
case 2: printf("Welcome\t");
case 1: printf("To All\t");
default:printf("\n");
}
}
Q18) Find the output for the following C program
#include
int fn(void);
void print(int,int(*)());
int i=10;
void main(void)
{
int i=20;
print(i,fn);
}
void print(int i,int (*fn1)())
{
printf("%d\n",(*fn1)());
}
int fn(void)
{
return(i-=5);
}
Q19) Find the output for the following C program
#include
void main(void);
{
char numbers[5][6]={"Zero","One","Two","Three","Four"};
printf("%s is %c",&numbers[4][0],numbers[0][0]);
}
Q20) Find the output for the following C program
int bags[5]={20,5,20,3,20};
void main(void)
{
int pos=5,*next();
*next()=pos;
printf("%d %d %d",pos,*next(),bags[0]);
}
int *next()
{
int i;
for(i=0;i<5;i++)
if (bags[i]==20)
return(bags+i);
printf("Error!");
exit(0);
}
Q21) Find the output for the following C program
#include
void main(void)
{
int y,z;
int x=y=z=10;
int f=x;
float ans=0.0;
f *=x*y;
ans=x/3.0+y/3;
printf("%d %.2f",f,ans);
}
Q22) Find the output for the following C program
#include
void main(void);
{
double dbl=20.4530,d=4.5710,dblvar3;
double dbln(void);
dblvar3=dbln();
printf("%.2f\t%.2f\t%.2f\n",dbl,d,dblvar3);
}
double dbln(void)
{
double dblvar3;
dbl=dblvar3=4.5;
return(dbl+d+dblvar3);
}
Q23) Find the output for the following C program
#include
static int i=5;
void main(void)
{
int sum=0;
do
{
sum+=(1/i);
}while(0
void main(void)
{
int oldvar=25,newvar=-25;
int swap(int,int);
swap(oldvar,newvar);
printf("Numbers are %d\t%d",newvar,oldvar);
}
int swap(int oldval,int newval)
{
int tempval=oldval;
oldval=newval;
newval=tempval;
}
Q25) Find the output for the following C program
#include
void main(void);
{
int i=100,j=20;
i++=j;
i*=j;
printf("%d\t%d\n",i,j);
}
Q26) Find the output for the following C program
#include
void main(void);
int newval(int);
void main(void)
{
int ia[]={12,24,45,0};
int i;
int sum=0;
for(i=0;ia[i];i++)
{
sum+=newval(ia[i]);
}
printf("Sum= %d",sum);
}
int newval(int x)
{
static int div=1;
return(x/div++);
}
Q27) Find the output
for the following C program
#include
void main(void);
{
int var1,var2,var3,minmax;
var1=5;
var2=5;
var3=6;
minmax=(var1>var2)?(var1>var3)?var1:var3:(var2>var3)?var2:var3;
printf("%d\n",minmax);
Q28) Find the output for the following C program
#include
void main(void);
{
void pa(int *a,int n);
int arr[5]={5,4,3,2,1};
pa(arr,5);
}
void pa(int *a,int n)
{
int i;
for(i=0;i
void main(void);
void print(void);
{
print();
}
void f1(void)
{
printf("\nf1():");
}
Q30) Find the output for the following C program
#include "6.c"
void print(void)
{
extern void f1(void);
f1();
}
static void f1(void)
{
printf("\n static f1().");
}
Q31) Find the output for the following C program
#include
void main(void);
static int i=50;
int print(int i);
void main(void)
{
static int i=100;
while(print(i))
{
printf("%d\n",i);
i--;
}
}
int print(int x)
{
static int i=2;
return(i--);
}
Q32) Find the output for the following C program
#include
void main(void);
typedef struct NType
{
int i;
char c;
long x;
} NewType;
void main(void)
{
NewType *c;
c=(NewType *)malloc(sizeof(NewType));
c->i=100;
c->c='C';
(*c).x=100L;
printf("(%d,%c,%4Ld)",c->i,c->c,c->x);
}
Q33) Find the output for the following C program
#include
void main(void);
const int k=100;
void main(void)
{
int a[100];
int sum=0;
for(k=0;k<100;k++)
*(a+k)=k;
sum+=a[--k];
printf("%d",sum);
Ramco Sample Test Paper Home

Back To Ramco Page


Directions: Each of the following question has a question and two statements labelled as (i) and (ii). Use the data/information given in (i) and (ii) to decide whether the data are sufficient to answer the question record your answer as
A) If you can get the answer from (1)alone but not from (2)
B) If you can get the answer from (2)alone but not from (1)
C) If can get the answer from (1)and (2)together ,although neither statement by itself suffice
D) If statement (1)alone suffices and statement (2) alone also suffice.
E) If can't get the answer from statements (1) and (2) together and you need more data.
Q1)What will be the population of city X in 1991?
1) Population of the city has 55% annual growth rate
2) in 1991,the population of city X was 8 million
Ans:C

Q2) Was it Rani's birthday yesterday?
1)Lata spends Rs.100 on Rani's birthday
2)Lata spent Rs.100 yesterday
Ans: E

Q3)Is 3*5 or is 4*6 greater ?
1)a*b =b*a
2)a*b is the remainder of ab%(a+b)
Ans:B

Q4)Will the graph X-Y pass through the origin?
1) x proportional to the Y
2)increment in y per units rise of x is fixed.
Ans:E

Q5) What was the value of the machine 2 years ago?
1) the deprecition of the value of the machine per year is 10%
2)present value of the machine is rs 8000/
Ans:C

Q6) What will be the area of a square that can be inscribed in a circle?
1) Radius of the circle is T
2) Length of a diagonal of the square is 2r
Ans:D

Q7) Can it be concluded that the port made more profit in 1988 than in 1987
1) 1987
Total tonnage handled by the port 10 million tonnes Expenditure made by the port to handle one tonne of cargo
Rs.20/-

2) 1988
Total tonnage handled by the port 12.5 million tonnes Expenditure made by the port to handle one tonne of cargo Rs 25/-
Ans: E

Q8) There are two figures viz., a circle and a square. Which having greater area?
1) Perimeter of the circle is the same as the perimeter of the square.
2) Eleven times the radius is equal to seven times the length of one side of the square.
Ans: D

Q9) A candidate who was found to be under weightin medical test had been selected provisionally subject to his attainment of 60Kg weight within one year. What should be the percentage increase of his weightso that selection is confirmed after one year.
1) Weight (Kg)=16+8 Height (ft) is standard equation for the Indian population. The candidates height is 5.5
2) His present weight is 55Kg.
Ans: D

Q10) Is angle µ=90
1) sin**2(µ)+cos**2(µ)=1
2) sin**2(µ)-+cos**2(µ)=1
Ans: E

Q11) What will be the average age of workers of an Institution after two years?
1) Present average age is 35 years
2) There are total 20 workers in the Institution
Ans: A

Q12) Can it be concluded that firestry is getting increasing importance in India? ( Disregarding the change in money value )
1)
Name of the plan Expenditure on Forest (Crores of rupees)
First five year plan
Second five year plan 10
19
2)
Name of the plan Expenditure on Forest
(Crores of rupees)
First five year plan
Second five year plan 46
92.5
Ans: E

Q13) Is AB>AM ( A Triangle is given )
1) AB2) M is any point other than B and C on BC
Ans: E

Q14) Is X^2+Y^21) 02) 0Ans: C

Q15) Can it be concluded that angle ABO = angle ODC
1) ABCD is a Parallelogram and O is the point of intersection of the diagonals.
2) Angle DOC =75deg. and angle DAO =35deg.
Ans: A

Q16) What is the value of x+y?
1) 2y=x+6
2) 5x=10y-30
Ans: E

Q17) How many students are there in the class?
1) 30 students play foot ball and 40 play cricket .
2)Each student plays either foot ball or cricket or both.
Ans: E

Q18) What is the value of a:b?
1) a=x+10%ofx
2) b=a+10%ofa
Ans: B

Q19) What is the maximum value of the expression 5+8x-8x^2?
1) x is real
2) x is not positive
Ans: C

Q20) What will be the value of the greatest angle of the triangle ABC?
1) Angles of the triangle are in the ration 2:5:3
2) The side opposite to the greatest angle is the longest side.
Ans: A

Q21) What is the range of values of x?
1)( x-2 ) / ( 2x + 5 ) < 1/3
2)2x /3 + 17/3 > 3x - 20
Ans: D

Q22) Of the two which one is the greater -- -3/x , -3/y?
1) x,y>0
2) xAns: C

Q23) What percentage of the candidates passed both in science and mathematics?
1) 52 percent of the candidates failed in science
2) 42% of the candidates failed in mathematics
Ans: C

Q24) How much pure H2SO4 (Hydro Sulphuric Acid) should be added to bring down the percentage of impuritity to 5%?
1). 50 liters of pure H2SO4 was diluted
2). dilution was to the extent of 20%
Ans:C

Q25) What is the cost of building when archtects feeses was 70,000
1. Architect gets 10% for the first Rs. 50000 of the cost of building
2. Architect gets 3% on the cost of the building over 50000
Ans:C

Q26) What is the value of BC?( here one triangle figure is there )
1). AP=4
2). PQ=5
Ans: E

Q27) What is the area of the shaded portion (assume AB, CD are arcs of two circles with centre at 0.)Here one arc figure is there
1). CA=20m
2). CB=5m
Ans:C

Q28) What is the area of the greatest circle that can be out from rectangular paper
1). length of the paper is 30cm
2). Width of the paper is 21cm
Ans:B

Q29) Y is what percentage of X?
1). 0.3x=Y
2). 3x-10y=0
Ans:D

Q30) What is the area of the trapezium abcd where ab is 5cm
1. BC=7CM
2. AB+CD= 16CM


Directions :- Each sentence below has one or two blanks.Choose the word from the set of words for each blank that best fits the meaning of the sentence as a whole.
Q31) The air was bitter cold, the temperature well below the freezing point , yet they found themselves ------ freely as they clambered up the steep northern slope
Ans: disporting

Q32) We were taken when we heard of his defection , never having suspected that he was anything but loyal. So capable had been his ---- or and devotion to cease
Ans: presentiment

Q33) War and peace are mutually ------- states of being and war to preserve peace is not a paradox . It is a -----
Ans: incompatible -- contradiction

Q34) Although the injury appeared ------, the examination by the ophthomologist revealed that he would need immediate surgery to save his sight.
Ans: superficial
Q35 to Q40 - On similar pattern as above.

Antonyms
Q41. corroborative ---- refutable
Q42. obnoxious ---- harmless
Q43. sanction ---- hinder
Q44. empirical ---- experimental
Q45. aborigine ---- emigrant

Directions for questions 56- 60 . Questions 56 -60 are based on the following information:
A port has four berths W,V,X,Y. Of these two are general cargo berth, one is a fertiliser berth and one is for liquid cargo, When vessel A arrived it was berthed at berth V but vessel B which along with A had to wait prior to berthing as vessel C was working in berth Y and vessel D was working in berth W .Vessel E came to unload fertiliser and did not have to wait. All are specilised berths i.e. general cargo vessel has to work only in a general cargo berth. So is true for fertiliser vessel and liquid cargo vessel.
Q56. The vessel E should be alotted to the berth.
Ans: X

Q57. Which of the following berth can accept a vessel carrying liquid cargo--W, V, X, Y
Ans: V

Q58. Which of the following is not a general cargo vessel--A ,B, C, D, E
Ans:A

Q59. Total number of general cargo vessels mentioned in the above description is
Ans:3

Q60. Whcih of the following allotments is possible
Ans: B to W

Back to top

}
Ramco Sample C Test Paper Home

Back To Ramco Page

1) Find the output for the following C program
main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
Ans. An empty string

2) Find the output for the following C program
main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Ans. 57 94

3) Find the output for the following C program
main()
{
int x=5;
printf("%d %d %d\n",x,x<<2,x>>2);
}
Ans. 5 20 1

4) Find the output for the following C program
#define swap1(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5,y=10;
swap1(x,y);
printf("%d %d\n",x,y);
swap2(x,y);
printf("%d %d\n",x,y);
}
int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
Ans. 10 5

5) Find the output for the following C program
main()
{
char *ptr = "Ramco Systems";
(*ptr)++;
printf("%s\n",ptr);
ptr++;
printf("%s\n",ptr);
}
Ans. Samco Systems

6) Find the output for the following C program
#include
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Ans. Compilation error giving it cannot be an modifiable 'lvalue'

7) Find the output for the following C program
#include
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}
Ans. RamcoSystems

8) Find the output for the following C program given that
[1]. The following variable is available in file1.c
static int average_float;
Ans. All the functions in the file1.c can access the variable

9) Find the output for the following C program
# define TRUE 0
some code
while(TRUE)
{
some code
}
Ans. This won't go into the loop as TRUE is defined as 0

10) Find the output for the following C program
main()
{
int x=10;
x++;
change_value(x);
x++;
Modify_value();
printf("First output: %d\n",x);
}
x++;
change_value(x);
printf("Second Output : %d\n",x);
Modify_value(x);
printf("Third Output : %d\n",x);
}
Modify_value()
{
return (x+=10);
}
change_value()
{
return(x+=1);
}
Ans. 12 1 1

11) Find the output for the following C program
main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
Ans. 11 16

12) Find the output for the following C program
main()
{
int a=0;
if(a=0) printf("Ramco Systems\n");
printf("Ramco Systems\n");
}
Ans. Ony one time "Ramco Systems" will be printed

13) Find the output for the following C program
#include
int SumElement(int *,int);
void main(void)
{
int x[10];
int i=10;
for(;i;)
{
i--;
*(x+i)=i;
}
printf("%d",SumElement(x,10));
}
int SumElement(int array[],int size)
{
int i=0;
float sum=0;
for(;isum+=array[i];
return sum;
}

Q14) Find the output for the following C program
#include
void main(void);
int printf(const char*,...);
void main(void)
{
int i=100,j=10,k=20;
-- int sum;
float ave;
char myformat[]="ave=%.2f";
sum=i+j+k;
ave=sum/3.0;
printf(myformat,ave);
}

Q15) Find the output for the following C program
#include
void main(void);
{
int a[10];
printf("%d",((a+9) + (a+1)));
}

Q16) Find the output for the following C program
#include
void main(void)
{
struct s{
int x;
float y;
}s1={25,45.00};
union u{
int x;
float y;
} u1;
u1=(union u)s1;
printf("%d and %f",u1.x,u1.y);
}

Q17) Find the output for the following C program
#include
void main(void)
{
unsigned int c;
unsigned x=0x3;
scanf("%u",&c);
switch(c&x)
{
case 3: printf("Hello!\t");
case 2: printf("Welcome\t");
case 1: printf("To All\t");
default:printf("\n");
}
}

Q18) Find the output for the following C program
#include
int fn(void);
void print(int,int(*)());
int i=10;
void main(void)
{
int i=20;
print(i,fn);
}
void print(int i,int (*fn1)())
{
printf("%d\n",(*fn1)());
}
int fn(void)
{
return(i-=5);
}

Q19) Find the output for the following C program
#include
void main(void);
{
char numbers[5][6]={"Zero","One","Two","Three","Four"};
printf("%s is %c",&numbers[4][0],numbers[0][0]);
}

Q20) Find the output for the following C program
int bags[5]={20,5,20,3,20};
void main(void)
{
int pos=5,*next();
*next()=pos;
printf("%d %d %d",pos,*next(),bags[0]);
}
int *next()
{
int i;
for(i=0;i<5;i++)
if (bags[i]==20)
return(bags+i);
printf("Error!");
exit(0);
}

Q21) Find the output for the following C program
#include
void main(void)
{
int y,z;
int x=y=z=10;
int f=x;
float ans=0.0;
f *=x*y;
ans=x/3.0+y/3;
printf("%d %.2f",f,ans);
}

Q22) Find the output for the following C program
#include
void main(void);
{
double dbl=20.4530,d=4.5710,dblvar3;
double dbln(void);
dblvar3=dbln();
printf("%.2f\t%.2f\t%.2f\n",dbl,d,dblvar3);
}
double dbln(void)
{
double dblvar3;
dbl=dblvar3=4.5;
return(dbl+d+dblvar3);
}

Q23) Find the output for the following C program
#include
static int i=5;
void main(void)
{
int sum=0;
do
{
sum+=(1/i);
}while(0}

Q24) Find the output for the following C program
#include
void main(void)
{
int oldvar=25,newvar=-25;
int swap(int,int);
swap(oldvar,newvar);
printf("Numbers are %d\t%d",newvar,oldvar);
}
int swap(int oldval,int newval)
{
int tempval=oldval;
oldval=newval;
newval=tempval;
}

Q25) Find the output for the following C program
#include
void main(void);
{
int i=100,j=20;
i++=j;
i*=j;
printf("%d\t%d\n",i,j);
}

Q26) Find the output for the following C program
#include
void main(void);
int newval(int);
void main(void)
{
int ia[]={12,24,45,0};
int i;
int sum=0;
for(i=0;ia[i];i++)
{
sum+=newval(ia[i]);
}
printf("Sum= %d",sum);
}
int newval(int x)
{
static int div=1;
return(x/div++);
}

Q27) Find the output for the following C program
#include
void main(void);
{
int var1,var2,var3,minmax;
var1=5;
var2=5;
var3=6;
minmax=(var1>var2)?(var1>var3)?var1:var3:(var2>var3)?var2:var3;
printf("%d\n",minmax);

Q28) Find the output for the following C program
#include
void main(void);
{
void pa(int *a,int n);
int arr[5]={5,4,3,2,1};
pa(arr,5);
}
void pa(int *a,int n)
{
int i;
for(i=0;iprintf("%d\n",*(a++)+i);
}

Q29) Find the output for the following C program
#include
void main(void);
void print(void);
{
print();
}
void f1(void)
{
printf("\nf1():");
}

Q30) Find the output for the following C program
#include "6.c"
void print(void)
{
extern void f1(void);
f1();
}
static void f1(void)
{
printf("\n static f1().");
}

Q31) Find the output for the following C program
#include
void main(void);
static int i=50;
int print(int i);
void main(void)
{
static int i=100;
while(print(i))
{
printf("%d\n",i);
i--;
}
}
int print(int x)
{
static int i=2;
return(i--);
}

Q32) Find the output for the following C program
#include
void main(void);
typedef struct NType
{
int i;
char c;
long x;
} NewType;
void main(void)
{
NewType *c;
c=(NewType *)malloc(sizeof(NewType));
c->i=100;
c->c='C';
(*c).x=100L;
printf("(%d,%c,%4Ld)",c->i,c->c,c->x);
}

Q33) Find the output for the following C program
#include
void main(void);
const int k=100;
void main(void)
{
int a[100];
int sum=0;
for(k=0;k<100;k++)
*(a+k)=k;
sum+=a[--k];
printf("%d",sum);
}
Back to top
paper
1.const char *
char * const
What is the differnce between the above tow?.
2.In Unix inter process communication take place using?.
3.What are the files in /etc directory?.
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission
to others?.
6.About ln(linking)
7.A question on until
until (who |grep mary)
do
sleep(60)
done
8.Linking across directories?.

9.process id for kernell process
10.very first process created by kernell
11.function to repaint a window immediately?.
12.Function entry for DLL in win3.1
13.win 3.1 is a
14.win 3.1 supports which type of multi tasking?.
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file intoa process
20.About GDI object?.
21.API used to hide window
22.Initialize contents of a dialog?.
The technical comprises of 50 questions on C,Unix and windows.
The interview for us is on a later date.If the questions come for you
also,then intimate me.
Robert bosch
SECTION 1(TECHNICAL)
1. There was a figure of JK flip flop in which ~q is connected to J input and K=1. If clock signal is successively applied 6 times what is output sequence (q=?)
d) 010101
2. Frequency response of a filter is
a) Range of frequencies at which amplification of signal is employed.
b) Output voltage versus frequency (plot)
c) Filter which suppresses particular frequency

3. Gain and bandwidth of an op amp is
a) Independent of each other
b) Gain decreases as bandwidth decreases
c) Gain increases as bandwidth increases till some extent after which stability decreases

4. There was a figure of 4:1 MUX in which A and B are select lines. Inputs S0 and S1 are connected together and labeled as C where as S2 and S3 are connected together and labeled as D. Then which of the following is true?
a) Y= B+C
b) Y= A+C
c) Y= A+B
d) Y= C+D (Where Y is the output)

5. In step up transformer (or Step down… not sure) transformation ratio is 1:5. If the impedance of secondary winding is 16 ohm then what is the impedance of primary winding?
a) 80 b) 3.2

6. There was a circuit consisting of AC voltage source and one inductance. Inductance value=0.2mH (or 0.2uH or 0.2H not sure).AC voltage =150 sin (1000t).what is the current flowing in the circuit?
a) i= 7.5 sin (1000t)
b) i= -7.5 sin (1000t)
c) i= 7.5 cos (1000t)
d) i= -7.5 cos (1000t)

7. Power gain of an amplifier having i/p gain of 20W and output gain of 20mW is
a) 60 b) 25 c) 10 d) 0

8. There was a RC circuit given with AC voltage source. Expression for capacitance was asked for charging condition. Choices were somewhat like this: a) some value multiplied by exp (-t/T)
ans --c i= (Vs/R)exp(-t/ T)

9. 2’s complement of -17
ans -- 01111

10. Instrumentation amplifier is used for--------- --?
a). effective shielding
b). high resective filters
c). high common mode
d). all the above.

11. In “ON CHIP” decoding memory can be decoded to
a) 2^n b)2^n +1 c)2^n -1 d) some other choice

12. Half of address 0Xffffffff is
a) 77777777 b) 80000000 c) 7FFFFFFF d) some other choice

13. Which one of the following is used for high speed power application?
a) BJT b) MOSFET c) IGBT d) TRIAC

14. One question related with SCR rotation angle given ifring angle is 30degree
ans - 150degree

15. SCR is used for
a) To achieve optimum (or maximum ...not sure) dv/dt
b) For high current ratings
c) To achieve high voltage
d) Some other choice

16. State in which o/p collector current of transistor remains constant in spite of increase in base current is
a) Q point b) Saturation c) Cut off

17. A 16 bit monosample is used for digitization of voice. If 8 kHz is the sampling rate then the rate at
which bit is transferred is
a) 128 b) 48 c) d)

18. To use variable as recursive, variable should be used as
a) Static b) Global c) Global static d) Automatic
19. what is the resonant frequency of parrel RLC circuit of R= 4.7 komh L= 2 micro Henry and c=30pf.
a). 20.5 MHz
b). 2.65 KHz
c). 20.5 KHz
d). none
20.for the parallel circuit (one figure is given) Is= 10mA. R1= 2R, R2=3R, R3= 4R. R is artritary
a). 3.076mA
b). 3.76mA

21. main ()
{
int a=0x1234;
a=a>>12;
a=a<<12;
printf (“%x”, a);
}
What is the output?
a)1000 b) 2000 c) d) None of these

22. What does (*fun () []) (int) indicate?
ans...b). an array of pointer to a functions that an int as parameter and return int.

23. #define A 10+10
main ()
{
int a;
a=A*A;
printf (“%d”, a);
}
a) 100 b) 200 c) 120 d) 400
24. One more question related with ADC like voltage is 8 volts. freqency 2 Mega hz. what is the converssion rate

25. Question related with serial in parallel out shift register…What is output sequence?
Ans..... 1010

26. Given one RLC circuit in which values of R, L and C were given. What is the value of frequency f?

27. if (fun ())
{
X++;
}
X gets incremented if and only if
a) fun () returns 0
b) fun () return 1
c) fun () return -1
d) return a value other than 0

28. In dynamic memory
a) Power dissipation is less than that of static memory
b) Clock is needed
c) Refreshing is required
d) All the above

29. Short, int and long integers have how many bytes?
a)2,2,4 b) Machine dependant c)2,4,8 d) Some other choice

30. A (n) is -----------filter combination of
a) Passive b) Active c) AMPLIFIER d) BOOSTER

31.Mobility of electron is
a) Increases as temperature increases
b) Decreases as temp decreases
c) Independent of conductivity
d) Some other choice

32. Structure comparison is done
a). yes
b) no
c) compiler dependent
d)

33. The system in which communication occurs in both ways but not simultaneously in both ways is
a) Half simplex b) Simplex c) Half duplex d) duplex

34. main ()
{
int a=5, b=6;
int i=0;
i=a>b? a:b;
printf (“%d”, i);
}
a) 0 b) 1 c) 6 d)

35. int fun (char c)
{
int i;
static int y ;}
a) c, i are stored in stack and y stored in data segment
b)c stored in stack and i,y are stored in data segment
c) c is stored in text segment, y in data and i in stack

36. main ()
{
int *p;
short int i;
p= (char *) malloc (i*10); (code was showing error here)
p+=10;
printf (“%d”, p);
}
Value of p?

37. main ()
{
int *p,i[2]={1,2, 3};
p=i;
printf (“%d %d %d”, i [0],*p,*p+1) ;
}
38. F = A'B' + C' + D' + E' then
A) F = A+B+C+D+E
B) F= (A+B)CDE
C) F = AB(C+D+E)
D) F= AB+C+D+E
39. how would you insert pre-written code into a current program?
a) #read
b) #get
c) #include
d) #pre
40.structure may contain
a) any other structure
b) any other structure expect themselves
c) any other structure except themselves and pointed to themselves
d) none of the above
41. three boys x,y,z and three girls x,y,z... sit around a round table . but x does not want any girl sitting to him and girl y does not want any boy sitting next. how many ways can they be seated.
a) 2
b) 4
c) 6
d) 8
42. k is brother of n and x. y is the mother of n and z is is the father of k . which of the following statement is not definitely true.
a) k is the son of z.
b) y is the wife of z.
c) k is the son of y.
d) n is the brother of x.
43. find the lateral surface of a prism with a triangular base if the perimeter of the base is 34 cm. and the height is 45 cm.
a) 765 square cm.
b) 3060 square cm.
c) 1530 square cm.
d) none
44.Given a< b< c < d . what is the max ratio of given equation
a) (a+b)/(c+d)
b) (b+c)/ (a+d)
c) (c+d)/ (a+b)
d) (a+c)/ (b+d)
45. A and B starts moving from points X and Y simultaneously at a speed of 5kmph and 7kmph to a destination point which is of 27 km from points X and Y. B reaches Y earlier than A and immediately turns back and met Z. Find the distance XZ.
ans.... 22.5 km

46. Ann is shorter than Jill and Jill is taller than Tom. Which of the following inferences are true?
a) Ann is taller than Tom b) c) d) Data insufficient

47. A and B starts from same point at opposite direction. They will move 6km and take 8km left. How Far is A and B from each other?
ans ...20m

48.6440 soldiers are to be arranged in the shape of square. If 40 soldiers were kept out then the number of soldiers making each straight line is?
Ans --80

49. Sum of squares of two numbers is 404 and sum of two numbers is 22.Then product of two Numbers?
a) 20 b) 40 c) d) (Answer is 40. Two numbers are 20 and 2)

50. In an examination 4 marks are assigned for correct answer and 1 mark is deducted for wrong answer. However one student attempted all 60 questions and scored 130.Number of questions he attempted correct is?
a) 35 b) 38 c) 42 d) 35

51. Each ruby is of 0.3 kg and diamond is of 0.4 kg.Ruby costs 400 crores and diamond costs 500 crores. Ruby and diamonds have to be put into a bag. Bag cannot contain more than 12 kg.Which of the following gives maximum profit (or in terms of wealth) (In crores)
ans ...only ruby 40p
52. the cpu stack is placed in ....
a). cpu resister
b). RAM
c). ROM
d). hard disk
53). (10 | 7) would produce
a). 17
b). 3
c). 11
d). 15

ENGLISH section
fill in the blanks...... .. the answers is
61) a). impounded b). protected c). hounded d). relegated.
62).a). oblinion b). authertiory c). dejection d). deso.......
63).a). subdued b). bountiful c). tentative d). ardem.
64).a). b). esulcant c). emblerratie d). innate
65).manor -- d). n. the landed estate of a land or nobleman.
66).neologism -- c). n. giving a new meaning to an add word.
67).batten -- b). n. a narrow strip of wood.
68).tepid -- d). adj. lacking interest enhusi...., luewarm
69. discerning -- d). adj. distinguishin one thing from another, having good judgment



No comments:

Post a Comment