AP CSP Unit 3: Programming, UI Design, Debugging, and App Development

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

1/37

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.

38 Terms

1
New cards

User Interface (UI)

Inputs and outputs that let users interact with software (buttons, text, images, etc).

2
New cards

Input

Data sent to a computer (text, clicks, sound).

3
New cards

Output

Data sent from a program (text, sound, images).

4
New cards

Input Elements

Buttons, text input, check boxes, radio buttons, dropdowns.

5
New cards

Output Elements

Images, text.

6
New cards

Camel Case

Writing style: first word lowercase, next words capitalized (e.g., playButton).

7
New cards

Element IDs

Should be unique and meaningful for readability.

8
New cards

Prototype

A model or early version of an app to plan layout and features.

9
New cards

Development Process

Steps like investigating, designing, prototyping, and testing.

10
New cards

Planning Importance

Saves time, helps developers test and improve user experience.

11
New cards

Programming Language Need

Human language is too ambiguous; computers need precise instructions.

12
New cards

JavaScript (JS)

Programming language used in AP CSP, different from Java.

13
New cards

ECMAScript (ES)

Standard version of JS; Code.org uses ES5, Replit uses ES6.

14
New cards

Syntax

Rules defining how code is structured and read by a computer.

15
New cards

Keywords

Reserved words in JS that have special meaning (cannot be reused).

16
New cards

Semicolon (;)

Marks the end of a statement; required in this class.

17
New cards

Case-Sensitive

JS treats uppercase and lowercase as different (e.g., name vs Name).

18
New cards

Console / console.log()

Tool to display messages or errors; used for debugging.

19
New cards

console.log() Example

console.log("Hello") prints "Hello" in the console.

20
New cards

CamelCase Examples

backgroundColor, startButton, userInput.

21
New cards

Single-Line Comment

// This is a comment

22
New cards

Multi-Line Comment

/* This is

a multi-line comment */

23
New cards

Data Types

Number, String, Boolean, Undefined, Null, Symbol, Object.

24
New cards

String

Text in quotes ("Hello").

25
New cards

Boolean

True or false values.

26
New cards

Undefined

Variable declared but not assigned a value.

27
New cards

Sequential Programming

Code runs top to bottom with no user interaction.

28
New cards

Event-Driven Programming

Code runs when triggered by user events (clicks, keys).

29
New cards

Program Statement

Single command or instruction in code.

30
New cards

Program

Collection of program statements that run one at a time.

31
New cards

setProperty

Changes properties of UI elements (needs 3 inputs).

32
New cards

onEvent

Runs code when an event happens (like a button click).

33
New cards

randomNumber

Generates a random number between given values.

34
New cards

Debugging

Finding and fixing problems in code.

35
New cards

Debugging Steps

Describe problem → Hunt for bugs → Try solutions → Document results.

36
New cards

Debugging Tips

Use comments, console.log, organize code, test often.

37
New cards

Driver Role

Types code and uses keyboard/mouse.

38
New cards

Navigator Role

Guides, reviews, and keeps big-picture focus.