Computer science AS

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

1/45

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

46 Terms

1
New cards

Denary numbers

Base-10 number system

0,1,2,3,4,5,6,7,8,9

2
New cards

Binary number

The binary number system is base-2. Each binary digit is written with either of the symbols 0 and 1.

3
New cards

Bit

A digit in the binary number system written using either of the symbols 0 and 1

4
New cards

Byte

A group of eight bits treated as a single unit

5
New cards

Hexadecimal

These are base-16 numbers and each digit is represented by the symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

6
New cards

Nibble

A group of four bits

7
New cards

Binary, denary and hexa conversions

knowt flashcard image
8
New cards

Binary prefix

Examples are kibi, Mebi, gibi,and tebi representing factors of 2^10, 2^10, 2³0 and 2^40 respectively to define the magnitude of a value

<p>Examples are kibi, Mebi, gibi,and tebi representing factors of 2^10, 2^10, 2³0 and 2^40 respectively to define the magnitude of a value</p>
9
New cards

two’s complement


Two's complement is a method for representing signed (positive, negative, and zero) integers in binary, and is the most common way computers handle these numbers. It uses the most significant bit (leftmost bit) as a sign bit, where 0 indicates a positive number or zero, and 1 indicates a negative number.

<p><span><br>Two's complement is <strong><mark>a method for representing signed (positive, negative, and zero) integers in binary</mark></strong>, and is the most common way computers handle these numbers. It uses the most significant bit (leftmost bit) as a sign bit, where 0 indicates a positive number or zero, and 1 indicates a negative number.</span></p>
10
New cards

One’s complement

One's complement is a method of representing negative binary numbers where each bit of the number is inverted

11
New cards

Binary arithmetic

Binary arithmetic refers to the mathematical operations performed on binary numbers, including addition, subtraction, multiplication, and division, using the base-2 numeral system. goes from right to left.

<p>Binary arithmetic refers to the mathematical operations performed on binary numbers, including addition, subtraction, multiplication, and division, using the base-2 numeral system. goes from right to left.</p>
12
New cards

overflow

In computer science, an overflow occurs when a calculation produces a result that exceeds the maximum value that a variable or data type can hold. This often leads to unexpected behavior in programs, potentially causing crashes, incorrect results, or even security vulnerabilities. 


13
New cards

Binary coded decimal

Binary Coded Decimal (BCD) is a way to represent decimal numbers in a digital system using binary digits (bits). Each decimal digit (0-9) is encoded with a four-bit binary number.BCD is often used in applications requiring precise decimal arithmetic, such as calculators, cash registers, and accounting systems. 


14
New cards

packed BCD

Packed Binary Coded Decimal (BCD) is a way to represent decimal numbers in binary format where two decimal digits are stored within a single byte (8 bits). Each 4-bit nibblewithin the byte represents a single decimal digit, allowing for more efficient storage compared to unpacked BCD,where each digit occupies a full byte. 


<p>Packed Binary Coded Decimal (BCD) is <strong><mark>a way to represent decimal numbers in binary format where two decimal digits are stored within a single byte (8 bits)</mark></strong>. Each 4-bit nibblewithin the byte represents a single decimal digit, allowing for more efficient storage compared to <span>unpacked BCD,</span>where each digit occupies a full byte.<span>&nbsp;</span></p><p><br></p>
15
New cards

BCD arithmetic

knowt flashcard image
16
New cards

ASCII code(American standard Code for information Interchange)

a character encoding standard for electronic communication that uses numeric codes to represent alphabetic and control characters. ASCII assigns a unique numerical value to each character, allowing computers and devices to communicate text.

<p>a character encoding standard for electronic communication that uses numeric codes to represent alphabetic and control characters. ASCII assigns a unique numerical value to each character, allowing computers and devices to communicate text. </p>
17
New cards

Unicode

a standard for character encoding that aims to provide a unique number for every character in every language, enabling consistent text representation across different systems. Unicode is designed to be comprehensive and includes characters from various writing systems, symbols, and emoji, enhancing global communication.

18
New cards

drawing object

a graphical element in computer graphics that can be manipulated, such as shapes, text, or images, often used in design software and presentations.

19
New cards

vector graphic

a type of digital image created using mathematical equations rather than pixels. Vector graphics are scalable without loss of quality, making them ideal for logos, illustrations, and graphic design. They maintain clarity at any size, allowing for precise adjustments and edits.

20
New cards

drawing list

a collection of drawing objects used in computer graphics to organize and manage graphical elements, enabling efficient rendering and manipulation in design applications.

21
New cards

property

a defined characteristic or attribute of a drawing object, such as its position, size, color, or style, that affects its appearance and behavior in a graphical context.

22
New cards

Bitmaps

are digital images composed of pixels, where each pixel represents a color. Bitmaps are resolution-dependent, meaning they can lose quality when scaled.

23
New cards

picture element (pixel)

the smallest unit of a digital image, representing a single point in the graphic, with a specific color and intensity.

24
New cards

colour depth

the number of bits used to represent the color of each pixel in a bitmap image, determining the range of colors that can be displayed.

25
New cards

bit depth

refers to the number of bits used to represent each pixel's color information in a digital image. Higher bit depth allows for more colors and smoother gradients.

26
New cards

image resolution

describes the amount of detail an image holds, typically measured in pixels per inch (PPI) or as the total pixel dimensions (width x height) of the image. The number pixels in an bitmap file. as product of its height and width values.

27
New cards

Screen resolution

the product of width and height values for the number of pixels that the screen can display.

<p>the product of width and height values for the number of pixels that the screen can display.</p>
28
New cards

file header

A file header is a set bytes at a bitmap file which identifies a file and contains information about the coding used

<p>A file header is a set bytes at a bitmap file which identifies a file and contains information about the coding used</p>
29
New cards

analogue data

data obtained by measurement of a physical properties which can have any value from continuous range of values

30
New cards

digital data

data that has been stored as a binary value which can have one of a discrete range of values

31
New cards

sampling

taking measurements at regular intervals and storing the value

32
New cards

sampling resolution

the number of bits used to store each sample

33
New cards

sampling rate

the number of apples taken per second

34
New cards
35
New cards

lossless compression

coding techniques that allow subsequent decoding to recreate exactly the original file.a type of data compression that allows the original data to be perfectly reconstructed from the compressed data, without any loss of information.

36
New cards

lossy compression

coding techniques that cause some information to be lost o that the exact original file cannot be recovered in subsequent decoding.a data compression technique that reduces file size by permanently discarding some of the original data.

37
New cards

RLE(run length encoding)

a common lossless compression technique.It works by replacing sequences of identical data values (runs) with a single instance of the data value and a count of its occurrences.This method is particularly effective on data with many repeating consecutive characters or symbols. 


<p>a common lossless compression technique.It works by replacing sequences of identical data values (runs) with a single instance of the data value and a count of its occurrences.This method is particularly effective on data with many repeating consecutive characters or symbols.<span>&nbsp;</span></p><p><br></p>
38
New cards

text file compression

Lossless Compression: Common techniques include:

  • Huffman coding: Assigns shorter codes to frequently occurring characters, reducing overall file size.

  • Run-length encoding (RLE): Replaces sequences of identical characters with a count and the character itself (e.g., "AAAA" becomes "4A").

  • Lempel-Ziv (LZ) algorithms: Builds a dictionary of repeating patterns and replaces them with references to the dictionary.

39
New cards

bitmap image compression

  • Lossy Compression (e.g., JPEG):

    • Discrete Cosine Transform (DCT): Transforms image data into frequency components, allowing for discarding less important high-frequency data. 

    • Quantization: Reduces the precision of DCT coefficients, further decreasing file size. 

    • Color space reduction: Limits the number of colors used, reducing the amount of data needed to represent each pixel. 

    • Lossless Compression (e.g., PNG):

      • Predictive coding: Uses previously encoded pixel data to predict the value of the current pixel, storing only the difference. 

      • Deflate algorithm: A combination of LZ77 and Huffman coding. 


40
New cards

vector graphic compression

  • Lossless Compression:

    Primarily focuses on compressing the mathematical descriptions of the shapes and paths that make up the graphic.

  • Reduced storage of points and curves:

    Instead of storing color information for every pixel, vector graphics store the coordinates of control points and mathematical equations that define lines, curves, and shapes. 


41
New cards

sound file compression

  • Lossy Compression (e.g., MP3, AAC):

    • Perceptual coding: Exploits the limitations of human hearing to discard inaudible or less noticeable audio data. 

    • Psychoacoustic modeling: Analyzes the audio signal and removes frequencies that are masked by louder sounds. 

  • Lossless Compression (e.g., FLAC):

    • Predictive coding: Similar to image compression, predicts future audio samples based on past samples. 

    • Variable-length coding: Assigns shorter codes to frequently occurring audio patterns. 

42
New cards

WAN(wide area network)

a network connecting computers on different sites, possibly thousands of kilometres apart

43
New cards

benefits of having the computers connected by aa WAN

  • a data archive that was stored on a remote computer could be accessed.

  • a message could be transmitted electronically to user on a remote computer

  • a ‘job’ could be run on a remote computer that had the required application software

44
New cards

WAN Characteristics

  • it will not be owned by organisations or company

  • it will be used by an organisation Orr a company to connect sites or branches

  • the transmission medium will be fibre optic cable

  • it will be leased from a public switched telephone network company(PSTN)

  • a dedicated communication link will be provided by the pstn

45
New cards

Local area network

a network connecting computer in a single room, in a single building Orr on a single site

46
New cards

benefits of connecting computers by LAN