programming fundaments what

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

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:40 AM on 6/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

18 Terms

1
New cards

Define variables

storing data in memory

2
New cards

Define a constant

fixed data that cannot change during the execution of the program

3
New cards

what is an iteration

repeating sections of code (for loops, while loops, until loops)

4
New cards

what is a sequence

execution one instruction after another

5
New cards

what is a selection

program branching depending on a condition (if values and switch/select or case statements)

6
New cards

what is the difference between for and while loops

for = fixed number of times

while= runs until condition is met

7
New cards

what is an array

a collection of multiple values stored in one variable

8
New cards

what does range(1,5) do

generates number 1 to 4

9
New cards

what is casting

converting one data type into another

10
New cards

what is a string

a sequence of charaters

11
New cards

what is an interger

a whole number

12
New cards

what is a character

a single character

13
New cards

what is a real/ float

decimal number

14
New cards

what is boolean

answer with two possible values

15
New cards

what is a global variable

can be used at any point within the whole program

16
New cards

what is a local variable

can only be used within that subroutine

17
New cards

advantages of a global variable

can be used anywhere in the whole program

can be used for constants

makes maintenance easier

18
New cards

advantages of local variables

saves memory

you can reuse subroutines

easier to debug local variables