nerdexam
Python_Institute

PCEP-30-02 · Question #148

A code point is:

The correct answer is B. A number which makes up a character. Option B is correct because a code point is the unique number assigned to represent a character in a character encoding standard like Unicode. For example, the letter "A" has the Unicode code point U+0041 (decimal 65), and the emoji has code point U+1F60A - every character is…

Question

A code point is:

Options

  • AA point used to write a code.
  • BA number which makes up a character.
  • CA code containing a point.
  • D

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    83% (24)
  • C
    3% (1)
  • D
    10% (3)

Explanation

Option B is correct because a code point is the unique number assigned to represent a character in a character encoding standard like Unicode. For example, the letter "A" has the Unicode code point U+0041 (decimal 65), and the emoji has code point U+1F60A - every character is simply a number under the hood.

Option A is a nonsensical reversal of the term's meaning; "a point used to write code" describes a programming concept, not a character encoding primitive. Option C similarly plays on the words in reverse, treating "code" and "point" as separate literal objects rather than a compound technical term.

Memory tip: Think of a code point as a character's ID number in a giant lookup table - just as every student has a student ID number, every character has a code point number.

Community Discussion

No community discussion yet for this question.

Full PCEP-30-02 Practice