Multiple Choice on JAVA BASIC

Multiple Choice on JAVA BASIC

12th Grade

50 Qs

quiz-placeholder

Similar activities

LATIHAN SOAL

LATIHAN SOAL

10th Grade - University

50 Qs

Multiple Choice Questions on Programming

Multiple Choice Questions on Programming

9th - 12th Grade

54 Qs

PTS Web

PTS Web

10th - 12th Grade

55 Qs

XII - CA - Lesson 4 - Introduction to PHP - Quiz 5

XII - CA - Lesson 4 - Introduction to PHP - Quiz 5

12th Grade

50 Qs

Programming Concepts

Programming Concepts

9th - 12th Grade

54 Qs

Quizes-Syntax-Master

Quizes-Syntax-Master

12th Grade

45 Qs

H - Substrings

H - Substrings

12th Grade

45 Qs

KK PSKEL 12 RPL 2

KK PSKEL 12 RPL 2

12th Grade

45 Qs

Multiple Choice on JAVA BASIC

Multiple Choice on JAVA BASIC

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Abiodun Asemota

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a primitive data type in Java?

String

int

Array

Scanner

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of a boolean variable in Java?

true

false

0

null

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which primitive data type is used to store decimal values?

int

boolean

double

char

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of int in Java?

8 bits

16 bits

32 bits

64 bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of double in Java?

8 bits

16 bits

32 bits

64 bits

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can store only two possible values?

int

boolean

double

float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following stores whole numbers?

double

int

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?