Dom.Mod.Prelim Exam OOP Java Programming

Dom.Mod.Prelim Exam OOP Java Programming

University

55 Qs

quiz-placeholder

Similar activities

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th COMPUTER SCIENCE CH-1 to CH-6 TN SB I-MID

11th Grade - University

53 Qs

Neuro Foundation Final Assessment Quiz

Neuro Foundation Final Assessment Quiz

University

50 Qs

CAD_solidworks

CAD_solidworks

University

51 Qs

OBJECT ORIENTED ANALYSIS DESIGN

OBJECT ORIENTED ANALYSIS DESIGN

University

50 Qs

Midterm Examination (II-BINS)

Midterm Examination (II-BINS)

University

50 Qs

pangkalan data lanjutan tingkatan 5

pangkalan data lanjutan tingkatan 5

1st Grade - University

50 Qs

WEBDES Midterm Exam

WEBDES Midterm Exam

University

60 Qs

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

Pre-Midterm Review Questions BSME-2A/2B/2C/2D

University

55 Qs

Dom.Mod.Prelim Exam OOP Java Programming

Dom.Mod.Prelim Exam OOP Java Programming

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

diana diana

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is a valid variable name in Java?

2value

value_2

value-2

@value

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the default value of an int variable in Java?

0

null

undefined

-1

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which keyword is used to declare a constant variable in Java?

const

static

final

constant

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the size of a float variable in Java?

4 bytes

2 bytes

8 bytes

1 byte

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

int

boolean

String

char

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you declare a double variable named price?

double = price;

price double;

double price;

price = double;

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which operator is used for assignment in Java?

==

:=

=

=>

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 Computers