In an Entity-Relationship (ER) diagram, what geometric shape is used to represent an entity type? MCQ with Answer and Explanation

In an Entity-Relationship (ER) diagram, what geometric shape is used to represent an entity type?
A. Triangle
B. Rectangle
C. Ellipse
D. Diamond
Answer: Option B
Solution (By JKSSB Mock Tests)
In standard ER modeling notation, rectangles are used to represent entity sets or entity types.

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
In an Entity-Relationship (ER) diagram, attributes are represented using which shape?
A. Rectangle
B. Diamond
C. Ellipse/Oval
D. Square

Correct Answer: Option C


Explanation:
Ellipses or ovals are used to represent attributes (properties) of entities in ER diagrams.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What is the purpose of the SQL 'GROUP BY' clause?
A. To join tables
B. To group rows that have the same values in specified columns into summary rows
C. To sort the result set
D. To filter rows

Correct Answer: Option B


Explanation:
GROUP BY organizes data into groups based on the values of one or more columns, often used with aggregate functions.

This question belongs to: Computer Database Management System (DBMS)
Question #3
A database object that automatically executes or fires in response to specific events (like INSERT, UPDATE, or DELETE) on a table is known as a what?
A. Trigger
B. Cursor
C. View
D. Stored Procedure

Correct Answer: Option A


Explanation:
A Trigger is a named database object containing procedural code that automatically runs or fires when a specific DML statement occurs on a designated table.

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