CSC 101 FINAL EXAM REVIEW

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

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:33 AM on 5/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

What is computer science mainly about? What is an algorithm?

Computer science is the study of algorithms and problem solving. An algorithm is a step-by-step set of instructions that solves a problem.

2
New cards

What makes an algorithm valid?

It must be ordered, unambiguous, computable, produce a result, and stop in finite time.

3
New cards

What are the 3 main algorithm operations?

  • Sequential → steps in order

  • Conditional → decisions

  • Iterative → repetition/loops

4
New cards

What is an infinite loop and a computing agent?

An infinite loop never stops running. A computing agent is whatever carries out the algorithm (computer, robot, human, etc.).

5
New cards

Key people/events in computer history?

  • Napier → logarithms

  • Pascal → Pascaline

  • Jacquard → punched cards

  • Babbage → Difference & Analytical Engines

  • ENIAC → early electronic computer

  • von Neumann → stored-program architecture

6
New cards

Why do computers use binary?

Electronics work reliably with two states: on/off, true/false, 1/0.

7
New cards

How do you convert between binary and decimal?

  • Binary → Decimal: add powers of 2

  • Decimal → Binary: divide repeatedly by 2 and read remainders upward

8
New cards

What are overflow, sign magnitude, and two’s complement?

  • Overflow: number too large for available bits

  • Sign magnitude: one sign bit + value bits

  • Two’s complement: flip bits and add 1 to make negatives

9
New cards

How are text, sound, and images stored digitally?

  • Text → ASCII or Unicode

  • Sound → sampling rate + bit depth

  • Images → pixels using RGB values

10
New cards

Difference between lossless and lossy compression?

  • Lossless keeps all original data

  • Lossy removes some data to reduce size

11
New cards

What is Boolean logic? Main operators?

Boolean logic uses true/false values. Main operators are AND, OR, and NOT.

12
New cards

What are logic gates, multiplexers, and decoders?

  • Logic gates perform Boolean operations using transistors

  • Multiplexer selects one input from many

  • Decoder activates one output pattern

13
New cards

What are the 4 major parts of von Neumann architecture?

  • Memory

  • Input/Output

  • ALU (Arithmetic Logic Unit)

  • Control Unit

14
New cards

Difference between RAM, ROM, cache, volatile, and nonvolatile memory?

  • RAM: changeable temporary memory

  • ROM: prerecorded memory

  • Cache: very fast small memory

  • Volatile: erased without power

  • Nonvolatile: keeps data without power

15
New cards

What happens during the fetch-decode-execute cycle?

The CPU repeatedly fetches instructions from memory, decodes them, and executes them.

16
New cards

What do MAR, MDR, Program Counter, and Instruction Register do?

  • MAR → stores memory address

  • MDR → stores transferred data

  • Program Counter → next instruction address

  • Instruction Register → current instruction

17
New cards

What is parallel processing and the von Neumann bottleneck?

  • Parallel processing uses multiple processors at once

  • Von Neumann bottleneck happens because instructions are processed sequentially

18
New cards

Important networking terms?

  • LAN = local network

  • WAN = wide network

  • Router = directs traffic

  • DNS = converts names to IP addresses

  • Bandwidth = connection capacity

  • Wi-Fi uses IEEE 802.11

19
New cards

What are the 5 protocol stack layers and common protocols?

Layers: Physical, Data Link, Network, Transport, Application.

Protocols:

  • HTTP → web pages

  • TCP → reliable delivery

  • IP → addressing/routing

20
New cards

Key Python number concepts?

  • int = whole numbers

  • float = decimals

  • complex = numbers with j

  • type() checks data type

  • int() removes decimals

  • float() adds decimals

  • complex() adds +0j

  • random.randrange() gives random integers after import random