wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

St.JOSEPH'S HCL TECH PLACEMENT PRACTICE TEST-2 19/7/25 @ 7 PM

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

A: B: C is in the ratio of 3: 2: 5. How much money will C get out of Rs 1260?

a)

252

b)

125

c)

503

d)

603

2.

A: B is 1: 2; B: C is 3: 2 and C: D is 1:3. Find A: B: C: D.

a)

3: 6: 4: 12

b)

2: 3: 5: 7

c)

3: 5: 7: 6

d)

2: 1: 6: 13

3.

The ratio of the total amount distributed in all the males and females as salary is 6: 5. The ratio of the salary of each male and female is 2: 3. Find the ratio of the no. of males and females.

a)

5:9

b)

5:7

c)

7:5

d)

9:5

4.

The ratio of income of two workers A and B are 3: 4. The ratio of expenditure of A and B is 2: 3 and each saves Rs 200. Find the income of A and B.

a)

500, 600

b)

600, 800

c)

600, 900

d)

800, 1000

5.

A person covers the different distances by train, bus, and car in the ratio of 4: 3: 2. The ratio of the fair is 1: 2: 4 per km. The total expenditure as a fair is Rs 720. Find the total expenditure as fair on the train.

a)

140

b)

150

c)

160

d)

170

6.

A bag contains Rs 410 in the form of Rs 5, Rs 2, and Rs 1 coins. The number of coins is in the ratio 4: 6: 9. So, find the number of 2 Rupees coins.

a)

40

b)

50

c)

60

d)

70

7.

What is the value of (25.732)2 - (15.732)2?

a)

414.64

b)

414.256

c)

414.128

d)

414.52

8.

If 12276 /1.55 = 7920, what is the value of 122.76/15.5?

a)

7.097

b)

7.92

c)

79.2

d)

79.02

9.

Which of the following fraction sets of fractions is in descending order?

a)

3/5, 7/9, 6/7

b)

7/9, 3/5, 6/7

c)

7/9, 6/5, 3/5

d)

6/7, 7/9, 3/5

10.

In a mixture of 13 litres, the ratio of milk and water is 3 : 2. If 3 liters of this mixture is replaced by 3 liters of milk, then what will be the ratio of milk and water in the newly formed mixture?

a)

10 : 3

b)

8 : 5

c)

9 : 4

d)

1 : 1

11.

Peter is in the East of Tom and Tom is in the North of John. Mike is in the South of John then in which direction of Peter is Mike?

a)

South-East

b)

South-West

c)

South

d)

North-East

12.

Deepak placed his watch on the table in such a way that at 6 pm the hour hand points to the South. In which direction the minute hand will point at 9 pm?

a)

North

b)

West

c)

South

d)

East

13.

Tom walked 10 m towards north then turned right and walked 25 m. Then he turned right and walked 30 m. Now he turned left and walked 10 m. Finally, he turned left and walked 20 m. How far and in which direction is he from the starting point?

a)

50 m East

b)

30 m North

c)

40 m North

d)

35 m East

14.

Geeta walks 20 m towards north then she walks 12 m towards the South. Now, she walks 6 m towards east. How far and in which direction is she from the starting point?

a)

10 m North-East

b)

10 m North

c)

6 m East

d)

6 m South-West

15.

Mohan is facing north-east. He turns 90 degrees in the anticlockwise direction then he turns 135 degrees in the clockwise direction. Which direction is Mohan facing now?

East

a)

East

b)

South

c)

North

d)

West

16.

In the morning, after sunrise, Ramesh and Suresh were talking to each other face to face at Rajnigandha crossing. If Suresh's shadow was exactly to the right of Ramesh, which direction Suresh was facing?

a)

north

b)

east

c)

south

d)

data is inadequate

17.

Look at the series, 46, 44, 40, 38, 34, _, which number should come next?

a)

30

b)

36

c)

32

d)

31

18.

Find the next two numbers in the series, 16, 20, 46, 24, 28, 56, 32 _, _

a)

36, 66

b)

66, 36

c)

34, 62

d)

62, 34

19.

RQP, ONM, _, IHG, FED, find the missing letters.

a)

CDE

b)

LKI

c)

LKJ

d)

BAC

20.

Find the missing letters in the series, E3FG, _, E5FG, E6FG, E7FG.

a)

EF4G

b)

E3F4G

c)

E4FG

d)

EF3G4

21.

Which of the function is more appropriate for reading a multi-word string?

a)

puts()

b)

gets()

c)

printf()

d)

scanf()

22.

What will be the output of the below program?


#include<stdio.h>

int main()

{

char a[] = "%d\n";

a[1] = 'b';

printf(a, 65);

return 0;

}

a)

b

b)

a

c)

A

d)

65

23.

Which of the following statements are correct about string?

1.The format specifier %s is used to print a string.

2.The length of the string can be obtained by strlen().

3.The pointer cannot work on string.

4.A string is a collection of characters terminated by '\0'.

a)

1, 4

b)

1, 2, 3

c)

1, 2, 4

d)

2, 3, 4

24.

What will be the output of the below program?


#include <stdio.h>

void main()

{

char ch[10]={'h', 'e', 'l', 'l', 'o', '\0'};

char ch2[10]={'c', '\0'};

strcat(ch,ch2);

printf("Value of first string is: %s",ch);

}

a)

hello

b)

c

c)

helloc

d)

Compile error

25.

Will the program compile successfully?

#include<stdio.h>


int main()

{

char a[] = "India";

char *p = "CHINA";

a = "CHINA";

p = "India";

printf("%s %s\n", a, p);

return 0;

}

a)

YES

b)

NO

26.

Is there any difference between the two statements?

char *ch = "IndiaBIG";

char ch[] = "IndiaBIG";

a)

YES

b)

NO

27.

Which of the following statements are correct about the program below?

#include<stdio.h>


int main()

{

char str[20], *s;

printf("Enter a string\n");

scanf("%s", str);

s=str;

while(*s != '\0')

{

if(*s >= 97 && *s <= 122)

*s = *s-32;

s++;

}

printf("%s",str);

return 0;

}

a)

The code converts a string in to an integer

b)

The code converts lower case character to upper case

c)

The code converts upper case character to lower case

d)

Error in code

28.

What will be the output of the program ?

#include<stdio.h>


int main()

{

printf(5+"Good Morning\n");

return 0;

}

a)

Good Morning

b)

Good

c)

M

d)

Morning

29.

If the size of pointer is 4 bytes then What will be the output of the program ?

#include<stdio.h>


int main()

{

char *str[] = {"Frogs", "Do", "Not", "Die", "They", "Croak!"};

printf("%d, %d", sizeof(str), strlen(str[0]));

return 0;

}

a)

22, 4

b)

25, 5

c)

24, 5

d)

20, 2

30.

If the two strings are identical, then strcmp() function returns

a)

-1

b)

1

c)

0

d)

YES