MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
C#
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
An ____________ is an object that encapsulates information about an unusual program occurrence
Exception
try
catch
finally
Q.2
Which of the following cannot be a structure member?
Another structure
Function
Array
None of the mentioned
Q.3
When does the code block following while(x<execute?
When x is less than one hundred
When x is greater than one hundred
When x is equal to one hundred
while it wishes
Q.4
Int main(){ int a =b = a = b++ + a++; b = ++b + ++a; printf("%d %d n", a, b);}
36 64
35 62
36 63
30 28
Q.5
Fill in the blanks to display the result of the multiplication of x and y.int x = 42;int y = 7;int z = x __ y;Console.WriteLine( __ );
*.....z
mul........z
*......y
-.......x
Q.6
Is the syntax for the following C statement correct?:scanf("%d", input);
True
False
Q.7
Which of the following is not logical operator?
&
&&
||
!
Q.8
Input/output function prototypes and macros are defined in which header file?
conio.h
stdlib.h
stdio.h
dos.h
Q.9
What punctuation is used to signal the beginning and end of code blocks?
{ }
-> and <-
BEGIN and END
( and )
Q.10
What is the default return type if it is not specified in function definition?
void
int
double
short int
Q.11
A : Hi you look so happy todayB : Yes, sureA : Spill the tea pleaseB : I won the writing contest Competition !A : Wow... B : Thanks
You still have to learn more
Congrats, that's awesome
Not bad
It was nothing
Q.12
Which type of variables can have the same name in a different function?
Global variables
Static variables
Function arguments
Both static variables and Function arguments
Q.13
#include statement must be written __________
Before main()
Before any scanf() / printf()
After main()
It can be written anywhere
Q.14
The format identifier ‘%i’ is also used for _____ data type.
char
int
float
double
Q.15
The following are the expressions of congratulating, except
Congratulations!
I congratulate you on your success
I'm sorry to hear that
Well done, congrats!
Q.16
Ben : Yes, I think so (1)Ann : They look so cute (2)Ben : Oh my God! So many puppies, where did you get them? (3)Ann : I got them from the animal shelter. (4)Please put the sentences in the right order to make a good dialogue!
1-2-3-4
3-4-1-2
3-4-2-1
4-3-21
Q.17
Situation : You meet your friend at school with her new hair style.The correct sentence to compliment her is ...
What a great day
That's very nice. Where did you borrow it?
Your hair looks gorgeous
Your hair looks terrible.
Q.18
If you want to compliment someone because he won a singing contest, what will you say?
Happy birthday to you
Congratulation
Happy for you
You have a powerful voice, you deserve to be the winner!
Q.19
These are the expressions of responding compliment, except ...
Thank you
It's very kind of you to say that
I'm happy you like it
You look dashing!
Q.20
Which following statement is true?
Congratulation is the feeling of being grateful
Congratulation is an arrangement, a promise
Congratulation is something that you say or do to greet
Congratulation is the act of expressing joy or acknowledgement, as for achievement
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page