
Dom.Mod.Prelim Exam OOP Java Programming

Quiz
•
Computers
•
University
•
Medium
diana diana
Used 2+ times
FREE Resource
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?
==
:=
=
=>
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Database Management in Construction Pretest

Quiz
•
University
50 questions
Quiz UAS Sistem Basis Data AOV

Quiz
•
University
52 questions
ИКТ ЖБ100

Quiz
•
University
50 questions
HTML,CSS

Quiz
•
3rd Grade - University
53 questions
Java Fundamentals Challenge

Quiz
•
University
50 questions
ICT (preparation)

Quiz
•
University
56 questions
J277/02 Computational thinking, algorithms and programming

Quiz
•
9th Grade - University
50 questions
Python Basic

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University