Computer Science 1.2

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/101

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.

102 Terms

1
New cards

What is the primary number system used in modern computers?

Binary (base-2)

2
New cards

Which number system did Charles Babbage use for his inventions?

Decimal (base-10)

3
New cards

What is the ternary system?

A number system based on three digits (base-3).

4
New cards

What was the Setun computer known for?

It used a ternary system and was developed in the Soviet Union in 1958.

5
New cards

Why did binary logic replace other number systems?

Due to practical challenges and widespread adoption of binary logic.

6
New cards

What does binary represent in terms of electrical states?

On (1) and Off (0).

7
New cards

What is a bit?

A binary digit; a single digit, either 1 or 0.

8
New cards

How many bits are in a byte?

8 bits.

9
New cards

What is noise in computing?

Unwanted electrical disturbances that can affect signal integrity.

10
New cards

What is Boolean algebra used for?

It is the mathematical framework for logical circuit design and operation.

11
New cards

What is hexadecimal?

A base-16 number system that uses 16 distinct symbols.

12
New cards

What symbols are used in hexadecimal?

Digits 0 to 9 and letters A to F.

13
New cards

Why is hexadecimal used in computing?

It provides a compact way to represent binary values and simplifies conversion.

14
New cards

What is ASCII?

American Standard Code for Information Interchange, a character encoding standard.

15
New cards

How many characters can standard ASCII represent?

128 characters.

16
New cards

What is extended ASCII?

An 8-bit extension of ASCII that can represent 256 characters.

17
New cards

What is Unicode?

A character encoding standard that provides a unique number for every character.

18
New cards

How many characters does the current Unicode Standard encode?

149,186 different characters.

19
New cards

What is the Basic Multilingual Plane (BMP) in Unicode?

It contains the most commonly used characters and symbols for modern languages.

20
New cards

What is a shift cipher?

A type of substitution cipher where each letter is shifted a certain number of positions.

21
New cards

What is brute force in the context of cipher breaking?

A method of systematically trying every possible key until the correct one is found.

22
New cards

What was significant about Russel Kirch's work in 1957?

He created the first digital image by scanning an analogue photo.

23
New cards

What is the main advantage of using binary in computer systems?

It reduces hardware complexity and enhances reliability.

24
New cards

What is the relationship between binary and digital electronics?

Digital electronics, such as transistors, operate naturally in binary mode.

25
New cards

What are debugging tools?

Software applications used to identify, analyze, and fix bugs in programs.

26
New cards

What is a memory dump?

A process of capturing and saving the contents of a computer's memory for diagnosis.

27
New cards

What are the benefits of using standardized binary encoding schemes?

They enable consistent storage, retrieval, and processing across different systems.

28
New cards

What enabled the transition from film to digital in various industries?

The development of early digital cameras and scanners.

29
New cards

What are bitmap images also known as?

Raster images.

30
New cards

How do bitmap images reproduce images?

Using a grid of pixels, each assigned a specific color and intensity.

31
New cards

What is the resolution of a bitmap image?

The number of pixels contained within the image, expressed as width x height.

32
New cards

What does bit depth refer to in digital images?

The number of bits used to represent the color of each pixel.

33
New cards

What is the formula to calculate the size of a bitmap image?

Image size = width (pixels) x height (pixels) x color depth (bits per pixel).

34
New cards

What is metadata in the context of digital images?

Information that describes other data, such as dimensions and color depth.

35
New cards

What happens when you increase the resolution of a bitmap image?

It increases the image quality, allowing for greater detail and clarity.

36
New cards

What is the trade-off for a higher resolution image?

Larger file size, impacting storage and transfer efficiency.

37
New cards

What is the impact of increasing color depth in an image?

It allows for a wider range of colors, resulting in more vibrant images.

38
New cards

What is banding in digital images?

When gradients appear as distinct steps rather than smooth transitions due to low color depth.

39
New cards

What does analogue-to-digital conversion (ADC) do?

It converts continuous analogue signals into discrete digital values.

40
New cards

What is the significance of the sampling rate in audio?

It determines how often the amplitude of sound is measured, affecting audio quality.

41
New cards

What is the sampling rate for CD-quality audio?

44.1 kHz.

42
New cards

What does stereo sound reproduction use?

Two or more audio channels to create the perception of sound from different directions.

43
New cards

What is amplitude in sound waves?

The magnitude of change in a sound wave, representing loudness or intensity.

44
New cards

What is the purpose of video container formats like MP4 or MKV?

To encapsulate various components of a video, including frames, audio tracks, and metadata.

45
New cards

How are video frames stored?

As a sequence of still images encoded in binary format.

46
New cards

What is the typical frame rate for video playback?

Usually between 24 to 60 frames per second.

47
New cards

What is spatial compression in video?

A technique that reduces file size by eliminating redundant information within each frame.

48
New cards

What is temporal compression in video?

A technique that reduces file size by eliminating redundant information between frames.

49
New cards

What color model is often used for video compression?

YUV, which emphasizes luminance for better compression.

50
New cards

What is the primary benefit of increasing pixel density (PPI)?

It improves the clarity of images displayed on screens.

51
New cards

What is the bit depth of professional audio?

24 bit, allowing for 16,777,216 possible values.

52
New cards

What is the effect of a low color depth in images?

It can lead to banding and less vibrant colors.

53
New cards

What does increasing the number of pixels in an image do?

It enhances the image quality and detail.

54
New cards

Why is temporal compression important?

It is particularly effective for videos with significant detail changes, such as animations and live broadcasts.

55
New cards

What does unsigned binary represent?

It represents only positive integers using binary digits (0s and 1s).

56
New cards

What is two's complement?

A method for representing signed integers in binary, where the most significant bit indicates the sign.

57
New cards

How do you convert a positive binary number to its negative in two's complement?

Invert all bits and add 1 to the least significant bit.

58
New cards

What is a limitation of two's complement?

In an 8-bit system, it reduces the range of representable numbers from 0 to 255 to -128 to +127.

59
New cards

What is one's complement?

A binary representation method for signed integers where the most significant bit indicates the sign, and positive numbers are inverted to get negative counterparts.

60
New cards

What is a limitation of one's complement?

It has two representations for zero (positive and negative), which can cause confusion in arithmetic operations.

61
New cards

What is sign-magnitude representation?

A method where the most significant bit indicates the sign, and the remaining bits represent the magnitude of the number.

62
New cards

What is the range of values for one's complement and sign-magnitude?

Both represent numbers from -127 to +127.

63
New cards

What is binary-coded decimal (BCD)?

A method of representing decimal numbers where each digit is encoded separately into its own binary form.

64
New cards

Why is BCD useful?

It avoids rounding errors in applications requiring exact decimal representation, like financial applications.

65
New cards

What is Gray code?

A binary system where two successive values differ by only one bit, useful for minimizing transition errors.

66
New cards

What is Excess-N representation?

A system where a fixed bias (N) is added to the actual value to form an encoded value for easier comparisons.

67
New cards

How does Excess-3 encoding work for the decimal number 2?

It is encoded as 2 + 3 = 5, which is 0101 in binary.

68
New cards

What is fixed-point representation?

A method to store real numbers in binary by fixing the position of the binary point.

69
New cards

What are the trade-offs of fixed-point representation?

It allows straightforward representation of fractional numbers but limits range and precision.

70
New cards

How is the number 5.25 represented in a fixed-point system with 4 bits for integer and 4 bits for fractional parts?

As 0101.0100.

71
New cards

What is floating-point representation?

A method to represent real numbers that can have a large range or fractional parts, using a sign, exponent, and mantissa.

72
New cards

What are the advantages of floating-point representation?

It efficiently handles very large, very small numbers, and numbers with fractional parts with reasonable precision.

73
New cards

What is the purpose of the sign bit in IEEE 754 single-precision floating-point numbers?

The sign bit determines whether the number is positive or negative.

74
New cards

How many bits are used for the exponent in IEEE 754 single-precision representation?

Eight bits.

75
New cards

What is the Excess-127 system in the context of IEEE 754?

It is a method where 127 is added to the actual exponent value for storage.

76
New cards

What does the mantissa represent in IEEE 754 single-precision?

The mantissa represents the significant digits of the number.

77
New cards

How is the number -5.75 represented in IEEE 754 format?

1 (sign) 10000001 (exponent) 01110000000000000000000 (mantissa).

78
New cards

What is a key limitation of the IEEE 754 standard?

It is not precise enough to represent all decimal numbers, which can lead to rounding errors.

79
New cards

What are logic gates?

Logic gates are fundamental components in digital electronics that perform specific logical functions.

80
New cards

What are the basic types of logic gates?

AND, OR, and NOT gates.

81
New cards

What is the function of an AND gate?

An AND gate outputs high (1) only when both inputs are high (1).

82
New cards

How does an OR gate operate?

An OR gate outputs high (1) when at least one of its inputs is high (1).

83
New cards

What is the output of a NOT gate when the input is high (1)?

The output will be low (0).

84
New cards

What is a NAND gate?

A NAND gate is an AND gate followed by a NOT gate, outputting low (0) only when both inputs are high (1).

85
New cards

What does a NOR gate do?

A NOR gate outputs high (1) only when both inputs are low (0).

86
New cards

What is the difference between an XOR gate and an OR gate?

An XOR gate outputs true only when the inputs are different, while an OR gate outputs true when at least one input is true.

87
New cards

What is an XNOR gate?

An XNOR gate is an XOR gate followed by a NOT gate, outputting high (1) when both inputs are the same.

88
New cards

What is Boolean algebra used for in logic circuits?

Boolean algebra is used to represent logic circuits and simplify logical expressions.

89
New cards

What is a Karnaugh map (K-map)?

A K-map is a tool that helps simplify Boolean expressions visually, making it easier to create efficient digital circuits.

90
New cards

What should the groups in a K-map contain?

Groups must contain powers of 2: one, two, four, eight, or sixteen 1s.

91
New cards

What is the rule for grouping 1s in a K-map?

Groups must be rectangular or square, cannot be diagonal, and should be as large as possible.

92
New cards

Can groups in a K-map overlap?

Yes, groups can overlap to form larger groups.

93
New cards

What is the goal when minimizing groups in a K-map?

To use the smallest number of groups to cover all the 1s.

94
New cards

What happens to a variable in a K-map if its value changes across a group?

The variable is discarded from the simplified expression.

95
New cards

What is the significance of the control wire in a transistor?

The control wire regulates the current between the source and drain, allowing the transistor to switch states.

96
New cards

What is the output of a NAND gate when both inputs are low (0)?

The output will be high (1).

97
New cards

What is the output of an XOR gate when both inputs are high (1)?

The output will be low (0).

98
New cards

What does the term 'biased form' refer to in the context of the exponent in IEEE 754?

It refers to storing the exponent value after adding a bias (127) to it.

99
New cards

How many bits are used for the mantissa in IEEE 754 single-precision?

Twenty-three bits.

100
New cards

What is the purpose of truth tables in relation to logic gates?

Truth tables systematically list all possible input combinations and their corresponding outputs.