Unit 3 AP CS Principles

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

1/16

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.

17 Terms

1
New cards

Lower Camel Case

The naming convention for when the first letter is lower cases and the subsequent letters are upper case.

2
New cards

Define a function

To teach the computer a new word, and explain what to do when it receives a new command

ex: function move right(){ turn right(); move(); }

3
New cards

start function

The function called when run is pressed

4
New cards

Variable

A symbol or container that hold a value

5
New cards

Canvas

The screen where graphics are drawn

6
New cards

Event

An action that the computer detects and uses as input.

7
New cards

Computer

A person or device that makes calculations, stores data, and executes instructions according to the program

8
New cards

readLine

Allows for the reading of user input when a string is used

9
New cards

readInt

Allows for the reading of user input when an integer or number is used

10
New cards

Coordinate system

A coordinate system uses numbers as coordinate place objects in a geometric space

Starts at (0,0) in the top left corner

11
New cards

println();

JavaScript function that prints out a line to the user

12
New cards

getWidth();

JavaScript function that returns the width of the graphics canvas

13
New cards

getHeight();

JavaScript function that returns the Height of the graphics canvas

14
New cards

Callback function

A function passed as a parameter to another function, in order to be called later

15
New cards

Computer Science

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

16
New cards

Input/Output

The general term in programming that refers to the flow of information into and out of a program

17
New cards

Arithmetic Operators

Arithmetic Operators include + , addition, -, subtraction, *, multiplication, /, division, and %, modulus. These Operators are used to perform basic mathematical tasks