Please enable JavaScript to use CodeHS

tnms Glossary

Flashcards

Course:

Module:

Search:

Computer General

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

Computer

Software General

Programs that can be run on a computer

operating system (OS) General

The primary software that runs applications and manages all the hardware, memory and other software on a computer.

Hardware General

The physical components of a computer

motherboard General

A circuit board with ports and sockets used to connect the main devices of a computer.

central processing unit (CPU) General

The core component of a device that accepts and executes instructions.

random access memory (RAM) General

A fast type of computer memory which temporarily stores all the information your device needs right away.

hard drive General

A data storage device that uses magnetic storage and rapidly rotating disks to store and retrieve digital information.

Cloud Computing General

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user.

Karel General

Karel is a dog who listens to your commands.

Karel

Command JavaScript

A command is an instruction you can give to Karel.

Command

Debugging General

Debugging is fixing a problem in your code.

Debugging

Programming Language General

A programming language is any set of rules that converts strings, or graphical program elements in the case of visual programming languages, to various kinds of machine code output.

World General

A "world" or "Karel World" is a grid that karel lives in.

karel World

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

Call a Function JavaScript

Calling a function actually gives the command, so the computer will run the code for that function.

Call a Function

Function General

A block of reusable code that is used to perform a task.

Comment JavaScript

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

Comment

Comment Out JavaScript

Commenting out code makes the computer ignore it, so it does not run.

Comment Out

Decomposition General

Decomposition is breaking your program into smaller parts.

Decomposition

Top Down Design JavaScript

Top down design is a method for breaking our program down into smaller parts.

Top Down Design

Loop General

A loop is a way to repeat code in your program.

Loop

For Loop JavaScript

A for loop lets us repeat code a **fixed number of times**.

For Loop

If Statement General

An if statement lets you ask a question to the program and only run code if the answer is true.

If Statement

Conditional Statement General

A statement that evaluates to true or false.

If Else Statement General

Control structure that lets us run either one section of code or another depending on a test.

If Else Statement

Bug General

A bug is a problem in your code.

Bug

Phishing General

The usage of deceptive emails and websites to maliciously gather personal information

Ransomware General

Ransomware is a type cyber attack that threatens to publish the victim's data or block access to it unless a ransom is paid.

Internet of Things General

The Internet of Things (IoT) is the network of physical devices, vehicles, home appliances, and other items embedded with electronics, software, sensors, actuators, and connectivity which enables these things to connect and exchange data.

Cybersecurity General

Protection of computer systems, networks, and data from digital attacks.

setup() JavaScript

Called once when the program starts and is used to define the initial environment properties.

draw() JavaScript

Continuously executes the lines of code contained inside its block until the program is stopped.

createCanvas(width, height) JavaScript

Creates a canvas element in the document and sets the dimensions of it in pixels.

ellipse(x, y, w, [h]) JavaScript

Draws an ellipse to the screen given the x, y coordinate and the width and height (height is optional).

rect(x, y, w, [h]) JavaScript

Draws a rectangle to the screen given the x, y coordinate and the width and height (height is optional).

line(x1, y1, x2, y2) JavaScript

Draws a line (direct path between two points) to the screen. The first two parameters x1, y1 control the position of the first point and the last two parameters x2, y2 control the position of the second point.

`fill()` JavaScript

Sets the color used to fill shapes.

`fill(red, green, blue)` JavaScript

Sets the color used to fill shapes using RGB values.

`fill(grayscale)` JavaScript

Sets the color used to fill shapes to a grayscale value.

`stroke()` JavaScript

Sets the color used to draw lines and borders around shapes.

`stroke(grayscale)` JavaScript

Sets the color used to draw lines and borders around shapes to a grayscale value

`stroke(red, green, blue)` JavaScript

Sets the color used to draw lines and borders around shapes using RGB values

`noStroke()` JavaScript

Disables drawing the stroke (outline)

RGB Color Model JavaScript

A color model in which red, green, and blue light are added together in various ways to reproduce a color

Hex Color JavaScript

A way of representing a color from various color models using hexadecimal values

Color Palette JavaScript

A collection of colors used together in one medium

Information General

Created when a collection of data is organized or structured.

Knowledge General

Pulls meaning from information by analyzing the organized data and generating insights.

Data General

A collection of numbers or data points.

Spreadsheet General

A computer program that helps us organize, manipulate, and analyze data.

Cell General

The intersection of a row and a column.

Row General

A horizontal line of cells.

Column General

A vertical line of cells.

Function General

A built-in formula that performs specific calculations.

Statistics General

The practice or science of collecting and analyzing numerical data.

Mean General

The central value between numbers.

Median General

The middle value in an ordered list.

Mode General

The value that occurs the most.