Search Header Logo

Final Exam in OOP

Authored by Rey Dacoco

Engineering

University

Used 1+ times

Final Exam in OOP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a class?

A class is a type of variable in programming.

A class is a function that returns a value.

A class is a blueprint for creating objects in programming.

A class is a method for executing code.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which term refers to hiding the internal details of an object from the user?

polymorphism

inheritance

abstraction

encapsulation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does JDBC stand for?

Java DataBase Connection

Java Document Base Connectivity

Java Data Binding

Java Database Connectivity

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is required to connect a Java application to a MySQL database?

MySQL JDBC driver

Java Database Connectivity (JDBC) API

MySQL ODBC driver

MySQL Command Line Client

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly retrieves a book record with ID 1?

PUT /books/1

DELETE /books/1

GET /books/1

POST /books/1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What SQL command is used to add a new record?

ADD RECORD

INSERT INTO

UPDATE TABLE

CREATE ENTRY

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to retrieve data from a database?

SELECT

DELETE

UPDATE

INSERT

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?