Java Midterm

Java Midterm

University

39 Qs

quiz-placeholder

Similar activities

ข้อสอบกลางภาค วิทยาการคำนวณ ชั้น ม.1/1

ข้อสอบกลางภาค วิทยาการคำนวณ ชั้น ม.1/1

KG - Professional Development

40 Qs

Blockchain

Blockchain

University

40 Qs

COMPUTER NETWORKS [LEC] - UAC PREPARATION

COMPUTER NETWORKS [LEC] - UAC PREPARATION

University

42 Qs

Comptia Port Numbers

Comptia Port Numbers

University

34 Qs

AIJ XITKJ

AIJ XITKJ

University

40 Qs

Loop Control Statement in C

Loop Control Statement in C

University

41 Qs

Internet & the Web

Internet & the Web

University

40 Qs

SCRATCH

SCRATCH

4th Grade - University

35 Qs

Java Midterm

Java Midterm

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

John Oli

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

39 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The output of `System.out.println(1 + 2 + "3");` is "33"

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The `break` statement is required to exit a loop early.   

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Arrays in Java are dynamically resizable. 

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

A `try` block must always be followed by a `catch` block. 

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The `continue` statement skips the current iteration and proceeds to the next. 

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The `main` method must be declared as `public static void main(String[] args)`

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

A `while` loop will always execute at least once. 

True

False

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?

Discover more resources for Computers