Program Logic

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

13 Terms

1
New cards

Identifiers

name data for use by programmers to make it easier to program

2
New cards

Constant

set or predefined value that can not change once defined

3
New cards

Variable

value that can potentially change in the execution of the program either from the result of an output of another part of the program or as input from a user

4
New cards

Conditional Statement

used for branching (logic) or program flow, commonly using Booleans to determine which path the program should choose

5
New cards

Examples of Conditional Statements

Matching like values or data types or a combination of both

computing two calculations and evaluating their outcomes to see if they match

Checking a known value in a database such as a password with one the user ended

6
New cards

Keywords of Conditional Statements

if, then, or else

7
New cards

Loops

useful when repeating a process until a condition or set of conditions are either met or not met depending on what loop is intended for initially

8
New cards

For Loop

static number of times a loop will execute no matter if the condition is met already

9
New cards

Do while Loop

variable loop goes on only if the condition has not yet been met

10
New cards

Instruction Sets

code to accomplish a task or set of tasks to achieve a specific goal

11
New cards

Instruction Set Methods

built-in tasks or set of tasks that the code programmers found to be useful

12
New cards

Instruction Set Functions

Programmer specific function custom to the program being created by the individual programmer

13
New cards