Class - 12 CBSE Computer Science — Assertion Reason Type Questions
SQL Joins & Grouping
Assertion. In the result produced by a join query, there may be multiple identical columns in the final result, but not always.
Reason. The join in which only one of the identical columns (coming from the joined tables) exists, is called a Natural join.
View Answer1 Likes
SQL Joins & Grouping
Assertion. In order to carry out the join operation, there should be a governing condition.
Reason. A join condition may be based on equality, less than, greater than or non-equality.
View Answer1 Likes
SQL Queries
Assertion (A): In hierarchical model, searching for a record is a time-consuming task.
Reasoning (R): Hierarchical model owns to the organization of information/data in a tree-like structure.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer1 Likes
SQL Queries
Assertion (A): RDBMS stands for Relational Database Management System.
Reasoning (R): RDBMS does not allow relating or associating two tables in a database.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer1 Likes
SQL Queries
Assertion (A): A database is the largest component for holding and storing data and may contain several tables.
Reasoning (R): Each table comprises multiple rows and records.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer1 Likes
SQL Queries
Assertion (A): Referential integrity is a constraint that defines rules of holding data in parent and child table.
Reasoning (R): Referential integrity ensures that users don't accidently delete or change related data.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer1 Likes
SQL Queries
Assertion (A): The number of attributes or columns in a relation is called the degree of the relation.
Reasoning (R): The number of tuples or records in a relation is called the cardinality of the relation.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer3 Likes
SQL Queries
Assertion (A): A foreign key is an attribute whose value is derived from the primary key of another relation.
Reasoning (R): A foreign key is used to represent the relationship between tables or relations.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer3 Likes
SQL Queries
Assertion (A): Order by clause is used to sort the records of a table in ascending or descending order.
Reasoning (R): For sorting in ascending or descending order, ASC and DESC keywords are used along with the Order by clause.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer1 Likes
SQL Queries
Assertion (A): COUNT() function ignores distinct values.
Reasoning (R): Distinct clause ignores duplicate values.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
View Answer3 Likes
Showing 141 - 150 of 201 Questions