Basics of Programming 1
Basics of Programming 2
Basics of Programming 3
100

This is giving a computer a set of instructions to execute.

What is programming?

100

This is a sequence of instructions that performs a specific task, packaged as a unit.

Function

100

Fill in the blank. You can access an item in a list by using its _________ position.

Index

200

This is a way of saving a piece of information with a specific name. These allow us store information, quickly reuse a value in our program, and easily change a value in our program.

What is a variable?

200

Fill in the blank. When we __________ a function, we specify the instructions, inputs, and name of the function.

Define

200

This is a structure in programming where the instructions are written once, but a computer can execute them multiple times.

What is a loop?

300

These tell us about the data, including how it can be stored and what types of operations we can perform.

Data Types

300

Fill in the blank. When we _______ a function, all of its instructions are executed.

Call

300

These are formats that we can use to keep track of our data in an organized fashion.

Data structures

400

Symbols that represent different ways of modifying, comparing, and evaluating information.

What are operators? (Arithmetic, Comparison, Logical)

400

This is the order in which instructions are executed.

Control flow

400

This type of loop is also called a count controlled loop. It is used when you know the number of times you want to execute a set of instructions.

What is a For Loop?

500

When we use a value without assigning it to a variable, is known as this.

What is hardcoding?

500

These alter control flow in a program. You learned three of these, each suited for a different scenario.

What are Control structures?

  • Conditional: “if some condition is met, then do X. Otherwise, do Y”.
  • Loop: “do something Z number of times” or “do something repeatedly until some condition is met”.
  • Exception: “do steps A, B, C. If an error occurs, stop, and do steps J, K, L”
500

A condition controlled loop is as also called this.

What is while loop?  It repeats a set of instructions while that condition is true