gace computer scinece 2.2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

Variable

A named storage location in memory that holds a value that can change during program execution

2
New cards

Constant

A named value in a program that cannot be changed once assigned

3
New cards

Data Type

Describes the kind of data a variable holds

4
New cards

Integer

A whole number with no decimal point

5
New cards

Float

A number that includes a decimal point

6
New cards

Boolean

A data type with only two possible values: True or False

7
New cards

String

A sequence of characters

8
New cards

Assignment

The process of setting a value to a variable using the equals sign

9
New cards

Arithmetic Operator

An operator used for mathematical calculations like +

10
New cards

Comparison Operator

Used to compare two values

11
New cards

Logical Operator

Used to create complex conditions: AND

12
New cards

Sequence

The order in which instructions are executed in a program

13
New cards

Selection

A decision-making process using conditions

14
New cards

Iteration

Repeating a set of instructions using loops

15
New cards

FOR Loop

A count-controlled loop that repeats a block of code a fixed number of times

16
New cards

WHILE Loop

A condition-controlled loop that runs as long as a condition is true

17
New cards

Array

A collection of items stored under one variable name

18
New cards

Subroutine

A named block of code designed to perform a task

19
New cards

Function

A subroutine that returns a value

20
New cards

Procedure

A subroutine that performs an action but does not return a value

21
New cards

Parameter

A variable used in a subroutine definition to accept values

22
New cards

Argument

A value passed to a parameter when a subroutine is called

23
New cards

Local Variable

A variable that exists only within the block or subroutine where it's defined

24
New cards

Global Variable

A variable that is accessible from any part of the program

25
New cards

Trace Table

A tool used to record the changing values of variables during program execution