APCSP.CodeHS with JS.Unit 1-Intro to Programming v2

Build your Mastery score
multiple choiceMultiple Choice & FRQ
call kaiCall Kai
Card Sorting

1/53

Last updated 5:27 PM on 9/15/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat
Add student to class section state
Add studentsNo students in these sections. Invite them to track progress!

54 Terms

1
New cards

Moore's Law

number of transistors double every 18 months

2
New cards

innovating

the process of imagining something that does not yet exist, but that has potential value, and making it real through the application of design, implementation, and production

3
New cards

iterative development process

the process by which computer programs are designed, developed and tested in repeated cycles

4
New cards

debug

to identify and remove errors from a computer program

5
New cards

algorithm

a finite set of instructions that accomplish a specific task.

6
New cards

sequencing

executes statements one at a time - in order, one after another.

7
New cards

selection

uses "if...then" to tell a computer how to select a step or to tell the sequence that it should be executed.

8
New cards

imperative statement

a command statement with a verb phrase that indicates an operation to perform (example: move forward)

9
New cards

descriptive qualifier

a specific adverb or adjective that further qualifies or limits the meaning of a word (example: left shoe)

10
New cards

natural language

a complex, but structured language, both written and spoken, that has evolved naturally in humans through use, repetition, and adaptation.

11
New cards

abstraction

the process of removing or suppressing details to create a manageable level of complexity.

12
New cards

artificial language

a limited size language, usually developed by a small group for specific purposes. Usually much simpler and structured.

13
New cards

ambiguity

uncertainty or being open to more than one interpretation.

14
New cards

visual (block) programming language

a programming language that lets users drag and drop icons into organized blocks of code to create programs rather than typing text.

15
New cards

high-level language

a programming language that is easier for humans to read, write, and parse. Guaranteed to be unambiguous.

16
New cards

low-level language

a programming language that has little or no abstraction and communicates closely to the hardware using machine language. Less natural for humans.

17
New cards

compilation

the process of source code being translated into machine code.

18
New cards

bit

binary digit - a 0 or 1.

this is a portmanteau of “binary” and “digit”

19
New cards

source code

programs written in high-level languages.

20
New cards

machine code

machine-level instructions that are uniquely read by computer processors using patterns of 1s and 0s.

21
New cards

procedure

a named collection of steps in an algorithm (or group of programming instructions) that can be reused anytime it is needed A __________ may have parameters and return values

22
New cards

modularity

the subdivision of a computer program into separate subprograms

23
New cards

input

user interaction with a program via clicking, mouse movement, or keyboard entry.

24
New cards

storage

what the computer "stores" or needs to remember to execute a program.

25
New cards

state (or attributes)

a description of what the computer is doing or the values of variables at any given moment.

26
New cards

process

the program code and current activity that is being executed in a computer program.

27
New cards

placeholder

a variable for a particular value or attribute.

28
New cards

Comment

A message in your code that explains what is going on.

29
New cards

Precondition

Assumptions we make about what must be true before the function is called.

30
New cards

Postcondition

What should be true after the function is called

31
New cards

Procedural abstraction

the ability to use methods and programs that we do not fully understand, or are unable to write.

32
New cards

Application Programming Interfaces

_______s and libraries simplify complex programming tasks by providing sets of clearly defined methods of communication among various computing components.

33
New cards

Documentation

Written instructions detailing the functions, methods, and variables available and how to use them.

34
New cards

loop

the repetition of some code

35
New cards

indefinite loop

when it is unknown how many times a loop will iterate, usually we are waiting for an event to occur such as "repeat until...."

36
New cards

definite loop

executes a predetermined set of times for a loop to be repeated

37
New cards

for loop

A "__________" lets us repeat code a fixed number of times.

38
New cards

increment

to increase a value by a fixed number

39
New cards

operators

symbols that imply a comparison in conditional selection statements

40
New cards

If Statement

An __________________ lets you ask a question to the program and only run code if the answer is true

41
New cards

If Else Statement

Control structure that lets us run either one section of code or another depending on a test.

42
New cards

While Loop

Lets us repeat code as long as something is true.

43
New cards

Bug

A _____ is a problem in your code.

44
New cards

Pseudocode

___________ is a brief explanation of code in plain English. "False code"

45
New cards

Iteration

Repetition of instructions a specified number of times, or until a condition is met.

46
New cards

Indentation

the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

47
New cards

Parameter

A variable passed in from outside the function

48
New cards

Computing

Any activity that uses a computer. This can be to manage data, for communication or entertainment.

49
New cards

Computer

An electronic device used for storing and processing data

50
New cards

Multi-line comments

/* comment here

*/

51
New cards

Single-line comments

// comment

52
New cards

How humans are able to "speak" to computers

Write code which gets broken down into binary

53
New cards

Abstraction

The process of reducing complexity by hiding unnecessary details

54
New cards

lowerCamelCase

Naming convention that uses a capital letter at the beginning of each word (except the first) and no spaces.