Misconceptions Check

Misconceptions Check

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

4Q Week3 Review Quiz (Who missed the Quiz ONLY))

9th Grade

10 Qs

INFORMATIKA

INFORMATIKA

12th Grade

15 Qs

Revision for Quiz #1

Revision for Quiz #1

9th Grade

16 Qs

Pemrograman Web Pra PAS

Pemrograman Web Pra PAS

11th Grade

10 Qs

Mid semester kelas XI RPL Konsep pemodelan berorientasi objek

Mid semester kelas XI RPL Konsep pemodelan berorientasi objek

11th Grade

10 Qs

ICT Unit Test Topic : DBMS - Access

ICT Unit Test Topic : DBMS - Access

8th - 12th Grade

15 Qs

BP TIK 1

BP TIK 1

10th Grade

10 Qs

Табличні величини та алгоритми їх опрацювання.

Табличні величини та алгоритми їх опрацювання.

5th - 11th Grade

14 Qs

Misconceptions Check

Misconceptions Check

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Manuel Alvarez

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use to compare Strings?

=

==

.equals()

&&

Answer explanation

= is for assigning values

== is for comparing primitive types (int, double, boolean, char)

.equals() is for comparing Objects/Strings

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use to compare ints and doubles?

=

==

.equals()

||

Answer explanation

= is for assigning values

== is for comparing primitive types (int, double, boolean, char)

.equals() is for comparing Objects/Strings

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use to compare chars and booleans?

=

==

.equals()

!

Answer explanation

= is for assigning values

== is for comparing primitive types (int, double, boolean, char)

.equals() is for comparing Objects/Strings

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following the correct way to initialize a String variable?

string str = "Monday";

String str = "Monday";

String str = 'Monday';

string str = 'Monday';

Answer explanation

String is a java class, unlike the primitive types (int, double, float, char). All classes should start with an uppercase letter. You know a String is a class because it has its own methods.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The indexes of elements in a Java array always start with _.

0

1

2

3

Answer explanation

When you construct an array int [] arr = new int[ 10 ] ; 10 refers to the length, which is the number of elements in the array. The index of those elements begins with 0.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the length of this String: "Bread"

2

3

4

5

Answer explanation

The length of a string is the number of characters in it. The index is the position of any character or set of characters within the string. Length starts counting with 1 and index starts with 0.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What index number is the "d" in the String: "Bread"

2

3

4

5

Answer explanation

The length of a string is the number of characters in it. The index is the position of any character or set of characters within the string. Length starts counting with 1 and index starts with 0.

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?