Search Header Logo

AMAT OOP Pre Quiz

Authored by angeneth angeneth

Information Technology (IT)

University

Used 1+ times

AMAT OOP Pre Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is Object-Oriented Programming (OOP)?

A programming style focused on procedures

A programming style focused on objects and classes

A type of database management system

A method of writing scripts

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is NOT an OOP principle?

Encapsulation

Inheritance

Compilation

Polymorphism

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these keywords is used to create an object in Java?

class

new

object

static

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class in Java?

A template for creating objects

A specific instance of an object

A primitive data type

A function

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Encapsulation in Java means:

Wrapping data and methods into a single unit

Hiding data from unauthorized access

Both a and b

None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?