Basics in Java

Basics in Java

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Belajar Elemen 1 XI TKJ PSTS 23/24

Belajar Elemen 1 XI TKJ PSTS 23/24

11th Grade

20 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Arduino

Arduino

7th - 9th Grade

15 Qs

HTML

HTML

8th - 12th Grade

15 Qs

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

11th Grade - University

15 Qs

ข้อสอบ หุ่นยนต์ ม.3 กลางภาคเรียนที่ 1

ข้อสอบ หุ่นยนต์ ม.3 กลางภาคเรียนที่ 1

9th Grade

20 Qs

Quiz Excel 3

Quiz Excel 3

10th Grade

10 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

Basics in Java

Basics in Java

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Leelavathy J

Used 107+ 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 type of literal is "null"?

null Literal

Character Literal

String Literal

It is not a Literal

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Function of the Scanner class to accept a float literal from the user is

nextInt( )

hasNext( )

next( )

nextFloat( )

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the value of c after int c = 'B'+3; is executed?

101

69

Code is incorrect

B3

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select the types of programming constructs in Java.

Selective

Sequential

Random

Iterative

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

r and l in r-value and l-value are

read and location

real and location

reference and location

right and left

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Absence of _________ in switch..case leads to fallthrough

switch

case

default

break

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The compiler of Java works on_______ to give _________.

Byte Code, Source Code

Source Code, Object Code

Source Code, Byte Code

Byte Code, Object Code

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?