AP CSP Unit 3

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

comment

form of program documentation written into the program to be read by people and which do not affect how a program runs

2
New cards

debugging

finding and fixing problems in an algorithm or program

3
New cards

development process

the steps or phases used to create a piece of software. Typical phases include investigating, designing, prototyping, and testing

4
New cards

documentation

a written description of how a command or piece of code works or was developed

5
New cards

event

associated with an action and supplies input data to a program. Can be generated when a key is pressed, a mouse is clicked, a program is started, or by any other defined action that affects the flow of execution

6
New cards

event-driven programming

some program statements run when triggered by an event, like a mouse click or a key press, rather than through a sequential flow of control

7
New cards

input

data that are sent to a computer for processing by a program. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

8
New cards

output

any data that are sent from a program to a device. Can come in a variety of forms, such as tactile interaction, audio, visuals, or text

9
New cards

pair programming

a collaborative programming style in which two programmers switch between the roles of writing code and tracking or planning high level progress

10
New cards

program

a collection of commands and/or instructions(program statements) that run (or "execute") one command at a time

11
New cards

program design specifications

describe the requirements for how a program will work or users will interact with it

12
New cards

program requirements

describe how a program functions and may include a description of user interactions that a program must provide

13
New cards

program statement

a command or instruction. Sometimes also referred to as a code statement

14
New cards

sequential programming

program statements that run in the order they are written, from top to bottom

15
New cards

user interface (UI)

the inputs and outputs that allow a user to interact with a piece of software. User interfaces can include a variety of forms such as buttons, menus, images, text, and graphics

16
New cards

console.log(message)

displays the string or variable in the console display

17
New cards

setProperty(id, property, value)

Sets a property to a new value for the specified element

18
New cards

onEvent(id, type, callback)

Executes the callback code when a specific event type occurs for the specified UI element id

19
New cards

setScreen(screenId)

Sets the screen to the given screen Id

20
New cards

playSound(url, loop)

Plays the MP3 sound file from the specified URL

21
New cards

stopSound(url)

Stops playing the sound file from the specified URL, or all sounds if no URL is given

22
New cards

rgb(r, g, b, a)

Using RGBA values, creates colors for using in the background, shapes, lines and points