Edit Game
Introduction to Java Programming - Activity#1
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   14  Close
Which of the following represents a single line comment in Java?
//
A non-executed line of code is called a Java _____________.
comment
True or False: Syntax errors are caused by incorrectly typed source code.
True
True or False: A program won't run if there is a logic error.
False
What do we call the process of finding and fixing errors in programming?
debugging
What is the output for the following statements? System.out.print("This question "); System.out.println("is easy!");
:)
What is the output for the following statements? System.out.println("This question"); System.out.println("is easy!");
:)
True or False: Identifiers can start with a number.
False
True or False: A Java statement is one or more lines of code terminated by a semicolon.
True
True or False: Java is case sensitive, which means identifier Hello and hello would have different meaning in Java.
True
Which of the following is the correct header for the main() method in Java?
public static void main (String args[])
Where does a java program start executing instructions from?
main method
The keyword "method" is another name for ______________.
a function
Which of the following statements is used to display an output in Java?
System.out.println();