Frame rate and screen resolution

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

Frame rate and screen resolution

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. What does fps stand for?
A Files per system
B Frames per second
2. Which game will look smoother?
A A game running at 60 fps
B A game running at 30 fps
3. Which screen resolution has more pixels in every frame?
A 4K
B 1080p
4. You switch a game from 1080p to 4K. What does the GPU have to do?
A Draw more pixels in every frame
B Draw fewer pixels in every frame
5. A game stutters and feels jerky at 15 fps. What would help most?
A Show fewer pictures each second
B Get a higher frame rate

Match the Pairs

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

Left columnRight column
160 fps AA resolution with about four times as many pixels per frame as 1080p, so the GPU has more to draw
23840 x 2160 (4K) BThe screen shows 60 pictures every second, so game movement looks smooth
3Frame rate is the number of pictures the GPU shows each second CThis is backwards. A higher fps looks smoother, so 60 fps looks smoother than 30 fps.
4Raising the resolution means the GPU must draw more pixels in every frame DThis is backwards. 1080p has fewer pixels than 4K, so the GPU draws fewer pixels per frame, not more.
5A game running at 30 fps looks smoother than one at 60 fps. Epixels = 1920 * 1080
6Changing from 4K to 1080p makes the GPU draw more pixels per frame. Fframe_rate = 30 # fps

Definitions

fps

Fill in the Blanks

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

1.
width = 1920 height = 1080 pixels = width _ height
2.
frames = 120 seconds = 2 fps = frames _ seconds
3.
fps = 30 if fps _ 60: print("Less smooth")
4.
uhd = 3840 * 2160 hd = 1920 * 1080 print(uhd _ hd)
5.
fps = 60 ms = 1000 / fps _____(ms)

Spot the Error

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

Question 1
A fps = 60
B seconds = 2
C frames = fps + seconds
D print(frames)
Question 2
A fps == 60
B frame_ms = 1000 / fps
C print(frame_ms)
Question 3
A fps = 30
B if fps >= 60
C print("Very smooth")
D else:
E print("Less smooth")
Question 4
A width = 3840
B height = 2160
C pixels = width * height
D print(pixel)
Question 5
A fps_list = [30, 60, 120
B for fps in fps_list:
C print(fps, "fps")

Answer Key

Frame rate and screen resolution
Section A: Quick Questions
Q1
B — Frames per second
Q2
A — A game running at 60 fps
Q3
A — 4K
Q4
A — Draw more pixels in every frame
Q5
B — Get a higher frame rate
Section B: Match the Pairs
Q1
60 fps → The screen shows 60 pictures every second, so game movement looks smooth
Q2
3840 x 2160 (4K) → A resolution with about four times as many pixels per frame as 1080p, so the GPU has more to draw
Q3
Frame rate is the number of pictures the GPU shows each second → frame_rate = 30 # fps
Q4
Raising the resolution means the GPU must draw more pixels in every frame → pixels = 1920 * 1080
Q5
A game running at 30 fps looks smoother than one at 60 fps. → This is backwards. A higher fps looks smoother, so 60 fps looks smoother than 30 fps.
Q6
Changing from 4K to 1080p makes the GPU draw more pixels per frame. → This is backwards. 1080p has fewer pixels than 4K, so the GPU draws fewer pixels per frame, not more.
Section C: Definitions
Q1
fps — Frames per second: how many pictures the GPU shows each second. 60 fps looks smoother than 30. Higher resolution like 4K means more pixels per frame, so the GPU works harder.
Section D: Fill in the Blanks
Q1
width = 1920 height = 1080 pixels = width * height
Q2
frames = 120 seconds = 2 fps = frames / seconds
Q3
fps = 30 if fps < 60: print("Less smooth")
Q4
uhd = 3840 * 2160 hd = 1920 * 1080 print(uhd > hd)
Q5
fps = 60 ms = 1000 / fps print(ms)
Section E: Spot the Error
Q1
C — The number of frames is frames per second multiplied by the seconds, so it should be fps * seconds (120 frames). Adding gives the wrong answer.
Q2
A — A single = stores a value in fps. == compares values, so fps would never be set and the next line would crash. It should be fps = 60.
Q3
B — An if statement must end with a colon. It should be if fps >= 60:
Q4
D — The variable is called pixels, not pixel. Using a name that was never created causes an error. It should be print(pixels).
Q5
A — The list is missing its closing square bracket. It should be fps_list = [30, 60, 120]