java core (Kiem tra lan 1)

java core (Kiem tra lan 1)

University

10 Qs

quiz-placeholder

Similar activities

Digital Mindfulness

Digital Mindfulness

University

10 Qs

UTS Praktikum PBO Kom B

UTS Praktikum PBO Kom B

University

10 Qs

1er. Parcial

1er. Parcial

University

15 Qs

Pre Test Modul 4 Kelas B

Pre Test Modul 4 Kelas B

University

10 Qs

QUIZ TECH EASY ROUND!

QUIZ TECH EASY ROUND!

University

10 Qs

Quiz 6 Teori Bahasa dan Otomata 2020-2

Quiz 6 Teori Bahasa dan Otomata 2020-2

University

10 Qs

[Python] Variables, Data Types, and Operators

[Python] Variables, Data Types, and Operators

University

11 Qs

PHP BASIC

PHP BASIC

University

10 Qs

java core (Kiem tra lan 1)

java core (Kiem tra lan 1)

Assessment

Quiz

Instructional Technology

University

Practice Problem

Medium

Created by

HuyPP2

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is the correct syntax for java main method?

public void main(String[] args)

public static void main(string[] args)

public static void main()

none of the above

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Choose the appropriate data type for this field: isSwimmer

double

boolean

string

Int

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

If you want your condition to depend upon two conditions BOTH being true, What is the proper notation to put

between the two Boolean statements

!

||

&&

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Choose the appropriate data type for this value: 5.5

int

double

boolean

String

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What is an assignment statement ?

Adding a number to an int

Assigning a multiplication

Assigning a name to a variable

Assigning a value to a variable

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Can you compare a boolean to an integer?

Yes

No

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

public static void main(String[] args) {

int a = 5;

int b = 25;

int c = 35;

int d = 123;

System.out.print(a++ + ++b - ++c + d++);

}

what is the result in that code?

117

118

119

120

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 Instructional Technology