lERAN Flashcards
Normally the first few bytes within a file, used to determine file type
file signature (windows)
A whole number with a sign represented in 2’s complement format
signed Integer
A file that contains a series of instructions a computer can perform
executable
What Vulnerability occurs when a whole number is too large to be stored in the number of bits available?
Integer overflow
How many bits is in ASCII? What does it contain?
7, Latin alphabet
How many Bits is in extended ASCII?
8
What is used for most web pages?
utf-8
What is used for internationalization and localization of programs
utf-16
Unicode is backwards compatible with ASCII T/F?
T
An ____ is a sequence of discrete values i.e, 1s and 0s in a computer
Digital wave
An _____ is a continuous sine wave with the potential for infinite resolution
analog wave
What colors compose a pixel?
RGB
What is Run-Length encoding (RLE) and what is it not effective at?
a compression technique that combines repeat values, bad with ascii plain text files
What is lossless compression?
Saves image quality
What is Lossy compression?
Saves image space
What are file Extensions and what uses it?
bits that follow a file, windows use it
What are File Signatures and what uses it?
The beginning bits of a file, Linux uses it
What ASCII range contains (0-9)?
0x31-0x39
What ASCII range contains lowercase alphabet
0x41-0x5a
What ASCII range contains uppercase alphabet
0x61 - 0x7a
What is the file extension/signature for Portable Document Format (PDF)?
.pdf, %pdf
What is the file extension/signature for Rich Text Format?
.rtf \rtf
What is the file extension/signature for MPEG Audio Layer-34?
.mp3, ID3
What is the file extension/signature for Wave?
.wav, RIFF
What is the file extension/signature for Portable Graphics network (PNG)?
.png, .PNG
What is the file extension/signature for Bitmap Image
.bmp BM
What is the file extension/signature for Joint photographic Experts Group?
.jpeg JFIF
What is the file extension/signature for Audio Video Interleave?
.avi, AVI
What is the file extension/signature for Moving Picture Experts Group?
.mpeg ID3
What is the file extension/signature for Executable File Format?
.exe MZ
What is the file extension/signature for Executable and Linkable Format?
.elf .ELF
What is the file extension/signature for GZIP
.gz UA
What is the file extension/signature for ZIP
.zip PK
______ Is the use of electronic switches to solve Boolean functions and is fundamental to how computers are built
Digital Logic
_______ is an electronic device that performs a Boolean operation
logic gate
______ is a collection of logic gates configured to perform a particular function
digital circuit
The Vonn neuuuman architecture describes a ________ allowing instructions and data to be stored in memory rather then manually
store program concept
_____ are small amounts of storage space usually _________ in size
registers, 64 bits
_________ are used for any purpose and can be directly accessed by the programmer
General purpose registers
_______ are used for one single/special purpose and cannot be directly accessed by the programmer
Special purpose registers
_______ three digit GPR used by the arithmetic logic unit which executes arithmetic operations and logic decisions
Accumulator
_______ Two-digit SPR used to point the cu(control unit) to the correct memory address of the next instruction
Program Counter
_______ Three digit SPR used by the decoder to decode the instruction
Instruction Register
_______ Two-digit used to point to the correct memory address to read or write
memory address register
_______ Three digit SPR used to hold data to be read from or written to the ALU or memory, there are 100 memory locations, numbered 0-99
memory data register
_______ manages data passed from memory
Memory management unit
_______ performs fetch and decode steps by moving data and addresses between the registers and I/O or MMU
Control Unit
_______ Is the vocabulary or commands understood by the cpu and the interface that allows all software to run on hardware
ISA Instruction Set Architecture
What is an opcode?
numeric value that represents an instruction to the computer
What is an operand?
Indicates what data the operand is too work with
The process used by the cpu to retrieve, interpret, and perform each instruction of a program?
fetch decode execute
What is a mnemonic?
A sequence of characters to represent each opcode
HALT, mnemonic/opcode?
HLT 000
ADD, mnemonic/opcode?
ADD 1xx
Subtract, mnemonic/opcode?
SUB 2xx
Store, mnemonic/opcode?
STA 3xx
Load, mnemonic/opcode?
LDA 5xx
Branch unconditional, mnemonic/opcode?
BRA 6xx
Branch on zero, mnemonic/opcode?
BRZ 7xx
Branch on positive mnemonic/opcode?
BRP 8xx
Input, mnemonic/opcode?
INP 901
output, mnemonic/opcode?
OUT 902
PC > MAR >MDR >IR
HLT 000
A + MDR > A
ADD 1xx
A > MDR
STA 3xx
MDR > A
LDA 5xx
IR[ADDR] >PC
BRA 6xx
A - MDR > A
SUB 2xx
IF A === 0
BRZ 7xx
IF A >= 0
BRP 8xx
A ________ is a variable that holds more then one value
Buffer
A ________ occurs when to many variables are written too the buffer
buffer overflow
The goal of a ________ is to overwrite the function return address
stack overflow
What type of register set does CISC have and range of registers?
single register set 6-16
How many register operands per instruction?
one-two register operands per instruction
(CISC) parameter passing through _________
inefficient off-chip memory
CISC _______ - cycle instructions
multiple
CISC ________ length instructions
variable
CISC is good at pipelining T/F?
F
CISC Instructions are simple? T/F
F
CISC uses little edian?
T
Is CISC microprogrammed or hardwired?
microprogrammed
(CISC) complexity in _______
Microcode
CISC has many addressing modes T/F?
T
Many instructions can access memory.
T
_______ a computer architecture allowing several low level operations in one instruction
CISC
x86 is an example of _________ architecture
CISC
ARM is an example of ______ architecture
RISC
A computer architecture using only only one low-level operation
RISC
_______ stores data by the most significant bit
big edian (1234)
______ stores data by the least significant bit
little edian (4321)
CISC uses a ___________ architecture that supports data processing operations on both registers and memory locations
memory to register
RISC uses a ________architecture that supports data processing in registers only.
Load/store