MCQs of Entere_DBMS
MCQs of Entere_DBMS
2. Which SQL command will increase the salary of all employees by 5000? (Table name is emp and
column name is salary).
a. UPDATE emp SET sal = salary + 5000;
b. UPDATE SET sal = salary + 5000;
c. UPDATE emp SET salary = 5000;
d. None of the above.
3. What is the purpose of the SQL query: “SELECT * FROM Stud ORDER BY Rollno ASC;”?
a. Display all record in ascending order followed by Rollno
b. To display all the records of the table.
c. Both of the above.
d. None of the above.
10. Which data type is appropriate for storing information such as salary, fees, and price?
a. Binary data type
b. Alphanumeric data type
c. Date Time
d. Numerical data type
13. Does data integrity mean that data is accurate and consistent in the database?
a. Yes
b. No
16. Which field in the “Student” table can act as the primary key?
a. Roll_No
b. Fee
c. Student_name
d. Marks
19. Which of the following data types will occupy more space in computer memory?
a. Bigint
b. Smallint
c. Tinyint
d. Integer
22. Are queries commands that are used to define the structure and modify the data in a table?
a. True
b. False
23. Which SQL query will retrieve the details of all students whose favorite color is blue?
a. SELECT all FROM Stud WHERE fav_Color = ‘Blue’;
b. SELECT all FROM Stud WHERE fav_Color is ‘Blue’;
c. SELECT name FROM Stud WHERE fav_Color = ‘Blue’;
d. SELECT * FROM Stud WHERE fav_Color = ‘Blue’;
28. Which of the following field properties is for the Numeric data type in Base?
a. Default Value
b. AutoValue
c. Length
d. All of the above
29. What is the default length of the Integer data type in Base?
a. 20
b. 40
c. 10
d. 50
30. We can create a relationship between any two tables by selecting which option from the which
menu?
a. Relationships
b. Filter
c. Sort
d. All of the above
31. In which relationship, both the tables must have primary key columns?
a. One to Many
b. One to One
c. Many to Many
d. Many to All
32. What are the commands that define the data structure and manipulate the data in a database?
a. Reports
b. Queries
c. Forms
d. Tables
34. Can ‘Where’ and ‘Order by’ clauses be used together in a single query?
a. True
b. False
37. A is a software package that can be used for creating and managing databases.
a) Database Management System
b) Basedata Management System
c) Database Manage System
d) None of the above
42. A database management system is a software package with computer programs that controls the
.
a) Creation
b) Maintenance
c) Use of Database
d) All of the above
47. Data is stored in multiple tables, which are connected together via a common field.
a. Flat File
b. Relational
c. Both a) and b)
d. None of the above
48. are dedicated computers that hold the actual databases and run only the DBMS and
related software.
a. Database Server
b. Decided Server
c. Web Server
d. None of the above
49. What are the advantages of database .
a. Reduces Data Redundancy
b. Sharing of Data
c. Data Integrity
d. All of the above
50. When the same piece of data is stored in two or more locations, it is called .
a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above
51. prevents creating multiple copies in the database.
a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above
Ans: a. Data Redundancy
52. means that the data is accurate and consistent in the database.
a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above
Ans: b. Data Integrity
53. Only authorized users should be allowed to access the database and their identity should be
authenticated using a username and password known as .
a. Data Redundancy
b. Data Consistency
c. Data Security
d. None of the above
Ans: c. Data Security
55. prevent multiple mismatching copies of the same data in the database and only
valid data will be added in the database.
a. Data Redundancy
b. Backup and Recovery
c. Data Consistency
d. None of the above
Ans: c. Data Consistency
56. in a table represents a set of information with the same structure in every row.
a. Tuples
b. Record
c. Both a) and b)
d. None of the above
Ans: c. Both a) and b)
57. A is the actual text, number, or date that you enter when adding data to your
database.
a. Values
b. Table
c. Boolean
d. None of the above
Ans: a. Values
60. By default if the primary key is not defined that column is known as .
a. Primary Key
b. Candidate Key
c. Foreign Key
d. None of the above
Ans: c. Foreign Key
62. The relationship between two tables where one table has one record and another table has many
records is known as .
a. One-to-Many
b. Many-to-Many
c. Many-to-One
d. None of the above
Ans: a. One-to-Many
65. A row also called a Record or represents a single, data item in a table.
a. Column
b. Tuples
c. Fields
d. None of the above
Ans: b. Tuples
66. You can create tables in the database using .
a. Wizard
b. SQL
c. Both a) and b)
d. None of the above
Ans: c. Both a) and b)
68. are used to define the type of data that will be stored in the database.
a. Data Types
b. Data field
c. Key Data
d. None of the above
Ans: a. Data Types
69. What are the different types of data type available in OpenOffice base?
a. Numeric Types
b. Alphanumeric Types
c. Binary Types & Date time
d. All of the above
Ans: d. All of the above
70. types are used for describing numeric values for the field used in the table of a
database.
a. Numeric Type
b. Alphanumeric Type
c. Boolean Type
d. Date & Time
Ans: a. Numeric Type
75. data types in a database can be used for storing photos, music, video or any
file format.
a. Numerical Type
b. Alphanumeric Type
c. Binary Type
d. Date & Time
Ans: c. Binary Type
76. Which datatype is used for storing date and time both in the database.
a. Date
b. Time
c. Timestamp
d. None of the above
Ans: c. Timestamp
77. A table is a collection of data elements that are organized using a vertical and
horizontal model.
a. Column & Row
b. Row & Column
c. Column & Column
d. Row & Row
Ans: a. Column & Row
78. A is a collection of data values of a specific type, one for each row of a table.
a. Column
b. Row
c. Cell
d. None of the above
Ans: a. Column
80. are used to identify which type of data we are going to store in the database.
a. Datatype
b. DataItem
c. DataValue
d. DataCat
Ans: a. Datatype
84. If the user does not specify a value for a field while putting values into the table, a
value can be assigned to it.
a. Default Value
b. Length
c. Format
d. None of the above Ans:
a. Default Value
85. means to arrange the data in either ascending order or descending order.
a. Filter
b. Sorting
c. Arrangement
d. None of the above Ans:
b. Sorting