CS253 IQ 01
See this page as a slide show
How are these quizzes scored?
- Each question is worth one point.
- Each question is worth two points.
- Each point is worth two questions.
- Each quiz is worth one point.
- Each quiz is worth one half point.
Is collaboration allowed on these quizzes?
- Yes.
- No.
- It’s not “collaboration”—it’s “sharing”.
Is collaboration allowed on homework?
- No.
- Not at all.
- Absolutely not.
- It is forbidden.
- No way.
- Yes!
Will these quizzes be available for study?
- Yes, which is really convenient.
- Yes, so I don’t have to note the important topics.
- Yes, because he’s a swell guy!
- No, because, well, …, Jack.
How should the instructor be addressed?
- “Jack”
- “Dr. Applin”
- “Mr. Applin”
- “Professor Applin”
- “Hey, you!”
- “Bonehead”
- “Your Vegetarian Eminence”
What is the TA’s name?
- Indica
- Kush
- Mary Jane
- Sativa
- Hemp
What day do we have these quizzes?
- always on Tuesday
- always on Thursday
- none of the above
Is C++ backward-compatible with C?
- No.
- A little bit.
- Mostly.
- Yes.
Versions
Which version of C++ does this class focus upon?
- C++1998
- C++2003
- C++2011
- C++2014
- C++2017
Warnings
Which enables all g++ compiler warnings?
g++ -Wall
filename.cc
g++ -Wall -Wextra
filename.cc
g++ -Wall -Wextra -Wpedantic
filename.cc
g++ -Weverything
filename.cc
- none of the above
Size
When the code on the right is executed,
which output will be guaranteed by the C++ standard?
2
4
32
4294967295
- none of the above
What’s a valid declaration for main
?
int main(int argc, char *argv)
public static void main(String[] args)
void main(int argc, char **argv)
void main(string argv[])
int main(int argc, char *argv[])