AWS GLOBAL INFRASTRUCTURE OVERVIEW

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/53

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:24 PM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

54 Terms

1
New cards

Based on the graphics pipeline, the first step to render graphics.

Developing an application where the graphics will be displayed

2
New cards

A graphical interface element that displays an application's content.

A window

3
New cards

The three phases of an interactive and graphics-based windowed application.

Startup, Main Loop, and Shutdown

4
New cards

The phase during which objects are created, values are initialized, and any required external files are loaded.

Startup

5
New cards

The phase that repeats continuously while the application is running.

Main Loop

6
New cards

The three substages of the Main Loop.

Process Input, Update, and Render

7
New cards

Checks if the user has performed any action that sends data to the computer, such as pressing keys on a keyboard or clicking buttons on a mouse.

Process Input

8
New cards

Changes values of variables and objects.

Update

9
New cards

Creates graphics that are displayed on the screen.

Render

10
New cards

The phase that typically begins when the user performs an action indicating that the program should stop, such as clicking a button to quit.

Shutdown

11
New cards

Tasks the Shutdown phase may involve, such as signaling the application to stop checking for user input.

Signaling the application to stop checking for user input and closing any windows created by the application

12
New cards

A set of Python modules designed for creating video games, a popular Python game development library.

Pygame

13
New cards

The method used to set up a window using Pygame.

pygame.display.set_mode()

14
New cards

The number of parameters the pygame.display.set_mode() method requires, to define the width and height of the window.

Two (2)

15
New cards

The example code given in the handout to create a 500x500 window using Pygame.

screen = pygame.display.set_mode((500, 500))

16
New cards

A location in space, the most basic graphical element.

A point

17
New cards

What is used to render a single point on the screen.

A vertex shader

18
New cards

What every shader must contain.

A main() function

19
New cards

What the void keyword indicates in a shader's main function, and what parameters the main function requires.

No values are returned; the main function requires no parameters

20
New cards

What vertex shaders manipulate, and how often they are called.

Coordinates in a 3D space; called once per vertex

21
New cards

The purpose of the vertex shader, setting up this special, global, and built-in GLSL variable.

gl_Position

22
New cards

What gl_Position is used to store.

The position of the current vertex

23
New cards

The GLSL data types often used for storing values that indicate positions, colors, and texture coordinates.

Vector data types

24
New cards

The GLSL keywords indicating vectors with two, three, or four components consisting of floats.

vec2, vec3, and vec4

25
New cards

What the four float values in a vec4 represent, for the vertex's position.

The vertex's x, y, z, and w positions

26
New cards

The purpose of the fourth (w) parameter of a vec4 position, and its default value.

Used to manipulate the clipping of the vertex position in the 3D space; default value is 1.0

27
New cards

What every vertex shader will use arrays of data stored in.

Vertex buffers

28
New cards

Why multiple points are needed, to specify the shapes of two-dimensional or three-dimensional objects.

Multiple points are needed to specify the shapes of 2D or 3D objects

29
New cards

The OpenGL function call used to specify each of a triangle's vertices.

glVertex3f

30
New cards

Between which two calls vertices must be specified.

glBegin and glEnd

31
New cards

What the parameter to glBegin tells.

Which type of primitive is being drawn

32
New cards

The most flexible and efficient way to repeatedly use the same information in computer graphics, such as translating all vertices by the same amount.

Using uniform variables

33
New cards

Global variables that can be accessed by the vertex shader or the fragment shader, whose values are constant while each shape is being drawn.

Uniform variables

34
New cards

What can change uniform variable values, even though they are constant while each shape is being drawn.

Between draw function calls

35
New cards

The type qualifier used to declare uniform shader variables.

uniform

36
New cards

What uniform shader variables provide a mechanism for, from a CPU application to a GPU program.

Directly sending data from variables in a CPU application to variables in a GPU program

37
New cards

What must be obtained before data may be sent to a uniform variable.

A reference to the location of the uniform variable

38
New cards

The OpenGL function used to obtain a reference to a uniform variable's location.

glGetUniformLocation(programRef, variableName)

39
New cards

What the variableName parameter of glGetUniformLocation indicates.

The name of the uniform variable

40
New cards

What the programRef parameter of glGetUniformLocation indicates.

The program in which the uniform variable is declared

41
New cards

What glGetUniformLocation returns if the variable is not declared or not used in the specified program.

-1

42
New cards

What the Pygame library provides support for working with.

User input events

43
New cards

The two types of key events Pygame detects.

Keydown events and keyup events

44
New cards

The moment keydown events occur.

The moment a key is initially pressed

45
New cards

The moment keyup events occur.

The moment the key is released

46
New cards

What an event is said to be if it happens once at an isolated point in time.

Discrete

47
New cards

What an event is said to be if it continues happening during an interval of time.

Continuous

48
New cards

Whether keydown and keyup events are discrete or continuous.

Discrete

49
New cards

The example of a continuous action given in the handout, that occurs for as long as a key is being held down.

Moving an object on the screen

50
New cards

The Pygame event type constant checked to determine if a keydown event has occurred.

pygame.KEYDOWN

51
New cards

The Pygame key constant checked in the sample code that prints 'Player moved up!'

pygame.K_w

52
New cards

The Pygame key constant checked in the sample code that prints 'Player moved left!'

pygame.K_a

53
New cards

The Pygame key constant checked in the sample code that prints 'Player moved down!'

pygame.K_s

54
New cards

The Pygame key constant checked in the sample code that prints 'Player moved right!'

pygame.K_