Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Week 7 Review
0
%
0
0
0
Back
Restart
How many types of comments are there in c++?
2 - Single line comments uses double slash //. Multiple line comments uses /* comment inside */.
Oops!
Okay!
What is the output?
"Looking forward to the Weekend"
Oops!
Okay!
How to put multiple lines comment in c++?
/* */
Oops!
Okay!
What does "cin" stand for?
extracts from stream; (i.e: gets input from console)
Oops!
Okay!
Convert the following binary number to hex: 1010 1111 1000 0101
AF85
Oops!
Okay!
How do you create a variable with the floating number 2.8?
float num=2.8;
Oops!
Okay!
What does "continue" stand for?
The continue statement breaks one iteration (in the loop),
Oops!
Okay!
What is result of this operation TRUE || FALSE?
TRUE
Oops!
Okay!
Which statement is used to stop a loop?
break
Oops!
Okay!
How many bytes float data type can store?
4
Oops!
Okay!
If m and n are int type variables, what will be the result of the expression. m%n (when m=5 and n=2)
1
Oops!
Okay!
What is this operator called "(....)?... : ..." ?
conditional
Oops!
Okay!
How is A in hex represented in binary?
1010
Oops!
Okay!
Which operator is used to multiply numbers?
*
Oops!
Okay!
What does "break" stand for?
It is used to terminate the loop
Oops!
Okay!
How to convert binary number 11001 with size 8 Two's complement number??
11100111
Oops!
Okay!
What is 2 in the power of 0?
1024
Oops!
Okay!
What is the index number of the last element of an array with 9 elements?
8
Oops!
Okay!
Which keyword is used to return a value inside a function?
return
Oops!
Okay!
Which is boolean operator for logical and ?
&&
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies