java conditionals, loops, and methods

java conditionals, loops, and methods

10th Grade

28 Qs

quiz-placeholder

Similar activities

Program Development - Python: General

Program Development - Python: General

9th - 10th Grade

25 Qs

What i lerned in cumputer science

What i lerned in cumputer science

8th - 12th Grade

25 Qs

Java Certification 1 (2025)

Java Certification 1 (2025)

9th - 12th Grade

26 Qs

APCSA Unit 7

APCSA Unit 7

9th - 12th Grade

25 Qs

CodeHS Arraylist

CodeHS Arraylist

9th - 12th Grade

25 Qs

Java Fall Final Review

Java Fall Final Review

9th Grade - University

28 Qs

SKT4 : Bab 1 : f) Tatasusunan & Subaturcara

SKT4 : Bab 1 : f) Tatasusunan & Subaturcara

10th - 12th Grade

24 Qs

AP Java Exam

AP Java Exam

10th - 12th Grade

25 Qs

java conditionals, loops, and methods

java conditionals, loops, and methods

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Sarbagya Malla

Used 28+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Symbols used to connect two or more statements; &&, ||
Logical Operators
Compound Conditional
Event
Conditional Statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

for(int i = 3; i < 20; i +=4)

System.out.print(i + " ");

3 7 11 15 19 23

19

3 7 11 15 19

7 11 15 19

23

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the underlined symbol in the pictured code called?

Variable

Math Method

Index

Arithmetic Operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

How many stars are printed?

7

3

4

5

Infinite Loop

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an example of a non-return method.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In this scenario it is raining. Is the conditional true or false and what will we do in this scenario.

true, we will stay indoors

true, we will go outside

false, we will stay indoors

false, we will go outside

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code print?

5 6 7 8 9

4 5 6 7 8 9 10 11 12

3 5 7 9 11

3 4 5 6 7 8 9 10 11 12

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?