
Final Exam in OOP
Authored by Rey Dacoco
Engineering
University
Used 1+ times

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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?