0% found this document useful (0 votes)
44 views5 pages

Grade 10 Database MCQ Paper

Uploaded by

thejaka aloka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views5 pages

Grade 10 Database MCQ Paper

Uploaded by

thejaka aloka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Grade 10 | Database | MCQ Paper

Questions 01 to 03 are based on the following database. The tables show data about books available for sale in a
bookshop and the book publishers.
Book Table Book_Publisher Table
Book_ID Book_Name Quantity Unit_Price Book_ID Publisher_ID
B001 Exploring Moon 5 250 B001 P003
B002 Wonders of the World 20 200 B002 P002
B003 Art of Magic 50 150 B003 P002
B004 Red Rackan’s Treasure 20 300 B004 P001

Publisher Table
Publisher_ID Publisher_Name Publ_Phone
P001 Williansons 5566778
P002 Bertram Publishers 2345678
P003 Siena and Sieana 2356987
P004 United Books 5587698

1. What is the most suitable data type for the Unit_Price in Book Table? (2015)
1) Currency 3) Number
2) Date 4) Text
2. Which of the following is most suitable as the primary key for the Book Table? (2015)
1) Book_ID 3) Quantity
2) Book_Name 4) Unit_Price
3. Which of the following field names is an example for a foreign key? (2015)
1) Book_Name in Book Table
2) Book_ID in Book_Publisher Table
3) Publ_Phone in Publisher Table
4) Publisher_Name in Publisher Table
4. Which of the following is a feature not provided by a database management application? (2016)
1) Sorting Data 3) Generating Reports
2) Updating Data 4) Generating Charts
Questions 05 to 07 are based on the following database tables.
Taxi Table Rate Table

Taxi_No Rate_Type Driver_Name Driver_City Rate_Type Rate


FX0675 Car Perera Colombo Car 44
FY1256 3W Raju Colombo 3W 38
FI6782 Van Dias Matara
Van 40
FZ1276 3W Perera Kandy

5. Which of the following is the most suitable field to be selected as the primary key for
the Taxi Table? (2016)
1) Taxi_No 3) Driver_Name
2) Rate_Type 4) Driver_City

6. Which of the following fields is an example for a foreign key in the database? (2016)
1) Taxi_No in Taxi Table 3) Rate_Type in Rate Table
2) Rate_Type in Taxi Table 4) Driver_City in Taxi Table

1
7. How many fields and records are available in the Rate Table, respectively? (2016)
1) 2 and 2 3) 3 and 2
2) 2 and 3 4) 3 and 3
Questions 08 to 11 are based on the following database tables that are used to store student subject marks.
Student Table Subject Table

DoB Name Student_No Class Sub_Code Subject


20/11/95 Sarath 1001 1A 01 Sinhala
17/12/95 Kolitha 1002 1A 02 Art
21/10/95 Kapila 1003 1A 03 English
18/12/95 Nalin 1004 1B

Marks Table

Sub_Code Student_No Marks


01 1001 85
02 1001 80
01 1002 65
03 1003 70

8. How many fields are in the Subjects table? (2017)


1) 2 3) 4
2) 3 4) 6
9. What would be the most suitable field as the primary key for the Student Table? (2017)
1) Student_No 3) Name
2) DoB 4) Class
10. What would be an example for a foreign key in the database? (2017)
1) Sub_Code in Subject Table 3) Marks in Marks Table
2) Sub_Code in Marks Table 4) DoB in Student Table
11. How many marks did Kapila obtain for English? (2017)
1) 65 3) 80
2) 70 4) 85
12. Consider the following statements related to database software: (2017)
A - A collection of fields related to one object is called a record
B - A collection of related tables is called a database
C - A Foreign key of one table is the primary key of another table
Which of the above statements are correct?
1) A and B only 3) B and C only
2) A and C only 4) All A, B and C

Questions No. 13 and 14 are based on the following Books table used to keep in a library.
Books Table

ISBN BookID BookName PublisherID Edition


9789556682015 2304 ICT for your life 6 2
9789556682015 2305 ICT for your life 6 2
9789556902015 2306 Database Systems 2 4

2
13. What is a suitable field for the primary key? (2018)
1) BookID 3) ISBN
2) BookName 4) PublisherID
14. What is a suitable field for the foreign key? (2018)
1) BookID 3) Edition
2) BookName 4) PublisherID
Consider the following two tables named Marks and Subjects:
Marks Table Subjects Table

Admission_No Subject_Code Marks Subject_Code Subject_Name


1111 80 89 80 ICT
1112 33 69 33 History
1113 34 72 34 Science
1111 33 78

15. Which of the following statements is incorrect regarding the Marks and Subjects tables? (2018)
1) Admission_No and Subject_Code in Marks table is a composite key.
2) Admission_No is o primary key in Marks table.
3) Subject_Code is a foreign key in Marks table.
4) There is a one-to-many relationship between Subjects table and Marks table.
16. Which of the following is correct regarding a database? (2018)
1) A collection of fields makes a record; a collection of records makes a table, and a collection of tables
makes a database.
2) A collection of fields makes a table; a collection of tables makes a record, and a collection of records
makes a database.
3) A collection of records makes a field; a collection of fields makes a table, and a collection of tables
makes a database.
4) A collection of tables makes a record; a collection of records makes a field, and a collection of fields
makes a database.
Questions 17 to 20 are based on the following partly shown database tables that are used to store data about
books, students, and books reserved by students in a school library.
Table: Book (Contains the details of books and whether each book is reserved or not.)

Book_ID Title Reserved


B0001 Effective Writing TRUE
B0002 Classic Short Stories TRUE
B0003 Poem Writing FALSE
B0004 Vocal Theory TRUE

Table: Student (Contains details of all students in school and whether each student is a library
member or not)
Student_Name Student_ID Grade Library_Member
Piyal 1001 7 TRUE
Kumar 1002 9 TRUE
Ismail 1003 8 TRUE
Sunil 1004 10 FALSE
Sarath 1005 7 TRUE

3
Table: Reservation (Contains details about books reserved by students)

Student_ID Reserved_Date Book_ID


1003 02/03/2019 E0002
1002 23/04/2019 E0001
1005 16/06/2019 E0004

17. How many fields are in the Student table? (2019)


1) 2 3) 4
2) 3 4) 5
18. What would be an example of a foreign key in the database? (2019)
1) Book_ID in Reservation table
2) Grade in Student table
3) Reserved_Date in Reservation table
4) Title in Book table
19. What is the title of the book reserved by Kumar? (2019)
1) Classic Short Stories 3) Poem Writing
2) Effective Writing 4) Vocal Theory
20. A student gets the library membership and reserves a book. What tables need to be updated for this
purpose? (2019)
1) Book table and Reservation table
2) Book table and Student table
3) Reservation table and Student table
4) Book table, Reservation table and Student table
21. Which of the following are considered as advantages of electronic databases? (2020)
A - Smaller physical space is required to store data
B - Easy to obtain copies
C - More efficient in retrieving information.
1) A and B only 3) B and C only
2) A and C only 4) All A, B and C

Questions 22 to 24 are based on the following database tables that are used to store data about authors,
books, and the books written by authors.
Table: Author Table: Book

AuthorID FirstName LastName BookID Name Price


1001 Anil Ratnayake B01 Mathematics with Fun 500
1002 Vijay Sekaram B02 English for Beginners 400
1003 Indika Serasinghe B03 Science for Everyone 450
1004 Sharaf Khan B04 Western Music 800
1005 Lalith Wijenayake B05 Painting Basics 550

Table: Author_Book
AuthorID BookID Royalty_Share
1004 B02 15%
1001 B03 20%
1005 B01 10%
1004 B04 15%
1003 B03 10%

4
22. What would be the primary key of Author_Book table? (2020)
1) AuthorID 3) AuthorID + BookID
2) BookID 4) AuthorID + Royalty_Share
23. Consider the following statements. (2020)
A - AuthorID in the Author table is a foreign key
B - AuthorID in the Author_Book table is a foreign key
C - BookID in the Book table is a primary key
Which of the above statements are correct?
1) A and B only 3) B and C only
2) A and C only 4) All A, B and C
24. Who is the author of the book titled "Mathematics with Fun"? (2020)
1) Anil Ramanayake
2) Indika Serasinghe
3) Sharaf Khan
4) Lalith Wijenayake

You might also like