
OOP Programming Technique And Data & Variable

Quiz
•
Computers
•
University
•
Hard
azlina ibrahim
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume that you have create and save some Java code in the text editor, choose the correct order to compile and run Java using command prompt.
I. set path
II. type the java command
III. type the javac command
I,II,III
III,II,I
I,III,II
II,I,III
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the syntax of a class named Student with variable named studentName
class Student
{
char studentName;
}
class Student
{
int studentName;
}
class Student
{
studentName;
}
class Student
{
String studentName;
}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define terminologies used to describe the data component in UML class diagram
Method
Attribute
Class
Object
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Determine the output of the program below
class q2{
public static void main(String args[]){
System.out.println("I love Java!");
System.out.println("I love Java.");
}
}
I love Java.
I love Java!
I love Java. I love Java!
I love Java!
I love Java.
I love Java! I love Java.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Determine the output of the program below
class q1{
public static void main(String args[]){
System.out.print("I love Java!");
System.out.println("I love Java.");
}
}
I love Java.
I love Java!
I love Java. I love Java!
I love Java!
I love Java.
I love Java! I love Java
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right statement about Java Data types.
Integer data types are short, int and long
The character data type is char.
Real number data types are float and double
All the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the data type that is not recommended for numeric applications in Java?
int
double
byte
float
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
JavaScript Basics (2)

Quiz
•
University
18 questions
Java Como Programar - Deitel - Cap 1 e 2

Quiz
•
University
12 questions
MS Core Java Quiz-2 2023

Quiz
•
University
10 questions
Structure of Java Program

Quiz
•
University
20 questions
PEMROGRAMAN WEB

Quiz
•
University
15 questions
Chapter 1 Introduction to Computers and Java

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
15 questions
Java Basic Quiz

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