What is a database cursor? MCQ with Answer and Explanation

What is a database cursor?
A. A user account
B. A type of index
C. A control structure that enables traversal over rows in a result set
D. A backup file
Answer: Option C
Solution (By JKSSB Mock Tests)
A cursor allows row-by-row processing of query results, often used in procedural extensions of SQL.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is data redundancy?
A. Absence of data
B. Processed information
C. Encrypted data
D. Duplication of data in multiple places

Correct Answer: Option D


Explanation:
Data redundancy refers to unnecessary duplication of data, which DBMS helps control.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What does ACID stand for in database transactions?
A. Access, Create, Insert, Delete
B. Accuracy, Control, Integrity, Data
C. Atomicity, Consistency, Isolation, Durability
D. All Correct Information Display

Correct Answer: Option C


Explanation:
ACID properties ensure reliable transaction processing in DBMS.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the concept of data independence?
A. The ability to change the database schema without affecting the application programs
B. The ability to move data between tables
C. The ability to access data from multiple sources
D. The ability to store data in different formats

Correct Answer: Option A


Explanation:
Data independence is the capacity to change the database schema at one level without affecting the next higher level, minimizing impact on applications.

This question belongs to: Computer Database Management System (DBMS)