What is the term for a column in a database table? MCQ with Answer and Explanation

What is the term for a column in a database table?
A. Entity
B. Attribute
C. Tuple
D. Relation
Answer: Option B
Solution (By JKSSB Mock Tests)
An attribute is a column or field in a table, representing a property of the entity.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
Which of the following is a type of lock in a database?
A. Shared lock
B. None
C. Exclusive lock
D. Both A and B

Correct Answer: Option D


Explanation:
Shared locks allow multiple transactions to read a resource, while exclusive locks allow only one transaction to write.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which of the following describes a precompiled collection of SQL statements stored on the database server that can be executed repeatedly by name?
A. Trigger
B. Cursor
C. Stored Procedure
D. View

Correct Answer: Option C


Explanation:
A Stored Procedure is a precompiled group of SQL statements and optional control-of-flow code stored in the database server, enhancing execution speed and security.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which of the following is a DCL (Data Control Language) command?
A. GRANT
B. CREATE
C. SELECT
D. COMMIT

Correct Answer: Option A


Explanation:
GRANT and REVOKE are DCL commands. COMMIT is TCL, SELECT is DML, CREATE is DDL.

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