CodeHS APCSP (JavaScript) Unit 1

0.0(0)
studied byStudied by 5 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
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

Bug

A problem in your code.

2
New cards

Debugging

Fixing a problem in your code.

3
New cards

Cybercrime

Identity theft, stealing money, stealing private information, controlling private computers.

4
New cards

Moore's Law

An observation that the processing speed of computers is doubling every two years. This is exponential growth.

5
New cards

Computer Science

The study of computational thinking, the thinking humans need to in order to describe a step-by-step process to a computer.

6
New cards

Karel

A dog who listens to your commands.

7
New cards

Karel Documentation

Documentation for all Karel Commands and Syntax.

8
New cards

Define a Function

Teaching the computer a new command and explaining what it should do when receiving that command.

9
New cards

Call a Function

Giving the command to run the code for a specific function.

10
New cards

Function body

The part of a function that contains the commands.

11
New cards

lowerCamelCase

A naming convention where the first letter is lower case, and each subsequent start of a word is upper case.

12
New cards

Function

A way to teach Karel a new word.

13
New cards

Read Like a Story

Programs that have good decomposition and make the code easy to follow.

14
New cards

Start Function

The function called when you click run.

15
New cards

Decomposition

Breaking your program into smaller parts.

16
New cards

Top Down Design

A method for breaking a program down into smaller parts.

17
New cards

Comment

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

18
New cards

Precondition

Assumptions about what must be true before a function is called.

19
New cards

Postcondition

What should be true after a function is called.

20
New cards

Abstraction

Managing complexity by focusing on relevant concepts.

21
New cards

Procedural Abstraction

Using methods and programs that are not fully understood.

22
New cards

SuperKarel

Similar to Karel but already knows how to turnRight() and turnAround().

23
New cards

Application Programming Interfaces

Simplify complex programming tasks by providing sets of clearly defined methods of communication.

24
New cards

Documentation

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

25
New cards

For Loop

Repeats code a fixed number of times.

26
New cards

Condition

Code inside an if statement or while-loop.

27
New cards

If Statement

Asks a question to the program and runs code if the answer is true.

28
New cards

If Else Statement

Control structure that runs different sections of code based on a test.

29
New cards

While Loop

Repeats code as long as a condition is true.

30
New cards

Control Structure

Changes the flow of the code.

31
New cards

Pseudocode

A brief explanation of code in plain English.

32
New cards

Algorithm

A set of steps or rules to follow to solve a particular problem.

33
New cards

Sequencing

Step by step execution of instructions in the order they are given.

34
New cards

Iteration

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

35
New cards

Selection

Using a condition to determine which part of an algorithm is executed.

36
New cards

Indentation

Visual structure of how your code is laid out using tabs to organize code into a hierarchy.

37
New cards

Parameter

A variable passed in from outside the function.

38
New cards

Ultra Karel

Similar to Super Karel but can paint the grid world.