Next: Review questions Up: A simple C++ program Previous: Summary
Try to answer as many of the following Multi-choice questions as you can.
Do not panic if you make any errors. You can always start again by clicking on the "Restart" button, located at the bottom.
Please enter your full name :
Which of the following are valid C++ identifiers?
const
y=z
xyz123
Bill
ThisIsALongOne
Sue's
two-way
int
so_is_this_one
_amount
2ndclass
Values can be input to variables in the program using the stream
cin
cout
Comments in C++ are started with
//
{
;
Once you have completed all the questions, and are quite happy with your answers. Then click on the "Submit Answers" button.
Clicking the "Restart" button will clear all your answers, ready to re-enter them.