Font size
WorksheetsY10 GCSE Autumn_Python_Hardware
Total questions: 85
Worksheet time: 3575secs
A: 3 GHz Quad Core CPU
B: 3 GHz Duel Core CPU
Binary data is written as
all number between 0 and 9
0 and 1 digits only
text only, no special charachters
images
The CPU fetches instructions from.... and executes those instructions.
Memory
ALU
ROM
Input Device
print(Hello world!)
print("Hello world!")
Print("Hello world!")
print("Hello" + "world" + "today")
print("Hello world!\nHello world!")
Hello world!
name = 'Dave'
print (name)
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
¿que se escribe para crear un flotador?
numberInt = 123,45678
flotar (numberInt)
numberIf = 123,45678
flotar (numberIf)
numbercout = 7852,66556
flotar (numbercout)
numberprintf = 678,89632
flotar (numberprintf)
Which line number contains an output statement?
1
2
3
4
5
Which line number contains variable assignment?
1
2
3
4
5
Which line number asks the user to type?
1
2
3
4
5
Which line begins a selection statement?
1
2
3
4
5
Which lines use variable assignment?
1 and 2
3 and 4
5 and 6
1 and 3
3 and 5
Which is the variable that has is a string data type?
pwd
pwd_OK
len
while
1 == 1
'christmas'.upper() will produce what?
'CHRISTMAS'
'Christmas'
True
False
'christmas'[1] will produce what?
'C'
'c'
'h'
presents
'xmas'.upper() will produce what?
'CHRISTMAS'
False
True
'XMAS'
Ako je a=5 i b=3 što će program ispisati nakon izvođenja naredbe PRINT(a+b)
3
5
8
0
