Unit3 APCSP

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

1/23

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.

24 Terms

1
New cards

Pair programming

 collaborative programming practice where two programmers work rotfer at one computer on the same piece of code.

2
New cards

Driver

 role is to control the mouse and keyboard and type out the code. They should concentrate on solving the current task while keeping the navigators plane of action in minds

3
New cards

Navigator

the navigator should be checking for typos or other errors as the driver produces code to catch them as soon as they arise and before they cause further errors. They should also be actively thinking of alternative, more efficient ways to solve the problem.

4
New cards

Hello world

very first program you write when learning a programming language, a program that prints “hello world” to the user

5
New cards

Print

displaying text on the screen

6
New cards

Declare a variable

defining a variable for the first time 

7
New cards

Variable

symbol or container that holds a value 

8
New cards

Initialize a variable

Giving a variable an initial value.

9
New cards

Concatenation

Adding two strings together using the “+” operator.

10
New cards

String Variable:

Variable with text as the value.

11
New cards

Integer Variable:

Variable with a whole number as the value.

12
New cards

Float Variable:

Variable with a decimal as the value.

13
New cards

Input()

Function that prints a prompt and retrieves text from the user

14
New cards

Type Conversion

Process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion.

15
New cards

Floating Point Numbers

Also called floats, these represent real numbers and are written with a decimal point dividing the integer and fractional parts.

16
New cards

Arithmetic Operators:

Include addition(+), subtraction(-), multiplication(*), division(/), and the modulus operator(%). These operators are used to perform basic mathematical tasks.

17
New cards

Canvas

The screen in which our graphics programs are drawn.

18
New cards

Coordinate System:

Coordinate system uses numbers as coordinates to place objects in a geometric space.

19
New cards

Properties of an Object:

The variables that are attached to the object.

20
New cards

Event

Action(such as clicking the mouse or pressing a key on the keyboard)that a program detects and uses as input

21
New cards

Callback Function

 Function that is prasses as a parameter to another function in order to be called later. 

22
New cards

Code:

The name for the instructions you write to a computer in a program.

23
New cards

Algorithm:

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

24
New cards

Function

self- contained block of a code designed to perform a specific task and is fundamental to structured programming and offer several benefits