# HCL Papers: Sample Questions 12 - 14 of 57

Examrace Placement Series prepares you for the toughest placement exams to top companies.

## Question number: 12

### Write in Short

Find the number which when multiplied with one less than it results into a number that is 4 lesser than its square.

### Explanation

• Let the required number be x.
• When x is multiplied with one less than it, results into a number that is 4 lesser than its square.
• Converting this statement into equation form,

• The required number is 4.

## Question number: 13

### Write in Short

Average age of A and B is 18, while average age of A, B and C is 22. What is the present age of C?

### Explanation

• Average age of A and B is 18.

• Total age of A and B is 36 years.
• Average age of A, B and C is 22.

• Substituting the value of A + B in A + B + C,

• Present age of C is 30 years.

## Question number: 14

MCQ▾

### Question

The type of the controlling expression of a switch statement cannot be of the type

### Choices

Choice (4) Response

a.

float

b.

int

c.

char

d.

short