wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y10 GCSE Autumn_Python_Hardware

Total questions: 85

Worksheet time: 3575secs

Name
Class
Date
1.
The physical, tangible parts of a computer system is the...
a)
Tower Casing
b)
Monitor
c)
Keyboard
d)
Hardware
2.
This is an image of what type of hardware?
a)
USB Port
b)
Portable Storage
c)
Hardware
d)
USB Cable
3.
This is an image of what type of hardware?
a)
tower casing
b)
printer
c)
computer
d)
monitor
4.
What is the purpose of the CPU?
a)
To process all the data and instructions.
b)
To turn the computer on.
c)
To create PowerPoint presentations.
d)
To provide power to the computer.
5.
What is the main function of the CPU?
a)
To carry out processing of the data.
b)
To help with playing games.
c)
To fetch instructions from memory, decode them and execute the instructions.
d)
To heat up the computer.
6.
What is the job of the control unit?
a)
It carries out calculations
b)
It stores information.
c)
It does nothing.
d)
It controls the input and output of data to make sure that it gets to the right place.
7.
What are the two other parts of the CPU that you learned?
a)
RAM & ROM
b)
Hard Drive & Motherboard
c)
The ALU and Cache
8.
Which level of cache is the fastest but has the smallest capacity?
a)
Level 1
b)
Level 2
c)
Level 3
d)
Level 4
9.
What are registers used for?
a)
To check that students are in school.
b)
To temporarily hold bits of data needed by the CPU.
c)
To make sure that the CPU runs properly.
d)
To make the CPU faster.
10.
What happens at the Decode step of the fetch-decode-execute cycle?
a)
The CPU makes sense of the instructions.
b)
The CPU fetches the information from RAM.
c)
The instructions are executed.
11.
What does CPU stand for?
a)
Control Processing Unit
b)
Central Processing Unit
c)
Central Power Unit
d)
Center Power Unit
12.
What is the program counters job?
a)
To count the programs
b)
It contains the memory address of the next instruction to be loaded
c)
It stores instructions
d)
It carries out the calculations
13.
Which of the following is a job of the control unit?
a)
To start up the computer
b)
To manage the fetch decode execute cycle
c)
To create presentations
d)
To carry out calcul
14.
Which of the following is an example of 'main memory'.
a)
Hard Drive
b)
USB Drive
c)
RAM
d)
ROM
15.
Which of the following CPU's will have a better better performance:
A: 3 GHz Quad Core CPU
B: 3 GHz Duel Core CPU 
a)
A
b)
B
16.
How does clock speed affect computer performance?
a)
The higher the clock speed the slower the computer will run.
b)
It improves the amount you can store on the computer.
c)
The higher the clock speed the better the performance.
d)
It will make loading program slower
17.
What is a bus?
a)
A circuit that connect one part of CPU to other components.
b)
A type of long term memory
c)
A type of permanent memory
d)
A method of transport
18.
What is cache memory?
a)
A very large, temporary memory
b)
A very small but expensive memory
c)
It is used to store data and programs permanently
d)
It is a type of payment
19.
How can a bigger cache improve CPU performance?
a)
By being able to carry out more calculations
b)
By being able to store more recently used instruction inside the CPU for quicker access times
c)
By being able to 
20.
In a processor, a core is
a)
A type of RAM
b)
A single processor which can fetch and decode instructions
c)
The middle part of the CPU
d)
A type of secondary storage
21.

Binary data is written as

a)

all number between 0 and 9

b)

0 and 1 digits only

c)

text only, no special charachters

d)

images

22.
A quad core processor has how many cores
a)
1
b)
2
c)
4
d)
8
23.
In a muti-core processor, there is always 1 core which is faster than the others.
a)
true
b)
FALSE
24.
Some processors do not have a CPU core
a)
true
b)
FALSE
25.
A processor with 6 cores is called a
a)
quad core processor
b)
hex core processor
c)
6 giga-core processor
d)
super core processor
26.
A processor with two cores is called a
a)
quad core processor
b)
double core processor
c)
CPU x2
d)
dual core processor
27.
You can upgrade your CPU core
a)
true
b)
FALSE
28.
The higher the number of cores, the better the performance of the computer.
a)
true
b)
FALSE
29.
A dual core processor will always process data faster than a single core processor
a)
true
b)
FALSE
30.
The overall rate of fetching and executing instructions is multiplied by the number of cores.
a)
true
b)
FALSE
31.

The CPU fetches instructions from.... and executes those instructions.

a)

Memory

b)

ALU

c)

ROM

d)

Input Device

32.
RAM is within the CPU
a)
true
b)
FALSE
33.
The CPU needs access to the main memory and Cache memory
a)
true
b)
FALSE
34.
ALU stands for
a)
Arithmetic Logic unit 
b)
Arithmetic Legal unit 
c)
Anti Logic unit 
d)
Arithmetic Logic undo
35.
As soon as the computer is switches on the CPU begins processing data
a)
true
b)
FALSE
36.
What is the purpose of Memory Address Register
a)
Holds the memory location of data that needs to be accessed
b)
Holds data that is being transferred to or from memory
c)
Where intermediate arithmetic and logic results are stored
d)
Contains the address of the next instruction to be executed
37.
Registers are___
a)
Secondary Storage
b)
High speed storage areas in the CPU
c)
External Storage 
d)
Storage that are slower than cache
38.
What is the purpose of Memory Address Register
a)
Holds the memory location of data that needs to be accessed
b)
Holds data that is being transferred to or from memory
c)
Where intermediate arithmetic and logic results are stored
d)
Contains the address of the next instruction to be executed
39.
What is the purpose of Instruction Register
a)
Holds the memory location of data that needs to be accessed
b)
Holds data that is being transferred to or from memory
c)
Where intermediate arithmetic and logic results are stored
d)
Contains the current instruction during processing
40.
What is the purpose of Accumulator
a)
Where intermediate arithmetic and logic results are stored
b)
Holds data that is being transferred to or from memory
c)
Where intermediate arithmetic and logic results are stored
d)
Contains the current instruction during processing
41.
What is the purpose of Accumulator
a)
Where intermediate arithmetic and logic results are stored
b)
Holds data that is being transferred to or from memory
c)
Where intermediate arithmetic and logic results are stored
d)
Contains the current instruction during processing
42.
What is the purpose of Program Counter
a)
Where intermediate arithmetic and logic results are stored
b)
Holds data that is being transferred to or from memory
c)
Contains the address of the next instruction to be executed
d)
Contains the current instruction during processing
43.
Clock speed is measures in
a)
bytes
b)
bits
c)
time
d)
hertz
44.
A computer measured in 1 hertz can do how many things a second
a)
100
b)
1
c)
2
d)
1000
45.
You can overclock a computer to make the processor run faster which increases the processing power.
a)
true
b)
FALSE
46.
Overclocking can break your computer
a)
true
b)
FALSE
47.
What will the output be from the following code?
print(Hello world!)
a)
Hello world!
b)
SyntaxError
c)
Hello world
d)
print(Hello world!)
48.
What will the output be from the following code?
print("Hello world!")
a)
SyntaxError
b)
Hello world!
c)
"Hello world!"
d)
print(Hello world!)
49.
What will the output be from the following code?
Print("Hello world!")
a)
NameError
b)
Hello world!
c)
"Hello world"
d)
Print(Hello world!)
50.
What will the output be from the following code?
print("Hello" + "world" + "today")
a)
Helloworldtoday
b)
Hello world today
c)
"Hello" "world" "today"
d)
SyntaxError
51.
What will the output be from the following code?
print("Hello world!\nHello world!")
a)
Hello world! Hello world!
b)
Hello world!
Hello world!
c)
SyntaxError
d)
Hello world!
52.
Joining elements together to make a string is called what?
a)
Combining
b)
Connecting
c)
Concatenation
d)
Stringing
53.
Which Python command is used to output information to the screen?
a)
read
b)
output
c)
print
d)
display
54.
What is syntax?
a)
Syntax is the word used to describe an error
b)
Syntax is the rules of the programming language
c)
It is used to read information
d)
It is used to output information 
55.
To create a newline at the end of prompt, you can use which of the following expressions?
a)
\new
b)
\n
c)
\break
d)
\return
56.
The number or word we give to a variable
a)
Value
b)
Bug
c)
Information
d)
Text
57.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
58.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
59.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
60.
What will be the output?
name = 'Dave'
print (name)
a)
Dave
b)
'Dave'
c)
name
d)
(name)
61.
What will be the output?
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
a)
Good moning 'Dave'
b)
Good morning Dave
c)
Good morning name
d)
Good morning + Dave
62.
When you have an error in your code what is the term to summarise finding and fixing that error?
a)
Error checking
b)
Debugging
c)
Syntax finder
d)
Error finder
63.
Why is it called 'Python'?
a)
The guy who created it loves snakes
b)
The guy who created it loves Monty Python films
c)
You can create a game on python called snake
d)
It was created by someone called Mr Python
64.
Python is an example of a....
a)
Text-based programming language
b)
Object orientated programming language
c)
language written in java script
d)
Visual-based programming language
65.
If you want more than one option for your code, what do you use (after if)?
a)
elif
b)
else
c)
ifif
66.
What is python?
a)
a programming language 
b)
DTP software 
c)
Spreadsheet software
d)
Computer 
67.
What is the name of the environment in Python that write your programs and then test them out?
a)
Shell
b)
Window
c)
IDLE
d)
CLI
68.
What button do you press to compile (run) your program so that it runs in the shell?
a)
F3
b)
F5
c)
F7
d)
F9
69.

¿que se escribe para crear un flotador?

a)

numberInt = 123,45678

flotar (numberInt)

b)

numberIf = 123,45678

flotar (numberIf)

c)

numbercout = 7852,66556

flotar (numbercout)

d)

numberprintf = 678,89632

flotar (numberprintf)

70.

Which line number contains an output statement?

a)

1

b)

2

c)

3

d)

4

e)

5

71.

Which line number contains variable assignment?

a)

1

b)

2

c)

3

d)

4

e)

5

72.

Which line number asks the user to type?

a)

1

b)

2

c)

3

d)

4

e)

5

73.

Which line begins a selection statement?

a)

1

b)

2

c)

3

d)

4

e)

5

74.

Which lines use variable assignment?

a)

1 and 2

b)

3 and 4

c)

5 and 6

d)

1 and 3

e)

3 and 5

75.

Which is the variable that has is a string data type?

a)

pwd

b)

pwd_OK

c)

len

d)

while

e)

1 == 1

76.

'christmas'.upper() will produce what?

a)

'CHRISTMAS'

b)

'Christmas'

c)

True

d)

False

77.

'christmas'[1] will produce what?

a)

'C'

b)

'c'

c)

'h'

d)

presents

78.

'xmas'.upper() will produce what?

a)

'CHRISTMAS'

b)

False

c)

True

d)

'XMAS'

79.

Ako je a=5 i b=3 što će program ispisati nakon izvođenja naredbe PRINT(a+b)

a)

3

b)

5

c)

8

d)

0

80.
To repeat a fixed number of times use a
a)
while loop
b)
for loop
c)
if loop
d)
indentation
81.
To repeat until a particular condition is true use
a)
while loop
b)
for loop
c)
if loop
d)
indentation
82.
The second part of if, that is executed when the condition is false
a)
if
b)
else
c)
for
d)
input
83.
Data type that can only be true or false
a)
int
b)
string
c)
bool
d)
float
84.
A variable that can hold a collection of values, often called an array in other programming languages
a)
list
b)
int
c)
string
d)
constant
85.
Converts a number to a string
a)
str()
b)
int()
c)
parseInt()
d)
convert