Week 4: Recap Java Programming

Week 4: Recap Java Programming

University

10 Qs

quiz-placeholder

Similar activities

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

Sistem Operasi dan Aplikasi

Sistem Operasi dan Aplikasi

University

10 Qs

CC103 - Seatwork 1

CC103 - Seatwork 1

University

15 Qs

การรักษาความปลอดภัย

การรักษาความปลอดภัย

University

10 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Quiz Alpro Modul 4 Anjay

Quiz Alpro Modul 4 Anjay

University

15 Qs

Quiz 1

Quiz 1

University

10 Qs

Week 4: Recap Java Programming

Week 4: Recap Java Programming

Assessment

Quiz

Computers

University

Medium

Used 16+ 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

30 sec • 1 pt

Which of the following is the correct way to write a class signature? (The line of code to create an application)

public class NameOfApplication{

public class NameOfApplication

public NameOfApplication{

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a variable to store an integer value named num1?

double num1;

int num1;

int double num1;

final int num1;

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Fill in the missing blank:

keyboard=________ Scanner(System.in);

space

new

in

keyboard

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct naming convention for naming an application?

newApplication

NewApplication

newapplication

NEWAPPLICATION

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct naming convention for naming a constant?

constantName

Constantname

ConstantName

CONSTANTNAME

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct naming convention for naming a variable?

VariableName

variableName

VARIABLENAME

variablename

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the missing blank?

num1=__________________________.nextInt();

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?