WorksheetsMINDZONE-2.3
Total questions: 10
Worksheet time: 3mins
Choose the correct meaning of IDIOM/PHRASE
"Let us admit that we cannot heap coles of fire on his head"
Agitate him
Put him to shame
Make him feel sorry by returning good for evil
Burn him alive
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));
}
333
444
000
Garbage Value
433
Find the correct one word substitute for
"Words inscribed on tomb"
Epitaph
Epistle
Epitome
Epilogue
Which command is used to skip the rest of a loop and carry on from the top of the loop again?
None of these
continue
skip
break
resume
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
What is wrong in the following statement , provided k is a variable of type int ?
for(k = 2, k<=12,k++)
The increment should always be ++k
There should be a semicolon at the end of the statement
The variable k can’t be initialized
The commas should be semicolons
The variable must always be the letter i when using a for loop
THRUST:SPEAR :: ___________
fence:epee
mangle:iron
bow:arrow
scabbard:sword
An expression contains relational, assign. meant and arithmetic operators. If parenthesis are not present, the order will be
Arithmetic, relational, assignment
Assignment, arithmetic, relational
Relational, arithmetic, assignment
Assignment, relational, arithmetic
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.
only x
x and z
z and y
only w
Only y
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
abc
Garbage
abcd
efg
