stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CSE EOC Prep Flashcards | StudBud
Explore
/
CSE EOC Prep
CSE EOC Prep
22 terms
·
StudBud Administration
·
108 plays
Imported from external platform
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
What will be printed when this Python algorithm is executed?
20
2
8
16
2
Optimize a small amount of code for a specific computer architecture
high-level like Python or Java
graphical high-level like Scratch
Low-level like assembly or machine code
3
If the following code is executed, what is the output?
list
tuple
str
float
4
Which statement best describes abstraction?
skips over details, useful when writing pseudocode.
eliminates details, easier to read & write code
eliminates details, difficult to read and write code.
skips over details, useful forexplaining code to the client.
5
Creating a production-quality software suite
graphical high-level like Scratch
high-level like Python or Java
low-level like assembly or machine code
6
Why has computing affected the copyright of digital music?
Artists can distribute their music over Internet
People can produce pro-quality music w/recording software.
Music can be copied many times with no decrease in quality.
Can access music from small independent artists via Internet
7
Which of the following cannot be represented with zeros and ones?
the number pi
music
the number 15 trillion
a map of New York City
8
If the following code is executed, what is the output?
tuple
int
list
bool
9
If the following code is executed, what is the output?
bool
str
an error
list
10
Which is the correct binary representation of the decimal number 12 using exactly one byte?
100011
00001100
001100
00100011
11
If the following code is executed, what is the output?
bool
int
tuple
str
12
For the next 3 questions, which level of abstraction matches the task? Learn basic programming
low-level lang - assembly or machine code
high-level language like Python or Java
grpahical language like Scratch
13
Packets sent over the Internet are always addressed using which of the following information?
TCP sequence numbers
HTTP URLs
IP Addresses
DNS domain names
14
If the following code is executed, what is the output?
list
str
tuple
bool
15
If the following code is executed, what is the output?
float
str
list
int
16
Empty question
Empty choice
Empty choice
17
If the following code is executed, what is the output?
float
list
int
str
18
If the following code is executed, what is the output?
list
an error
float
str
19
What information is most likely to be provided in the API of a library of object-oriented code?
Examples of how to use objects in the library
list of objects and orientations in the library
The methods and attributes of classes defined in the library
Tutorials to learn how to use the library
20
Which description best matches this statement?
Multiply the set_volume attribute of the object radio by 5.
Call the method set_volume() on the object radio.
Call the method set_volume() on the object radio.
21
Which variable is acting as a one-way flag?
score
tries
total
got_an_A
22
If the following code is executed, what is the output?
an error
bool
float
str