Computers

9th -

12thgrade

Image

AP Computer Science Principles Unit 3 Review

664
plays

10 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt
    Image

    ASCII is a character-encoding scheme that uses a numeric value to represent each character. For example, the uppercase letter “G” is represented by the decimal (base 10) value 71. A partial list of characters and their corresponding ASCII values are shown in the table above.


    ASCII characters can also be represented by binary numbers. According to ASCII character encoding, which of the following letters is represented by the binary (base 2) number 1010100?

    N

    P

    T

    W

  • 2. Multiple Choice
    1 minute
    1 pt

    Which of the following decimal (base-10) values is equivalent to the binary (base-2) value 101001?

    22

    37

    41

    82

  • 3. Multiple Choice
    1 minute
    1 pt
    Image

    What value does the above code segment display?

    17

    36

    53

    No value is ever displayed because the algorithm repeats the REPEAT UNTIL block indefinitely.

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?