Wednesday, December 17, 2008

About Ramco Systems...

Ramco systems is a public company headquartered at Chennai, India and present worldwide with employee strength of more than 2000. The company was started in 1989 and remained as a part of Ramco industries till 1999. After 1999, Ramco systems acts as an independent company and provides Enterprise software and Information technology services. Net income of the company dropped down $5.37 million last financial year.

Annual report of Ramco Systems

Sunday, November 23, 2008

Ramco IT technical

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

-------------- OVER --------------

Ramco & CTS paper

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 1990, the population of city X was 8 million

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

Q3)Will the line y=mx+c pass through the origin?
1) x proportional to the y
2) increment in y per units rise of x is fixed.

Q3) What was the value of the machine 2 years ago?
1) The deprecation of the value of the machine per year is 10%
2) present value of the machine is rs 8000/

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

Q6) 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 ton. Expenditure made by the port to handle one ton of cargo Rs.20/-
2) 1988 - Total tonnage handled by the port 12.5 million ton. Expenditure made by the port to handle one ton of cargo Rs 25/-

Q7) There are two figures viz., a circle and a square. Which has 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.

Q8) 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 candidate’s height is 5.5
2) His present weight is 55Kg.

Q9) Is angle U=90
1) sin**2(U)+cos**2(U)=1
2) sin**2(U)-+cos**2(U)=1

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

Q11) Can it be concluded that forestry 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)

Q12) Is AB>AM (A Triangle is given)
1) AB<1><>

Q14) 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.

Q15) If all the 6 are replaced by 9, then the algebraic sum of all the numbers from 1 to 100(both inclusive) varies by

Q16) The total no. of numbers that are divisible by 2 or 3 between 100 and 200(both inclusive) are

Q17) From a pack of cards Jack, Queen, King & ace are removed. Then the algebraic sum of rest of the cards is

Q18) The average temperature of days from Monday to Wednesday is 37 degree Celsius and that of from Tuesday to Thursday is 34 degrees. The temperature of Thursday is 4/5th of Monday. Then the temperature of Thursday is

Q19)Swetha, Tina, Uma and Vidya are playing a gambling. In this different people lose in different games-in the reverse alphabetical order. The rule is that if one loses she should double the amount of others. At the end of 4th game each of them have same amount of money (Rs.32). Which one of them started with the least amount?

Q20) Which one of them started with the largest amount of money?

Q21) At the end of the 2nd game what is the amount of money with uma?

Q22) A cube of 12 mm is painted on all its side. If it is made up of small cubes of size 3mm and the big cube is splitted into those small cubes, the number of cubes that remain unpainted is

23) Two discounts in series 20%,15%, then in single discount ?

Q24) B is 50% faster than A. If A starts at 9 A.M. and B starts at 10 A.M. A travels at a speed of 50 km/hr. If A and B are 300 kms apart, The time when they meet when they travel in opposite direction is

Q25) You are having 31kg of rice. You are provided with a 1kg stone for weighing. In how many weights the 31kg of rice can be weighed.

Q26) Diameter of the circle is 4cm. The shaded part is 1/3 of the square area. What is the side of the square?

Q27) The ratio of white balls and black balls is 1:2. If 9 gray balls is added it becomes 2:4:3. Then what is number of black balls.

Q28) The ratio of the ages of the father and the son is 5:3, After 10 years it will be in the ratio 3:2. What will be their ages?

Q29) Which of the following is least like the others?
A. cube
B. sphere
C. pyramid
D. circle

Q30) Consider a language which uses the following set of characters:
Small set: {a b c}
Large set: {A B C}
Punctuation set: {x y}
This language must follow the following rules:
1. A punctuation character must end all series.
2. A series can have up to but no more than 4 characters, including punctuation characters.

Does the following series follow all the rules of the language defined above?
axBy
A. Yes
B. No
C. Data insufficient

Q33) Consider the following flow chart for a customer:


The person in No.1 is:
A. Married, with children
B. Married, with at least one son
C. Unmarried, with at least one daughter
D. Unmarried, with at least one son
E. Unmarried, with no children
(34-37) A port has four berths W, V, X, Y. Of these two are general cargo berth, one is a fertilizer 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 fertilizer and did not have to wait. All are specialized berths i.e. general cargo vessel has to work only in a general cargo berth. So is true for fertilizer vessel and liquid cargo vessel.

Q34) The vessel E should be allotted to the berth.

Q35) Which of the following berth can accept a vessel carrying liquid cargo--W, V, X, Y

Q36) Which of the following is not a general cargo vessel--A ,B, C, D, E

Q37) Total number of general cargo vessels mentioned in the above description is

Q38) (I) Exterior angle of hexagon
(II) Interior angle of pentagon
(a) Both are equal
(b) I is greater
(c) II is greater

Q39) Three types of tea a, b, c costs Rs. 95/kg, 100/kg and70/kg respectively. How many kg of each should be blended to produce 100 kg of mixture worth Rs.90/kg, given that the quantities of band c are equal?
a)70,15,15
b)50,25,25
c)60,20,20
d)40,30,30

Q40) There are 600 tennis players 4% wear wrist band on one wrist Of the remaining, 25% wear wrist bands on both hands How many players don't wear a wrist band?