AP Comp Sci Principles Unit 3

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/17

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.

18 Terms

1
New cards

Iterative design process

user-focused, implementation/feedback cycles that should allow for experimentation and risk-taking; what specifications ("specs") are

2
New cards

Algorithm

is a series of commands

3
New cards

Interface purpose

to display info for users and collect info from them

4
New cards

How to trace code?

  • semicolons end statements

  • double-slash for comments (to better understand code)

  • if you are making a string then you need to use quotes

5
New cards

User Interface

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

6
New cards

Input

data that are sent to a computer for processing by a program. (what goes in first) can come in a variety of forms, such as tactile interaction, audio, visuals, or text

7
New cards

Output

any data that are sent from a program to a device. (what comes out) can come in a variety of forms, such as tactile interaction, audio, visuals, or text

8
New cards

Program statement

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

9
New cards

Program

a collection of program statements. programs run (or “execute'“) one command at a time

10
New cards

Sequential programming

program statements run in order, from top to bottom

  • no user interaction

  • code runs the same way every time

11
New cards

Event Driven Programming

some program statements run when triggered by an event, like a mouse click or key press

  • programs run differently each time depending on user interactions

12
New cards

Debugging

the process of finding and fixing problems in code

  • describe the problem

  • hunt for bugs

  • try solutions

  • document as you go

13
New cards

Documentation

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

14
New cards

Comment

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

15
New cards

What is the driver and navigator in pair programming?

Driver - manipulates the keyboard and the mouse

Navigator - keeps track of the big picture + guides towards the goal

16
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

17
New cards

Parameter

an extra piece of information passed to a function, typically with a shared purpose

18
New cards

Library

a collection of commands / functions, typically with a shared purpose