CS312 – Mobile Application Development: Midterm Important MCQs (23 Solved Questions)
Computer Science • Read every solved MCQ with its verified answer key directly on this page. Free, no login required.
All 664 Midterm Packs · CS312 Course Page · CS312 Subjective Pack (26 Q&As)
-
In which type of Database relationship, foreign key can be added in any participating table?
Topic: Keys, Relationships & Integrity Constraints
- One to Many
- Many to Many
- One to One ✓ Correct answer
- None
-
Which one is relevant for Primary key - foreign key relationship?
Topic: Keys, Relationships & Integrity Constraints
- Completeness Constraints
- Integrity constraints
- Partial Constraints
- Referential Integrity Constraints ✓ Correct answer
-
_____________ is an artificial key which is not a part of the system. The purpose of the key is to avoid the complexity of the composite primary keys.
Topic: Keys, Relationships & Integrity Constraints
- Foreign Key
- Candidate Key
- Unique Key
- Surrogate Key ✓ Correct answer
-
The command which is responsible for granting or revoking access to data in database, belongs to _______
Topic: SQL Language Categories (DDL, DML, DCL)
- DDL
- DCL ✓ Correct answer
- DML
- DRL
-
In SQL language, DML stands for ______?
Topic: SQL Language Categories (DDL, DML, DCL)
- Data Manipulation Language ✓ Correct answer
- Data Mining Language
- Digital Manipulation Language
- Digital Mining Language
-
Which one is not relevant for SQL?
Topic: SQL Language Categories (DDL, DML, DCL)
- DCL
- DDL
- DML
- DFL ✓ Correct answer
-
In SQL language, DCL stands for ______?
Topic: SQL Language Categories (DDL, DML, DCL)
- Data Command Language
- Data Control Language ✓ Correct answer
- Digital Control Language
- Digital Command Language
-
The SQL command "ALTER" comes under ______
Topic: SQL Language Categories (DDL, DML, DCL)
- DML
- DRL
- DDL ✓ Correct answer
- DCL
-
A database must be ______ of the application that uses it.
Topic: SQL Commands & Database Basics
- Independent ✓ Correct answer
- Relative
- Similar
- Dependent
-
_____________ is used to ADD data in SQL tables.
Topic: SQL Commands & Database Basics
- Insert ✓ Correct answer
- Create
- Add
- Put
-
In SQL language, DDL stands for ______?
Topic: Additional MCQs from Paper Topics
- Data Definition Language ✓ Correct answer
- Data Description Language
- Digital Definition Language
- Data Derivation Language
-
The SQL command "CREATE TABLE" comes under ______
Topic: Additional MCQs from Paper Topics
- DML
- DDL ✓ Correct answer
- DCL
- DRL
-
The SQL command "TRUNCATE" comes under ______
Topic: Additional MCQs from Paper Topics
- DML
- DCL
- DDL ✓ Correct answer
- DRL
-
The UPDATE command in SQL belongs to ______
Topic: Additional MCQs from Paper Topics
- DDL
- DCL
- DRL
- DML ✓ Correct answer
-
Which of the following is a DCL command?
Topic: Additional MCQs from Paper Topics
- SELECT
- INSERT
- GRANT ✓ Correct answer
- UPDATE
-
The SELECT statement is used to ______ data from a database.
Topic: Additional MCQs from Paper Topics
- Insert
- Retrieve ✓ Correct answer
- Delete
- Update
-
In a One-to-Many relationship, the foreign key is placed in the table on the ______ side.
Topic: Additional MCQs from Paper Topics
- One
- Many ✓ Correct answer
- Both
- None
-
A Many-to-Many relationship between two tables is implemented by using a ______
Topic: Additional MCQs from Paper Topics
- View
- Index
- Junction (bridge) table ✓ Correct answer
- Single table
-
A foreign key in one table refers to ______ of another table.
Topic: Additional MCQs from Paper Topics
- Candidate key
- Surrogate key
- Primary key ✓ Correct answer
- Unique key
-
A key that consists of two or more attributes combined together to uniquely identify a record is called ______
Topic: Additional MCQs from Paper Topics
- Composite key ✓ Correct answer
- Foreign key
- Surrogate key
- Super key
-
A minimal super key that uniquely identifies each tuple in a relation is called ______
Topic: Additional MCQs from Paper Topics
- Foreign key
- Candidate key ✓ Correct answer
- Alternate key
- Surrogate key
-
A primary key ______
Topic: Additional MCQs from Paper Topics
- Can contain duplicate values
- Can contain NULL values
- Is always a foreign key
- Uniquely identifies each record in a table ✓ Correct answer
-
The ability to change the schema at one level of a database system without changing the schema at the next higher level is called ______
Topic: Additional MCQs from Paper Topics
- Data dependence
- Data independence ✓ Correct answer
- Data redundancy
- Data integrity