Elements of Computer Architecture - INFS 1101

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

1/77

flashcard set

Earn XP

Description and Tags

Created by: Robin Kurt Cabildo Aquino

INFS 1101

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

78 Terms

1
New cards

Hardware

is comprised of physical, tangible parts

2
New cards

Software

is comprised of programs and operating systems

3
New cards

Programs

composed of collections of instructions and procedures that perform specific tasks on a computer

4
New cards

Computers

follow instructions

5
New cards

algorithm

A list of steps to solve a problem or perform a computation

6
New cards

software program

An algorithm written in a language that the computer understands

7
New cards

Windows Command line also known as cmd.exe or CMD,

is the command-line interpreter for the Windows operating system. It is a text-based interface that allows users to interact with the computer by typing text-based commands

8
New cards

WMIC which stands for Windows Management Instrumentation

is a terminal utility on Microsoft Windows operating systems that allows users to access system resources and settings. You can use it to query system settings, set system properties, and perform system actions via the Windows Management Instrumentation (WMI) framework

9
New cards

Binary

Computer use a _________ system

10
New cards

Passing current or no current (5V or 0V)

For Binary

11
New cards

Binary

1 or 0

12
New cards

1 or 0

Called a Bit

13
New cards

states

By combining bits, we can form ________

14
New cards

2² States

2 bits can have

15
New cards

2³ States

3 bits

16
New cards

2^4 States

4 Bits

17
New cards

RAM (Random Access Memory)

Program stored is in ____________

18
New cards

Memory Cells (for RAM)

are identified by an address, which is a binary number

19
New cards

RAM (Random Access Memory)

It occupies a list of memory cells

20
New cards

CPU

orchestrates program execution

21
New cards

CPU

Performs fetch-decode-execute cycles

22
New cards

Von Neumann Architecture

knowt flashcard image
23
New cards

Harvard Architecture

knowt flashcard image
24
New cards

Von Neumann

One shared memory unit for program instructions and data, and one bus for memory access.

25
New cards

Von Neumann

One arithmetic unit and one program control unit.

26
New cards

Von Neumann

Instruction is fetched from memory and decoded, then relevant data is fetched, then instruction is executed

27
New cards

Von Neumann

Requires at least two clock cycles to execute an instruction

28
New cards

Von Neumann

Most commonly used in PCs.

29
New cards

Von Neumann

Due to single memory unit and single bus, limited bandwidth causes a bottleneck situation.

30
New cards

Harvard

Two separate memory units: one for program instructions and one for data.

31
New cards

Harvard

A set of address and data buses to read and write data to memory, and another set of address and data buses to fetch instructions

32
New cards

Harvard

Can fetch instruction and data simultaneously

33
New cards

Harvard

Can execute an instruction in only one clock cycle

34
New cards

Harvard

Faster and no bottleneck issues

35
New cards

Harvard

Requires more memory and hardware.

36
New cards

Harvard

Most commonly used in embedded devices and signal processing.

37
New cards

Harvard

More and more modern computers are using Harvard architecture

38
New cards

Fetch Decode Execute

knowt flashcard image
39
New cards

Algorithm

“a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer”

40
New cards

Plain English

Pseudo-code

Flowchart

The algorithm can be described in a variety of ways

41
New cards

Pseudocode

an artificial and informal language that helps programmers develop algorithms.

42
New cards

Pseudocode

is a "text-based" detail (algorithmic) design tool.

43
New cards

A flowchart

a picture of the separate steps of a process in sequential order.

44
New cards

Pseudocode

These include while, do, for, if, switch

45
New cards

Pseudocode

The rules of _________ are reasonably straightforward.

46
New cards

Pseudocode

All statements showing "dependency" are to be indented.

47
New cards

A flowchart

It is a generic tool that can be adapted for a wide variety of purposes,

48
New cards

A flowchart

can be used to describe various processes, such as a manufacturing process, an administrative or service process, or a project plan

49
New cards

Flowchart

knowt flashcard image
50
New cards

Pseudocode

knowt flashcard image
51
New cards

Program code

Implementation of an algorithm in a programming language

52
New cards

programming language

is a formal language comprising a set of strings that produce various kinds of machine code output

53
New cards

High level languages

C & Python

54
New cards

Binary

Add two numbers (0010)

55
New cards

Machine code

Native language of the processor

56
New cards

Machine code

Operations and operands all in binary (or hex

57
New cards

Machine code

Operations and operands all in binary (or hex) Not human readable

58
New cards

Low-level languages

Machine code & Assembly

59
New cards

Assembly

Each line can be associated to as single instruction

60
New cards

Assembly

Human readable (but tedious and long)

61
New cards

An assembler

An ___________ converts assembly code to machine code

62
New cards

Machine Code and Assembly

Both are CPU-specific (non portable)

63
New cards

High Level Languages

Human readable (English keywords)

64
New cards

High Level Languages

Portable: same code can be used on different computers

65
New cards

High Level Languages

Differ in the level of control / automation they provide

66
New cards

High Level Languages

C, C++, Java, Rust, Go, Python, Javascript, PHP, Ruby

67
New cards

Compiled

converts the whole program to executable (machine code) before running.

68
New cards

Compiled

Runs faster and compiler not required to run the executable, but is more complex to develop.

69
New cards

Compiled

Allows the developer to have more control over hardware specs, i.e., memory management, CPU usage.

70
New cards

Interpreted:

converts the program to machine code instruction by instruction

71
New cards

Interpreted

Easy to debug but a little slower - always requires interpreter to run

72
New cards

Interpreted

More flexible, offer dynamic typing and smaller program size

73
New cards

Interpreted

Examples: Python, Javascript, PHP, Ruby

74
New cards

Hybrid

Java

75
New cards

Strongly typed

A language that requires variable and object data types to be specified (integer, string, float). Allows for more structure, but less flexible.

76
New cards

Loosely typed

A language that does not require variable and object data types to be specified. More flexible and faster, but errors are more likely to occur.

77
New cards

Loosely typed

Examples: JavaScript, Perl, Python, Ruby

78
New cards

Strongly typed

Examples: C++, Java, C#.