CS-1400 FINAL QUESTIONS WITH VERIFIED ANSWERS
Correct 95
Incorrect 00
1 of 95
Term
Mark all that are possible ways to save the return value from a function.
You may assume that all identifiers used have been created properly.
Responses
Give this one a try later!
my_list.append(multiply(5))
result = multiply(30)
my_obj.num = multiply(30)
my_list[3] = multiply(20)
my_string.upper()
a) To tie the users view of the meaning of something with the computer's view
b) It is easier to manipulate numbers (like figuring out what the next month is) than it
, is to manipulate strings.
c) Allows us to convert a number to a word with meaning
a) Mark all that are true about why it is important to control data.
b) It ensures that our calculations are done on ranges of data that are valid under
the specific circumstances.
Don't know?
2 of 95
Definition
-
Give this one a try later!
What module in pygame should one What is the main difference between
use to draw a circle? an animation and a game?
What is the output of the following
program?
def change
What is the symbol to indicate
(val): val[0] = 20
private data in UML?
num = [10]
change(num)
print(num)
Don't know?
3 of 95
,Term
What are the three main parts of creating an animation in drawly?
Give this one a try later!
[20, 30, 40] distance formula
display, update, setup a list of booleans
Don't know?
4 of 95
Definition
a) Mark all that are true about why it is important to control data.
b) It ensures that our calculations are done on ranges of data that are
valid under the specific circumstances.
Give this one a try later!
Mark all that are valid import
Mark all of the following that are true
statements to use a module. You may
about classes and objects.
assume that all names used are valid.
, Mark all that could possibly be true
about the following code. Mark all that are true about why
good_stuff("apple", thing="ball", it is important to control data.
other="shoe")
Don't know?
5 of 95
Term
What is the name of the function that allows you to add an image to
the screen?
Give this one a try later!
pygame.mouse.get_pos() Leaf
.(dot) blit()
Don't know?
6 of 95
Definition
52
Give this one a try later!
Correct 95
Incorrect 00
1 of 95
Term
Mark all that are possible ways to save the return value from a function.
You may assume that all identifiers used have been created properly.
Responses
Give this one a try later!
my_list.append(multiply(5))
result = multiply(30)
my_obj.num = multiply(30)
my_list[3] = multiply(20)
my_string.upper()
a) To tie the users view of the meaning of something with the computer's view
b) It is easier to manipulate numbers (like figuring out what the next month is) than it
, is to manipulate strings.
c) Allows us to convert a number to a word with meaning
a) Mark all that are true about why it is important to control data.
b) It ensures that our calculations are done on ranges of data that are valid under
the specific circumstances.
Don't know?
2 of 95
Definition
-
Give this one a try later!
What module in pygame should one What is the main difference between
use to draw a circle? an animation and a game?
What is the output of the following
program?
def change
What is the symbol to indicate
(val): val[0] = 20
private data in UML?
num = [10]
change(num)
print(num)
Don't know?
3 of 95
,Term
What are the three main parts of creating an animation in drawly?
Give this one a try later!
[20, 30, 40] distance formula
display, update, setup a list of booleans
Don't know?
4 of 95
Definition
a) Mark all that are true about why it is important to control data.
b) It ensures that our calculations are done on ranges of data that are
valid under the specific circumstances.
Give this one a try later!
Mark all that are valid import
Mark all of the following that are true
statements to use a module. You may
about classes and objects.
assume that all names used are valid.
, Mark all that could possibly be true
about the following code. Mark all that are true about why
good_stuff("apple", thing="ball", it is important to control data.
other="shoe")
Don't know?
5 of 95
Term
What is the name of the function that allows you to add an image to
the screen?
Give this one a try later!
pygame.mouse.get_pos() Leaf
.(dot) blit()
Don't know?
6 of 95
Definition
52
Give this one a try later!