chp1. (mr. morrison)

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

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:12 PM on 10/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

difference between program and algorithm

a program: same as an algorithm, but a computer follows it

algorithm: used to solve a problem



2
New cards

software

a combination of programs to perform a complex task

3
New cards

3 types of paradigms

sequential (sequence), selection and iteration

4
New cards

5 main data types

integer (e.g. 5), character (“e”), float (5.6), boolean (True/False) and string (“Hello”)

5
New cards

variable

a digital store of data that can change during the progress of a program

6
New cards

expression

an instruction to a computer, but calculates a value/result

e.g. 01: variable = 5+5

7
New cards

statement

an instruction to a computer

e.g. 01: print(“hi”)

8
New cards

immutable

object or value that cannot be modified or changed, even during run tume

9
New cards

mutable

an object or data that cannot be modified be modified in after creation, even during runtime

10
New cards

dynamic data structure

a collection of data where the memory used can grow or shrink in size during runtime

11
New cards

static data structure

a collection of data, where its memory has a fixed size and cannot change

12
New cards

record (data structure) main points

  • can hold different data types

  • calling items using names rather than indexes

  • usually mutable

  • dynamic


13
New cards

tuple

  • data efficient

  • immutable

  • can hold different data types

  • called by indexes

  • static


14
New cards

array (data structure) main points

  • static

  • all data types must be the same

  • 1+ dimensions


15
New cards