Font size
WorksheetsYr9_4-in-1-revision
Total questions: 100
Worksheet time: 59mins
128, 64, ___ , 16, 8, 4, 2, 1
Why do we need to convert all data into BINARY format for computer to process?
It is nice
Computers can only understand binary format , i.e. 0s and 1s
Computers are strange
Computers use transistors to detect on/off for 1s / 0s
print("Hello world!")
print("3+4")
print(3+4)
print("3*4+5")
print(9/3*2+4-5)
+ operator represents s = "programming rocks"
print(len(s))
s = "python rocks"
print(s[-3])
cheer = "Go Eagles!"
print cheer[5:8]
ss = "Hola, friend"
print(ss.upper())
When digitizing sound, what is the sample rate measured in?
BPS
Hz
The number of bits used in each sample
Sample Rate
Bit Rate
Bit depth
How many tones are available with a Bit Depth (or sample size) of 4?
2
16
65000
17 million
What is the correct equation to calculate the size of a sound file in bits?
Size = time(s) x sample rate(hz) x sample size (bits) x channels
Size = time(s) x sample rate(hz) x sample resolution(bytes)
Size = time(s) x sample rate(Mhz) x sample resolution(bits)
Size = time(mins) x sample rate(hz) x sample resolution(bits)
What is the calculation to work out how many bits a bitmap is?
height * width * colour depth
height / width * colour depth
height - width + colour depth
height * width / colour depth
A bitmap image is 20 pixels high and 5 pixels wide, with a colour depth of 2 bits. How many bits is this image?
200 bits
100 bits
500 bits
150 bits
101
101
010
110011
110011
001100
010001
010001
000100
000100
000100
010001
The characters available on your computer
Bit Depth
Binary
Data
Character set
The characters available on your computer
Bit Depth
Binary
Data
Character set
Bitmaps use what?
boxes
pixels
paths
crayons
How many bits was used to encode the original ASCII character set?
7
8
16
4
What is the ASCII code for A?
51
41
61
65
The Extended ASCII system uses 8 bits per character instead of 7 bits. How many different characters can be represented in 8 bits?
1024
8
128
256
If 01000001 (65) is the ASCII code for the letter 'A' what is the binary code for 'E'?
01000011
01000101
01000110
01000111
FOR loop (choose 4)
is one kind of iteration in programming.
is also known as "counter controlled" loop.
is for iterations when the number of repetition is known.
is different from WHILE loop.
not sure
Iteration means (choose 2)
repetition
looping
selection of routes
decision making based on conditions
none of these
FOR loop has (choose 4)
a begin condition
an exit condition
a counter
a stepper
a code block for execution.
