stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
c++ Programming loops functions Flashcards | StudBud
Explore
/
c++ Programming loops functions
c++ Programming loops functions
13 terms
·
StudBud Administration
·
24 plays
Test your knowledge on fundamental concepts of Python programming
Flashcards
13 cards
F
Practice quiz
P
Host live
L
Questions
13
Answers
1
What is a parameter?
Function input
Function body
Function output
Function name
2
Which function returns an integer?
float
char
void
int
3
What does 'continue' do?
Skips iteration
Starts loop
Exits loop
Pauses loop
4
What does 'break' do?
Exits loop
Pauses loop
Repeats loop
Starts loop
5
Which keyword defines a function?
loop
return
int
void
6
What is a nested loop?
Function inside function
Loop inside function
Loop inside loop
Function inside loop
7
True or false: Functions can return values
False
True
8
Which function returns nothing?
int
void
char
float
9
Which loop is best for unknown iterations?
do-while loop
while loop
for loop
nested loop
10
What is an infinite loop?
Runs once
Never ends
Runs thrice
Runs twice
11
What is a loop?
Handles errors
Defines a function
Stores data
Repeats code
12
Which keyword ends a function?
exit
return
continue
break
13
Which loop runs at least once?
infinite loop
do-while loop
for loop
while loop