AP CSA Unit 1 Intro

AP CSA Unit 1 Intro

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

The console keeps displaying a value 5 higher than the expected result. This is an example of what type of error?

Back

Logic

2.

FLASHCARD QUESTION

Front

The program executes. At one point, the user is asked for some input. This input causes the program to crash. This is an example of what type of error?

Back

Run Time

3.

FLASHCARD QUESTION

Front

What does the following code output: System.out.println("1 + 2");

Back

1+2

4.

FLASHCARD QUESTION

Front

What is the output of the following code: System.out.println(1 + 2 + "3");

Back

33

5.

FLASHCARD QUESTION

Front

What will be the output of System.out.println("1 + 2")? Options: 1+2, 3, 12, error

Back

error

6.

FLASHCARD QUESTION

Front

What is the output of the following code: System.out.println("1" + 2 + 3);

Back

123

7.

FLASHCARD QUESTION

Front

What is the output of the following code: System.out.println("\n1\n2\t3");

Back

1 2 3

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?