Skip to content

平成29年度 秋期 ITパスポート試験 問81

This question's explanation and your answers so far.

問81
頻出度★☆☆

コンピュータに対する命令を, プログラム言語を用いて記述したものを何と呼ぶか。

出典 平成29年度 秋期 ITパスポート試験 問81
解説

問 81

  • Incorrectア

    A PIN code (Personal Identification Number) is a secret number used to verify a person’s identity on devices such as bank cards and smartphones; it is not instructions written in a programming language.

  • イ

    正解 Source code is text that describes instructions for a computer in a human-readable form, written using a programming language (such as C, Java, or Python). It exactly matches the definition in the question, “instructions for a computer, written using a programming language.” Source code is converted by a compiler or interpreter into the machine language (binary) that a computer can execute, and only then does it run. Therefore the correct answer is イ.

  • Incorrectウ

    Binary code is machine language (an executable form) represented as a sequence of 0s and 1s, in a form the computer can execute directly. It is the result of converting source code that a human wrote in a programming language, not itself something “written using a programming language.”

  • Incorrectエ

    A character code is a standard that defines the correspondence between characters and bit strings (numeric values), such as ASCII, Unicode, or Shift_JIS; it does not describe instructions for a computer.

ここがポイント
  • Source code = text of instructions written by a human in a programming language; it is converted into binary (machine language) by compilation or an interpreter and then executed.
  • Distinguish between source code (the original text a human writes) and binary code (the converted form the machine executes).

Your answers