Computer Science - Database Systems MCQs Part 1
1. A report generator is used to
A.
update files
update files
B.
print files on paper
print files on paper
C.
data entry
data entry
D.
All of the above
All of the above
E.
None of the above
None of the above
Answer Option B
2. Which of the following is not a logical data-base structure?
A.
tree
tree
B.
relational
relational
C.
network
network
D.
chain
chain
E.
All of the above
All of the above
Answer Option D
3. Which of the following is a database administrator's function?
A.
database design
database design
B.
backing up the database
backing up the database
C.
performance monitoring
performance monitoring
D.
user coordination
user coordination
E.
All of the above
All of the above
Answer Option E
4. Primitive operations common to all record management systems include
A.
Print
B.
Sort
Sort
C.
Look-up
Look-up
D.
All of the above
All of the above
E.
None of the above
None of the above
Answer Option C
5. Each of data files has a _____ that describe the way the data is stored in the file.
A.
File structure
File structure
B.
Records
Records
C.
Fields
Fields
D.
Database
Database
E.
None of the above
None of the above
Answer Option A
6. After you _____ a record, many data management the environments require you to issue a command to save the changes you made.
A. Delete
B. Update
C. Sort key
D. Index
E. None of the above
Answer Option B
7. What is the language used by most of the DBMSs for helping their users to access data?
A. High level language
B. Query language
C. SQL
D. 4GL
E. None of the above
Answer Option B
8. Data item characteristics that are important in data management include
A. punctuation
B. language
C. spelling
D. width
E. None of the above
Answer Option D
9. In SQL, which command is used to make permanent changes made by statements issue since the beginning of a transaction?
A. ZIP
B. PACK
C. COMMIT
D. SAVE
E. None of the above
Answer Option C
10. Periodically adding, changing and deleting file records is called file
A. Updating
B. upgrading
C. restructuring
D. renewing
E. None of the above
Answer Option A
11. Sort/report generators
A. are faster than index/report generators
B. require more disk space than index/report generators
C. do not need to sort before generating a report
D. both (a) and (b)
E. None of the above
Answer Option B
12. The data dictionary tells the DBMS
A. what files are in the database
B. what attribute are possessed by the data
C. what these files contain
D. All of the above
E. None of the above
Answer Option D
13. In SQL, which command(s) is(are) used to enable/disable a database trigger?
A. MODIFY USER
B. CHANGE USER
C. ALTER TRIGGER
D. All of the above
E. None of the above
Answer Option C
14. If the record management system allows you to edit values before they are recorded on disk, you can
A. correct spelling changes before they are recorded
B. change the name of a field
C. change the width of a field
D. All of the above
E. None of the above
Answer Option A
15. The relational model uses some unfamiliar terminology. A tuple is equivalent to a:
A. record
B. field
C. file
D. data base
E. data item
Answer Option A
16. The files stored on a secondary stage device are composed of a hierarchy of data. What does a record in a file contain?
A. Bits
B. Characters
C. Data field
D. Schema
E. None of the above
Answer Option C
17. Which command is used to remove an index from the database in SQL?
A. DELETE INDEX
B. DROP INDEX
C. REMOVE INDEX
D. ROLL BACK INDEX
E. None of the above
Answer Option B
18. An-owner-member set in the CODASYL specifications may have
A. only one owner but many owner occurrences
B. only one member but many member occurrence
C. more than one member but only one occurrence per member
D. All of the above
E. None of the above
Answer Option A
19. What is the name given to the database management system which is able to handle full text data, image data, audio and video?
A. Full media
B. Graphics media
C. Multimedia
D. Hypertext
E. None of the above
Answer Option C
20. A top-to-bottom relationship among the items in a database is established by a
A. Hierarchical schema
B. Network schema
C. Relational schema
D. All of the above
E. None of the above
Answer Option A
21. A database management system
A. allows simultaneous access to multiple files
B. can do more than a record management system
C. is a collection of programs for managing data in a single file
D. both (a) and (b)
E. None of the above
Answer Option D
22. Which of the following hardware components is the most important to the operation of a database management system?
A. high-resolution video display
B. printer
C. high speed, large-capacity disk
D. plotter
E. mouse
Answer Option C
23. The PROJECT command will create new table that has
A. more fields than the original table
B. more rows than the original table
C. both (a) and (b)
D. all the fields of master table
E. None of the above
Answer Option E
24. To have a file hold a list, it is necessary to
A. identify the records in the list
B. identify the name, width and type of the fields of each record.
C. decide which fields will be used as sort or index keys
D. All of the above
E. None of the above
Answer Option D
25. Sophisticated report generators can
A. print row-oriented reports
B. perform arithmetic operations
C. selectively retrieve and print portions of a list
D. All of the above
E. None of the above
Answer Option D
26. In a _____ a parent record type can be linked to one or more "child" record types, but a child record type can have only one parent.
A. Network database
B. Relational database
C. Distributed database
D. Hierarchical database
E. None of the above
Answer Option D
27. Which two files are used during operation of the DBMS?
A. query language and utilities
B. data manipulation language and query language
C. data dictionary and transaction log
D. data dictionary and query language
E. None of the above
Answer Option C
28. When using a database management system, the first thing that you must do is to
A. create a database file
B. activate file editor
C. load the software into your micro¬computer
D. keep a floppy disk in readiness
E. None of the above
Answer Option C
29. A network schema
A. restricts the structure to a one-to-many relationship
B. permits many-to-many relation¬ships
C. stores data in tables
D. All of the above
E. None of the above
Answer Option B
30. Which of the following is not a relational database?
A. dBASE IV
B. 4th Dimension
C. FoxPro
D. Reflex
E. None of the above
Answer Option D
31. Which command is used to remove a table from the database in SQL?
A. DELETE TABLE
B. DROP TABLE
C. ERASE TABLE
D. UNATTACH TABLE
E. None of the above
Answer Option B
32. A large computer information system maintains many different computer files. Which amongst them is called a perpetual file?
A. Specialized file
B. Log file
C. Master file
D. Update file
E. None of the above
Answer Option C
33. A file produced by a spreadsheet
A. is generally stored on disk in an ASCII text format
B. can be used as it by the DBMS
C. can be used for graphic
D. All of the above
E. None of the above
Answer Option A
34. A form defines
A. where data is placed on the screen
B. the width of each field
C. both (a) and (b)
D. All of the above
E. None of the above
Answer Option C
35. Which of the following is true of a network structure?
A. It is a physical representation of the data
B. It allows a many-to-many relationship
C. It is conceptually simple
D. It will be the dominant data base of the future
E. None of the above
Answer Option B
36. In SQL, GRANT command is used to
A. allow user to access databases
B. allow user to create databases
C. grant system privileges, roles, and object privileges to uses and roles
D. choose auditing for specific SQL commands
E. None of the above
Answer Option C
37. The highest level in the hierarchy of data organization is called
A. data bank
B. database
C. data file
D. data record
E. None of the above
Answer Option B
38. The logical data structure with a one-to-many relationship is a :
A. network
B. tree
C. chain
D. relational
E. None of the above
Answer Option B
39. Updating a database means
A. revising the file structure
B. reorganizing the database
C. modifying or adding record occurrences
D. All of the above
E. None of the above
Answer Option C
40. In SQL, which command(s) is(are) used to enable/disable all triggers on a table?
A. ALTER TRIGGERS
B. ALTER TABLE
C. MODIFY TRIGGERS IN TABLE
D. All of the above
E. None of the above
Answer Option B
41. When you have finished entering information into a form
A. the template is written to the data file
B. the contents of the form are written to the data file
C. the contents of the form can be printed
D. All of the above
E. None of the above
Answer Option B
42. The main idea behind computer files is that it is convenient to
A. arrange them
B. store information together
C. create them
D. access them
E. None of the above
Answer Option B
43. A list consists of last names, first names, addresses, and pin codes if all people in the list have the same last and the same pin code, a useful key would be
A. the pin code
B. the last name
C. a compound key consisting of the first name and the last name
D. All of the above
E. None of the above
Answer Option C
44. In SQL, which command is used to add new rows to a table?
A. ALTER TABLE
B. ADD ROW
C. INSERT
D. APPEND
E. None of the above
Answer Option C
45. A number of related records that are treated as a unit is called
A. file
B. field
C. data
D. batch
E. None of the above
Answer Option A
46. If you want to group the records in the abc database, you could use the Jobcode as the _____.
A. Delete
B. Update
C. Sort Key
D. Index
E. None of the above
Answer Option C
47. The Management Information system (MIS) structure with one main computer system is called a
A. hierarchical MIS structure
B. distributed MIS structure
C. centralized MIS structure
D. decentralized MIS structure
E. None of the above
Answer Option C
48. If a calculation is embedded in a form
A. the result of the calculations are stored with the form
B. the calculations are stored with the form
C. the result of the calculations are printed in report
D. All of the above
E. None of the above
Answer Option B
Comments
Post a Comment