MIS205 OOP Quiz 1

Quiz
•
Computers
•
2nd Grade
•
Medium
Güray ARIK
Used 4+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one is NOT a Java Data Type?
int
boolean
double
number
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a correct syntax to output "Hello World" in Java?
Console.WriteLine("Hello World");
System.out.println("Hello World");
print ("Hello World");
echo("Hello World");
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is local variable?
Variables defined inside methods, constructors or blocks are called local variables.
Variables defined outside methods, constructors or blocks are called local variables.
Static variables defined outside methods, constructors or blocks are called local variables.
None of the above.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
One of the main features of Java is Write Once Run Anywhere, i.e. it is platform-independent. It can run on any OS irrespective of the environment because of ...........................?
JVM
JRE
JDK
IDE
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which data type is used to create a variable that should store text in Java?
Char
String
Text
Boolean
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method can be used to find the length of a string?
getLength()
len()
getSize()
length()
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What will be the Output of the below code?
num1 == num2
num3 == num4
num1 == num2
num3 != num4
num1 != num2
num3 == num4
num1 != num2
num3 != num4
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming - Data Types

Quiz
•
1st - 10th Grade
10 questions
Programming - High Level Code & Machine Code

Quiz
•
2nd - 11th Grade
10 questions
PL/SQL

Quiz
•
1st - 10th Grade
15 questions
Estadística y Probabilidad aplicados en la ciencia de datos

Quiz
•
1st - 8th Grade
10 questions
Programación PSeint

Quiz
•
1st - 5th Grade
15 questions
Python Series

Quiz
•
1st - 5th Grade
10 questions
Sprite control with keyboard

Quiz
•
1st - 5th Grade
10 questions
[2024] SB Checkpoint 1

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
10 questions
Human-Environment Interactions Vocab Unit 1 Grade 2 Quiz

Quiz
•
2nd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
17 questions
Place value

Quiz
•
2nd Grade
20 questions
Liquid Measurement

Quiz
•
2nd - 5th Grade