Computer Science Midterm

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/86

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

87 Terms

1
New cards

Abstraction

A simplified representation of something complex, focusing only on essential details and hiding unnecessary ones.

2
New cards

Layers of a Computing System

The organized structure of computing, typically including hardware, operating system, software, and user interfaces.

3
New cards

High-Level Language

A programming language closer to human language, easier for people to read and write.

4
New cards

Low-Level Language

A language closer to machine code, harder for humans to read but more efficient for computers.

5
New cards

Compiler

A program that converts high-level code into machine code before execution.

6
New cards

Assembler

A program that translates assembly language into machine code.

7
New cards

Transistors vs Vacuum Tubes

Transistors are smaller, faster, and more reliable than vacuum tubes, which were used in early computers.

8
New cards

Bits and Bytes

Bits are binary digits (0 or 1); 8 bits make up one byte.

9
New cards

Bit Representation

Low voltage represents 0, high voltage represents 1.

10
New cards

Binary to Decimal Conversion

Converting base-2 numbers to base-10.

11
New cards

Decimal to Binary Conversion

Converting base-10 numbers to base-2.

12
New cards

Binary to Hexadecimal Conversion

Grouping binary digits into sets of four and converting each group to a hexadecimal value.

13
New cards

Number Systems

Methods of representing numbers (Binary, Decimal, Hexadecimal).

14
New cards

Adding Binary Numbers

Adding digits in base-2 using carry-over rules.

15
New cards

Analog Data

Data represented in a continuous form (e.g., sound waves).

16
New cards

Digital Data

Data represented in discrete binary form.

17
New cards

Two’s Complement

A way of representing signed binary numbers; negative numbers are created by inverting bits and adding 1.

18
New cards

Keyword Encoding

Text compression technique replacing frequently used words with shorter symbols.

19
New cards

Run-Length Encoding

Compression method replacing repeated characters with a count and a single instance.

20
New cards

Compression Ratio

The ratio between the uncompressed size and the compressed size of data.

21
New cards

Representing Color

Using binary combinations to store color information (RGB model).

22
New cards

Representing Text

Encoding letters and symbols into binary (e.g., ASCII, Unicode).

23
New cards

Representing Audio Data

Converting sound waves into binary through sampling.

24
New cards

Logic Gate

A basic building block of digital circuits performing a logical operation.

25
New cards

NOT Gate

Inverts input; outputs the opposite value.

26
New cards

AND Gate

Outputs true only if all inputs are true.

27
New cards

OR Gate

Outputs true if any input is true.

28
New cards

XOR Gate

Outputs true if inputs differ.

29
New cards

NAND Gate

Outputs false only if all inputs are true.

30
New cards

NOR Gate

Outputs true only if all inputs are false.

31
New cards

Boolean Expression

A formula using AND, OR, NOT to describe circuit logic.

32
New cards

Logic Diagram

A visual representation of logic gates in a circuit.

33
New cards

Truth Table

Table showing all input and output combinations for a logic circuit.

34
New cards

Combinational Circuit

A circuit where outputs depend only on current inputs.

35
New cards

Von Neumann Architecture

Computer design with shared memory and instructions/data stored together.

36
New cards

Stored-Program Concept

Instructions are stored in memory and executed sequentially.

37
New cards

Fetch-Execute Cycle

The cycle where a computer retrieves, decodes, and executes instructions.

38
New cards

Types of Memory

Includes RAM, ROM, Cache, and Secondary Storage.

39
New cards

RAM vs ROM

RAM is volatile and temporary; ROM is non-volatile and permanent.

40
New cards

Booting Process

The steps a computer takes to load the operating system on startup.

41
New cards

Instruction Register

Holds the current instruction being executed.

42
New cards

Program Counter

Holds the address of the next instruction to execute.

43
New cards

Operating System

Software that manages hardware, software, and user interaction.

44
New cards

Application Software

Programs that perform specific user tasks (e.g., Word, Excel).

45
New cards

System Software

Software that manages computer resources and operations.

46
New cards

Memory Management

The process of controlling and coordinating computer memory.

47
New cards

Paged Memory Management

Memory divided into fixed-size pages to manage efficiently.

48
New cards

Demand Paging

Loading memory pages only when needed.

49
New cards

Virtual Memory

Technique allowing execution of processes not fully in physical memory.

50
New cards

Thrashing

Excessive paging that slows down system performance.

51
New cards

CPU Scheduling

Determines the order processes are executed by the CPU.

52
New cards

First-Come, First-Served

Processes executed in order of arrival.

53
New cards

Shortest Job Next

The process with the smallest burst time executes first.

54
New cards

Round Robin

Each process is given equal time in cycles.

55
New cards

Average Turnaround Time

The average time it takes for all processes to complete.

56
New cards

Time Sharing

Allowing multiple processes to use CPU resources in rotation.

57
New cards

Address Binding

Mapping logical addresses to physical addresses in memory.

58
New cards

File Types

Categories of files such as text, binary, executable, etc.

59
New cards

Text File

File storing readable characters (ASCII/Unicode).

60
New cards

Binary File

File containing data not meant to be read as text.

61
New cards

Sequential Access

Reading data in a fixed order from beginning to end.

62
New cards

Direct Access

Accessing data directly using an address or index.

63
New cards

Directory Tree

Hierarchical structure of folders and files in a file system.

64
New cards

Seek Time

The time taken by the disk’s read/write head to reach the desired track.

65
New cards

Latency

The delay before data transfer begins after a command is issued.

66
New cards

Disk Scheduling

Technique to determine the order of disk I/O requests.

67
New cards

First-Come, First-Served (Disk)

Requests are processed in arrival order.

68
New cards

Shortest-Seek-Time-First

Chooses the request closest to the current head position.

69
New cards

Scan (Elevator Algorithm)

Disk arm moves back and forth servicing requests in order.

70
New cards

Starvation

When some requests wait indefinitely due to scheduling priorities.

71
New cards

Spreadsheet Basics

Using rows and columns to organize data.

72
New cards

Spreadsheet Formulas

Expressions that calculate values automatically.

73
New cards

Circular Reference

When a formula refers to its own cell directly or indirectly.

74
New cards

Database

A structured collection of data stored electronically.

75
New cards

DBMS

Database Management System; software to manage databases.

76
New cards

Select Query

SQL command used to retrieve data from a database.

77
New cards

Primary Key

A unique identifier for a record in a table.

78
New cards

Foreign Key

A field linking one table’s primary key to another table.

79
New cards

Entity-Relationship

Model showing relationships between database entities.

80
New cards

Machine Language

The lowest-level programming language understood by computers.

81
New cards

Assembly Language

Low-level language using mnemonic codes instead of binary.

82
New cards

High-Level Language

Programming languages closer to human language.

83
New cards

Assembler

Converts assembly language into machine code.

84
New cards

Compiler

Translates high-level language into machine code.

85
New cards

Pseudo Code

Informal code outline used to design algorithms.

86
New cards

Flow Chart

Diagram representing process flow using symbols.

87
New cards

Pep9 Simulator

Tool to practice writing machine code instructions.