MCQ and Question Answers Unit 1 and Unit 4
MCQ and Question Answers Unit 1 and Unit 4
2. 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
Show Answer ⟶
6. DBMS Stands for __________.
a. Database Management System
b. Database Manage System
c. Data Manage System
d. None of the above
Show Answer ⟶
7. A table refers to a _________ representation of data arranged in columns and rows.
a. Two dimensional
b. Three dimensional
c. Four dimensional
d. None of the above
Show Answer ⟶
8. __________ is used to manage databases in an RDBMS.
a. Structred Program
b. Structured Query Language (SQL)
c. Forms
d. Report
Show Answer ⟶
9. MySQL commands are divided into different categories_________.
a. DDL, DMC and DDP
b. DDL, DML and DPP
c. DDL, DML and DCL
d. None of the above
Show Answer ⟶
RDBMS Class 11 MCQ
Show Answer ⟶
11. __________ statement is used to create a new database.
a. Select Database
b. Insert Database
c. Create Database
d. Modify Database
Show Answer ⟶
12. ___________ statement is used to create a new table.
a. Select Table
b. Insert Table
c. Create Table
d. Modify Table
Show Answer ⟶
13. The _________ statement is used to see the structure of a table.
a. Modify
b. Display
c. Describe
d. Select
Show Answer ⟶
14. ALTER TABLE statement is used to change the structure of a table.
a. Modify Table
b. Display Table
c. Alter Table
d. Select Table
Show Answer ⟶
RDBMS Class 11 MCQ
Show Answer ⟶
16. _________ statement is used to insert a new row in a table.
a. Insert into
b. Select into
c. Display into
d. Add into
Show Answer ⟶
17. Data stored in a single table is known as __________.
a. Flat File
b. Relational
c. Both a) and b)
d. None of the above
Show Answer ⟶
18. 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
Show Answer ⟶
19. The _______ statement is used to fetch data from one or more database tables.
a. Insert statement
b. Select statement
c. Display statement
d. Add statement
Show Answer ⟶
RDBMS Class 11 MCQ
Show Answer ⟶
21. The __________ clause is used to select specific rows.
a. What clause
b. When clause
c. Where clause
d. None of the above
Show Answer ⟶
22. We can change the structure of a table ie. add, remove or change its column(s) using the
_________ statement.
a. Insert Table
b. Alter Table
c. Display Table
d. Add Table
Show Answer ⟶
23. The keyword _________ is used to eliminate redundant data from display.
a. Modify
b. Distinct
c. Describe
d. None of the above
Show Answer ⟶
24 Logical operators ________ are used to connect relational expressions in the WHERE
clause.
a. OR
b. AND
c. NOT
d. All of the above
Show Answer ⟶
RDBMS Class 11 MCQ
Show Answer ⟶
26. The _________ operator defines the range of values that the column values must fall into to
make the condition true.
a. Multiplication
b. Modular
c. Equalto
d. Between
Show Answer ⟶
27. The __________ operator selects values that match any value in the given list of values.
a. Multiplication
b. Modular
c. IN
d. Between
Show Answer ⟶
28. Give the example of wild card character _______.
a. %
b. _
c. Both a) and b)
d. None of the above
Show Answer ⟶
29. The _________ symbol is used to represent any sequence of zero or more characters.
a. %
b. _
c. &
d. #
Show Answer ⟶
RDBMS Class 11 MCQ
Show Answer ⟶
31. _________ represents a value that is unavailable, unassigned, unknown or inapplicable.
a. None
b. NULL
c. Empty
d. None of the above
Show Answer ⟶
32. The results of the SELECT statement can be displayed in the ascending or descending
order of a single column or columns using _________ clause.
a. Non Order by
b. Modular
c. Order by
d. Where cause
Show Answer ⟶
33. ________ statement is used to modify existing data in a table.
a. Insert Table
b. Update Table
c. Display Table
d. Add Table
Show Answer ⟶
34. _________ statement is used to delete rows from a table.
a. Insert Statement
b. Alter Statement
c. Display Statement
d. Delete Statement
Show Answer ⟶
RDBMS Class 11 MCQ
35. 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
Show Answer ⟶
36. The unique field present in the table is called __________.
a. Primary Key
b. Candidate Key
c. Foreign Key
d. None of the above
Show Answer ⟶
37. 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
Show Answer ⟶
38. SQL stands for _____________.
a. Single Query Language
b. Structured Query Language
c. Semantic Query Language
d. None of the above
Show Answer ⟶
39. 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
Show Answer ⟶
RDBMS Class 11 MCQ
40. Which datatype is used for storing date and time both in the database.
a. Date
b. Time
c. Timestamp
d. None of the above
Show Answer ⟶
41. _____________ are used to identify which type of data we are going to store in
the database.
a. Datatype
b. DataItem
c. DataValue
d. DataCat
Show Answer ⟶
42. By default the length of the numerical data type is _______.
a. 05
b. 10
c. 20
d. 30
Show Answer ⟶
43. ________ means to arrange the data in either ascending order or descending order.
a. Filter
b. Sorting
c. Arrangement
d. None of the above
Show Answer ⟶
44. In database, data can be linked between two or more tables with the help of ____________.
a. Primary Key
b. Foreign Key
c. Both a) and b)
d. None of the above
Show Answer ⟶
RDBMS Class 11 MCQ
45. Referential Integrity helps to avoid ____________.
a. If you want to add a record in the related table and if there is no associated record available
in the primary key table.
b. Changing values in a primary if there are any dependent records in the related table.
c. Deleting records from a primary key table if there are any matching related records available
in the associated table.
d. All of the above
Show Answer ⟶
46. The connection or association between two or more table is known as ____________
a. Connection
b. Relationship
c. Connector
d. None of the above
Show Answer ⟶
47. Relationships between tables help to __________.
a. Save time
b. Reduce data-entry errors
c. Summarize data from related tables
d. All of the above
Show Answer ⟶
48. To retrieve all the columns in a table the syntax is ___________.
a. Select $ from <tablename>;
b. Select * <tablename>;
c. Select * from <tablename>;
d. Select % <tablename>;
Show Answer ⟶
49. A ____________ is a subset of DML that just deals with information retrieval.
a. Query Language
b. Structure Language
c. Both a) and b)
d. None of the above
Show Answer ⟶
50. A ______________ is a language that enables users to access and manipulate data in
a database.
a. Data Manipulation Language (DML)
b. Data Definition Language (DDL)
c. Both a) and b)
d. None of the above
Show Answer ⟶
4. 4 and 6
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
4. The data and/or instructions given by the user to the machine are termed as Input and the
result
generated by the machine after processing the data is the __________.
a. Process
b. Output
c. Input
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. None of the above
7. The _________ unit holds the data and instructions during the processing.
a. Input
b. Output
c. Memory
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
9. ___________ memory is directly accessed by the CPU and it is also fast and expensive
memory.
a. Primary Memory
b. Secondary Memory
c. External Memory
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. Static Random Accessible Memory
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
19. Give an example of the device which belongs to Secondary Storage ___________.
a. Hard Disk
b. Compact Disk
c. Magnetic Tapes
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. None of the above
21. ___________ coordinates with the peripheral devices to accept the input or display the
output. It is like a manager of all operations.
a. Control Unit
b. Arithmetic Logic Unit
c. Memory Unit
Show Answer ⟶
d. None of the above
22. ____________ retrieves the data from the storage unit and performs the arithmetic
calculations and/or comparisons on them and the processed data is then sent back to the
storage.
a. Control Unit
b. Arithmetic Logic Unit
c. Memory Unit
Show Answer ⟶
d. None of the above
23. __________ is the main circuit board which holds together various components like CPU,
memory, connectors for the hard drive and optical drives.
a. Hard Disk
b. MotherBoard
c. CPU
Show Answer ⟶
d. None of the above
24. __________ it is a large printer-like device that is used to take print of large maps,
architectural designs.
a. Plotter
b. Inkjet Printer
c. Laser Printer
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. None of the above
29. All the data stored in the c drive of a computer is basically stored in ____________.
a. Hard disk
b. CD-ROM
c. Pen Drive
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. 1 Exabyte
32. Digital Video Disc(DVD) are examples of optical storage devices. Capacity of a DVD is
higher than ___________.
a. Hard Disk
b. Compact Disk
c. External Hard Disk
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. All of the above
36. _________ management helps to process the program currently executing in the memory or
waiting for the CPU.
a. Communication Manager
b. Resource Management
c. Process Management
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. File Management
38. __________ takes care of all the files and folders (directories) maintained on the computer
disk. The basic tasks that a user needs to perform on files are creation, renaming, deletion,
copying or moving of a file or folder.
a. Communication Manager
b. Resource Management
c. Memory Management
Show Answer ⟶
d. File Management
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. Batch Processing System
41. _____________ operating system can execute more than one program simultaneously. The
processor time, in this case, is divided amongst various processes.
a. Single tasking Operating System
b. Multi tasking Operating System
c. Real time Operating System
Show Answer ⟶
d. Batch Processing System
42. ___________ operating systems allow only one user to use the system. The desktop
systems can be classified as typical single user systems
a. Single User Operating System
b. Multi User Operating System
c. Real time Operating System
Show Answer ⟶
d. Batch Processing System
43. ____________ operating systems allow many users to access the system by maintaining an
account of all the registered users.
a. Single User Operating System
b. Multi User Operating System
c. Real time Operating System
Show Answer ⟶
d. Batch Processing System
44. Operating systems which ensure that the response time is fixed are categorized as
______________.
a. Single User Operating System
b. Multi User Operating System
c. Real time Operating System
Show Answer ⟶
d. Batch Processing System
Show Answer ⟶
d. Batch Processing System
Show Answer ⟶
d. All of the above
Show Answer ⟶
d. None of the above
Show Answer ⟶
d. F2
49. Troubleshoot the hardware problem, if the monitor is not showing any display or Screen is
blank.
a. Check the System is in Sleep mode
b. Check the Monitor cable
c. If Laptop, check the battery is low
Show Answer ⟶
d. All of the above
a. Speed – Computers are their ability to process data and instructions at a very high speed.
c. Accuracy – Not only does the machine perform varied jobs with high speed, but also does them with
high precision and accuracy.
d. Diligence – Another noteworthy feature of computers is its ability to perform the same task repeatedly
over and over again without getting bored.
e. Memory – One of the notable features of a computer is its memory. However, the computer’s main
memory is volatile, i.e., it is lost when we switch off the computer.
f. Storage – Huge amounts of data and information can be stored in a computer for future retrieval. The
human memory is limited and fades away with time, which is not true for a computer.
Primary Memory – Data stored in Primary Memory is directly accessible by the CPU. The inputs
received in the above steps are stored in the computer memory, called random access memory ( RAM).
This storage is relatively fast and expensive as compared to the secondary storage.
Secondary Memory – The memory which is external to the computer system forms the secondary
storage, for example, the magnetic tapes, compact disks, pen drives are all examples of the secondary
storage. These are not directly connected to the CPU.
DRAM
SRAM
4. What is the difference between SRAM and DRAM?
Answer – SRAM is a memory semiconductor that is more energy-efficient and faster than DRAM. A
memory device called a DRAM can store more data than an SRAM chip, but it also consumes more
power.
c. Process Management – A programme that is now running in memory or waiting for the CPU is
referred to as a process. There are numerous processes running simultaneously in a computer. All of the
processes running on the computer are managed, regulated, and scheduled by the OS.
d. Memory Management – The memory management section of an operating system dynamically
allocates memory to the processes as needed and releases it when not in use.
e. File Management – All of the files and folders (directories) kept on the computer drive are taken care
of by the operating system. The fundamental operations that a user must carry out on files include
creating, renaming, deleting, copying, and relocating files and folders.
b. Cndidate Key – A column or a group of columns which can be used as the primary key of a
relation is called a Candidate key because it is one of the candidates available to be the primary
key of the relation.
c. Alternate Key – A candidate key of a table which is not selected as the primary key is called
its Alternate Key.
d. Foreign Key – A primary key of a base table when used in some other table is called as
Foriegn Key.
7. State the similarity and difference between the Primary Key, Candidate Key, Alternate
Key and Foreign Key
Answer –
a. Primary Key – The group of one or more columns used to uniquely identify each row of a
relation is called its Primary Key.
b. Cndidate Key – A column or a group of columns which can be used as the primary key of a
relation is called a Candidate key because it is one of the candidates available to be the primary
key of the relation.
c. Alternate Key – A candidate key of a table which is not selected as the primary key is called
its Alternate Key.
d. Foreign Key – A primary key of a base table when used in some other table is called as
Foriegn Key.
10. Write SQL statement to view names of all the tables contained in the
current database.
Answer – To display all the table in database –
SQL> SHOW TABLES;
11. In a database there is a table Cabinet. The data entry operator is not able to put NULL
in a column of Cabinet? What may be the possible reason(s)?
Answer – The data entry operator cannot enter duplicate values in a column of a cabinet; this is
likely because the column contains a primary key.
13. There is a table T1 with combination of columns C1, C2, and C3 as its primary key? Is
it possible to enter:
a. NULL values in any of these columns?
b. Duplicate values in any of these columns?
Answer –
a. No
b. Not possible
18. What are the differences between DELETE and DROP commands of SQL?
Answer – The DELETE command in Data Manipulation Language (DML) is used to remove
tuples or records from a relation or table. In contrast, the DDL command DROP is used to
delete named schema elements such as relations, tables, constraints, or the whole schema.
DDL (Data definition language) – Data definition language is used to design and modify the
structure of a database.
Common DDL commands are
a. Create – This command is used to create database
b. Alter – This command is used to modify the database.
c. Drop – This command is used to delete database tables.
DML (Data manipulation language) – Data manipulation language provides commands for
manipulating data in databases.
Common DML commands are
a. Select – This command is used to display information from the database.
b. Insert – This command is used to insert new records in the database.
c. Delete – This command is used to delete records from the database.
d. Update – This command is used to modify records in the database.
b. To list the details of all the students whose percentage is between 90 to 100.
Answer – Select * from students where percentage >= 90 and percentage <= 100;
21. Write the SQL commands to answer the queries based on Fabric table
b. Write a query to display only those fabric whose disc is more than 10
22. Consider the following Vendor table and write the queries
11 Soap 40 80
22 Powder 80 30
55 Soap box 20 50
a. Display the total amount of each item. The amount must be calculated as the price
multiplied by quantity for each item.