Intro to Programming Logic Vocab(1-4)

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

1/32

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:07 PM on 6/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

33 Terms

1
New cards

Hardware

physical components of the computer.

2
New cards

Software

set of machine instructions or interpreted code that execute on
the hardware.

3
New cards

Algorithm

a set of steps designed to solve a particular problem.

4
New cards

Pseudo-code

informal English-like code that implements an algorithm.

5
New cards

Flowchart

graphical version of pseudo-code.

6
New cards

Source code

high-level programming language code (can be compiled or
interpreted).

7
New cards

Compiled (binary or machine) code

binary instructions that can execute directly on a hardware (or emulated) processor.

8
New cards

Sequences

programming language statements executed sequentially (one after another).

9
New cards

Selections

programming language statements used to make a decision.

10
New cards

Loops

programming language statements used to repeatedly execute a section of code.

11
New cards

Declarations

-Reserves an area of memory to hold computer data
-Area of memory is referenced by name (variable name)
-May require type of data to be stored – example: String vs. Number

12
New cards

Assignment statements

-Stores a value in a variable
-Value may be a constant – example: 1, 2.7, -12, “Hello”

- Value may be the result of a calculation (an expression)

13
New cards

Flowgorithm

a programming environment for creating and running code using an executable flowchart-like language.

14
New cards

Comments

-Not part of the sequence (not executable)
-Note added by programmer to explain program
-Pseudocode example: # This program calculates the area of a triangle

15
New cards

Strongly-typed programming languages

-Must indicate variable type in declaration

-Variable only stores the type of date declared
-Can NOT store different type data in the variable (programming error)
-Examples: Flowgorithm, C, C++, C#, Java

16
New cards

Weakly-typed programming languages

-Must declare variable, but type not required
-Variable can store different types of data
-Examples: Python, JavaScript, PHP

17
New cards

Expressions

-Calculation used on right-hand side of assignment statement
-May consist of constant or operators and operands

18
New cards

Operands

literals (constants), variables, built-in constants (ex. PI)

19
New cards

Operators

-Unary minus
-Addition
-Subtraction
-Multiplication
-Division
-String concatenation
-And possibly more (modulo, exponentiation, etc.)

20
New cards

operator precedence

The order in which operators are evaluated.

21
New cards

Output Statements

These types of statements display information to users or store information into a file, database, or other long-term storage.

22
New cards

Input Statements


These types of statements get information from a user or from stored information on the computer (file or database).

23
New cards

Program

A set of instructions designed to perform some task.

24
New cards

Application Program


An application (app) designed to perform a task
for a user.

25
New cards


System Program

A program that runs(often long-term or indefinitely) and manage other programs or are used to build other programs.

26
New cards

Operating Systems


A system program used to run a computer and manage application programs on the computer. Examples: Windows, MacOS, Linux, iOS, Android.

27
New cards

Compiled Language

-A programming language where the program is converted to machine code
-The machine code is then directly executed by the processor
-The program that converts the source (original) code to machine code is called a
“compiler”

28
New cards

Interpreted Language


-A special program called an interpreter reads the source code and executes the
source program line by line.

-Examples: Python, Flowgorithm

29
New cards

Bit

a single binary digit of information (zero or one).

30
New cards

Byte

Eight bits; can represent the numbers 0 to 255 or one letter in a Western European character set. Other character sets (ex. Japanese Kanji) require two bytes to represent a character.

31
New cards

Word

Either four bytes (32-bit processor) or eight bytes (64-bit processor) representing one machine instruction. A machine instruction is an instruction that can be executed by a CPU to compare or manipulate data. A set of machine instructions comprise
a program.

32
New cards

Dynamic Random Access Memory(DRAM)


-Holds instructions and data for programs being executed by CPU
-Memory locations are numbered (starting with zero) – a specific
numbered location is called a memory address

-It requires power to keep information in memory. When the
computers power is turned off – information in it is lost.

33
New cards

CPU(Processor)

-The “brains” of the computer
-Executes “machine instructions” to process data
-Groups of machine instructions comprise a “program”
-Consists of billions of transistors on a silicon wafer chip
-A single chip may contain multiple processors (cores) which execute
in parallel

-Manufacturers: Intel, AMD, Nvidia, ARM, Apple, Qualcomm, & others