Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 40 pages
Exam (elaborations)

CS 1400 EXAM 3 QUESTIONS WITH VERIFIED ANSWERS

Document preview thumbnail
Preview 4 out of 40 pages

CS 1400 EXAM 3 QUESTIONS WITH VERIFIED ANSWERS

Content preview

CS 1400 EXAM 3 QUESTIONS WITH VERIFIED ANSWERS


Correct 48

Incorrect 00




1 of 48

Definition



-



*+ for public data



Give this one a try later!



What is the symbol to indicate private data in UML?




What is the parameter self?




What does pygame.key.get_pressed() return?

, What is the output of the following code?


color_list = [["Stop", "Strawberry", "Ruby"], ["Frog", "Broccoli", "Leaf"], ["Sky",
"Blueberry", "Ocean"]]


print(color_list[1][2])

Don't know?




2 of 48

Definition



num_list[2].append(5)



Give this one a try later!



Fill in the blanks so the program prints: Sky


color_list = [["Stop", "Strawberry", "Ruby"], ["Frog", "Broccoli", "Leaf"], ["Sky",
"Blueberry", "Ocean"]]

print(color_list[______][ ])




Code to play sound effects must appear in the same area where the screen is
updated.




Complete the code so the output is: [[ ], [ ], [5], [ ]]

num_list = [[ ], [ ], [ ], [ ]]


print(num_list)

, What is the output of the following code?

color_list = [["Stop", "Strawberry", "Ruby"], ["Frog", "Broccoli", "Leaf"], ["Sky",
"Blueberry", "Ocean"]]


print(color_list[1][2])


Don't know?




3 of 48

Definition



Type of data the variable holds



*float, int, etc.



Give this one a try later!



What is the output of the following
Why can two different objects call code?
the same method and have different
results? result = "I am Groot!".split()
print(result)




In the variable section, what is Why is a getter often necessary even
the meaning of the value or though accessing a value of a
symbol after the colon? variable doesn't change it?

, Don't know?




4 of 48

Term



What module contains the function necessary to add an image to a
program?



Give this one a try later!



image

Methods can use instance variables
stored in the specific object
*load is the method, image is
the module




['I', 'am', 'Groot!"]


It is how an object refers to itself
*by default, split separates where
there are spaces


Don't know?

Document information

Uploaded on
July 24, 2026
Number of pages
40
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(361)
Sold
2138
Followers
1448
Items
58662
Last sold
10 hours ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions