Notations & Data Types Flashcards

1
Q

What are the 4 stages of the I/O Cycle?

A

Input, Output, Processing, and Storage Cycle (I/O Cycle) is a fundamental
concept in computing that governs the core functions of a computer system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the input stage

A

▪ Stage where data is entered into the computer system
▪ The input stage is crucial as it provides the raw data that the computer
will process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the role of the CPU at the processing stage

A

▪ The CPU performs calculations, comparisons, and other operations to
transform the raw data into meaningful information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the output stage

A

Displays or transmits the results of the processing to the user or another
system either visually (using a monitor or printer) or audibly (by using
speakers)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe where and why data is saved at the storage phase

A

▪ Data is saved to storage devices like a hard drive, SSD, or cloud storage
for later use
▪ Storage allows the results of processing to be retained and retrieved as
needed from the RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 3 primary notation types?

A

Decimal, binary and hexidecimal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe decimal notation

A

● Utilizes the base-10 system, which uses a system of ten unique
symbols to represent the values (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the binary system

A

A system of numbers that has only two different integer values 0
and 1
● The information within a computer is represented and stored as a
sequence of binary digits (1s and 0s)
● Each digit in a binary number, also known as a “bit”, represents a
power of two, allowing for compact and precise representation of
numerical values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the hexidecimal system

A

● Employs base-16, which uses 16 distinct symbols (0–9 for the first
ten and A–F for the remaining six)
● Hexadecimal is commonly used in computer programming,
memory addressing, and debugging processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is it important to understand decimal notation

A

o Decimal notation is used in various programming languages and in databases for
storing and manipulating numerical data
o Decimal notation is the cornerstone of the numerical world

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of the decimal system?

A

Simplicity and intuitiveness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do 1 and 0 correspond to on physical switches?

A

Digital computers use binary notation at the hardware level because it
corresponds to the on state (or 1) and an off state (or 0) for its electronic
switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is binary notation used for?

A

Binary notation is used in various fields of computer science, such as in the
design and analysis of algorithms, data structures, and computer networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the advantages of binary notation?

A

o The advantage of a binary system is its immediate compatibility with digital
electrical systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does each digits position represent in decimal, binary and hexidecimal?

A

decimal ^10
binary ^2
hexidecimal ^16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What aspects of technology use hexidecimal?

A

Network Protocols
▪ Encryption Algorithms
▪ Unique Identifiers (MAC/UUID)

16
Q

What are the advantages of hexidecimal notation?

A

Compactness and compatibility with binary notation

17
Q

Take 3 random decimal, hexidecimal and binary numbers - write them all in all other notation types.

A

18
Q

What is the smallest unit of measure of data?

A

Bit (1 or 0)

19
Q

What is equivalent to 8 bits?

A

Byte

20
Q

What is equivalant to half a byte?

A

Nibble

21
Q

What are these abbreviations in full?

KB, MB, GB, TB, PB

A

As we move up the scale, we encounter kilobytes (KB), megabytes (MB),
gigabytes (GB), terabytes (TB), and petabytes (PB)
▪ Each unit is approximately 1000 times larger than the previous one
● 1 MB = 1,000 KB
● 1GB = 1,000 MB
● 1 TB = 1,000 GB
● 1 PB = 1,000 TB

22
Q

What are these abbreviations in full and what would they be used for?

KiB, MiB, GiB

A

Binary storage - kibibytes (KiB), mebibytes (MiB), and gibibytes (GiB)

● For example, 1 KiB = 1,024 bytes

23
Q

What are these abbreviations in full and what would they be used for?

Kbps, Mbps, Gbps, Tbps

A

▪ kilobits per second (Kbps) = 1,000 bits per second
▪ megabits per second (Mbps) = 1,000 kilobits per second
▪ gigabits per second (Gbps)
▪ terabits per second (Tbps)

24
Q

What is processing speed measured in?

A

o When discussing processing speed, we’re going to use units like megahertz
(MHz) and gigahertz (GHz)
▪ megahertz (MHz)
● One million cycles per second
▪ gigahertz (GHz)
● One billion cycles per second

25
Q

What are the 5 most commonly used data types?

A

Integers
Floating point numbers
Boolean values
Charecters
Strings

26
Q

Explain integers and floating point numbers

A

▪ Integers
● Represent whole numbers, both positive and negative, without
any decimal component
▪ Floating-point Numbers
● Used to represent real numbers (decimal or fractions)
● Floating-point numbers are used when more precision is needed

27
Q

Explain boolean values

A

● Represent the logical values of TRUE and FALSE
● Boolean values are used in programming to control the flow of a
program and consume one bit of storage

28
Q

Explain characters and strings

A

▪ Characters
● Used to represent individual letters, digits, punctuation marks, or
any other symbol that can be represented in text

Strings
● Sequences of characters used to represent and manipulate text

29
Q

What is the ASCII?

A

o American Standard Code for Information Interchange (ASCII)
▪ Developed in the 1960s as one of the first character encoding standards, and it uses 7 bits to represent each character

30
Q

What are the disadvantages of the ASCII?

A

▪ ASCII could not accommodate characters from non-English languages,
special symbols, or even some commonly used English punctuation marks

31
Q

What is unicode?

A

▪ A much more extensive encoding system that can represent over a million unique characters