HCL Technologies Placement Question Papers




HCL Technologies Placement Question Papers

Filed under:

HCL Technologies Placement Question Paper

Sample Test Paper

1. How many of the integers between 25 and 45 are even?
A) 21 B) 20 C) 11 D) 10 E) 9

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

3. 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 pairs satisfies the routine EXCEPT
A) (99.10) B) (85.9) C) (50.7) D) (1.1) E) (1.0)

4. A warehouse had a square floor with are 10,000 sq. metres. 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 metres did the addition extend beyond the original building?
A) 10 B) 20 C) 50 D) 200 E) 500

5. 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:20

6. A 5 litre jug contains 4 litres of a saltwater solution that is 15 percent salt. If 1.5 litres of the solution spilts out of jug, and the jug is then filled to capacity with water, approximately what percent of the resulting solution in the jug is salt?
A).5% B) 9.5% C) 10.5% D) 12% E) 15%

7. A plane travelled K miles in the first 96 minutes 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?

8. 1. Given the following statement enum day = { jan = 1 ,feb=4, april, may} What is the value of may?
(a) 4
(b) 5
© 6
(d) 11
(e) None of the above

9. Find the output for the following C program
main()
{
int x,j,k;
j=k=6;x=2;
x=j*k;
printf("%d", x);
}

10. Find the output for the following C program
fn f(x)
{
if(x< =0)
return;
else f(x-1)+x;
}

11. Find the output for the following C program
i=20,k=0;
for(j=1;j {
k+=j<10?4:3;
}
printf("%d", k);
Ans. k=4

12. Find the output for the following C program
int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10;
i++;
}
printf("%d", i);
Ans. i=20

13. Find the output for the following C program
int x=5;
y= x&y

14. Find the output for the following C program Y=10;
if( Y++>9 && Y++!=10 && Y++>10)
{
printf("%d", Y);
else
printf("%d", Y);
}
Ans. 13

15. Find the output for the following C program 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
Ans. (a)

16. What is the sizeof(long int)
(a) 4 bytes
(b) 2 bytes
© compiler dependent
(d) 8 bytes10. Which of the function operator cannot be over loaded
(a) <=
(b) ?:
© =
(d)

17. Find the output for the following C program
main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Related Plament Papers and Companies

Lucent Technologies

Lucent Technologies Placement Question Paper The present pattern has 6 sections with each 10 questions . 1)C/C++ . 2)Java . 3)datastructures . 4)OS. 5)Networking . 6) Aptitude . 1, 2 & 3 are compulsary sections, while u can choose any two sections from 4, 5 & 6 .... All are easy questions...In c/c++...some pointer question, then error spotting...In

LCube Technologies Placement Question Papers

LCube Technologies Placement Question Papers BUT IF U FOLLOW THIS PATTTERN U WILL SURELY SUCCEED.PART A CONSISTS OF APTITUDE QUESTIONS. THESE ARE purely from r.s.aggarwal and also direct questions.if u remember the answer u can directly chose the answers.this section consists of 20 questions. the part B is quite tough.but if ur an IT guy,dont worry.most questions are from c,c++,java. "see most questions are asked from pointers only".the other questions are from microcontroller,circuit theory(only 2 ques),digital logic(very easy). they will give a program on the question paper and we should chose the output from the

Ness Technologies Placement Question Papers

Ness Technologies Placement Question Papers NESS Technolgoies Pattern 50 Questions from Aptitude........ 1 hour out of this 50 questions 10 - Analytical reasoning....... 10- Logical reasoning English.... This is tough one prepare well..... 10 - comprehensive (passage reading)...... This is tough one prepare well..... 10- simple Mathematics....... very very easy....... 10-English Grammar......I think u can do ... 60 Questions from Tech.......... 1 hour 10-Data Structures.... read about graphs, tree traversal, stacks, ques, sorting algorithms..... 10- C....they asked from Exploring C ..... so be thorough with all examples and exercises...... 10-C++ Basic Concepts...... From Balagurusamy..... 15- C++ programs.....From Balagurusamy... Concentrate more on inheritence, constructors and virtual functions..... 10- SQL Queries..... Study all basic commands

HCL Technologies Placement Question Papers

HCL Technologies Placement Question Papers 1. How many segment registers are there in the 8086 processor? a) 4 b) 6 c) 8 d) none Ans: a 2. What is the addressing mode of this instruction MOV AL, [BX]; a) direct addressing mode b) register indirect addressing mode ANS: b I am not sure of it. 3. What is the type of file system used in the CD ROM? a) VFAT B) 4) About CPU I think but answer is DMA. 5) If we double the clock speed, then? a) It increases the speed of the processor b) It increases the speed of the system bus c) both of the above D)

Ness Technologies

Ness Technologies Placement Question Paper 1.an algorithm is given on deletion and asked to find whether it is 1.queue2.stack 3.list 2.questions on graphs which sides . r ||el . 3.questions on roots and null branches. A tree containing n nodes has how many null branches. N+1 4.questions on container class. In cpp. 5.client server protocol (what r functions of client and protocol) 6. 2 tables r given and questions are askes on it. Queries r given and answers are given (u should choose the correct one). 7. query is given and 4 queries followed which would lead to the same answer as above. 8.the tales r like: region table: n north s south e

  • Resources













  • Placement Papers Archives