MIS205 OOP Quiz 1

MIS205 OOP Quiz 1

2nd Grade

11 Qs

quiz-placeholder

Similar activities

Variables and Functions

Variables and Functions

KG - University

10 Qs

QUIZ if-else

QUIZ if-else

1st - 5th Grade

10 Qs

BE 4 UPS1-D1M3T11

BE 4 UPS1-D1M3T11

1st - 5th Grade

15 Qs

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

Python Part 1

Python Part 1

1st Grade - University

16 Qs

Java quiz

Java quiz

1st - 2nd Grade

14 Qs

 Computing Revision JCG

Computing Revision JCG

KG - University

14 Qs

Senac - 2° ano - Atividade 2 - 2° trimestre

Senac - 2° ano - Atividade 2 - 2° trimestre

2nd Grade

10 Qs

MIS205 OOP Quiz 1

MIS205 OOP Quiz 1

Assessment

Quiz

Computers

2nd Grade

Medium

Created by

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

Media Image

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

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?