QUIZ1 - Object Oriented Programming (OOP)

QUIZ1 - Object Oriented Programming (OOP)

25 Qs

quiz-placeholder

Similar activities

COMPUTER ORGANIZATION - CLASS XI

COMPUTER ORGANIZATION - CLASS XI

KG - University

20 Qs

questions5

questions5

KG - University

20 Qs

Python Review - Input, Output, and Math

Python Review - Input, Output, and Math

9th - 12th Grade

25 Qs

First Round

First Round

KG - University

25 Qs

Augmented reality

Augmented reality

University

20 Qs

Grade IX Syllabus Revision Test

Grade IX Syllabus Revision Test

KG - University

20 Qs

Coding Contest – Round 1 (MCQ)

Coding Contest – Round 1 (MCQ)

University

20 Qs

Quiz tecnologie informatiche-teoria

Quiz tecnologie informatiche-teoria

2nd Grade - University

21 Qs

QUIZ1 - Object Oriented Programming (OOP)

QUIZ1 - Object Oriented Programming (OOP)

Assessment

Quiz

others

Hard

Created by

Cha Dechavez

FREE Resource

25 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name (SURNAME, FNAME MI)

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

Email

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the extension of java code files?
.js
.txt
.class
.java

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which Java keyword is used to access features of a package?
get
import
extends
All of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is the correct syntax to create a variable in Java?
var name;
int name;
var name int;
All of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which class in Java is used to take input from the user?
Scanner
Input
Applier
None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output of following Java code? public class Main { public static void main(String[] args) { String str = "Hello"; str = "Bye"; System.out.println(str); } }
Hello
Bye
Error
All of these

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?