CS253 IQ 01
Show Main.IQ01 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.
Will the answers be available for study?
- Yes, Jack will publish separate answers.
- No, so pay attention during the quizzes.
How should the instructor be addressed?
- “Jack”
- “Dr. Applin”
- “Mr. Applin”
- “Professor Applin”
- “Instructor Applin”
- “Bonehead”
- “Your Vegetarian Eminence”
What day do we have these quizzes?
- Always on Tuesday
- Always on Wednesday
- Always on Thursday
- Always on Friday
- 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++2003
- C++2011
- C++2014
- C++2017
- C++2020 🚀
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[])