CAO2 Flashcards

1
Q

What is the smallest possible addressable unit of computer storage?

A) Bit
B) Byte
C) Word
D) Nibble

A

Byte

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

Which term describes a group of bits that a computer processes as a single unit?

A) Bit
B) Byte
C) Word
D) Nibble

A

Word

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

What is the base of the binary number system?

A) 2
B) 8
C) 10
D) 16

A

2

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

Which of the following is the hexadecimal representation of the decimal number 26?

A) 1A
B) 1B
C) 2A
D) 2B

A

1A

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

What is the binary representation of the decimal number 25?

A) 11001
B) 10110
C) 10011
D) 11100

A

11001

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

To convert a decimal number to binary, you:

A) Multiply by 2 and keep the remainders
B) Divide by 2 and keep the remainders
C) Multiply by 10 and subtract the digits
D) Divide by 10 and keep the remainders

A

Divide by 2 and keep the remainders

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

In an 8-bit signed magnitude representation, the binary form of -3 is:

A) 11111100
B) 10000011
C) 00000011
D) 11111111

A

10000011

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

What is the main advantage of using two’s complement representation for signed integers?

A) It allows two representations for zero.
B) It simplifies arithmetic operations.
C) It makes binary numbers easier to read.
D) It is faster than floating-point representation.

A

It simplifies arithmetic operations.

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

Which field in a floating-point number represents the precision of the value?

A) Sign field
B) Exponent field
C) Significand field
D) None of the above

A

Significand field

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

In the IEEE-754 single-precision standard, the exponent field is biased by:

A) 127
B) 1023
C) 128
D) 256

A

127

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

The ASCII code is based on which communication code system?

A) Telex
B) Morse code
C) Binary-Coded Decimal (BCD)
D) Unicode

A

Telex

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

Which character encoding system allows representation of all languages worldwide?

A) ASCII
B) EBCDIC
C) Unicode
D) BCD

A

Unicode

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

What type of error detection method is often used in barcodes and ISBNs?

A) CRC
B) Check digits
C) Hamming codes
D) Unicode

A

Check digits

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

Which error detection technique involves dividing a block of data by a fixed divisor and appending the remainder to the message?

A) Parity checking
B) Check digits
C) Cyclic redundancy checking (CRC)
D) Hamming code

A

Cyclic redundancy checking (CRC)

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

In Hamming code error correction, the Hamming distance must be at least:

A) k + 1 to detect k errors
B) 2k + 1 to correct k errors
C) k to correct k errors
D) 1 to detect all errors

A

2k + 1 to correct k errors

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

A bit can represent:

A) 0 or 1
B) On or Off
C) High or Low voltage
D) All of the above

A

All of the above

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

A nibble is equivalent to:

A) 2 bits
B) 4 bits
C) 8 bits
D) 16 bits

A

4 bits

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

Which base system is most commonly used as shorthand for binary values, allowing grouping of bits?

A) Decimal
B) Octal
C) Hexadecimal
D) Ternary

A

Hexadecimal

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

In a one’s complement representation, the negative of the binary number
00000011
00000011 is:

A)

11111100
B)

10000011
C)

11111101
D)

11111110

A

11111100

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

Which representation system only allows one unique form of zero?

A) Signed magnitude
B) One’s complement
C) Two’s complement
D) Decimal

A

Two’s complement

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

In two’s complement representation, to get the negative form of a binary number, you:

A) Flip all bits
B) Flip all bits and add 1
C) Add 2
D) None of the above

A

Flip all bits and add 1

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

What does the most significant bit in a signed integer represent?

A) The parity bit
B) The number’s magnitude
C) The sign of the number
D) The exponent value

A

The sign of the number

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

In an 8-bit two’s complement system, what is the largest positive number that can be represented?

A) 127
B) 128
C) 255
D) 256

A

127

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

In IEEE-754 floating-point representation, what is indicated when all bits in the exponent are set to 1 and the significand is zero?

A) Zero
B) NaN
C) Positive or negative infinity
D) Underflow

A

Positive or negative infinity

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

Which of the following describes the precision of a floating-point number?

A) The number of bits in the exponent field
B) The difference between the largest and smallest values representable
C) The number of significant digits it can accurately represent
D) The ability to represent negative values

A

The number of significant digits it can accurately represent

26
Q

In floating-point representation, the term biased exponent refers to:

A) Adding a fixed value to the actual exponent
B) Subtracting a fixed value from the exponent
C) Setting the exponent to a fixed minimum
D) Multiplying the exponent by a constant

A

Adding a fixed value to the actual exponent

27
Q

ASCII uses how many bits to represent each character?

A) 7 bits
B) 8 bits
C) 16 bits
D) 32 bits

A

7 bits

28
Q

Which character encoding system provides support for a wide range of global languages?

A) ASCII
B) BCD
C) EBCDIC
D) Unicode

A

Unicode

29
Q

The EBCDIC code was developed primarily for use by:

A) Apple computers
B) IBM mainframes
C) UNIX systems
D) Microsoft computers

A

IBM mainframes

30
Q

Which type of code is specifically designed to detect and correct errors?

A) CRC
B) Parity code
C) Check digits
D) Hamming code

A

Hamming code

31
Q

What is the minimum Hamming distance required to correct up to 2 single-bit errors?

A) 2
B) 3
C) 4
D) 5

A

4

32
Q

What is modulo-2 arithmetic primarily used for in error detection?

A) Calculating parity bits
B) Adding check digits
C) Detecting carry bits
D) Performing binary subtraction for CRC

A

Performing binary subtraction for CRC

33
Q

Which numbering system is characterized by base 2?
A) Decimal
B) Binary
C) Octal
D) Hexadecimal

A

Binary

34
Q

In a binary number, each digit represents a power of which number?
A) 10
B) 8
C) 2
D) 16

A

2

35
Q

Which hexadecimal number represents the binary number 1010?
A) A
B) B
C) C
D) F

A

A

36
Q

Which of the following is a common use of binary arithmetic in computers?
A) Representing textual data
B) Performing mathematical calculations
C) Storing visual images
D) Organizing file systems

A

Performing mathematical calculations

37
Q

What is the hexadecimal equivalent of the binary number 000101101010?
A) 1AA
B) 16A
C) 1A9
D) 2AB

A

16A

38
Q

In binary addition, what is the result of 1 + 1?
A) 0, with a carry of 0
B) 1, with a carry of 1
C) 0, with a carry of 1
D) 1, with a carry of 0

A

0, with a carry of 1

39
Q

In signed binary representation, how is a negative integer represented?
A) By using two’s complement
B) By using signed magnitude
C) By using one’s complement
D) All of the above

A

All of the above

40
Q

To convert a decimal fraction to binary, which method is used?
A) Division by the base
B) Multiplying by the radix
C) Subtracting from 1
D) Adding each digit

A

Multiplying by the radix

41
Q

What is the one’s complement of the binary number 00000101?
A) 11111011
B) 11111110
C) 11111010
D) 11111101

A

11111010

42
Q

What is the primary reason for using hexadecimal representation in computing?
A) It simplifies binary to decimal conversion
B) It makes binary data shorter and more readable
C) It allows for easier arithmetic calculations
D) It is more accurate than binary representation

A

It makes binary data shorter and more readable

43
Q

What is the two’s complement of the binary number 00000101?
A) 11111011
B) 11111010
C) 11111101
D) 11111111

A

11111011

44
Q

Which of these is NOT a characteristic of the binary numbering system?
A) Base 2
B) Digits range from 0 to 1
C) Commonly used in computers
D) Uses digits 0 to 9

A

Uses digits 0 to 9

45
Q

What does each hexadecimal digit correspond to in binary?
A) 2 bits
B) 3 bits
C) 4 bits
D) 5 bits

A

4 bits

46
Q

Which base is used in the decimal numbering system?
A) 2
B) 8
C) 10
D) 16

A

10

47
Q

In hexadecimal addition, if the sum of two digits is 21, what is the remainder?
A) 1
B) 5
C) 7
D) 9

A

5

48
Q

How do you represent the decimal number 15 in hexadecimal?
A) E
B) F
C) D
D) 10

A

F

49
Q

What is the result of 7 + 6 in hexadecimal?
A) E
B) C
C) D
D) F

A

D

50
Q

In binary, what is the outcome of subtracting 1 from 0?
A) 0
B) 1
C) 0 with a borrow of 1
D) 1 with a carry of 1

A

0 with a borrow of 1

51
Q

Which of these is a correct binary subtraction rule?
A) 1 - 1 = 1
B) 0 - 0 = 1
C) 1 - 0 = 1
D) 0 - 1 = 1 with a carry of 1

A

1 - 0 = 1

52
Q

Which of these is the correct binary equivalent of the decimal number 10?
A) 1000
B) 1010
C) 1001
D) 1100

A

1010

53
Q

In signed binary numbers, the most significant bit represents:
A) The value of the number
B) The base of the number
C) The sign of the number
D) The length of the number

A

The sign of the number

54
Q

In binary addition, what is the result of adding 111 and 101?
A) 1100
B) 1011
C) 1000
D) 1101

A

1100

55
Q

What is the binary equivalent of the hexadecimal number A?
A) 1000
B) 1010
C) 1101
D) 1110

A

1010

56
Q

To find the one’s complement of a binary number, you:
A) Add 1 to the number
B) Replace each 0 with 1 and each 1 with 0
C) Subtract 1 from the number
D) Shift the bits to the left

A

Replace each 0 with 1 and each 1 with 0

57
Q

In two’s complement representation, to find the negative of a binary number, you:
A) Add 1 to its one’s complement
B) Subtract 1 from its one’s complement
C) Add the number to itself
D) Reverse the bits

A

Add 1 to its one’s complement

58
Q

What is the decimal equivalent of the hexadecimal number 3BA4?
A) 1,538
B) 2,780
C) 15,268
D) 20,442

A

15,268

59
Q

Which of these numbers represents 101 in binary format?
A) 4
B) 3
C) 5
D) 6

A

5

60
Q

What is the hexadecimal equivalent of the decimal number 255?
A) EE
B) FF
C) CC
D) DD

A

FF

61
Q

The hexadecimal system is based on which number?
A) 8
B) 10
C) 12
D) 16

A

16