Please enable JavaScript to use CodeHS

Computing Glossary

Flashcards

Course:

Module:

Search:

HTML HTML

Hypertext Markup Language

HTML

HTML Tag HTML

Tags are the building blocks of an HTML document

Tag

<img> Tag HTML

Allows adding an image to a web page. It is self-closing. The attributes of an `<img>` tag include `src`, which specifies where to get the image from (the url for an image ), and `width` and `height` attributes, which specify the size of the image in pixels.

HTML Lists HTML

Way to organize information with a simple structure that is easy to read and write on a webpage. There are ordered and unordered HTML lists.

<ul> Tag HTML

Defines an unordered list in HTML.

<li> Tag HTML

defines a list item inside an HMTL list.

HTML Tables HTML

Tables display information in a grid.

Style Attribute HTML

Allows adding several different types of styles to HTML elements.

CSS CSS

Cascading Style Sheets. The language for designing web pages and adding style.

Selector CSS

Defines which HTML elements a CSS rule applies to.

Class Attribute HTML

`class` is an attribute we can add to HTML tags in order to style a specific group of elements.

id Attribute HTML

`id` is an attribute we can add to an HTML tag to style that specific element.

URL General

Stands for Uniform Resource Locator. You are locating a resource that exists somewhere on the internet.

HTML Documentation HTML

Documentation and syntax for HTML

html docs html documentation

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

World General

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

karel World

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

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

Indentation JavaScript

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

Indentation

Curly Bracket General

An open curly bracket is { and a close curly bracket is }

Curly Bracket

Parentheses General

( and )

Parentheses

Function body JavaScript

The part of a function that contains the commands

function body

Read Like a Story JavaScript

Programs that "Read like a story" have good decomposition and make the code easy to follow.

Read Like a Story

Programming Style General

The way your code is written is the style. It covers the aspects of the code that goes beyond whether or not it just works.

Programming Style

Start Function JavaScript

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

Start Function

Break Down (Decompose) JavaScript

Breaking down (decomposing) your code is splitting it into more functions.

Break Down (Decompose)

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

Algorithm General

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

algorithm, process

Comment JavaScript

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

Comment

Precondition JavaScript

Assumptions we make about what must be true before the function is called.

Precondition

Postcondition JavaScript

What should be true after the function is called

Postcondition

SuperKarel General

SuperKarel is like Karel but already knows how to turnRight() and turnAround()

SuperKarel

Super Karel General

Super Karel is still Karel, but it knows two new commands: `turnAround()` and `turnRight()`

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

Condition General

A condition is code that you put inside an if statement or while-loop.

Condition

Control Structure General

A control structure lets us change the flow of the code.

Control Structure loops if statements

Iterate General

A single run through the instructions contained a loop

Iterate

Boolean JavaScript

A boolean is a true or false value.

Boolean

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

If Else Statement General

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

If Else Statement

While Loop General

Lets us repeat code as long as something is true.

While Loop

Fencepost Problem General

A problem when using a while loop where you forget one action at the beginning or the end.

Fencepost Problem

Pseudocode General

Pseudocode is a brief explanation of code in plain English.

Pseudocode

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

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

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

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.

forward(a_number) Python

Command that lets you tell Tracy to move forward. In between the parentheses you need to put a number to tell Tracy how far to move forward.

left(angle) Python

turns Tracy left at a specified angle

right(angle) Python

turns Tracy right at a specified angle

speed (number 1-10) Python

determines how quickly Tracy will move through commands

Indentation General

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.

Color("red") Python

Command to change Tracy's color.

Function body Python

In Python functions, the function body is the indented block of code that comes after the `def my_function():` line. The function body is what will be executed when the function is called.

Comment Python

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

Parameters Python

Pieces of information you can give to functions when you define them. When the function is called the arguments are the data you pass into the function's parameters. Parameter is the variable in the declaration of the function. Argument is the actual value of this variable that gets passed to the function.

Elif Python

A control flow tool used as a second condition check after an if statement. It is a contraction of else if.

backward(a_number) Python

Command that lets you tell Tracy to move backward. In between the parentheses you need to put a number to tell Tracy how far to move backward.

right(degrees) Python

Command that tells tracy to turn right and in between parentheses, how many degrees to turn right.

left(degrees) Python

Command that tells tracy to turn left and in between parentheses, how many degrees to turn left.

input() Python

A function that prints a prompt and retrieves text from the user.

Function General

A function is like a command that you get to invent and name. It allows us to break our program into smaller parts, making the program easier to understand.

Beats General

Drum sounds played sequentially in a repetitive pattern

JavaScript General

A computer programming language

Music Visualization General

generated animated imagery based on a piece of music.

chord General

a group of two or more notes sounded together

chord progression General

a sequence of chords

Artificial Intelligence (AI) General

the ability of a digital computer or computer-controlled robot to perform tasks commonly associated with intelligent beings

Collage General

a collection of images

Filter General

a software routine that changes the appearance of an image or part of an image by altering the shades and colors of the pixels in some manner

Color saturation General

the intensity of a color, expressed as the degree to which it differs from white

Contrast General

the difference in brightness between objects or regions

Brightness General

the overall lightness or darkness of the image

Inversion General

the act of switching colors along the color wheel (red to green, blue to orange, etc.)

Pop Art General

An art movement in the 1950s that is characterized by pop culture imagery such as celebrities and advertisements.

Abstract Expressionism General

An art movement in the 1940s and 1950s characterized by creative spontaneous acts, such as Jackson Pollock's dripping paintings.

event handler JavaScript

determines how the game (or website or app) responds to different events

Image filter General

A procedure that applies a particular function to an image's pixels to change its appearance

GIF General

Graphics Interchange Format; an image format that allows animations

Scene General

one image in a series of images that make up a GIF

Copyright General

A law that grants the creator of an original work exclusive rights to its use, distribution, and sale

JavaScript General

a computer programming language

Meme General

a humorous image or video that is copied and spread; usually consists of an image and witty caption

Face Tracking General

a computer technology being used in a variety of applications that identifies human faces in digital images

Parameter JavaScript

A variable passed in from outside the function

parameter

JavaScript General

a computer programming language

events JavaScript

user actions or a particular scenario that might trigger an action during a game in video game development (or on a website or app); we say that events are triggered by the user

event handler JavaScript

determines how the game (or website or app) responds to different events

Hardware General

The physical components of a computer

Software General

Programs that can be run on a computer

Internet General

A philosophy of making information and knowledge open and accessible to all people. A network of networks built on open, agreed upon protocols.

Protocol General

A widely agreed upon set of rules that standardize communication between machines.

Citizen Science General

Science that harnesses the power of many individuals to solve hard, complex problems.

Data General

Information (numbers, words, measurements, observations, etc) that is in a computer-readable form.

Number System General

Defines how we represent numbers. Which digits we can use, and what each position (place ) in a number means.

Decimal Number System General

The number system we use in out everyday lives. It has 10 digits, 0-9.

Binary Number System General

Number system that has 2 digits, 0 and 1. This is how computers represent numbers at the base level.

Hexadecimal Number System General

Number system that has 16 digits 1 - 9 and A - F.

Number System General

A number system defines how we represent numbers. It defines which digits we can use, and what value each position (place value) in a number has.

Binary General

The binary number system is the Base 2 Number System. It is a number system that only uses 2 digits (0 and 1).

Bit General

Bit means "binary digit". A bit is a single digit in a binary number. A bit can either be 0 or 1.

ASCII General

ASCII is the standard protocol for encoding text information as bits. The ASCII table assigns a unique binary number to every text character.

RGB Encoding General

The RGB encoding scheme allows us to encode colors such as numeric data. It defines the amount of Red, Green, and Blue light in a pixel.

Pixel Image General

An image can be represented as a grid of values. Each value encodes the color at that position in the image.

Number System General

Defines how we represent numbers. Which digits we can use, and what each position (place ) in a number means.

Hexadecimal Number System General

Number system that has 16 digits 1 - 9 and A - F.

Pixel General

Images are made up of pixels, which are essentially a grid of values. Each value, or pixel, encodes the color at that position in the image.

RGB Color Encoding General

The RGB encoding scheme allows us to encode colors as numeric data. It defines the amount of Red, Green, and Blue light in a pixel. Each color channel can have a value between 0 and 255.

Pixel General

Images are made up of pixels, which are essentially a grid of values. Each value, or pixel, encodes the color at that position in the image.

Network General

A group of two or more computer systems linked together.

Fiber Optic Cables General

Able to send bits from router to router across long distances, but they are very expensive.

Bitrate General

The amount of data (in bits) that can be sent in a fixed amount of time.

Bandwidth General

The capacity of data transfer in a system. Measured by bitrate.

Latency General

The latency of a system is the time it takes for a bit to travel from sender to receiver. Fiber optic cables have low latency.

Internet Protocol (IP) General

A protocol that defines the structure of an Internet address and assigns a unique address to every device on the Internet.

Domain Name System (DNS) General

Used to translate domain names into IP addresses.

Routing General

The process of sending data between two computers on the internet. The data is sent through routers that determine the route.

Redundancy General

When multiple paths exist between two points. This improves reliability and makes the internet fault tolerable. Makes the routing system scalable.

Packets General

Packets are the units of data that are sent over the network.

HTTP General

HyperText Transfer Protocol is a protocol that standardizes the language for talking to web servers to send and receive web pages, or HyperText information (HTML pages).

Cybercrime General

Identity theft, stealing money, stealing private information, controlling private computers.

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.

Phishing General

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

CIA Triad General

The CIA Triad is a widely-accepted security measure that should be guaranteed in every secure system. It stands for Confidentiality, Integrity, and Availability.

Confidentiality General

The protection of information from people who are not authorized to view it.

Integrity General

Aims at ensuring that information is protected from unauthorized or unintentional alteration.

Availability General

The assurance that systems and data are accessible by authorized users when and where needed.

IPv6 General

A new 128 bit version of the Internet Protocol.

IP (Internet Protocol) General

The protocol that defines the payout of an an Internet address.

DDoS Attack General

Distributed Denial of Service attack. Spam a web server with so many requests so close together that it crashes. Sometimes spitting out valuable information as it crashes.

vulnerability General

a weakness which can be exploited by a malicious actor / attacker to perform unauthorized actions within a computer system.

exploit General

a piece of software, a chunk of data, or a sequence of commands that takes advantage of a bug or vulnerability to cause unintended or unanticipated behavior to occur on computer software, hardware, etc.

Metadata General

a set of data that describes and gives information about other data.

Internet Protocol (IP) General

Standardizes the layout of all packets. All packets must have a destination IP address, a from IP address, and the actual data being sent. Defines the layout of a SINGLE packet.

Transmission Control Protocol (TCP) General

Allows for sending MULTIPLE packets between two computers. TCP checks that all packets arrived and can be put back in the proper order. The metadata must include a destination IP address, a from IP address, the message size and the packet order number.

HTTP (HyperText Transfer Protocol) General

Protocol that standardizes the language for talking to web servers to send and receive web resources. Defines how computers send and receive hypertext information. (HTTPS: The ā€œSā€ denotes a secure connection using HTTP.)