PreTest - JAVA

PreTest - JAVA

University

65 Qs

quiz-placeholder

Similar activities

module4_excel

module4_excel

University

60 Qs

JavaScript -MIDTERM EXAM

JavaScript -MIDTERM EXAM

University

60 Qs

SOAL LATIHAN INFORMATIKA KELAS 7 SEMESTER 1

SOAL LATIHAN INFORMATIKA KELAS 7 SEMESTER 1

7th Grade - University

60 Qs

DSA Basics

DSA Basics

University

67 Qs

ôn tập từ bài 16 - 20 tin 10

ôn tập từ bài 16 - 20 tin 10

10th Grade - University

65 Qs

Network Components

Network Components

University

60 Qs

SAINS KOMPUTER TING 4 - 1.2 ALGORITMA

SAINS KOMPUTER TING 4 - 1.2 ALGORITMA

12th Grade - University

62 Qs

SIMULASI UJIAN INFORMATIKA KELAS 9

SIMULASI UJIAN INFORMATIKA KELAS 9

9th Grade - University

60 Qs

PreTest - JAVA

PreTest - JAVA

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Prof. Karale

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the size of int in Java?

2 bytes
4 bytes
8 bytes
Depends on OS

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a Java keyword?

static
Integer
void
new

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will 10 / 3 return in Java?

3.333
3
0
3.0

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which access modifier makes a member visible to all classes?

protected
private
default
public

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is not a primitive type?

int
float
String
boolean

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the default value of a boolean variable?

true
false
0
null

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which loop is guaranteed to execute at least once?

for
while
do-while
foreach

Create a free account and access millions of resources

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?