Code.org - AP Computer Science Principles - Unit 3

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/12

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.

13 Terms

1
New cards

Algorithm

A precise sequence of instructions for processes that can be executed by a computer and are implemented using programming languages. (NOTE: this is the definition from the AP CS Principles framework).

2
New cards

Low level programming language

A programming language that captures only the most primitive operations available to a machine. Anything that a computer can do can be represented with combinations of low level commands.

3
New cards

High level programming language

A programming language with many commands and features designed to make common tasks easier to program. Any high level functionality is encapsulated as combinations of low level commands.

4
New cards

Sequencing

the application of each step of an algorithm in the order in which the statements are given.

5
New cards

Selection

uses a Boolean condition (a TRUE/FALSE condition) to determine which of two parts of an algorithm is used.

6
New cards

Iteration

the repetition of part of an algorithm until a condition is met or for a specified number of times.

7
New cards

Function

A piece of code that you can easily call over and over again-

8
New cards

API

a collection of commands made available to a programmer

9
New cards

Documentation

a description of the behavior of a command, function, library, API, etc.

10
New cards

Library

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

11
New cards

Parameter

An extra piece of information that you pass to the function to customize it for a specific need

12
New cards

Loop

a programming construct that repeats a group of commands.

13
New cards

For Loop

A particular kind of looping construct provided in many languages. Typically, a for loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times.