stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Technology Flashcards | StudBud
Explore
/
Technology
Technology
25 terms
·
StudBud Administration
Imported from external platform
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
What does this code output? for i in range(3): print(i)
0 1 2
nothing
1 2 3
3 3 3
2
Which block makes a sprite move 10 steps?
Change size by 10
Turn 10 degrees
Go to x: 10 y: 10
Move 10 steps
3
Why do computers use binary?
It's easy for humans to read
It was invented by Python
It has more digits than decimal
Circuits understand on/off states
4
How many bits are in byte?
8
2
10
4
5
How do you make a loop in Scratch?
If-then block
Stop all block
Forever or repeat block
Wait block
6
Which category has the "say Hello!" block?
Motion
Sound
Looks
Events
7
You can create your own Sprite
False
True
8
How do you write decimal 7 in binary?
110
101
100
111
9
Which function converts a string to a integer?
float()
int()
str()
chr()
10
What does the "broadcast" block do?
Sends a message to other sprites
Deletes a sprite
Plays a sound
Changes the background
11
What is the output of "print(2 ** 3)"?
8
6
23
5
12
How do you comment a line in Python?
/ / This is a comment
<!-- This is a comment -->
/* This is a comment */
# This is a comment
13
Which operation check equality in Python?
==
!=
>=
=
14
How do you print "Hello" in Python?
printf("Hello")
print("Hello")
console.log("Hello")
echo "Hello"
15
How do you define a function in Python?
add = function(a, b) :
create add(a, b) :
def add(a, b) :
function add(a, b) :
16
What is 111 in decimal?
31
16
10
15
17
Which Python data type stores ordered, changeable elements?
String
Dictionary
List
Tuple
18
What is Python primarily used for?
Designing Scratch projects
Only making video games
Writing binary code
Web development, data science and automation
19
Whats the highest number you can represent with 4 bits?
8
15
32
16
20
What is 1010 in decimal?
10
15
20
5
21
How do you make a sprite disappear in Scratch?
hide block
delete this sprite
22
What is the binary number for decimal 3?
10
11
01
00
23
What is a "sprite" in Scratch?
A sound effect
A character or object
A background image
A type of block
24
Which of these is a binary number?
1234
Abcd
1101
11.5
25
What does the "wait 1 seconds" block do?
Resets the timer
Repeats the code 1 time
Pauses the script for 1 second
Speeds up the game