Graphics processing unit (GPU)

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Graphics processing unit (GPU)

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. What does a GPU mainly process?
A Images and video to show on a screen
B Passwords for online accounts
2. Which statement about a GPU is true?
A It is a program that protects against phishing
B It is a component that speeds up graphics work
3. What is an integrated GPU?
A A GPU built into the CPU
B A GPU stored in the cloud
4. What is a dedicated GPU?
A A tiny part inside every USB cable
B A separate graphics part with its own power for graphics
5. Which job would benefit most from a dedicated GPU?
A Playing a detailed 3D game
B Reading a short text message

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1GPU AA GPU does not store files. Storage devices do that. The GPU processes images and video to show on the screen.
2dedicated GPU Bintegrated GPU
3A GPU built into the same chip as the CPU, used for everyday tasks like browsing and watching videos CGames and video editing need lots of image processing, so they rely on the GPU the most.
4The part of the computer that does the main thinking and general tasks, while the GPU focuses on graphics DGraphics processing unit: a component specialised for processing images and video to display on a screen
5The GPU stores all of your files and photos permanently. EA separate graphics component with its own power and memory, good for games and video editing
6A GPU is only needed for typing and not for games or video editing. FCPU vs GPU

Definitions

GPU

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
A ___ processes images and video fast
2.
GPU stands for graphics __________ unit
3.
An __________ GPU is built into the CPU
4.
A _________ GPU is separate and more powerful
5.
CPU = general tasks, GPU = ________ tasks

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A gpu_type = 'dedicated'
B if gpu_type = 'dedicated':
C print('Separate card')
Question 2
A task = 'video editing'
B if task == 'video editing':
C print('Use the GPU'
Question 3
A gpu = integrated
B if gpu == 'integrated':
C print('Inside the CPU')
Question 4
A gpu_ready = True
B game = 'racing'
C if gpu_ready:
D print('Smooth graphics)
Question 5
A def render(frames)
B for f in frames:
C print('Draw frame', f)
D render([1, 2, 3])

Answer Key

Graphics processing unit (GPU)
Section A: Quick Questions
Q1
A — Images and video to show on a screen
Q2
B — It is a component that speeds up graphics work
Q3
A — A GPU built into the CPU
Q4
B — A separate graphics part with its own power for graphics
Q5
A — Playing a detailed 3D game
Section B: Match the Pairs
Q1
GPU → Graphics processing unit: a component specialised for processing images and video to display on a screen
Q2
dedicated GPU → A separate graphics component with its own power and memory, good for games and video editing
Q3
A GPU built into the same chip as the CPU, used for everyday tasks like browsing and watching videos → integrated GPU
Q4
The part of the computer that does the main thinking and general tasks, while the GPU focuses on graphics → CPU vs GPU
Q5
The GPU stores all of your files and photos permanently. → A GPU does not store files. Storage devices do that. The GPU processes images and video to show on the screen.
Q6
A GPU is only needed for typing and not for games or video editing. → Games and video editing need lots of image processing, so they rely on the GPU the most.
Section C: Definitions
Q1
GPU — Graphics processing unit: a part that quickly processes images and video to show on a screen. It can be built into the CPU (integrated) or separate (dedicated).
Section D: Fill in the Blanks
Q1
A GPU processes images and video fast
Q2
GPU stands for graphics processing unit
Q3
An integrated GPU is built into the CPU
Q4
A dedicated GPU is separate and more powerful
Q5
CPU = general tasks, GPU = graphics tasks
Section E: Spot the Error
Q1
B — A single = assigns a value. To compare gpu_type with 'dedicated' in the if statement, use ==.
Q2
C — The print call is missing its closing bracket. It should be print('Use the GPU').
Q3
A — The text integrated needs quotes to be a string. Without them Python looks for a variable called integrated. It should be gpu = 'integrated'.
Q4
D — The string is missing its closing quote. It should be print('Smooth graphics').
Q5
A — A function definition must end with a colon. It should be def render(frames):.