Intro to Comp - Lecture 2

Intro to Comp - Lecture 2
28問 • 2年前
  • ユーザ名非公開
  • 通報

    問題一覧

  • 1

    For a 3-bit binary number, which is the correct counting sequence from 0 to 7.

    000, 001, 010, 011, 100, 101, 110, 111

  • 2

    Given a variable to store a random data that can range from 0 to +65536, what is the most appropriate number of bits required for the variable?

    17-bit

  • 3

    How is decimal value -255 represented in binary form for sign-magnitude and 1's complement representation

    Sign-magnitude = 1 1111 1111, 1's complement = 1 0000 0000

  • 4

    For a 10-bit 2's complement number, what is the range of decimal numbers it can represent?

    -512 to +511

  • 5

    Given a 16-bit signed magnitude binary number represented in hexadecimal form as 807D, what is the truncated 8-bit equivalent value.

    FD

  • 6

    Which of the following could potentially result in an overflow? (Select all that applies)

    (+ve) - (+ve), (+ve) - (-ve)

  • 7

    Given a decimal number -25, what is the respective sign-magnitude, 1's complement and 2's complement value in hexadecimal form?

    sign-magnitude = 99, 1's complement = E6, 2's complement = E7

  • 8

    When performing addition for of 12-bit 2's complement number, what does the result of bit 12 indicates?

    Carry

  • 9

    Which pair(s) of 8-bit 2's complement arithmetic will not result in overflow nor carry? (select all that applies)

    -52 + -76, -52 + -77

  • 10

    An unsigned number FE24 is to be sign-extended to a 32-bit number, what is the hexadecimal value?

    0000FE24

  • 11

    Given two 8-bit 2's complement binary numbers 1100 0110 and 1000 0100, express the result of the binary addition as a 12-bit number.

    1111 0100 1010

  • 12

    Using a calculator, convert decimal -25564 to 16-bit binary.

    1001 1100 0011 0100

  • 13

    Using a calculator, perform the following arithmetic operation: F4 + 8A

    FF7E

  • 14

    Given a calculator uses 16-bit to represent binary numbers, what is the largest positive number it can represent

    32767

  • 15

    In Binary Coded Decimal (BCD), what is the BCD result when these two BCD numbers are added together: 1001 0111 + 0001 0101?

    0001 0001 0010

  • 16

    The following is a partial 3-bit gray code sequence, identify the missing 3-bit value in blank: 011, 010, ___, 111, 101

    110

  • 17

    What is the answer?

    -331413

  • 18

    For a 5 digit decimal number, what is highest decimal value that it can represent?

    99999

  • 19

    When a decimal number 0.64 is expressed in binary with 5-bit precision, which binary representation give the least amount of error?

    0.10100

  • 20

    Manually perform the following binary subtraction: 0110 0110 - 1110 1000

    0111 1110

  • 21

    For a 12-bit 2's complement number 98A, which is the signed extended 16-bit number expressed in hexadecimal form?

    F98A

  • 22

    Given a 32-bit IEE 754 floating point number represented in hexadecimal form as C200 8000, manually compute its floating point value.

    -32.125

  • 23

    From the 32-bit binary number representing IEEE754 floating point number, which bit determine the sign of the floating point number?

    Bit 31

  • 24

    What is the exponent value for the IEEE754 32-bit binary value C200 8000?

    132

  • 25

    Given a 4 characters string of 8-bit data (92, DD, 8C, 62) where 7-bit are encoded using ASCII and the LSB is an odd parity bit, which character is erroneous?

    DD

  • 26

    What is the answer?

    -99680256

  • 27

    Convert 45.45 into IEEE754 (32-bit)

    01000010001101011100110011001100

  • 28

    Convert the -5.75 to IEEE 754 32-bit

    11000000101110000000000000000000

  • 1.1: Software life cycle

    1.1: Software life cycle

    ユーザ名非公開 · 17問 · 2年前

    1.1: Software life cycle

    1.1: Software life cycle

    17問 • 2年前
    ユーザ名非公開

    Intro to computing - Lecture 1

    Intro to computing - Lecture 1

    ユーザ名非公開 · 32問 · 2年前

    Intro to computing - Lecture 1

    Intro to computing - Lecture 1

    32問 • 2年前
    ユーザ名非公開

    Chapter 5

    Chapter 5

    ユーザ名非公開 · 7問 · 2年前

    Chapter 5

    Chapter 5

    7問 • 2年前
    ユーザ名非公開

    Intro to Comp - Lecture 4

    Intro to Comp - Lecture 4

    ユーザ名非公開 · 34問 · 2年前

    Intro to Comp - Lecture 4

    Intro to Comp - Lecture 4

    34問 • 2年前
    ユーザ名非公開

    Intro to comp - Lecture 3

    Intro to comp - Lecture 3

    ユーザ名非公開 · 24問 · 2年前

    Intro to comp - Lecture 3

    Intro to comp - Lecture 3

    24問 • 2年前
    ユーザ名非公開

    Quiz 2

    Quiz 2

    ユーザ名非公開 · 7問 · 2年前

    Quiz 2

    Quiz 2

    7問 • 2年前
    ユーザ名非公開

    1.2: Software Engineering Methodologies

    1.2: Software Engineering Methodologies

    ユーザ名非公開 · 20問 · 2年前

    1.2: Software Engineering Methodologies

    1.2: Software Engineering Methodologies

    20問 • 2年前
    ユーザ名非公開

    2.2: Relational Model and ER Model

    2.2: Relational Model and ER Model

    ユーザ名非公開 · 19問 · 2年前

    2.2: Relational Model and ER Model

    2.2: Relational Model and ER Model

    19問 • 2年前
    ユーザ名非公開

    2.3: Converting ER Model to Relational model

    2.3: Converting ER Model to Relational model

    ユーザ名非公開 · 5問 · 2年前

    2.3: Converting ER Model to Relational model

    2.3: Converting ER Model to Relational model

    5問 • 2年前
    ユーザ名非公開

    Quiz 1

    Quiz 1

    ユーザ名非公開 · 8問 · 2年前

    Quiz 1

    Quiz 1

    8問 • 2年前
    ユーザ名非公開

    Week 2 Concurrency

    Week 2 Concurrency

    ユーザ名非公開 · 10問 · 11ヶ月前

    Week 2 Concurrency

    Week 2 Concurrency

    10問 • 11ヶ月前
    ユーザ名非公開

    Week 3 Mutual Exclusion

    Week 3 Mutual Exclusion

    ユーザ名非公開 · 3回閲覧 · 12問 · 11ヶ月前

    Week 3 Mutual Exclusion

    Week 3 Mutual Exclusion

    3回閲覧 • 12問 • 11ヶ月前
    ユーザ名非公開

    Week 4 Synchronisation

    Week 4 Synchronisation

    ユーザ名非公開 · 10問 · 11ヶ月前

    Week 4 Synchronisation

    Week 4 Synchronisation

    10問 • 11ヶ月前
    ユーザ名非公開

    Week 5 Processes and scheduling

    Week 5 Processes and scheduling

    ユーザ名非公開 · 22問 · 11ヶ月前

    Week 5 Processes and scheduling

    Week 5 Processes and scheduling

    22問 • 11ヶ月前
    ユーザ名非公開

    Week 6 Interprocess Communication

    Week 6 Interprocess Communication

    ユーザ名非公開 · 22問 · 11ヶ月前

    Week 6 Interprocess Communication

    Week 6 Interprocess Communication

    22問 • 11ヶ月前
    ユーザ名非公開

    Week 7 File system

    Week 7 File system

    ユーザ名非公開 · 13問 · 11ヶ月前

    Week 7 File system

    Week 7 File system

    13問 • 11ヶ月前
    ユーザ名非公開

    Week 8 Virtual Memory

    Week 8 Virtual Memory

    ユーザ名非公開 · 22問 · 11ヶ月前

    Week 8 Virtual Memory

    Week 8 Virtual Memory

    22問 • 11ヶ月前
    ユーザ名非公開

    Week 9 Architectures

    Week 9 Architectures

    ユーザ名非公開 · 10問 · 11ヶ月前

    Week 9 Architectures

    Week 9 Architectures

    10問 • 11ヶ月前
    ユーザ名非公開

    BigO scenario qns

    BigO scenario qns

    ユーザ名非公開 · 8問 · 9ヶ月前

    BigO scenario qns

    BigO scenario qns

    8問 • 9ヶ月前
    ユーザ名非公開

    問題一覧

  • 1

    For a 3-bit binary number, which is the correct counting sequence from 0 to 7.

    000, 001, 010, 011, 100, 101, 110, 111

  • 2

    Given a variable to store a random data that can range from 0 to +65536, what is the most appropriate number of bits required for the variable?

    17-bit

  • 3

    How is decimal value -255 represented in binary form for sign-magnitude and 1's complement representation

    Sign-magnitude = 1 1111 1111, 1's complement = 1 0000 0000

  • 4

    For a 10-bit 2's complement number, what is the range of decimal numbers it can represent?

    -512 to +511

  • 5

    Given a 16-bit signed magnitude binary number represented in hexadecimal form as 807D, what is the truncated 8-bit equivalent value.

    FD

  • 6

    Which of the following could potentially result in an overflow? (Select all that applies)

    (+ve) - (+ve), (+ve) - (-ve)

  • 7

    Given a decimal number -25, what is the respective sign-magnitude, 1's complement and 2's complement value in hexadecimal form?

    sign-magnitude = 99, 1's complement = E6, 2's complement = E7

  • 8

    When performing addition for of 12-bit 2's complement number, what does the result of bit 12 indicates?

    Carry

  • 9

    Which pair(s) of 8-bit 2's complement arithmetic will not result in overflow nor carry? (select all that applies)

    -52 + -76, -52 + -77

  • 10

    An unsigned number FE24 is to be sign-extended to a 32-bit number, what is the hexadecimal value?

    0000FE24

  • 11

    Given two 8-bit 2's complement binary numbers 1100 0110 and 1000 0100, express the result of the binary addition as a 12-bit number.

    1111 0100 1010

  • 12

    Using a calculator, convert decimal -25564 to 16-bit binary.

    1001 1100 0011 0100

  • 13

    Using a calculator, perform the following arithmetic operation: F4 + 8A

    FF7E

  • 14

    Given a calculator uses 16-bit to represent binary numbers, what is the largest positive number it can represent

    32767

  • 15

    In Binary Coded Decimal (BCD), what is the BCD result when these two BCD numbers are added together: 1001 0111 + 0001 0101?

    0001 0001 0010

  • 16

    The following is a partial 3-bit gray code sequence, identify the missing 3-bit value in blank: 011, 010, ___, 111, 101

    110

  • 17

    What is the answer?

    -331413

  • 18

    For a 5 digit decimal number, what is highest decimal value that it can represent?

    99999

  • 19

    When a decimal number 0.64 is expressed in binary with 5-bit precision, which binary representation give the least amount of error?

    0.10100

  • 20

    Manually perform the following binary subtraction: 0110 0110 - 1110 1000

    0111 1110

  • 21

    For a 12-bit 2's complement number 98A, which is the signed extended 16-bit number expressed in hexadecimal form?

    F98A

  • 22

    Given a 32-bit IEE 754 floating point number represented in hexadecimal form as C200 8000, manually compute its floating point value.

    -32.125

  • 23

    From the 32-bit binary number representing IEEE754 floating point number, which bit determine the sign of the floating point number?

    Bit 31

  • 24

    What is the exponent value for the IEEE754 32-bit binary value C200 8000?

    132

  • 25

    Given a 4 characters string of 8-bit data (92, DD, 8C, 62) where 7-bit are encoded using ASCII and the LSB is an odd parity bit, which character is erroneous?

    DD

  • 26

    What is the answer?

    -99680256

  • 27

    Convert 45.45 into IEEE754 (32-bit)

    01000010001101011100110011001100

  • 28

    Convert the -5.75 to IEEE 754 32-bit

    11000000101110000000000000000000