stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming in C++ Flashcards | StudBud
Explore
/
Programming in C++
Programming in C++
15 terms
·
StudBud Administration
·
2,005 plays
This quiz is to test the knowledge gained from today's workshop
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Which of these is a step in "Method to Programming"?
Test and debug
Ask someone to code it
Sleep some more
I don't know
2
Which of these is a step in "Method to Programming"?
Figure out the inputs and outputs!
Check the budget
Ask Daniel to code it!
Analyze Sleep Process
3
Which is the conditional statement?
I don't know
For(...)
while(...)
If...else
4
Which Loop never ends?
Loop(forever)
For(;;)
Do(something)FOREVER
While(1)
5
What does iostream mean?
iostream
a header file
ice-cream
Input/output Stream
6
What must be considered when creating a variable?
Purpose of variable
Storage for variable
Name of the variable
Data type of variable
7
Would this code run?
Yes
No
8
What is an algorithm?
Brewing some Earl Grey Tea?
Step by Step process to be followed exactly.
I don't know, just tell me.
Baking a cake?
9
What is this code doing?
Printing to the screen
Adding 0 to Hi
I don't know
Saying Hi
10
What is this conditional operator " != " doing?
I don't know
Exclaiming the equal
Negating the equal
Commanding the equal
11
Which is the conditional statement?
I don't know
do...while
switch....case
while...
12
what does this mean: "int a;"?
Initializes a variable "a"
Assigns a variable "a"
Declares a variable "a"
Calls a variable "a"
13
What is a Programming Language?
I don't know
A set of commands that human and computer can understand
14
How to write a For loop?
For(initializing; terminating; incrementing)
For(terminating; initializing; incrementing)
For(terminating; incrementing; initializing)
For(incrementing; initializing; terminating)
15
Which syntax is correct for commenting in C++
//
this is a comment
comment code
*//*