Relational Schema

Question 1
The relation schema describes:
A
Set of tuples (Records)
B
Set of fields (Column heads/Attributes)
C
Set of associated values
D
Domain of each field
Question 1 Explanation: 
The relation schema describes set of fields (Column heads/Attributes).
Question 2
Logical data independence is the ability to change________schema without having to change_____ Schema
A
internal; external
B
conceptual; internal
C
conceptual; external
D
internal; conceptual
Question 2 Explanation: 
The three-schema approach provides for three types of schemas with schema techniques based on formal language descriptions:
→External schema for user views
→Conceptual schema integrates external schemata
→Internal schema that defines physical storage structures
Question 3
Which of the following attributes can be considered as composite, single-valued and key attribute?
A
Age
B
Date of birth
C
Gender
D
Enrollment number
Question 3 Explanation: 
Types of Attributes
Simple attribute − Simple attributes are atomic values, which cannot be divided further. For example, a student's phone number is an atomic value of 10 digits.
Composite attribute − Composite attributes are made of more than one simple attribute. For example, a student's complete name may have first_name and last_name.
Derived attribute − Derived attributes are the attributes that do not exist in the physical database, but their values are derived from other attributes present in the database. For example, average_salary in a department should not be saved directly in the database, instead it can be derived. For another example, age can be derived from data_of_birth.
Single-value attribute − Single-value attributes contain single value. For example − Social_Security_Number.
Multi-value attribute − Multi-value attributes may contain more than one values. For example, a person can have more than one phone number, email_address, etc.
Key is an attribute or collection of attributes that uniquely identifies an entity among entity set.
Question 4
The order of schema?10?101? and ???0??1 are ___________ and ______________ respectively.
A
5.3
B
5.2
C
7.5
D
8.7
There are 4 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access