Computers

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

1/40

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.

41 Terms

1
New cards

Computer

An electronic device that processes data by following instructions (programs)

2
New cards

Software

Programs and instructions that tell the hardware what to do.

3
New cards

Input/Output (I/O)

Input = 

Output = 

Ways a computer communicates:

data into the computer (keyboard, mouse, microphone).

results out of the computer (screen, speakers, printer).

4
New cards

Processor

The “brain” that executes instructions and processes data.

5
New cards

Microprocessor

A processor built onto a single chip (modern CPUs, GPUs, etc.).

6
New cards

Memory

Temporary or permanent storage that holds data and instructions.

7
New cards

Register

Tiny, super-fast storage locations inside the CPU for data being worked on right now.

8
New cards

Cache

Very fast memory near the CPU that stores recently used data/instructions to speed things up.

9
New cards

Booting

The process of starting up a computer, where hardware is initialized and the operating system is loaded into memory so the system becomes ready for use.

10
New cards

Operating System

System software that manages hardware and software resources and provides services for applications.

11
New cards

a) File Systems,

b) Directory Structure

a) organizes how data is stored and accessed on storage devices, often in a hierarchical b). 

12
New cards

a) Shell,

b) Shell Commands

a) is an interface that lets users interact with the operating system. b) allow users to control the system, automate tasks, and access powerful tools.

13
New cards

Character Encoding

A method of representing text as numbers so it can be stored and processed by computers. 

14
New cards

Shell

A command-line interface that lets the user interact with the operating system by typing commands. Examples: Bash, Zsh.

15
New cards

Shell script

A text file containing a sequence of shell commands that can be executed together to automate tasks.

16
New cards

Terminal shell

The environment you open to type and run shell commands (e.g., the Terminal app on macOS). It provides access to the shell.

17
New cards

vi / Vim

A powerful text editor available directly in the terminal. It’s lightweight, keyboard-based, and used for editing scripts or configuration files.

18
New cards

VS Code (Visual Studio Code)

A modern, graphical code editor with integrated tools like syntax highlighting, Git support, debugging, and extensions for many languages.

19
New cards

RStudio / Positron

Integrated development environments (IDEs) for the R programming language. They provide an interface for writing code, running scripts, visualizing data, and managing projects. (Positron is the newer version by the same company, Posit.)

20
New cards

Python

A high-level, general-purpose programming language known for its readability and versatility. Used in data science, web development, automation, and AI.

21
New cards

R

A programming language specialized for statistics, data analysis, and visualization. Commonly used in scientific and academic research.

22
New cards

a) Bit

b) Binary digit

A a) (b) is the smallest unit of data in computing and can have only two values: 0 or 1. It represents a single state in a digital circuit — off/on, false/true, or low/high voltage.

23
New cards

Byte

A group of 8 bits and can represent 256 different values (from 0 to 255). It is the basic unit for measuring digital information (e.g., 1 KB = 1000 bytes).

24
New cards

1000x

This refers to units that grow by powers of 1000 — for example, 1 KB = 1000 bytes, 1 MB = 1000² bytes, 1 GB = 1000³ bytes (decimal system).

In contrast, computer memory often uses powers of 1024 (2¹⁰), so 1 KiB = 1024 bytes.

25
New cards

Binary representation 

Computers use the binary number system (base 2), where each digit is 0 or 1. Numbers, letters, and instructions are all stored and processed as sequences of bits in binary form.

26
New cards

Adding

Binary addition follows simple rules: 0+0 = 0, 0+1 = 1, 1+0 = 1, 1+1 = 10 (which means sum = 0, carry = 1). Addition is performed bit by bit, often with the help of logic circuits like adders.

27
New cards

Subtracting

Binary subtraction uses similar rules but often relies on 2’s complement to simplify hardware. By representing negative numbers in 2’s complement form, subtraction can be done as addition.

28
New cards

2’s complement

A method to represent signed integers in binary. To get the negative of a number, invert all bits and add 1. This allows hardware to handle addition and subtraction uniformly.

29
New cards

Floating point presentation

Used to store real (decimal) numbers, it splits the number into mantissa (significant digits) and exponent (power of 2). This format allows computers to represent very large or very small numbers efficiently but with limited precision.

30
New cards

Character encoding

It assigns a unique binary code to each character (letters, digits, symbols). Common systems include ASCII (1 byte per character) and Unicode/UTF-8, which supports many languages and symbols worldwide.

31
New cards

Logic gate symbols

They basic circuit components (AND, OR, NOT, XOR, NAND, NOR). Each gate has a symbol that visually represents its operation in circuit diagrams.

32
New cards

Logic table (truth table)

It lists all possible input combinations for a logic gate and their corresponding output. It shows clearly how the gate processes binary values.

33
New cards

Half-adder

It is a simple circuit that adds two bits, producing a sum and a carry output. It uses one XOR gate for the sum and one AND gate for the carry.

34
New cards

Full-adder

It three bits (two inputs plus a carry from a previous stage). It outputs a sum and a carry, and multiple full-adders can be connected to add multi-bit binary numbers.

35
New cards

Alphabet (Σ)

A finite set of symbols used to form words.

Example: Σ = {a, b} means all words are made from just “a” and “b”.

36
New cards

Word (String)

A finite sequence of symbols from an alphabet.
Example: if Σ = {a, b}, then “abba” is a word over Σ.

37
New cards

Language (L)

A set of words formed from an alphabet.
It can be finite or infinite, for example, L = {aⁿbⁿ | n ≥ 0} is the set of strings with equal numbers of a’s and b’s.

38
New cards

a) Kleene Star (∗)

The a) of  a set of strings V (written V*) is the set of all possible concatenations of zero or more elements from V, including the empty string ε. It represents “repeating something any number of times.”

39
New cards

Regular Expression (regex)

A regular expression is a symbolic way of describing patterns in strings. They use operators like *, |, and concatenation to define regular languages.

40
New cards

Regular language

A language that can be described by a regular expression or recognized by a finite automaton.

41
New cards

Wildcard Character

A placeholder that can match one or more unspecified characters (like or ?). They’re used in file searches and pattern matching e.g. .txt matches all text files.