• 2022-06-07
    Comments are usually added in the source code of a computer program with the purpose of _______________.
    A: describing the intended operation of the source code
    B: making the source code more technical
    C: making the interface more user-friendly
    D: providing end users with more specific description of the program
  • A

    内容

    • 0

      When interpreting program processing language, most of them use the () method。 A: The<br/>source program commands are directly interpreted and executed one by<br/>one B: First,<br/>the source program is converted into intermediate code, and then<br/>interpreted and executed. C: First,<br/>the source program interpretation is converted into the target<br/>program, and then executed. D: Any<br/>other method is OK

    • 1

      _______________ specify a region of source code with a start delimiter and an end delimiter and the region is allowed to span multiple lines. A: Region comments B: Tailing comments C: Line comments D: Block comments

    • 2

      () Execute the function of translating code, and execute the source<br/>program immediately without generating intermediate code. A: Compiler B: assembler C: Interpreters D: Linker

    • 3

      Which method will complete this class?() A: public int compareTo(Object o){/* more code here */} B: public int compareTo(Score other){/* more code here */} C: public int compare(Score s1, Score s2){/* more code here */} D: public int compare(Object o1, Object o2){/* more code here */}

    • 4

      A(n) ( ) translates all the source code of a program written in a high-level language into object code prior to the execution of the program. While a(n) ( ) program is translated into executable form and executed one statement at a time rather than being translated completely before execution. A: assembler B: editor C: programmer D: compiler E: interpreter