0% found this document useful (0 votes)
38 views

MCQs of Entere_DBMS

Uploaded by

sejalchauhan1414
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)
38 views

MCQs of Entere_DBMS

Uploaded by

sejalchauhan1414
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/ 12

1. What is the purpose of a form in a database?

a. Form is systematic way of storing information into the table.


b. Form is used to display information.
c. Both a) and b)
d. None of the above.

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.

4. What does DML stand for?


a. Database Manipulation Language
b. Data Modification Language
c. Data Manipulation Language
d. None of the above

5. What does SQL stand for?


a. Structured Query Language
b. Structured Quality Language
c. Structural Query Language
d. None of the above

6. Which language is used to extract/fetch data from a table?


a. HTML
b. MySQL
c. OOBase
d. Python

7. In Base, how can data be linked between two or more tables?


a. Foreign key
b. Primary key
c. Both a) and b)

8. In which view can the structure of a table be changed?


a. Design view
b. Structure view
c. Data view

9. What data type is the Auto Value property used for?


a. Date
b. Character
c. Numeric
d. Binary

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

11. In what ways can a table be created?


a. Using a Wizard
b. Using design view
c. Both a) and b)
12. What kind of field is a primary key?
a. Duplicate Data
b. Unique Data
c. Any Data
d. None of the above

13. Does data integrity mean that data is accurate and consistent in the database?
a. Yes
b. No

14. Which of the following is not a database program?


a. MySQL
b. Writer
c. Oracle
d. OpenOffice base
15. What is a database?
a. A collection of attributes
b. A collection of field
c. An organized collection of data
d. None of the above

16. Which field in the “Student” table can act as the primary key?
a. Roll_No
b. Fee
c. Student_name
d. Marks

17. Is Open Office base an open source software?


a. True
b. False

18. What is the default name of a table?


a. 1 Table
b. Table 1
c. Untitled 1
d. Tab 1

19. Which of the following data types will occupy more space in computer memory?
a. Bigint
b. Smallint
c. Tinyint
d. Integer

20. In which view can data be entered in a table?


a. Data view
b. Datasheet view
c. Both a) and b)
d. None of the above

21. Can relationships be created between tables in Base?


a. One table only
b. Two or more tables
c. Both a) and b)
d. None of the above

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’;

24. By default, data is arranged in order using the ORDER BY clause.


a. Descending
b. Ascending
c. Both a) and b)
d. None of the above.

26. Which of the following is NOT a SQL command?


a. DELETE
b. UPDATE
c. SELECT
d. CREATE

27. What is a foreign key?


a. A key that can contain null values
b. A key that can contain Zero
c. A key that references another table’s primary key
d. A key that uniquely identifies in table

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

33. Which operators are used to perform simple calculations in Base?


a. Arithmetic Operators
b. Membership Operators
c. Logical Operators
d. Relational Operators

34. Can ‘Where’ and ‘Order by’ clauses be used together in a single query?
a. True
b. False

35. What is the purpose of the Update command in a database?


a. It is used to modify the data of the table.
b. It is used to delete the table.
c. It is used to modify the structure of the table.
d. It is used to insert data in the table.
36. A is an organized collection of data.
a) Database
b) Digital Document
c) Spreadsheet
d) None of the above

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

38. A database management system is referred to as a relational model.


a) DBMS
b) RDBMS
c) DB
d) None of the above
39. Example of the database .
a) Microsoft Access
b) OpenOffice Base
c) MySQL
d) All of the above

40. The database concept has evolved since the .


a. 1980
b. 1960
c. 1955
d. 1950

41. DBMS Stands for .


a) Database Management System
b) Database Manage System
c) Data 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

43. A database is an integrated collection of .


a) Data records
b) Files
c) Objects
d) All of the above
44. A DBMS enables several user application programs to access the database.
a) Other Database
b) Same Database
c) Both a) and b)
d) None of the above
45. Data can be organized into .
a. Flat File
b. Relational
c. Both a) and b)
d. None of the above

46. Data stored in a single table is known as .


a. Flat File
b. Relational
c. Both a) and b)
d. None 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

54. Database Management System automatically takes care of .


a. Data Redundancy
b. Backup and Recovery
c. Data Security
d. None of the above
Ans: b. Backup and Recovery

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

58. The unique field present in the table is called .


a. Primary Key
b. Candidate Key
c. Foreign Key
d. None of the above
Ans: a. Primary Key

59. When the primary key is applied on multiple columns is known as .


a. Primary Key
b. Composite Primary Key
c. Foreign Key
d. None of the above
Ans: b. Composite Primary Key

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

61. key can store multiple same records in the table.


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

63. SQL stands for .


a. Single Query Language
b. Structured Query Language
c. Semantic Query Language
d. None of the above
Ans: b. Structured Query Language

64. A is a collection of data components organized in the form of vertical columns


and horizontal rows.
a. Table
b. Fields
c. Attributes
d. None of the above
Ans: a. Table

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)

67. are the basic building blocks of a database.


a. Table
b. Query
c. Database
d. None of the above
Ans: a. Table

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

71. data type can store 0 or 1 in the database.


a. Boolean
b. TinyInt
c. Smalint
d. BigInt
Ans: a. Boolean

72. What are the different numerical data types?


a. Boolean
b. Tinyint & Smallint
c. Integer & Bigint
d. All of the above
Ans: d. All of the above

73. data type can store UTF 8 Characters in the database.


a. Longvarchar
b. Char
c. Both a) and b)
d. None of the above
Ans: c. Both a) and b)

74. is case sensitive data type in the database.


a. Longvarchar
b. Varchar_Ignorecase
c. Varchar
d. All of the above
Ans: b. Varchar_Ignorecase

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

79. In a table, a represents a single data item.


a. Row
b. Truple
c. Both a) and b)
d. None of the above
Ans: c. Both a) and b)

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

81. There are ways to create a table.


a. 1
b. 2
c. 3
d. 4
Ans: b. 2

82. Field properties can be set in both the and .


a. Length & Default Value
b. Length & Entry
c. Both a) and b)
d. All of the above Ans: c.
Both a) and b)

83. By default the length of the numerical data type is .


a. 05
b. 10
c. 20
d. 30
Ans: b. 10

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

You might also like