Edit Game
Week 7 Review
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public




Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   20  Close
Which is boolean operator for logical and ?
&&
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
Which statement is used to stop a loop?
break
Which keyword is used to return a value inside a function?
return
Which operator is used to multiply numbers?
*
How do you create a variable with the floating number 2.8?
float num=2.8;
How many types of comments are there in c++?
2 - Single line comments uses double slash //. Multiple line comments uses /* comment inside */.
What is this operator called "(....)?... : ..." ?
conditional
What is the index number of the last element of an array with 9 elements?
8
What is the output?
"Looking forward to the Weekend"
What does "continue" stand for?
The continue statement breaks one iteration (in the loop),
What does "break" stand for?
It is used to terminate the loop
What is result of this operation TRUE || FALSE?
TRUE
What does "cin" stand for?
extracts from stream; (i.e: gets input from console)
How to put multiple lines comment in c++?
/* */
How to convert binary number 11001 with size 8 Two's complement number??
11100111
What is 2 in the power of 0?
1024
How many bytes float data type can store?
4
Convert the following binary number to hex: 1010 1111 1000 0101
AF85
How is A in hex represented in binary?
1010