Architecture of computers (lec. 2)

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

15 Terms

1
New cards

Data representation

  • Definition: The process of encoding and interpreting data in a way that allows computers to store, process, and manipulate information.

  • Mechanism: Uses binary representation, employing only two symbols (typically 0 and 1) to represent all types of data, including numbers, text, images, and more.


2
New cards

Data size

On the image

<p>On the image</p>
3
New cards

Binary Representation

  • Computers represent data using binary digits, or "bits," which can be either 0 or 1.

  • A single binary digit is known as a "bit," and a group of eight bits is called a "byte."


4
New cards

Numeric Representation

  • Integers: Whole numbers can be represented directly in binary form.

  • Floating-Point Numbers: Real numbers are represented using formats like IEEE 754, which includes a sign bit, an exponent, and a mantissa (fractional part).

  • Fixed-Point Numbers: Decimals can be represented by fixing the number of digits before andafter the decimal point.


5
New cards

Character Representation

  • Characters are represented using character encoding schemes, such as ASCII (American Standard Code for Information Interchange) and Unicode.

  • Each character is assigned a unique binary code (e.g., ASCII 'A' is 01000001).


6
New cards

Text Encoding

  • Text is stored as a sequence of characters, each represented using the corresponding character encoding.

  • Unicode is a widely used standard that can represent characters from various scripts and languages.


7
New cards

Image and Graphics Representation

  • Images can be represented using formats like BMP, JPEG, GIF, and PNG.

  • Pixels in an image are often represented using binary values for color channels (e.g., RGB values).


8
New cards

Audio Representation

  • Audio data can be represented using various formats, such as WAV, MP3, and AAC.

  • Sound samples are typically represented as numerical values in a time-domain or frequency-domain format.


9
New cards

Video Representation

  • Video data is often represented using formats like MPEG, AVI, and MP4.

  • Videos are a sequence of images (frames), and each frame is represented as a collection of pixels.


10
New cards

Data Structures

  • Data structures like arrays, lists, and trees allow for the organization and storage of data in a structured manner.

  • Elements in data structures are typically stored in contiguous or linked memory locations.


11
New cards

Compression

  • Data compression techniques reduce the amount of storage or transmission space required for data representation.

  • Lossless compression (e.g., ZIP) preserves all data, while lossy compression (e.g., JPEG) sacrifices some data quality for reduced file size.


12
New cards

Endianess

  • Computers can be either little-endian or big-endian in terms of how they store multi-byte data types (e.g., integers).

  • Endianness affects how bytes are ordered in memory.


13
New cards

Data Type Representation

  • Programming languages define various data types (e.g., integers, floats, characters) and their representations in memory.

  • Different data types require different amounts of memory.


14
New cards

Boolean Logic

  • Computers use binary logic to represent Boolean values (true or false), where 0 often represents false, and 1 represents true.


15
New cards

Network Data Representation

  • Data is serialized for transmission over networks using formats like JSON, XML, or binary protocols.

  • Data serialization and deserialization are essential for data exchange between computers.