McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) , Bachelor of Science in Computer Science FY (BSc CS) , Bachelor of Science in Computer Science SY (BSc CS) , Bachelor of Science in Information Technology SY (BSc IT) , Bachelor of Computer Applications (BCA) .
Chapters
1. |
Where is metadata stored in MySQL? |
A. | in the mysql database meta |
B. | in the mysql database metasql |
C. | in the mysql database metadata |
D. | in the mysql database mysql |
Answer» D. in the mysql database mysql |
2. |
What MySQL property is used to create a surrogate key in MySQL? |
A. | identical |
B. | unique |
C. | auto_increment |
D. | sequence |
Answer» C. auto_increment |
3. |
A relational database consists of a collection of |
A. | keys |
B. | records |
C. | tables |
D. | fields |
Answer» C. tables |
4. |
A Database Management System (DBMS) is: |
A. | collection of data describing one particular enterprise |
B. | collection of programs to access data |
C. | all options are correct |
D. | collection of interrelated data |
Answer» C. all options are correct |
5. |
Which of the following is not a level of data abstraction? |
A. | view level |
B. | physical level |
C. | logical level |
D. | critical level |
Answer» D. critical level |
6. |
Disadvantages of File systems to store data is: |
A. | data isolation |
B. | data redundancy and inconsistency |
C. | difficulty in accessing data |
D. | all options are correct |
Answer» D. all options are correct |
7. |
In an Entity Relationship Diagram Rectangles represents |
A. | tables |
B. | attributes |
C. | database |
D. | entity sets |
Answer» D. entity sets |
8. |
Which of the following is not a Storage Manager Component? |
A. | transaction manager |
B. | logical manager |
C. | file manager |
D. | buffer manager |
Answer» B. logical manager |
9. |
Data Manipulation Language enables users to |
A. | retrieval of information stored in database |
B. | insertion of new information into the database |
C. | deletion of information from the database |
D. | all the options are correct |
Answer» D. all the options are correct |
10. |
Which of the following is not an Schema? |
A. | logical schema |
B. | physical schema |
C. | database schema |
D. | critical schema |
Answer» D. critical schema |
11. |
Which of the following is Database Language? |
A. | data definition language |
B. | data manipulation language |
C. | data query language |
D. | all of the options |
Answer» D. all of the options |
12. |
Which of the following in not a function of DBA? |
A. | network maintenance |
B. | schema definition |
C. | authorization for data access |
D. | routine maintenance |
Answer» A. network maintenance |
13. |
Which of the following is a Data Model? |
A. | entity relationship model |
B. | object based data model |
C. | all of the options are correct |
D. | relational data model |
Answer» C. all of the options are correct |
14. |
A Database Management System (DBMS) is |
A. | collection of interrelated data |
B. | collection of data describing one particular enterprise |
C. | all of the options |
D. | collection of programs to access data |
Answer» C. all of the options |
15. |
Which of the following is not a level of data abstraction? |
A. | physical level |
B. | view level |
C. | critical level |
D. | logical level |
Answer» C. critical level |
16. |
Disadvantages of File systems to store data is: |
A. | data redundancy and inconsistency |
B. | data isolation |
C. | all of the options |
D. | difficulty in accessing data |
Answer» C. all of the options |
17. |
Which of the following is not a Storage Manager Component? |
A. | transaction manager |
B. | buffer manager |
C. | file manager |
D. | logical manager |
Answer» D. logical manager |
18. |
Data Manipulation Language enables users to |
A. | retrieval of information stored in database |
B. | deletion of information from the database |
C. | all of the above |
D. | insertion of new information into the database |
Answer» C. all of the above |
19. |
Which of the following is not an Schema? |
A. | logical schema |
B. | critical schema |
C. | database schema |
D. | physical schema |
Answer» B. critical schema |
20. |
Which of the following is Database Language? |
A. | all of the options |
B. | query language |
C. | data definition language |
D. | data manipulation language |
Answer» A. all of the options |
21. |
Which of the following in not a function of DBA? |
A. | authorization for data access |
B. | network maintenance |
C. | routine maintenance |
D. | schema definition |
Answer» B. network maintenance |
22. |
Which of the following is a Data Model? |
A. | object-based data model |
B. | all of the options |
C. | entity-relationship model |
D. | relational data model |
Answer» B. all of the options |
23. |
Column header is refer as |
A. | table |
B. | domain |
C. | attributes |
D. | relation |
Answer» C. attributes |
24. |
_______ allow us to identify uniquely a tuple in the relation. |
A. | schema |
B. | superkey |
C. | domain |
D. | attribute |
Answer» B. superkey |
25. |
Minimal Superkeys are called |
A. | schema keys |
B. | attribute keys |
C. | candidate keys |
D. | domain keys |
Answer» C. candidate keys |
26. |
Which of the following is not Modification of the Database |
A. | updating |
B. | sorting |
C. | deletion |
D. | insertion |
Answer» B. sorting |
27. |
Which of the following in not Outer join? |
A. | left outer join |
B. | full outer join |
C. | all of the options |
D. | right outer join |
Answer» C. all of the options |
28. |
Set of premitted values of each attribute is called |
A. | tuple |
B. | schema |
C. | domain |
D. | relation |
Answer» C. domain |
29. |
Which of the following is true regarding Null Value? |
A. | null<0 |
B. | null=0 |
C. | null<>0 |
D. | null>0 |
Answer» C. null<>0 |
30. |
Logical design of database is called |
A. | all of the options |
B. | database schema |
C. | database instance |
D. | database snapshot |
Answer» B. database schema |
31. |
Snapshot of the data in the database at a given instant of time is called |
A. | database instance |
B. | all of the options |
C. | database schema |
D. | database snapshot |
Answer» A. database instance |
32. |
Which of the following is not Unary operation? |
A. | rename |
B. | union |
C. | select |
D. | project |
Answer» B. union |
33. |
Which of the following is not binary operation? |
A. | union |
B. | set difference |
C. | cartesian product |
D. | project |
Answer» D. project |
34. |
Which of the following is correct regarding Aggregate functions? |
A. | it takes a single value and returns a single value as result |
B. | it takes a list of values and return a single values as result |
C. | it takes a list of values and return a list of values as result |
D. | it takes a single value and returns a list of values as result |
Answer» B. it takes a list of values and return a single values as result |
35. |
The Primary key must be |
A. | non null |
B. | unique |
C. | option a or b |
D. | option a and b |
Answer» D. option a and b |
36. |
A command to remove a relation from an SQL database |
A. | delete table |
B. | erase table |
C. | alter table |
D. | drop table |
Answer» D. drop table |
37. |
which of the following is not an Aggregate function? |
A. | select |
B. | avg |
C. | min |
D. | max |
Answer» A. select |
38. |
The attribute that can be divided into other attributes is called |
A. | composite attribute |
B. | derived attribute |
C. | simple attribute |
D. | multi-valued attribute |
Answer» A. composite attribute |
39. |
What is ACID properties of Transactions? |
A. | atomicity, consistency, isolation, database |
B. | automatically, concurrency, isolation, durability |
C. | atomicity, consistency, isolation, durability |
D. | atomicity, consistency, inconsistent, durability |
Answer» C. atomicity, consistency, isolation, durability |
40. |
If every non-key attribute is functionally dependent on the primary key, the relation will be in |
A. | fourth formal form |
B. | third normal form |
C. | first normal form |
D. | second normal form |
Answer» B. third normal form |
41. |
Database locking concept is used to solve the problem of |
A. | inconsistent data |
B. | all of the options |
C. | lost update |
D. | uncommitted dependency |
Answer» B. all of the options |
42. |
UML is stands for |
A. | universal modeling language |
B. | united modeling language |
C. | uni modeling language |
D. | unified modeling language |
Answer» D. unified modeling language |
43. |
Data Manipulation Language (DML) is not to |
A. | insertion of new information into the database |
B. | modification of information in the database |
C. | create information table in the database |
D. | deletion of information in the database |
Answer» C. create information table in the database |
44. |
Which of the following in true regarding Referential Integrity? |
A. | every primary-key value must match a primary-key value in an associated table |
B. | every primary-key value must match a foreign-key value in an associated table |
C. | every foreign-key value must match a foreign-key value in an associated table |
D. | every foreign-key value must match a primary-key value in an associated table |
Answer» D. every foreign-key value must match a primary-key value in an associated table |
45. |
Which of the following option is use to retrieval of data? |
A. | stack |
B. | data structure |
C. | linked list |
D. | query |
Answer» D. query |
46. |
ODBC stands for ______ |
A. | none of above |
B. | open database connection |
C. | offline database connection |
D. | oriented database connection |
Answer» B. open database connection |
47. |
Which of the following is an unary operation? |
A. | selection operation |
B. | primitive operation |
C. | projection operation |
D. | generalized selection |
Answer» D. generalized selection |
48. |
Which SQL Query is use to remove a table and all its data from the database? |
A. | none of these |
B. | drop table |
C. | create table |
D. | alter table |
Answer» B. drop table |
49. |
In precedence of set operators the expression is evaluated from: |
A. | left to right |
B. | right to left |
C. | left to left |
D. | right to right |
Answer» A. left to right |
50. |
In DBMS, FD stands for _______ |
A. | facilitate data |
B. | functional data |
C. | facilitate dependency |
D. | functional dependency |
Answer» D. functional dependency |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.