Day 1 and 2 Flashcards

(40 cards)

1
Q

Base

A

indicates how many values a single digit can take

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

How many bits in a nibble, byte, word, double word, quad word

A
nibble = 4 bits
byte = 8 bits 
word = 16 bits
double word = 32 bits
quad word = 64 bits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Positional notation

A

each place within a number system carries a different weight.
makes basic math intuitive

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

How do you convert any base to a decimal?

A

MADD [multiply then add]
OCTAL = 1, 8, 64, 512, 4096
HEX = 1, 16, 256, 4096

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

How do you convert any decimal to a base?

A

by dividing then subtracting

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

How do you convert using grouping?

A

hex = 1, 2, 4, 8

oct = 1, 2, 4

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

What is an unsigned integer?

A

whole numbers as an absolute value. Commonly found in 16, 32, 64 bit sizes.

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

Shift logical left (SHL)

A

moves n bits in binary to the left and clears each empty bit.

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

Shift logical right (SHR)

A

moves n bits in binary to the right and clears each empty bit.

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

Signed integers

A

are whole number with a sign and are respresented in 2’s complement format.

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

Shift arithmetic left (SAL)

A

multiplies by moving n bits in the value to the left and clearing each empty bit while preserving the sign bit.

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

Shift arithmetic right (SAR)

A

divides by moving n bits in binary to the right and setting each empty bit to the same sign as the sign bit, each time preserving the sign bit.

2 rules: pad with sign bit and save sign bit***

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

Integer Overflow Vulnerability

A

occurs when a whole number is too large to be stored in the number of bits available. A carry out usually indicates an overflow. Check if the carry into the sign bit is different from the carry out of the sign bit.

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

Floating-point number

A

is a real number. In 1985, institute of electrical and electronics engineers created 1EEE 754.

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

What is the ASCII and Unicode

A

encoding method to convert 1s and 0s to human- readable characters.

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

7-bit ASCII

A

represents Latin alphabet. seven bits for code and eight bit is parity.

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

Parity bit

A

aka check bit, used to check for errors in transmission

18
Q

Extended ASCII

A

uses all eight bits to represent 256 characters/symbols, twice as many as 7-bit ASCII but not enough to represent all of the world’s languages.

19
Q

Unicode (UTF-8)

A

used for most webpages

20
Q

A in ASCII vs. Unicode

A
ASCII = 0x41
Unicode = 0x0041
21
Q

What is an executable

A

series of instructions a computer can directly perform (not human readable)

22
Q

Analog Signal

A

continuous sine wave with the potential for infinite resolution.

23
Q

Digital Signal

A

sequence of discrete values. 1s and 0s on a computer

24
Q

Image

A

comprised of many dots known as picture elements (pixels).

25
What is known as true color?
3 eight bit color values, red green and blue make up each pixel known also as 24-bit color.
26
What is considered HD in today's market?
720 vertical pixels
27
Video
streaming of images over time or frames per second. (frame rate) 25 or 30 fps for digital video
28
Compression
allows reduction in data size enabling data to be stored or transmitted more efficiently.
29
What is RLE
run length encoding. one method of data compression, where a run is a repeated occurrence of the same value.
30
What is RLE not efficient at compressing?
plaintext ASCII files.
31
What is RLE efficient at compressing?
images
32
What is the difference between lossless and lossy compression?
lossless- reduces file size without losing quality | lossy - reduces file size by loses some quality.
33
what are file extensions?
letters that follow the dot in a file name. Windows uses them to determine file type
34
What are file signatures?
normally the first few bytes in a file and have nothing to do with a file's name. Linux uses them to determine file type.
35
What are the file formats, extension and signature of Text?
Portable document format --> .pdf --> %PDF | Rich text format --> .rtf --> {\rft
36
What are the file formats, extension, and sig of Audio?
MPEG audio layer-3 --> .mp3 --> ID3 | Wave --> .wav --> RIFF
37
What are the file formats, extension, and sig of Image?
Portable Network Graphics --> .png --> .PNG Bitmap image --> .bmp --> BM Joint Photographic Experts Group --> .jpeg --> .....JFIF
38
What are the file formats, extension, and sig of Video?
Audio Video Interleave --> .avi --> AVI | Moving Picture Experts Group --> .mpeg --> ID3
39
What are the file formats, extension, and sig of Executable
Executable File format --> .exe --> MZ | Executable and Linkable Format --> .elf --> .ELF
40
What are the file formats, extension, and sig of Compression?
GZIP --> .gz --> ... | ZIP --> .zip --> PK