Chapter 1 - Intro to Computers and Programming

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

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:39 PM on 5/29/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

51 Terms

1
New cards

computers

machines that can be programmed to perform specific tasks, from simple calculations to complex simulations

2
New cards

program

a detailed set of instructions (commands) that tell the computer ho to execute a particular task, such as calculating numbers or displaying images

3
New cards

programmer

  • designs, creates and tests programs

  • transforms ideas into functional software by writing code that the computer can execute

4
New cards

hardware

all the physical components of a computer system

  • Central Processing Unit (CPU)

  • main memory (RAM)

  • secondary memory (storage)

  • input devices

  • output devices

5
New cards

Central Processing Unit (CPU)

a silicon chip that acts like the brain of the computer

  • responsible for executing instructions and performing calculations

  • controls and coordinates the activities of all other hardware

6
New cards

main memory (RAM)

temporary storage that holds data and instructions currently in use; provides fast access for the CPU to perform tasks efficiently

7
New cards

memory cell

an individual storage location in memory

8
New cards

address of a memory cell

the relative position of a memory cell in the computer’s main memory

9
New cards

contents of a memory cell

the information stored in a memory cell, either a program or an instruction

10
New cards

secondary memory (storage)

permanent storage for data and programs, such as hard drives, SSDs and external storage devices; retains information even when the computer is powered off

11
New cards

input devices

the components that collect data from people and from other devices, then send it to the computer (e.g., keyboard, mouse, scanner)

12
New cards

output devices

the components that format and present data that the computer produces for people or for other devices (e.g., video diplays, printers)

13
New cards

primary memory…

  • is also called main memory

  • is temporary

  • is directly accessible by the CPU

  • varies in nature (RAM is volatile, ROM is non-volatile)

14
New cards

secondary memory

  • is also called auxiliary memory

  • is permanent

  • is not directly accessible by the CPU

  • is always non-volatile in nature

15
New cards

bytes

tiny storage locations that a computer’s memory is divided into

16
New cards

How much information does one byte store?

a letter of the alphabet or a small number

17
New cards

What is each byte divided into?

8 smaller storage locations known as bits (binary digits)

18
New cards

How must any piece of data in a computer’s memory be stored?

as a binary numner

19
New cards

What is the computing power of a system largely determined by?

the CPU’s speed and the complexity of the program it runs

  • the faster a computer is, the more power and energy it requires

20
New cards

How is a faster CPU able to handle more demanding tasks efficiently?

it can process more instructions per second

21
New cards

multicore processor

a computer chip that contains multiple processing units (cores) on a single chip, which work together to perform tasks simultaneously, improving performance and allowing for more efficient multitasking

22
New cards

How is a program run?

it is copied from secondary storage to main memory, and then the CPU executes the program in main memory

23
New cards

What process occurs when a CPU executes the instructions in a program?

the fetch-decode-execute cycle

24
New cards

fetch

the next instruction is fetched, or read, from memory into the CPU

25
New cards

decode

the CPU decodes the instruction that was just fetched from memory, to determine which operation it should perform

26
New cards

execute

execute the operation

27
New cards

Where does the CPU take the memory address of the next instruction from?

the register, a high-speed memory location inside the CPU

28
New cards

operating system (OS)

a supervisory program, that oversees the operation of the computer and serves as an interface between human and machine

  • ex: Microsoft Windows, Apple’s MacOS, Linux

29
New cards

How does the OS interact with a program?

it retrieves and starts the program for you

30
New cards

What happens when you boot a computer?

the OS is loaded form the disk into memory

31
New cards

high-level language

a machine-independent programming language that combines algebraic expressions and English symbols

32
New cards

assembly language

uses mnemonic codes that correspond to machine language instructions

33
New cards

machine language

uses binary number codes understood by a specific CPU

34
New cards

input data

the data values that are scanned by a program

35
New cards

program output

the lines displayed in a program

36
New cards

Integrated Development Environment (IDLE)

a software package combining a word processor, compiler, linker and tools for finding errors

37
New cards

interpreter

a program that executes code line by line

38
New cards

compiler

a program that translates the entire code into machine language before execution

39
New cards

True or false: compilers are slower than interpreters

false

40
New cards

Python

a high-level, interpreted language used for the web, data analysis, AI, game development, and more

41
New cards

When did Python become popular?

after 2018 due to the AI revolution

42
New cards

Who was Python created by?

Guido van Rossum

43
New cards

When was Python first released?

February 20th, 1991

44
New cards

How does a compiler work?

it translates the high-level language program to a machine language program, which then can be executed at any time, without using the compiler

45
New cards

How does an interpreter work?

it translates each high-level instruction to its equivalent machine language instructions, then immediately executes them

46
New cards

What is the interpreter useful for?

scripting, quick prototyping, or languages like Python that prioritize ease of use

47
New cards

What is the compiler ideal for?

performance-critical applications, system programming, and languages like C that focus on efficiency

48
New cards

What 2 modes can the Python interpreter be used in?

script and interactive

49
New cards

interactive mode

enter statements directly in a shell; used by opening IDLE

50
New cards

script mode

save statements in a file/Python script; used by opening a text file (.py)

51
New cards

cell system

a program that allows you to run Python code in sets