0% found this document useful (0 votes)
28 views7 pages

Database Management System

The document contains a series of questions and answers related to database management concepts, including data integrity, types of databases, SQL commands, and data types. It covers various topics such as primary keys, foreign keys, data types, and the structure of databases. The format is a quiz-like structure aimed at testing knowledge in database management systems.

Uploaded by

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

Database Management System

The document contains a series of questions and answers related to database management concepts, including data integrity, types of databases, SQL commands, and data types. It covers various topics such as primary keys, foreign keys, data types, and the structure of databases. The format is a quiz-like structure aimed at testing knowledge in database management systems.

Uploaded by

karthih623
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Database management d. Data Security 17.

When data is stored,


system-IT 402 Ans. c. Increase Data
maintained and retrieved from
1. A database is an organized Inconsistency
multiple tables then special
collection of _______________. 9. Data Integrity means that
database software are required
a. data data is accurate and consistent
b. Attributes called ______
in the database.(T/F)
c. Record a. DBMS
a. True b. RDBMS
d. None of the above
b. False c. Special DBMS
Ans. a (data)
Ans. a. True d. All of the above
2. Which of the following
10. A database can have only Ans. b. RDBMS
software is appropriate to
one table.(T/F) 18. Identify the Foreign Key
store data about school
from table “Sales”
students? a. True Table Client:
a. MS-Access b. False ClientID (primary Key)
b. Writer Ans. b. False clientname
c. Calc 11. Which of the following will clientphone
d. Impress Table : Sales
help to maintain unique record
Ans. a. MS-Access SalesID (Primary Key)
in the table? ClientID
3. Which of the following is not
a. Foreign Key Profit
a database programs? b. Primary Key a. SalesID
a. MySQL c. Composite Key b. Profit
b. Oracle d. Alternate Key c. Clientphone
c. Writer Ans. b. Primary Key d. ClientID
d. OObase
12. Which of the following field Ans. d. ClientID
Ans. c. Writer
of table “Book” can act as 19. Which of the following is
4. __________ store data in
primary key? not valid field of table
Single table.
a. Book_number “Student”
a. Flat File
b. Subject
b. Relational
c. price
c. Single File a. admno
d. Author_name
d. One File b.name
Ans. a. Book_number
Ans. a. Flat File c. fees
13. When primary key is made d. salary
5. ___________ are dedicated
up of two or more columns Ans. d. salary
computers that hold the actual
then it is called __ primary key. 20. There can be multiple
databases and run only DBMS
a. Mixed primary key in a table.(T/F)
and related Software. b. Reference
a. Main Server a. True
c. Composite b. False
b. Web Server d. Compost
c. Database Server Ans. False
Ans. c. Composite
d. Non Database Server 21. In RDBMS, data is
14. Duplicate values can be
Ans. c. Database Server organized in the form of
entered in primary key.(T/F)
6. GUI act as front end and __________________
a. True
database server act as _____ b. False
a. Container Ans. False a. Table
b. Back End b. Record
15. A key which is referring to
c. End c. Field
d. None of the above the primary key of another d. None of the above
Ans. b. Back End table is called _______ Ans. a. Table
7. Duplication of data is a. Alternate Key 22. SQL stands
b. Primary Key
called _________. for _________________
c. First Primary Key
a. Inconsistency a. Structured Queue
d. Foreign Key
b. Consistency Language
Ans. d. Foreign Key
c. Redundancy b. Structured Query
d. Foreign Key 16. A field which is ______ for Language
Ans. c. Redundancy each and every record is called c. Structured Query Lang
8. Which of the following is not Primary key. d. None of the above
the advantage of database? a. Common Ans. b. Structured Query
a. Sharing of Data b. Same Language
b. Reduce Data c. Unique 23. All the values in ________
Redundancy d. None of the above are of same type.
c. Increase Data Ans. c. Unique a. Records
Inconsistency
b. Table d. 50 d. Special
c. Database Ans d. 50 Ans a. Binary
d. Fields 33. By default the name of the 40. Char is a ______ length
Ans. d. Fields
table is ______ data type and varchar is
24. ___________ represent a a. Tab 1 a ______ length data type.
single data item in a table. b. Table 1 a. Fixed, Variable
a. Tuples c. First Table b. Variable, Fixed
b. Attributes d. Untitled 1 c. Variable, Variable
c. Relation Ans b. Table 1 d. Fixed, Fixed
d. All of the above 34. __________ are used to Ans. a. Fixed, Variable
Ans. a. Tuples
identify which type of data we
25. In tables, data is organized 41. Which field is suitable for
are going to store in the
in the form of rows and storing records of employees?
database.
columns.(T/F)
a. True a. EmpNo
a. Datatype
b. False b. Empname
b. Record
Ans. True c. Salary
c. Table
26. Every row in a table has d. Attributes d. All of the above
the same structure.(T/F) Ans. a. Datatype Ans. d. All of the above
a. True 35. Which data type will be 42. Auto Value is a property
b. False of __ data type .
appropriate to store
Ans. True a. Numeric
information as Salary, Fees,
27. Open Office base is not an b. Character
Price etc c. Binary
open source software.(T/F)
a. Alphanumeric Data types d. Date
a. True
b. Numeric Data type Ans. a. Numeric
b. False
c. Binary Data types
Ans. False 43. Which of the following
d. Date Time
28. _______________ are the Ans b. Numeric Data type property help to set the
basic building blocks of a 36. Which of the following is number of characters in
database. not a numeric data type? Varchar type.
a. Tables
b. Record a. Auto value
c. Fields a. Tinyint
b. Smallint b. Required
d. All of the above c. Default Value
Ans. a. Tables c. Boolean
d. Date d. Length
29. We can create table : Ans d. Date Ans. d. Length
37. Which of the following data 44. Which property ensures
a. in design view that field cannot be left blank?
types cannot store decimal
b. use Wizard a. Entry required
c. Both of the above values?
b. Format
d. None of the above c. Required Entry
Ans. c. Both of the above a. Decimal d. Required
30. By default data type of b. Real Ans. a. Entry required
fields is. c. Numeric
45. By default the length of the
a. Text[Varchar] d. Boolean
Ans d. Boolean Integer data type is
b. Text[Char]
38. Which of the following will ______________
c. Int
a. 10
d. Long occupy more space in
b. 15
Ans. a. Text[Varcha computer memory? c. 20
d. 25
31. Base automatically adds a. Bigint Ans. a. 10
the column as Primary Key if b. Integer 46. Which of the following
we don’t add.(T/F) c. Smallint property to be turned “yes” so
a. True d. Boolean
Ans a. Bigint that value will be auto
b. False
Ans. True 39. _______ data types are used incremented?
a. Default
32. By default the length of for storing photos, music files b. Format
Varchar data type is __ etc c. Auto value
a. 20 a. Binary d. Length
b. 30 b. Alphanumeric Ans. c. Auto value
c. 40 c. Numeric
47. Which of the following is Ans. c. increasing or 63. Queries are commands
decreasing
not the binary data types? that are used to define the
a. Longvarbinary 56. Referential Integrity is
structure and modify the data
b. Varbinary used to maintain accuracy and
in a table.(T/F)
c. Binary consistency of data in a
d. Charbinary
relationship.(T/F) a. True
Ans. d. Charbinary
a. True b. False
48. Which of the following is b. False Ans. a. True
not the date time data types? Ans. a. True
64. We cannot delete the data
a. Date 57. In Base data can be linked
b. Time using queries.(T/F)
between two or more tables a. True
c. Datestamp
d. Timestamp with the help b. False
Ans. c. Datestamp of _________________ Ans. b. False
49. Which data type is used a. primary key 65. SQL stands
b. foreign key for __________________
to store value of fields like
c. primary and foreign key a. Structural Query
“Date of Birth”? d. None of the above Language
a. Date Time Ans. c. primary and foreign b. Structured Query
b. Varchar key Language
c. Integer
58. Relationship can be c. Skeletal Query Language
d. Other
created between d. None of the above
Ans. a. Date Time
Ans. b. Structured Query
50. A record in table is also Language
a. two tables only
known as Attribute.(T/F) 66. ___________ statement is
b. one table only
a. True
c. two or more tables used to retrieve data from
b. False
d. none of the above table.
Ans. b. False
Ans. c. two or more tables a. Delete
51. We
59. Relationship between b. Update
can ____________________ data c. Print
tables can be created
in table. d. Select
from _____________________ men
a. modify Ans. d. Select
b. insert u.
67. ____________ is the most
c. delete a. View
b. Insert common DML command.
d. all of the above
c. Windows a. Delete
Ans. d. all of the above
d. Tools b. Update
52. In which view data can be c. Select
Ans. d. Tools
entered in table? d. All of the above
60. There
a. Datasheet view Ans. c. Select
b. Design view are __________________ types of
68. DML stands for ____________
c. Both of the above relationship which can be a. Data Manipulation
d. None of the above created between tables. Language
Ans. a. Datasheet view a. three b. Database Manipulation
53. In which mode we can b. two Language
change the structure of table? c. four c. Data Modify Language
a. Datasheet view d. infinite d. None of the above
b. Design view Ans. a. three Ans. a. Data Manipulation
c. Structure view 61. Which language help to Language
d. All of the above extract/fetch data from table? 69. Which of the following
Ans. b. Design view clause return specific rows?
a. MySQL
54. After inserting records in b. Python a. Order By
table, we cannot modify the c. OOBase b. Where
structure of table.(T/F) d. HTML c. Having
a. True Ans. a. MySQL d. Specific
b. False 62. We can create query (in Ans. b. Where
Ans. b. False Open Office Base) 70. Which of the following
55. Sorting means to arrange in _______________________ clause return records in
data in _______________ order. a. In design view ascending order?
a. increasing b. Using wizard a. Order By
b. decreasing c. Both of the above b. Where
c. increasing or decreasing d. None of the above c. Order Asc
d. None of the above Ans. c. Both of the above d. Order Inc
Ans. a. Order By
71. Command to display all c. select * from Stud where b. Update
fav_Color=’Blue’; c. Delete
the data in the table “emp” is.
d. select all from Stud d. All of the above
a. Select * from emp where fav_Color is ’Blue’; Ans. d. All of the above
b. Select * from emp; Ans. c. select * from Stud 85. A ________ provides a
c. Select all from emp where fav_Color=’Blue’;
d. Select all from emp; systematic way of storing
78. select * from Stud order by
Ans. b. Select * from emp; information into the database.
“Rollno” ASC; a. Report
72. Which command is used to
a. display all the records of b. Query
create table? table. c. Form
a. Select b. display records in d. None of the above
b. Create increasing order of roll Ans. c. Form
c. Open number.
d. New 86. Which of the following act
c. both of the above
Ans. b. Create d. none of the above as an interface to view, enter
73. Shortcut to execute query Ans. b. display records in and change data in database?
in Create Query in SQL View increasing order of roll a. Report
number. b. Table
is __
79. Which command is used to c. Query
a. F7 Key
d. Form
b. F5 Key modify data in table?
Ans. d. Form
c. F8 Key a. delete
d. F6 Key 87. A _____________ helps to
b. select
Ans. b. F5 Key c. modify display the data in a
74. Which command is used to d. update summarized data.
display the salary of all the Ans. d. update a. Report
80. Which command is used to b. Form
employees after incrementing
c. Query
by 1000. delete data from table?
d. None of the above
a. Select a. select
Ans. a. Report
b. Update b. delete
c. insert 88. A _______ helps to collect
c. Modify
d. Change d. remove specific information from the
Ans. a. Select Ans. b. delete pool of data.
75. Select “salary” from emp; a. Query
a. will display all the 81. Update statement is used b. Report
records of table emp to modify data in a table.(T/F) c. Form
b. will display only a. True d. None of the above
particular columns of table b. False Ans. a. Query
emp; Ans. a. True 89. Which of the following is to
c. will display only salary 82. Command to increase the be created first?
column of table emp; a. Report
salary of all employees by
d. None of the above b. Query
Ans. c. will display only 15000.(table name emp and
c. Form
salary column of table emp; column name sal) d. Table
76. Select “empname”, a. update emp set sal = sal Ans. Table
+ 15000;
“salary” * 3 from emp; 90. Which of the following field
b. update emp set sal =
a. will increase the salary is invalid for storing
15000;
three times of all
c. update set sal = sal + information of “Library” Table?
employees in table
15000; a. Cost
b. display name and three
d. None of the above b. Booknumber
times salary
Ans. a. update emp set sal c. Authorname
c. give error
= sal + 15000; d. Dateofbirth
d. None of the above
83. By default data is arranged Ans. d. Dateofbirth
Ans. b. display name and
three times salary in _____ order using order by 91. Which of the following is
77. To get details about the list clause. suitable to act as a primary
of students whose favorite a. Ascending key in table student?
b. Descending a. Rollno
color is blue. Query for this is :
c. Primary Key b. Name
d. None of the above c. Class
a. select all from Stud Ans. a. Ascending d. Section
where fav_Color=’Blue’; Ans. a. Rollno
84. Which of the following is
b. select name from Stud
where fav_Color=’Blue’; DML commands?
a. Insert
92. A foreign key is a reference record of all availabe next field by pressing the
goods.which of the following _________ key.
of the ________ key in another
program will help to store the (a) Tab (b) Ctrl (c) Enter (d)
table. record. Shift
a. Alternate a.Ms Access 115. Which of the following is
b. Primary b.Libre office base true about primary key of a
c. Candidate c.My sql table? (a) Every table must
d. None of the above d.All of the above have a primary key (b) The
Ans. b. Primary 104.The database concept has data values in primary key
93. A table is a collection of evolved since 1960s field cannot be duplicated. (c)
logically related data.(T/F) 105.--------- means multiple A primary key field cannot be
a. True mismatching copies of the left blank (d) All of the
b. False same data. above
Ans. a. True Ans:Data consistency 116.Which of the following
94. _______ tables can be 106.In RDBMS data can be method is used to create a
integrated using------ table?
created in a database. a.Primary key a.Design view
a. 1 b.Composite primary key b.table wizard
b. 2 c.Foreign key c.Both of the above
c. 3 d.All of the above d.Neither a nor b
d. More than 3 107. Which of the following is 117. Which of the following
Ans. d. More than 3 NOT a type of text data type? actions can be performed once
95. In primary key we can (a) Memo the tables are created in a
enter NULL values.(T/F) (b) Varchar database?
a. True (c) Float (a) Add a field in a table
b. False (d) Char (b) Rename a table
Ans. b. False 108.. A currency data type can (c) Delete a table
96. Only numeric fields can act only store monetary data that (d) All of the above
is in dollars.
as a primary key in a (a) True (b) False (c) Neither 118. Which of the following is
table.(T/F) a nor b (d) Both a and b checked by a DBMS? (a)
a. True Redundancy (b) Inconsistency
b. False 109. Which of the following (c) Both (a) and (b)
Ans. b. False data can a date data type (d) Neither (a) nor (b)
97. Primary key increases data store?
redundancy.(T/F) (a) Date (b) Time (c) Both 119. Which of the following is
a. True date and time (d) Neither date required to set a relationship
b. False nor time between the two tables?
Ans. b. False (a) Both the tables must be in
110.. Which of the following is different databases
98. In a table we can have
true about LibreOffice Base? (b) Both the tables must
only ______ primary key. (a) It is a spreadsheet software have a common field
a. 1 (b) It is free and open (c) Both the tables must have
b. 2 source software ( the same name
c. 3 c) It can store only character (d) Both tables must be stored
d. more than 3 data in documents folder only.
Ans. a. 1 (d) It is a licensed software.
99. A foreign key is a primary 111. The related objects of a 120. If a record is added in a
key in other table.(T/F) database can be seen in master table, which of the
a. True ____________ pane of the Base following is NOT true for
b. False Database window. (a) transaction table
Ans. a. True Database (b) Task (c) Title (a) The record in the master
Bar (d) Menu Bar table is called the master
100. Duplicate values can be
record
entered in Foreign key.(T/F) 112. Which is the shortcut key (b) The corresponding
a. True to open an existing database? record in transaction table
b. False (a) Ctrl+ D (b) Ctrl+O (c) can only be entered once.
Hide Answer Ctrl+E (d) Ctrl+F (c) The record in the
Ans. a. True 113. The Design view of Table transaction table is called the
101.-----------can be a visualize Creation window in LibreOffice transaction record.
as a container of information Base is divided into ______ (d) It is possible to add a
Ans.Database sections or panes. (a) 2 (b) 3 record in the master table
102.--------is an organised (c) 4 (d) 5
collection of 114. While entering records in 121. Which type of relationship
data.Ans:Database a table, we can move to the exists between a student and
103.Parth own a stationary
shop he needs to keep a
the subjects studied by (b) Multiple queries can be 144. A query can be used to
him/her? created in a database display the average value of a
(a) One-to-one (c) A query can run multiple numerical field-true.
(b) One-to-many times 145. While designing a query,
(c) Many-to-many (d) A query once created the criterion can be set on only
(d) All of the above Notes cannot be edited one field. –false
122.Which type of relationship
can be established between 132. Which of the following is 146. Alias is an alternative
the two tables? the shortcut key to run the name for a field in a query.-
(a) One-to-one query? true
(b) One-to-many (a) F3 (b) F4 (c) F5 (d) F6 147. In query Design window,
(c) Many-to-many 133. Which of the following the visible check box is
(d) None of the above functions can be performed on selected by default-true. 148.
123.. Which of the following numerical data while designing A query once created using a
menus contains the a query? wizard can only be edited in
Relationship option? (a) Sum (b) Minimum (c) the Design view-true.
(a) Edit (b) File (c) Tools (d) Maximum (d) All of the Fill in the blanks
View above 149. A ___Query________ is a
124. The list of tables to be 134. In a Query Design wizard, sort of question asked from a
added is displayed in the which of the following buttons database.
__________ dialog box in the is clicked to move a field from 150. The result of the query is
Relationship Screen. ‘Available fields’ list box to displayed in _____Report_

(a) > (b) < 9 (c) ∨ (d) ∧


(a) Add Tables ‘Fields in the query‘ list box? form with field names in
(b) Add Databases columns
(c) Both (a) and (b) 151. A query can be created in
(a) Neither (a) nor (b) 135. Which of the following ____3____ways.
relational operators can be 152. The Query Design window
125. In the relationship design applied to set the criterion is divided into _____2_____
screen, the relationship while designing a query in sections.
between the two tables is done LibreOffice Base? (a) > (b) = 153. The shortcut key to run
using __________ operation. (c) != (d) All of the above the query is ______F5____.
(a) Click (b) Double Click (c) 154. The conditions to filter the
Drag and Drop (d) Right click 136. Which of the following records are set in the
dialog box is present when the ____criteriaon____ row.
126. Which of the following is Query Design window is 155. When a table is selected
NOT an option that can be opened for the first time to in a Query wizard, the
used to maintain referential design a query? corresponding fields are
integrity in a database? (a) No (a) Add Table (b) Add Query displayed in
Action (b) Set NULL (c) Set (c) Add Table or Query (d) the_________Available
Default (d) Set Value None of the above fields_________list box.
156. The result of the query
127. Which of the following is 137. Which of the following can be displayed in
refer to asking questions from step is not performed if there ______ascending____ or
the database? (a) Report (b) is no numerical data to be ___descending__________
Table (c) Query (d) Database worked upon in a query? (a) order of any particular field of
128. Which of the following are Selection of fields (b) Giving the table.
the ways to design a query? Aliases (c) Summarizing (d) 157. At the most
(a) Wizard (b) Design View (c) Selection of tables ___three_______ search
SQL (d) All of the above conditions can be given in the
138.You can run a query only query wizard.
129. Which is a flexible way to once-false 158. The last step of the Query
create a query? 139. A query cannot be wizard displays the entire
(a) Wizard (b) Design View created from multiple tables – ___overview____ of the query.
(c) Both (a) and (b) (d) Neither false 159. The __design__ view is a
(a) nor (b) 140. The shortcut key to run a more flexible method to create
query is F5. –true a query.
130.How many parts is the 160. To edit any query, right
query design window divided? 141. LibreOffice Base provides click on the ___query_____ icon
(a) One (b) Two (c) Three (d) us with two ways to create a of the query that has to be
Four query.-true edited.
142. A query with numerical 161. In the __alias_____ row of
131. Which of the following is data cannot be saved.-false the Query Design grid, we can
NOT true about queries? 143. By default the query type the column heading that
(a) It can be created using result is not sorted-true. will be displayed instead of
multiple tables field name when we run the
query.
162. Which of the following (a) Report Builder (b) Add present in _____insert______
toolbars contains the Label Fields dialog box (c) Both (a) menu.
tool? and (b) (d) Neither (a) nor (b) 193. A Report Wizard contains
(a) Standard Toolbar (b) ______six_______ steps.
Forms Controls Toolbar (c) 172. Report is an object of a 194. A _Dynamic__ type of
Records toolbar (d) Formatting database but form is not-false . report changes automatically
toolbar 173. We can choose the layout as the field values in the base
163. The Record toolbar has of the form-true. table or query change.
the buttons to move to the (a)
first record (b) second record 174. We have to add all fields
(c) last record (d) all records of the table on the form-false.
175. There are two ways n
164. Which of the following is which a form can be created-
NOT true about forms? (a) It is true.
the front end for data entry (b) 176. A report is generated in a
It can contain only text separate window-true.
fields (c) Graphics can be 177. Once a control is added
inserted on the form (d) It can on to the form, it cannot be
contain only fixed number of repositioned.-false
records 178. The Record toolbar has
the button to add a new
165.Which of the following record-true.
keys is pressed to select only 179. We can create a report
textbox on the form? (a) Alt (b) only using a table-false.
Shift (c) Ctrl (d) Tab 180. By default, the records in
a report are sorted in
166. Which of the following descending order-false.
properties in the Properties: 181. We can group data based
Label Field text box is used to on a particular field in a report-
insert a tool-tip on the form? true.
(a) Tool Text (b) Help Text (c) 182. A report can have data
Tool Tip (d) Help Tip only in row and column format-
false.
167. Which of the following 183. We can insert both date
objects of LibreOffice Base is and time of generation of
used to display data retrieved report-true.
from one or more tables in a 184. A report once created
presentable manner? (a) Query cannot be edited-false.
(b) Form (c) Report (d) Panel 185. A form can be used for
168. Which of the following ______enter__ and ___view
values of Date Format property data__.
is selected to view a calendar 186. Each field control consists
on the form? of a ___label_________and
(a) Standard (short) (b) ____field value_______
Standard (long) (c) Default 187. A ___label_____ is a piece
(d) Standard (Medium) of text that specifies the data
that should be entered in the
169. Which of the following field value text box.
commands on the Forms 188. By default the border of
Control toolbar is used to the field text value is displayed
toggle between Design View in ____3D__.
and Form view? 189. A tooltip____ is a small
(a) Design Mode (b) Toggle piece of text that is displayed
Mode (c) View Mode (d) Print when the mouse pointer is
mode placed on a particular control
on the form.
170. Using which of the 190. The default orientation
following objects in a option for a report is
database, can a report be ______landscape_________.
generated? (a) Tables (b) 191. A _____layout_______ is
Queries (c) Both a and b (d) the manner in which the
Neither a nor b labels, field values, titles etc.
will be displayed in the report.
171. Which of the following 192. The option to insert date
components open along with and time in the report is
the Report Wizard?

You might also like