Please enable JavaScript to use CodeHS

Intro JS Bulldog (2022) Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Hello World General

Traditionally the very first program you write when learning a programming language, a program that prints "Hello world" to the user.

println JavaScript

JavaScript function that prints out a line to the user

Boolean JavaScript

A boolean is a true or false value.

Boolean

Declare a Variable JavaScript

Declaring a variable is defining it for the first time.

Declare a Variable

Variable General

A symbol or container that holds a value.

variable

Integer JavaScript

A whole number (not a fraction)

integer

String JavaScript

A sequence of characters

string

Initialize a Variable JavaScript

Initializing a variable is giving it an initial value.

Float JavaScript

A float, or floating point value, is a numeric value that can have decimal level precision (ex: 3.14)

readLine JavaScript

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

readLine

readInt JavaScript

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

readInt

readFloat JavaScript

Allows for the reading of user input when a float number is used

readFloat

Constant JavaScript

A variable in a program that has a value that does not change.

Constant

Magic Number JavaScript

A number in your code that appears arbitrary. These should all be replaced with calculations or constants.

Magic Number

Parentheses General

( and )

Parentheses

Increment General

To add to or increase

Increment

Decrement General

To subtract from or decrease

decrement

Canvas JavaScript

The screen in which our graphics programs are drawn.

Canvas

Coordinate system JavaScript

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

coordinate system

getWidth() JavaScript

JavaScript function that returns the width of the graphics canvas

getHeight() JavaScript

JavaScript function that returns the height of the graphics canvas

Radius JavaScript

The length between the center and edge of a circle

lowerCamelCase General

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

lowerCamelCase

Define a Function JavaScript

Defining a function means to teach the computer a new command and explain what it should do when receiving that command.

Define a Function

Start Function JavaScript

This is the function that is called when you click run.

Start Function

Event JavaScript

An event is an action (such as clicking the mouse or pressing a key on the keyboard) that a program detects and uses as input.

Event

Computer General

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

Computer

Callback Function JavaScript

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

Computer Science General

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

Input Output (I/O) General

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

Arithmetic Operators General

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