Translate This Blog

HCL Company

TOTAL TIME: 30 MINUTES

SECTION A

 

INSTRUCTIONS: FOLLOWING EACH QUESTION HAVE FIVE POSSIBLE ANSWERS LABELLED A), B), C), D), E). TICK THE BEST CHOICE

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

 

The following program accepts a pair of 2 numbers from the user of system and totals them. Numbers are accepted in pair repeatedly and totaled, until grand total of all the pair of numbers accepted does not exceed 9.

 

Step 1 : Assign value 0 to x

Step 2 : Accept 1st number and assign to A

Step 3 : Accept 2nd number and assign to B

Step 4  : Add A and B assign to C

Step 5 : Add C to X

Step 6 : If X<10>

Step 7  : Stop.

 

The error in the above routine is

 

Step 6 should be If X<9>

Step 1 is redundant

Step 4 should be Add A & B and assign to X

Step 6 should read If x<10>

Step 1 should be Assign value 0 to A & B

 

The following program finds the greatest of the three numbers A, B and C and prints the result

 

Step 1 :           If A>B 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) <1   B) 0     C) 1     D) 2     E) none of the these

Object oriented language does not exhibit the following property:

 

Structured Programming

Private variables

Inheritance

Linking at runtime

Polymorphism

 

A) I      B) II     C) III   D) IV   E) V

 

Ingress is

 

A 3GL

An operating system

A structured query language

Programming language

e)     RDBMS

 

Which of the following is not a natural member of the set

 

A) UNIX       B)OS/2  C)PICK                  D)LAN     E) VMS

           

Which of the following is not a DBMS

 

ORACLE  B) SYBASE  C) PICK  D) INFORMIX  E) UNIFY

 

LOTUS 1-2-3 is a

 

Word processing S/w

Case tool

DBMS

Laser printer

None of the above

 

SECTION B

 

INSTRUCTIONS :    EACH PROBLEM CONSISTS OF A QUESTION AND

                                    TWO STATEMENTS NUMBERED (1) AND (2), IN

                                    WHICH CERTAIN DATA ARE GIVEN, THESE ARE

                                    FOLLOWED BY FIVE OPTIONS, PLEASE TICK:

 

IF STATEMENT (1) ALONE IS SUFFICIENT, BUT STATEMENT (2) ALONE IS NOT SUFFICIENT TO ANSWER THE QUESTION ASKED.

IF STATEMENT (2) ALONE IS SUFFICIENT, BUT STATEMENT (1) ALONE IS NOT SUFFICIENT TO ANSWER THE QUESTION ASKED.

IF BOTH STATEMENT (1) AND (2) TOGETHER ARE  SUFFICIENT TO ANSWER THE QUESTION ASKED., BUT NEITHER STATEMENT ALONE IS SUFFICIENT.

IF EACH STATEMENT ALONE IS SUFFICIENT TO ANSWER THE QUESTIONS ASKED.

IF STATEMENTS (1) AND (2) TOGETHER ARE  NOT SUFFICIENT TO ANSWER THE QUESTION ASKED., AND ADDITIONAL DATA SPECIFIC TO THE PROBLEM ARE NEEDED.

 

 

 

 

 

 

 

If a rope is cut into three pieces of unequal length, what is the length, what is the length of the shortest  of  these pieces of rope ?

 

The combined length of the longer two pieces of rope is 12 metres

 

The combined length of the shorter two pieces of rope is 11 metres

 

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

 

A certain company paid bonuses of Rs.125 to each of its executive employees and Rs.75 to each of its non-executive employees. If 100 of the employees were non-executive, how many were executives?

 

The company has a total of 120 employees

 

The total amount that the company paid in bonuses to its employees was Rs.10,000

 

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

 

What fraction of his salary did Mr. Johnson put into savings last wek?

 

Last week Mr. Johnson put Rs.17 into saving.

 

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

 

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

 

Each M-type memory that will increase the base memory capacity of a certain computer by 3 megabytes. What is the base memory capacity, in megabytes, of the computer?

 

2 M-type memory units will increase the computer's base memory capacity by  300%

 

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

           

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

 

Each of 3 faces of C is entirely white.

 

 

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

 

 

 

SECTION C

 

INSTRUCTIONS:     ALL NUMBERS USED ARE REAL NUMBERS FOLLOWING

                                    EACH QUESTIN ARE FIVE POSSIBLE ANSWERS LABELED

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

 

How many of the integers between 25 and 45 are even?

 

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

 

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

 

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 pairs satisfies the routine EXCEPT

 

 

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

 

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

 

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

 

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?

 

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

 

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?

 

 

 

 

 

 

 

 

Previous
Next Post »
Post a Comment
Thanks for your comment