chapter 2 quiz comp sci a

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

what does IDE stand for

1 / 6

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

7 Terms

1

what does IDE stand for

integrated development enviornment

New cards
2

which of the following is called a console application

an interactive program that only uses text input and output, but no GUI

New cards
3

programs errors can be caused by

bad syntax

code that compiles fine but is interpreted differently from what the programmer intended

code that compiles fine and behaves just as the programmer intended

New cards
4

what is a class constructors

a special procedure for creating objects of a class

New cards
5

for which of the following is OOP especially helpful

coordinating team projects

New cards
6

code to memorize

import java.util.Scanner;

public class Greeting {

public static void main(String [] args) {

Scanner kboard = new Scanner (System.in);

System.out.print(“Enter your first name: “);

String firstName= kboard.nextLine();

System.out.print(“Enter your last name: “);

String lastName= kboard.nextLine();

System.out.println(“Hello, “ + firstName + “ “ + lastName);

System.out.println(“Welcome to java!”);

}

}

New cards
7

what is “scanner”

a library class in the java.util package that helps to read user input from the keyboard

New cards

Explore top notes

note Note
studied byStudied by 83 people
... ago
5.0(1)
note Note
studied byStudied by 16332 people
... ago
4.9(156)
note Note
studied byStudied by 131 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 208 people
... ago
5.0(1)
note Note
studied byStudied by 35 people
... ago
5.0(1)
note Note
studied byStudied by 81 people
... ago
5.0(1)
note Note
studied byStudied by 41100 people
... ago
4.9(218)

Explore top flashcards

flashcards Flashcard (85)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (98)
studied byStudied by 26 people
... ago
5.0(1)
flashcards Flashcard (100)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (61)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (63)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (67)
studied byStudied by 25 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 5 people
... ago
5.0(1)
robot