CBSE Class 12 Computer Science Database Concepts MCQs Set B

Refer to CBSE Class 12 Computer Science Database Concepts MCQs Set B provided below available for download in Pdf. The MCQ Questions for Class 12 Computer Science with answers are aligned as per the latest syllabus and exam pattern suggested by CBSE, NCERT and KVS. Database Concepts Class 12 MCQ are an important part of exams for Class 12 Computer Science and if practiced properly can help you to improve your understanding and get higher marks. Refer to more Chapter-wise MCQs for CBSE Class 12 Computer Science and also download more latest study material for all subjects

MCQ for Class 12 Computer Science Database Concepts

Class 12 Computer Science students should refer to the following multiple-choice questions with answers for Database Concepts in Class 12.

Database Concepts MCQ Questions Class 12 Computer Science with Answers

Question. In files, there is a key associated with each record which is used to differentiate among different records. For every file, there is atleast one set of keys that is unique. Such a key is called
(a) unique key
(b) prime attribute
(c) index key
(d) primary key

Answer : D

Question. Which of the following is not a DBMS?
(a) MS-Word
(b) MySQL
(c) Oracle
(d) Microsoft SQL Server

Answer : A

Question. The total number of rows in a table is called
(a) domain
(b) tuple
(c) field
(d) cardinality

Answer : D

Question. Which of the following is the drawback of DBMS?
(a) Improvement in data
(b) Backup and recovery
(c) Complexity
(d) Maintenance of data integrity

Answer : C

Question. In a relational data model, a data structure that organises the information about a single topic into rows and columns is
(a) block
(b) record
(c) tuple
(d) table

Answer : D

Question. Tables can be linked by
(a) primary key
(b) candidate key
(c) alternate key
(d) foreign key

Answer : D

Question. Raj wants to make EmpNo and PFNo columns of his table as the primary key. Is it possible?
(a) Yes
(b) No
(c) Yes , possible as a comination of columns
(d) None of the above

Answer : C

Question. The total number of columns in a table is called
(a) cardinality
(b) degree
(c) spreadsheet
(d) relation

Answer : B

Question. The attributes which have all the properties of primary key
(a) Foreign key
(b) Alternate key
(c) Candidate key
(d) Both (a) and (c)

Answer : C

Question. Which of the following was the first network database?
(a) SYSTEM 2000
(b) DBTG CODASYL
(c) SYSTEM CODASYL
(d) DBTG 2000

Answer : B

Question. Which of the following are used in data definition?
(a) DML
(b) DDL
(c) TCL
(d) None of these

Answer : B

Question. The design of the database is known as what?
(a) Attribute
(b) database schema
(c) obstruction
(d) database oriented

Answer : B

Assertion and Reason Based MCQs

Directions : In the following questions, A statement of Assertion (a) is followed by a statement of Reason (R). Mark the correct choice as.
(a) Both A and R are true and R is the correct explanation for A.
(b) Both A and R are true and R is not correct explanation for A.
(c) A is true but R is false.
(d) A is false but R is true.

Question. Assertion (A): A referential integrity is a system of rules of DBMS.
Reason (R): It ensures that user don’t accidently delete or change related data.

Answer : A

Question. Assertion (A): The keyword DISTINCT is used with SELECT command.
Reason (R): DISTINCT keyword eliminates duplicate rows.

Answer : A

Question. Assertion (A): CHAR and VARCHAR both are used to store integer values.
Reason (R): CHAR is fixed length and VARCHAR is of variable length.

Answer : D

Question. Assertion (A): Recording of relationship implementation in network model is very complex since pointers are used.
Reason (R): DBTG codasyl was the first network database.

Answer : B

Question. Assertion (A): TCL stands for Transaction Control Language.
Reason (R): These commands perform retrieval, insertion, deletion and modification etc. on databases.

Answer : C

Question. Assertion (A): Cartesian product is a Cross Join
Reason(R): An SQL Join query joins tables on condition basis.

Answer : B

Question. Assertion (A): A database consists of a number of tables.
Reason (R): Each table comprises of rows and records.

Answer : C

Case-based MCQs

Attempt any 4 sub-parts from each question. Each subpart carries 1 mark.
I. Mr. Sumit Agarwal is the owner of his parental firm Ramdas Gopal das & Sons which deals in the wholesale business of spices.
He wants to maintain records of spices available in their shop and generate bills when someone purchases any spices from the shop.
They want to create a database to keep track of all the spices in the shop and the spices purchased by customers.

Question. To add records in the table which of the following SQL statement is used?
(a) ADD
(b) SELECT
(c) INSERT
(d) INSERT INTO

Answer : D

Question. Which is the correct SQL statement to create the table?
(a) CREATE TABLE spice(scode integer, sname char(25), price decimal, stock integer)
(b) CREATE spice(scode integer, sname char(25), price decimal, stock integer)
(c) CREATE TABLE spice(scode , sname , price, stock)
(d) SELECT TABLE spice(scode integer, sname char(25), price decimal, stock integer)

Answer : A

Question. To add a new column exp_date in the existing table the statement is
(a) ALTER TABLE spice ADD (exp_date date)
(b) UPDATE TABLE spice ADD (exp_date date)
(c) MODIFY spice ADD (exp_date date)
(d) ALTER TABLE spice MODIFY (exp_date date)

Answer : A

Question. To create an index on name of spices in the existing table, the command is
(a) ALTER TABLE spice ADD INDEX spice_idx (sname)
(b) CREATE INDEX spice_idxON spice (sname)
(c) CREATE TABLE spice (INDEX spice_idx (sname))
(d) Both (a) and (b)

Answer : D

Question. To view the table structure of the above crated table the command is
(a) SELECT spice
(b) DESC spice
(c) DESCRIBE spice
(d) Both (b) and (c)

Answer : D
 

Consider the table STUDENT with following details.

CBSE-Class-12-Computer-Science-Database-Concepts-MCQs-Set-A-1

Question. View all records other than ‘12A’ class
(a) SELECT DISTINCT CLASS FROM STUDENT
(b) SELECT CLASS FROM STUDENT WHERE (CLASS NOT = ‘Science’)
(c) SELECT * FROM STUDENT WHERE CLASS NOT IN (‘Science’)
(d) None of these

Answer : C

Question. Command to select all Science students from the table STUDENT
(a) SELECT * FROM STUDENT
(b) SELECT STREAM FROM STUDENT WHERE STREAM= ‘Science’
(c) SELECT * FROM STUDENT WHERE STREAM = ‘Science’
(d) SELECT NAME FROM STUDENT WHERE STREAM = ‘Science’

Answer : C

Question. Modify the marks of Aastha as 85.5
(a) ALTER TABLE STUDENT SET MARKS = 85.5 WHERE NAME = ‘Aastha’
(b) UPDATE STUDENT SET MARKS = 85.5 WHERE NAME=’Aastha’
(c) UPDATE TABLE STUDENT SET MARKS = 85.5 WHERE NAME=’Aastha’
(d) ALTER STUDENT SET MARKS=85.5 WHERE NAME = Aastha’

Answer : B

Question. Add a record of new student ‘Geeta’ of ‘Commerce’ stream in class ‘12B’ and her marks is ‘78.9’.
(a) INSERT INTO STUDENT VALUES (‘Geeta’, ‘Commerce’, ‘12B’, 78.9)
(b) INSERT INTO STUDENT VALUES (7, ‘Geeta’, ‘Commerce’, ‘12B’, 78.9)
(c) INSERT INTO STUDENT VALUES (‘Geeta’, ‘Commerce’, 78.9, ‘12B’)
(d) INSERT INTO STUDENT VALUES (7, ‘Geeta’, ‘Commerce’, 78.9, ‘12B’)

Answer : D

Question. Delete records that belongs to ‘Humanities’ stream
(a) DELETE FROM STUDENT WHERE STREAM = ‘Humanities’
(b) DROP FROM STUDENT WHERE STREAM = ‘Humanities’
(c) DROP TABLE STUDENT WHERE STREAM = ‘Humanities’
(d) None of these

Answer : A


Mr. Sharma is a new user of database systems. He has created a table storing the details of staff in his office. He is confused about some of the terms related to tables and databases. Help him solving his confusions.

CBSE-Class-12-Computer-Science-Database-Concepts-MCQs-Set-A

Question. An attribute which can uniquely identify tuples of the table but is not defined as primary key of the table is called
(a) primary key
(b) alternate key
(c) forign key
(d) None of these

Answer : B

Question. What is the cardinality of the table?
(a) 2
(b) 3
(c) 4
(d) 1

Answer : C

Question. The vertical set storing the departments under the heading 'Dept' is called
(a) field
(b) attribute
(c) column
(d) All of these

Answer : D

Question. A tuple carries
(a) a single value
(b) double values
(c) a row of multiple values as a record
(d) None of the above

Answer : C

Question. Can 'StaffName' column serve as primary key?
(a) No
(b) Yes, only if it stores non-blank and distinct names
(c) Yes, only if it stores only distinct names
(d) Yes

Answer : B

MCQs for Database Concepts Computer Science Class 12

Expert teachers of studiestoday have referred to NCERT book for Class 12 Computer Science to develop the Computer Science Class 12 MCQs. If you download MCQs with answers for the above chapter you will get higher and better marks in Class 12 test and exams in the current year as you will be able to have stronger understanding of all concepts. Daily Multiple Choice Questions practice of Computer Science will help students to have stronger understanding of all concepts and also make them expert on all critical topics. After solving the questions given in the MCQs which have been developed as per latest books also refer to the NCERT solutions for Class 12 Computer Science. We have also provided lot of MCQ questions for Class 12 Computer Science so that you can solve questions relating to all topics given in each chapter. After solving these you should also refer to Class 12 Computer Science MCQ Test for the same chapter.

Where can I download latest CBSE MCQs for Class 12 Computer Science Database Concepts

You can download the CBSE MCQs for Class 12 Computer Science Database Concepts for latest session from StudiesToday.com

Are the Class 12 Computer Science Database Concepts MCQs available for the latest session

Yes, the MCQs issued by CBSE for Class 12 Computer Science Database Concepts have been made available here for latest academic session

Where can I find CBSE Class 12 Computer Science Database Concepts MCQs online?

You can find CBSE Class 12 Computer Science Database Concepts MCQs on educational websites like studiestoday.com, online tutoring platforms, and in sample question papers provided on this website.

How can I prepare for Database Concepts Class 12 MCQs?

To prepare for Database Concepts MCQs, refer to the concepts links provided by our teachers and download sample papers for free.

Are there any online resources for CBSE Class 12 Computer Science Database Concepts?

Yes, there are many online resources that we have provided on studiestoday.com available such as practice worksheets, question papers, and online tests for learning MCQs for Class 12 Computer Science Database Concepts