wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

InfoMeraki2020

Total questions: 39

Worksheet time: 41mins

Name
Class
Date
1.

Y has to score 40% marks to pass. He gets 20 marks and fails by 40 marks. The maximum marks of the exam are?

a)

100

b)

200

c)

150

d)

250

2.

Which of the following two ratios is greater 17:18 and 10:11?

a)

17:18

b)

10:11

c)

Both Are Same

d)

Cannot Determine

3.

A man got Rs. 130 less, as simple interest, when he invested Rs. 2000 for 4 years as compared to investing Rs. 2250 for same duration. What is the rate of interest?

a)

12%

b)

13%

c)

12.5%

d)

10.50%

4.

Amit covers a distance at a speed of 24 km/hr in 6 min. If he wants to cover the same distance in 8 min, what should be his speed?

a)

18 km/hr

b)

21 km/hr

c)

30 km/hr

d)

15 km/hr

5.

Ram is three times as old as his Sam. 2 years ago he was five times as old as Sam. What is the present age of Ram?

a)

12 Years

b)

14 Years

c)

18 Years

d)

24 Years

6.

If a:b = 5:7 and c:d = 2a:3b, then ac : bd is

a)

20:38

b)

50:147

c)

10:21

d)

50:151

7.

A and B can finish a piece of work in 30 days, B and C can finish it in 15 days, C and A in 10 days. Time taken by them together to do this work is?

a)

5 Days

b)

2(1/2) Days

c)

7(1/2) Days

d)

10 Days

8.

If the areas of the three adjacent faces of a cuboidal box are 120cm2, 72cm2 and 60cm2 respectively, find the volume of the box.

a)

7200 cm3

b)

720 cm3

c)

864 cm3

d)

(72)2 cm3

9.

The L.C.M. of two numbers is 14560 and their H.C.F. is 13. If one of them is 416, the other is

a)

460

b)

455

c)

450

d)

445

10.

What is the least number which when divided by the numbers 3, 5, 6, 8, 10 and 12 leaves in each case a remainder 2 but which when divided by 13 leaves no remainder?

a)

312

b)

962

c)

1586

d)

1562

11.

Which of the following has a global scope in the program?

a)

Formal Parameters

b)

Macros

c)

Constants

d)

Local Variables

12.

What is Output of following Code?

int main()

{

int array[10] = {3, 0, 8, 1, 12, 8, 9, 2, 13, 10};

int x, y, z;

x = ++array[2];

y = array[2]++;

z = array[x++];

printf("%d %d %d", x, y, z);

return 0;

}

a)

10 9 10

b)

9 10 9

c)

9 9 10

d)

None Of The Above

13.

In the declaration given below, what is “array”?


int array[20];

a)

Keyword

b)

Identifier

c)

Literal

d)

Operator

14.

Which of the following statements is true about structures and unions?

a)

It is necessary for all the element sizes of the union to be the same

b)

The structure variable is of auto storage class by default

c)

An array of bit fields are available in both structures and unions

d)

The elements of a union are always accessed with the help of ‘&’ operator

15.

What is output of the following Code?

struct DataFlair

{

int a;

float b;

char array[20];

}d;

int main()

{

printf("%ld", sizeof(struct DataFlair));

return 0;

}

a)

20

b)

26

c)

28

d)

29

16.

Out of the following declarations, which one is invalid?

a)

short a = 10;

b)

unsigned short b = 20;

c)

long double c = 30;

d)

long short d = 40;

17.

What is the range of double data type for a 16-bit compiler?

a)

-1.7e-328 to +1.7e-328

b)

-1.7e-348 to +1.7e-348

c)

-1.7e-308 to +1.7e-308

d)

-1.7e-328 to +1.7e-328

18.

What is output of the Following Code?

int main()

{

unsigned int a = -1;

int b = ~0;

int result;

if (b == a)

printf("equal");

else

printf("unequal");

return 0;

}

a)

Equal

b)

Unequal

c)

0

d)

Compiler Error

19.

Which operator is used to check if a particular bit is on or off?

a)

&

b)

|

c)

!

d)

||

20.

What is the most preferred function to read a string in C?

a)

scanf()

b)

gets()

c)

fgets

d)

strcpy()

21.

What is the value of this expression?2**2**3**1 ?

a)

12

b)

64

c)

128

d)

256

22.

Give the output.

a)

Scholar

b)

Topper

c)

Teacher

d)

Nobody Topped

23.

Give output of the following.

a)

77

b)

154

c)

11858

d)

23716

24.

How many stars does this program output?

a)

1

b)

2

c)

3

d)

4

25.

How will you not create a dictionary?

a)

d = {'milk': 50, 'celery': 40}

b)

d = dict(milk=50, celery=40)

c)

d = dict([ ('milk', 50), ('celery', 40) ])

d)

d = { ('milk', 50), ('celery', 40) }

26.

In this list, how will you access the letter ‘t’ in ‘bat’?

a)

list[1, 2, 1, 2]

b)

list[2][1][2]

c)

list[1][2][1][2]

d)

list[1][2][1]

27.

What is the value of y?

a)

2

b)

5

c)

6

d)

This code raises an Exception

28.

What is the output of the following code?

a)

*

b)

**

c)

***

d)

****

29.

Polymorphism is when a subclass can modify the behavior of its superclass.

a)

False

b)

True

c)

Depends on the contents of the class

d)

None Of the Above

30.

Answer the questions 31-34 based on this

a)

Bmw

b)

Bentley

c)

Bugatti

d)

Bristol

e)

None of these

31.
a)

Buick

b)

Bentley

c)

Bugatti

d)

Bmw

e)

None of these

32.
a)

Ratlam

b)

Raipur

c)

Raniganj

d)

Rajkot

33.
a)

Manoj-raipur-bmw

b)

Vinod-ranchi-brooke

c)

Rajiv-raniganj-bristol

d)

Ankur-ratlam-buick

e)

None of theee

34.

Answer the next 35-38 questions based on this

a)

Q

b)

R

c)

U

d)

V

e)

Can not be determined

35.
a)

Immediate left

b)

Second to the left

c)

Immediate right

d)

Third to the right

e)

None of these

36.
a)

Q

b)

R

c)

U

d)

P

e)

Cannot be determined

37.
a)

Round 112

b)

Round 147

c)

Round 84

d)

Round 98

e)

Round 179

38.
a)

If only assumption 1 is implicit

b)

If only assumption 2 is implicit

c)

If either 1 or 2 is implicit

d)

If niether 1 or 2 is implicit

e)

If both 1 and 2 are implicit

39.
a)

5798

b)

5776

c)

4670

d)

5274