QUIZ1 - Object Oriented Programming (OOP)

QUIZ1 - Object Oriented Programming (OOP)

25 Qs

quiz-placeholder

Similar activities

Quiz - Alpro E

Quiz - Alpro E

KG - University

20 Qs

ULANGAN SISTEM KOMPUTER

ULANGAN SISTEM KOMPUTER

KG - University

25 Qs

Object Oriented Programming - Midterm

Object Oriented Programming - Midterm

KG - University

20 Qs

Fundamentals of Computing 1-Final Exam (2025)

Fundamentals of Computing 1-Final Exam (2025)

KG - University

21 Qs

[1] QUIZ - INFORMATIKA 2024

[1] QUIZ - INFORMATIKA 2024

KG - University

20 Qs

G10 LESSON 3 REVIEW

G10 LESSON 3 REVIEW

10th Grade

22 Qs

Basics in C Programming

Basics in C Programming

12th Grade

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?