1. Home
  2. Daily quiz
  3. Computer Science MCQs

Computer Science MCQs daily quiz

Ten fresh MCQs, the same for everyone today. Pick an answer for each question, see your score and challenge your friends.

1 December 2026 10 questions about 5 minutes Next quiz in —

Choose your quiz

Now playing: Computer Science MCQs 45 subjects have their own daily quiz

Topics in this quiz

9 topics
Score0 / 10
Answered0 / 10

Which HTML element is used to define a variable in a mathematical or programming context?

  1. <var> Correct answer
  2. <variable>
  3. <math>
  4. <value>
MCQSEXAM Read explanation

What goes wrong when the macro #define SQ(x) ((x)*(x)) is invoked as SQ(i++)?

  1. The extra parentheses force a temporary object, so the postfix increment is discarded
  2. The preprocessor evaluates i++ once and then passes the resulting value twice
  3. The argument is substituted twice, so i is incremented twice in one expression Correct answer
  4. The macro expands into a full statement, so it cannot legally appear inside an expression
MCQSEXAM Read explanation

Computer Science MCQs topics

24 topics. Open one to practise all of its MCQs.