Programming Basics and Branches Study Guide

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards covering the fundamentals of programming basics, data types, and conditional logic found in Chapters 2 and 3.

Last updated 11:06 PM on 6/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Programming

Writing step-by-step instructions that tell a computer exactly what to do in a clear and correct order.

2
New cards

Pseudocode

A rough draft of a program written in plain English that helps programmers plan steps without worrying about syntax.

3
New cards

Variable

A labeled storage box where the label is the name and the value inside is the information.

4
New cards

Variable Declaration

The process of creating a variable and telling the computer what type of information (integerinteger, floatfloat, etc.) it can store.

5
New cards

Assignment Operator

The == symbol used to store the value on the right side into the variable on the left side.

6
New cards

Expression

Anything that evaluates to one value, such as x+1x + 1, 5×45 \times 4, or price×quantityprice \times quantity.

7
New cards

Identifiers

Names for variables and functions that must start with a letter, are case-sensitive, and cannot contain spaces or reserved words.

8
New cards

Operator Precedence

The order the computer evaluates expressions: parentheses, unary minus, multiplication/division/modulo (×\times, //, (mod)(mod)), and finally addition/subtraction (++, -).

9
New cards

Incremental Development

A strategy of writing a small amount of code, testing it, and fixing mistakes before continuing.

10
New cards

Integer

A data type consisting of whole numbers used for counting.

11
New cards

Float

A data type consisting of decimal numbers used for measurements.

12
New cards

Boolean

A data type that stores only true or false, similar to a light switch that is either ON or OFF.

13
New cards

Functions

Reusable blocks of code; examples in Coral include SquareRoot()SquareRoot(), RaiseToPower()RaiseToPower(), AbsoluteValue()AbsoluteValue(), and RandomNumber()RandomNumber().

14
New cards

Pseudo-random

A term for numbers that appear random but are actually generated mathematically.

15
New cards

Type Conversion

The process of changing one data type into another, such as integer to float or using type casting to force conversion.

16
New cards

Constants

Variables that store values that never change while the program runs, often written in ALL_CAPS.

17
New cards

Branches

A logic structure that lets the computer choose between different actions based on a condition.

18
New cards

Nested Branch

An if statement located inside another if statement.

19
New cards

Equality Operators

Symbols used to compare values: ==== means equal to, and !=!= means not equal to.

20
New cards

Relational Operators

Comparison symbols including <<, >>, <=<=, and >=>=.

21
New cards

Logical Operators

Operators used for conditions: AND (both must be true), OR (at least one must be true), and NOT (reverses the truth value).

22
New cards

Floating Point Comparison

A programming practice of avoiding the use of ==== with decimal values because they may not be represented exactly in memory.