Exam 1: Creating Java Programs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Match each term with the correct statement below. -A GUI object resembling a window in which you can place messages you want to display

(Multiple Choice)
5.0/5
(39)

When you run a Java application using the ____ command, do not add the .class extension to the filename.

(Multiple Choice)
4.9/5
(31)

If you modify a class, what are the steps you must take to see your changes in the executing program?

(Essay)
4.8/5
(33)

When you define a Java class using an identifier, what are the requirements you need to know?

(Essay)
4.9/5
(40)

____ refers to the hiding of data and methods within an object.

(Multiple Choice)
4.9/5
(39)

public class Hello { public static void main(String[] args) { _________________________ } { Using the given code, write the statement in the main() method body that will produce the output "Hello to all!".

(Essay)
5.0/5
(40)

Match each term with the correct statement below. -Translates an entire program before carrying out the statement

(Multiple Choice)
4.9/5
(41)

A ____ is an error not detected until the program asks the computer to do something wrong, or even illegal, while executing.

(Multiple Choice)
4.9/5
(34)

Match each term with the correct statement below. -Allow you to assign intuitive names to areas of computer memory

(Multiple Choice)
4.7/5
(39)

A program written in ____ is the most basic circuitry-level language.

(Multiple Choice)
4.8/5
(23)

The ____________________ is also called the Java class library; it contains information about how to use every prewritten Java class, including lists of all the methods you can use with the classes.

(Short Answer)
4.8/5
(39)

Regarding code layout, what would be an equally valid and legal way to write the following Java code: public static void main(String[] args) { System.out.println("First Java application"); }

(Essay)
4.8/5
(37)

public class FindMyErrors { public static void main(String[] args) { System.out.println("My application with errors) } Given the above code, identify three separate syntax errors.

(Essay)
4.9/5
(37)

Match each term with the correct statement below. -Any combination of nonprinting characters

(Multiple Choice)
4.8/5
(36)

You use an import statement when you want to access a built-in Java class that is contained in a group of classes called a(n) ____________________.

(Short Answer)
4.8/5
(38)

Although not a requirement, it is Java standard that class identifiers begin with an uppercase letter and use other uppercase letters to improve readability.

(True/False)
4.9/5
(43)

System software is used for tasks such as word processing, calculations and playing games.

(True/False)
4.9/5
(31)

A(n) ____________________ error occurs when the syntax of the program is correct and the program compiles but produces incorrect results when you execute it.

(Short Answer)
4.8/5
(32)

Line comments start with ____.

(Multiple Choice)
4.7/5
(32)

Explain the purpose of arguments and why it is necessary to pass arguments to a method.

(Essay)
4.7/5
(36)
Showing 41 - 60 of 68
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)