Comp Sci

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

1/57

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

58 Terms

1
New cards

Abacus (2500 BCE)

It was invented in 2500 BCE in Mesopotamia and is the oldest recognized computing device. It was a hand-operated calculator that efficiently added and subtracted large numbers.

2
New cards

Analytical Engine (1800s)

invented by Charles Babbage, it was the first design for a general purpose computer. It was unfortunately never completed, but it pioneered the idea of a computer that could perform multiple functions.

3
New cards

Ada Lovelace (1800s)

Writer of hypothetical programs for the Analytical Engine, recognizing her as the world's first programmer.

4
New cards

Hollerith’s Tabulating Machine (1890)

Created by Herman Hollerith for the U.S. Census, this electromechanical device used punch cards to significantly speed up data processing. It completed the census in 2.5 years, saving time and money, and eventually led to the foundation of IBM.

5
New cards

Computer “Bug”

On September 9th 1947, Grace Hopper was working on a Mark II Aiken calculator computer, when a moth got trapped between relay contacts. Ever since then, a computer bug is used to describe an error or glitch in a system.

6
New cards

vacuum tubes

used to upgrade calculation computers resulting in faster computations. The first computer to use vacuum tubes was the Colossus Mark I used by the Nazis. The Colossus Mark I is considered the first programmable electronic computer.

7
New cards

Electronic Numerical Integrator and Computer (ENIAC) (1946)

It was made at UPenn and designed by John Mauchly and J. Presper Eckhart. It was the first general purpose, programmable, and electronic computer. It is believed to have done more arithmetic than the human race in its 10 years of operation. It was made up of 17468 vacuum tubes, occupied about 1800 sqft, and weighed about 30 tons.

8
New cards

transistor

upgraded the vacuum tubes. It was able to switch on and off 10,000 times per second. Transistors are 50 nanometers or less in size, and are very fast and long lasting since there are no moving parts.

9
New cards

IBM 608 Transistor Calculator (1957)

was the first IBM product to use transistor circuits without any vacuum tubes and is believed to be the world's first all-transistorized calculator to be manufactured for the commercial market.

10
New cards

Mechanical Relay (1940s)

This was an electrically-controlled mechanical switch, which acted similarly to a water faucet in transporting electrons. However, it had many limitations, such as lack of speed, wear and tear, and insect attraction when used in bigger machines.

11
New cards

CPU

Central Processing Unit

12
New cards

ALU

Arithmetic Logic Unit

13
New cards

what are the 4 parts of the cpu

  1. Register

  2. ALU

  3. Control Unit

  4. Cache

14
New cards

Clock of a CPU

It regulates and synchronizes how fast operations are executed by the CPU

15
New cards

three main phases of operation within the CPU

Fetch - Decode - Execute

16
New cards

How do I know if a bit is 0 or 1?

If the bit’s value can be subtracted from the number without going negative, write 1 and subtract it. Otherwise, write 0. For example, in this picture the bit equal 48 and 48 - 128 is negative so it get a 0 but 48-32 and 16 is positive so it gets a 1

<p>If the bit’s value can be subtracted from the number without going negative, write 1 and subtract it. Otherwise, write 0. For example, in this picture the bit equal 48 and 48 - 128 is negative so it get a 0 but 48-32 and 16 is positive so it gets a 1</p>
17
New cards

What is the ASCII Value of 0?

48

18
New cards

The ASCII value of a and A

a=97, A=65

19
New cards

Boolean Logic for XOR

XOR is TRUE if the inputs are different.
XOR is FALSE if the inputs are the same.

if they’re opposites its True but if theyre they same its false

20
New cards

Boolean Logic for AND

If it is 1(true) and 1(true), then the whole thing is true, but if it is 1(true) and 0(false) then the whole thing is false

If its AND they both have to be true for it to be true; and false and false is false

21
New cards

Boolean Logic for OR

Same rules as XOR, but TRUE AND TRUE equal true or 1 and 1 equal 1

Only 1 on them have to be true for it to be true

22
New cards

How to convert Binary to Decimal

Step 1:List out powers of 2 up until the number of digits given, from right to left

Step 2:Add all powers of 2 that have binary value of 1

16 8 4 2 1

1 0 0 1 1

1+2+16=19

23
New cards

Adding Binary Numbers

1+1=10, 1+1+1=11

24
New cards

How to convert decimal to binary

  1. Start with your decimal number.

  2. Look at the largest power of two that is not bigger than your number.

  3. If that value fits, write a 1 and subtract it from your number.

  4. If it doesn’t fit, write a 0 and don’t subtract anything.

  5. Move to the next smaller power of two and repeat.

  6. Keep going until you reach 1.

  7. The sequence of 0s and 1s you wrote is the binary number.

25
New cards

Boolean Logic Shapes for AND / OR

knowt flashcard image
26
New cards

Registers

really fast memory storing data internally for the CPU

27
New cards

ALU

Where all the calculation happens

28
New cards

Control unit

the command center that coordinates everything

29
New cards

Cache

small memory to store extra data to speed things up

30
New cards

Multiplier Logic Unit (MLU)

Where all the multiplication happens

31
New cards

BUS

moves data between parts of the computer so it connects CPU, RAM, storage, and devices

32
New cards

Random Access Memory (RAM)

Stores programs and data while the computer is running

33
New cards

Command (CMD)

tells the CPU what to do

34
New cards

head unit

The part that starts operations

35
New cards

Primary Memory

The volatile memory that the CPU can access directly and quickly. It includes both the RAM and ROM.

36
New cards

Second Memory

Non-volatile Memory that is not immediately accessible by a computer and is used for long term. It includes the Hard Drive and SSD.

37
New cards

Read Only Memory(ROM)

Non-volatile memory that permanently stores essential instructions and data, like firmware, needed to start a device

38
New cards

SSD

Fast and durable storage device that uses integrated circuits (flash memory) to store data electronically

39
New cards

Hard Drive

a computer's primary, non-volatile storage device.

40
New cards

Input Devices

Hardware used to send data, commands, or signals to a computer, translating human actions into electronic signals the machine can process, enabling user interaction. Ex: microphone and mouse

41
New cards

Output Devices

Hardware that converts processed digital data into a human-perceptible form. Ex: Speaker and Printer

42
New cards

Operating System (OS)

System software that manages computer hardware, software resources, and provide common services for computer programs (other application software).

43
New cards

Main Tasks of an OS

  • Process Management

  • Memory Management

  • File Management

  • Device Management

  • Network Management

  • Security Management

  • Provide an User Interface (UI)

44
New cards

Process Management

Became essential with introduction of multi-processes. Manage how the CPU is used by different processes

45
New cards

Memory Management

It Uses Virtual Memory. Two Main Uses:

Memory protection - memory for different processes are kept protected from each other

Memory utilization - allocating and deallocating

46
New cards

File Management

Three main Uses:

  • Read/Write Files

  • Security (read/write/execute access)

  • Organization (directories/folders)

47
New cards

Device Management

Allow all applications not to have to worry about how to connect to different models of devices (printer, display… etc)

48
New cards

Control Program/Monitor (CP/M)

  • The dominant OS before DOS from the 70s to mid 80s

  • Later Control Program for Microcomputers

  • Lose popularity to DOS because IBM could not close a deal with CP/M and went with Microsoft instead

  • Many of the features in MSDOS were borrowed from CP/M

49
New cards

Disc Operating System(DOS)

  • Each computer brand had its own DOS

  • Microsoft DOS became the most popular DOS because IBM decided to license it

  • No Graphical User Interface (GUI)

  • Command Line Interface (CLI)

  • Single user and Single process

50
New cards

Uniplexed Information and Computing Service(UNIX)

  • It replaced the Multics (MULTiplexed Information and Computing Service)

  • Multi-users and Multi-processes (Multi-tasks)

  • Memory protection

  • Base of most modern OS (iOS and Android)

  • LINUX - Free UNIX like OS created by Linus Torvalds

  • BSD - Berkeley Software Distribution (MacOS based off this)

51
New cards

Microsoft Windows

  • Early versions of windows (pre-95) was still mostly running on DOS with a GUI

  • Crash often because of lack of memory protection

  • Becomes the most dominant OS in the world

  • Window NT (for New Technologies) was an enterprise version with all the new features and stability

  • Windows XP in the 2000s was built on NT and therefore solved most of the problems and make Windows even more popular

52
New cards

Mac OS

  • Introduced with the Macintosh in 1984

  • Apple, or Steve Jobs, did NOT invented the GUI. They have aligitly visited the Xerox PARC (Palo Alto Research Center) and “stole” the idea.

  • The first successful commercially available GUI

  • NOT true multitasking

  • MacOS became UNIX like since 2001 (When Steve Jobs returned to Apple)

53
New cards

non-volatile

(of a computer's memory) retaining data even if there is a break in the power supply and turns off.

54
New cards

Random Access Memory(RAM)

Serves as a computer's fast, short-term memory that temporarily holds data for active applications, allowing the CPU to access it quickly

55
New cards

Unified Extensible Firmware Interface (UEFI)

Modern standard defining the software interface between a computer's operating system and its platform firmware (BIOS replacement), enabling faster booting, support for large drives, better security

56
New cards

Basic Input/Output System (BIOS)

Essential firmware on your computer's motherboard that starts up hardware, runs diagnostics, and loads the operating system, but is being replaced by UEFI

57
New cards

Version of Windows OS from the earliest to the latest

Windows 95→Windows XP→Windows Vista→Windows 7

58
New cards

Multiplexed Information and Computing Service(Multics)

influential time-sharing mainframe operating system. Introduced key concepts like virtual memory, and robust security, and serving as a direct inspiration for the development of Unix.