Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MINDZONE-2.3

Total questions: 10

Worksheet time: 3mins

Name
Class
Date
1.

Choose the correct meaning of IDIOM/PHRASE

"Let us admit that we cannot heap coles of fire on his head"

a)

Agitate him

b)

Put him to shame

c)

Make him feel sorry by returning good for evil

d)

Burn him alive

2.

What will be the output of the following code?

#include<stdio.h>

void main()

{

int i =3 , *j , **k;

j=*i;

k=*j;

printf("%d%d%d", *j , **k , *(*k));

}

a)

333

b)

444

c)

000

d)

Garbage Value

e)

433

3.

Find the correct one word substitute for

"Words inscribed on tomb"

a)

Epitaph

b)

Epistle

c)

Epitome

d)

Epilogue

4.

Which command is used to skip the rest of a loop and carry on from the top of the loop again?

a)

None of these

b)

continue

c)

skip

d)

break

e)

resume

5.

Find the correct order of sentences :

He said

A : here is the cat

B : throughout the night

C : which had been paying havoc with things

D : that ate the rat

a)

ADBC

b)

BCAD

c)

ADCB

d)

BACD

6.

What is wrong in the following statement , provided k is a variable of type int ?

for(k = 2, k<=12,k++)

a)

The increment should always be ++k

b)

There should be a semicolon at the end of the statement

c)

The variable k can’t be initialized

d)

The commas should be semicolons

e)

The variable must always be the letter i when using a for loop

7.

THRUST:SPEAR :: ___________

a)

fence:epee

b)

mangle:iron

c)

bow:arrow

d)

scabbard:sword

8.

An expression contains relational, assign. meant and arithmetic operators. If parenthesis are not present, the order will be

a)

Arithmetic, relational, assignment

b)

Assignment, arithmetic, relational

c)

Relational, arithmetic, assignment

d)

Assignment, relational, arithmetic

9.

Identify the incorrect sentence/s

w - But he was forced to give off teaching due to ill health.

x - Jack Will , our Maths teacher , had special qualities.

y - We all loved and respected him for he was an excellent teacher.

z - You could hear a pin drop in his classroom.

a)

only x

b)

x and z

c)

z and y

d)

only w

e)

Only y

10.

main()  

{  

   char x [10], *ptr = x;  

  scanf ("%s", x);  

  change(&x[4]);  

}  

 change(char a[])  

 {  

   puts(a);  

 }  

If abcdefg is the input, the output will be

a)

abc

b)

Garbage

c)

abcd

d)

efg