Unit 4 Flashcard 2 Reduced 25%

Unit 4 Flashcard 2 Reduced 25%

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Why do we use for loops in Java?

Back

To repeat something for a fixed number of times

2.

FLASHCARD QUESTION

Front

What is NOT a reason a programmer should indent their code?

Back

Helps shorten the code

3.

FLASHCARD QUESTION

Front

To maintain good style, where should brackets go in Java programming?

Back

Always on their own line

4.

FLASHCARD QUESTION

Front

Why do we use if statements in Java?

Back

To do something only if a condition is true

5.

FLASHCARD QUESTION

Front

What does an if/else statement look like in Java? Options: if(condition) { // code } else { //code }

Back

if(condition) { // code } else { //code }

6.

FLASHCARD QUESTION

Front

Why do we use control structures in Java?

Back

To control the flow of the program

7.

FLASHCARD QUESTION

Front

Is this student admitted to high school if they made a 620 on the entrance exam?

Media Image

Back

No, they are not admitted.

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?