Вы находитесь на странице: 1из 20

Database Systems

1.
1 .
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
View Answer
Discuss in Forum (0) | Rating This Question
Answer: Option B
2.
2 .
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
View Answer
Discuss in Forum (0) | Rating This Question
Answer: Option C
3.
3 .
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
View Answer
Discuss in Forum (0) | Rating This Question
4. Answer & Explanation
Answer: Option C
5.
4 .
A number of related records that are treated as a unit is called
A.
file
B.
field
C.
data
D.
batch
View Answer
Discuss in Forum (0) | Rating This Question
6. Answer & Explanation
7. Answer: Option A
8. Explanation:
9. No answer description available for this question. .
10.
5 .
In SQL, which command is used to add new rows to a table?
A.
ALTER TABLE
B.
ADD ROW
C.
INSERT
D.
APPEND
View Answer
Discuss in Forum (0) | Rating This Question
11. Answer & Explanation
Answer: Option C
12.
6 .
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
View Answer
Discuss in Forum (0) | Rating This Question
13. Answer & Explanation
Answer: Option C
14.
7 .
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
View Answer
Discuss in Forum (0) | Rating This Question
15. Answer & Explanation
Answer: Option B
16.
8 .
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
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option B
19. Explanation:
20. No answer description available for this question. .
21.
9 .
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
View Answer
Discuss in Forum (0) | Rating This Question
22. Answer & Explanation
23. Answer: Option B

1.
10 .
Updating a database means
A.
revising the file structure
B.
reorganizing the database
C.
modifying or adding record
occurrences
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
2. Answer & Explanation
3. Answer: Option C
4. Explanation:
5. No answer description available for this question. .
6.
11 .
The logical data structure with a one-to-many relationship is a :
A.
network
B.
tree
C.
chain
D.
relational
View Answer
Discuss in Forum (0) | Rating This Question
7. Answer & Explanation
8. Answer: Option B
9. Explanation:
10. No answer description available for this question. .
11.
12 .
The highest level in the hierarchy of data organization is called
A.
data bank
B.
database
C.
data file
D.
data record
View Answer
Discuss in Forum (0) | Rating This Question
12. Answer & Explanation
13. Answer: Option B
14. Explanation:
15. No answer description available for this question. .
16.
13 .
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
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option C
19. Explanation:
20. No answer description available for this question. .
21.
14 .
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
View Answer
Discuss in Forum (0) | Rating This Question
22. Answer & Explanation
23. Answer: Option B
24. Explanation:
25. No answer description available for this question. .
26.
15 .
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
View Answer
Discuss in Forum (0) | Rating This Question
27. Answer & Explanation
28. Answer: Option C
29. Explanation:
30. No answer description available for this question. .
31.
16 .
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
View Answer
Discuss in Forum (0) | Rating This Question
32. Answer & Explanation
33. Answer: Option A
34. Explanation:
35. No answer description available for this question. .
36.
17 .
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
View Answer
Discuss in Forum (0) | Rating This Question
37. Answer & Explanation
38. Answer: Option C
39. Explanation:
40. No answer description available for this question. .
41.
18 .
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
View Answer
Discuss in Forum (0) | Rating This Question
42. Answer & Explanation
43. Answer: Option B

1.
19 .
Which of the following is not a relational database?
A.
dBASE IV
B.
4th Dimension
C.
FoxPro
D.
Reflex
View Answer
Discuss in Forum (0) | Rating This Question
2. Answer & Explanation
3. Answer: Option D
4. Explanation:
5. No answer description available for this question. .
6.
20 .
A network schema
A.
restricts the structure to a one-
to-many relationship
B.
permits many-to-many
relationships
C.
stores data in tables
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
7. Answer & Explanation
8. Answer: Option B
9. Explanation:
10. No answer description available for this question. .
11.
21 .
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
microcomputer
D.
keep a floppy disk in readiness
View Answer
Discuss in Forum (0) | Rating This Question
12. Answer & Explanation
13. Answer: Option C
14. Explanation:
15. No answer description available for this question. .
16.
22 .
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
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option C
19. Explanation:
20. No answer description available for this question. .
21.
23 .
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
View Answer
Discuss in Forum (0) | Rating This Question
22. Answer & Explanation
23. Answer: Option D
24. Explanation:
25. No answer description available for this question. .
26.
24 .
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
View Answer
Discuss in Forum (0) | Rating This Question
27. Answer & Explanation
28. Answer: Option D
29. Explanation:
30. No answer description available for this question. .
31.
25 .
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
View Answer
Discuss in Forum (0) | Rating This Question
32. Answer & Explanation
33. Answer: Option D
34. Explanation:
35. No answer description available for this question. .
36.
26 .
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.
None of the above
View Answer
Discuss in Forum (0) | Rating This Question
37. Answer & Explanation
38. Answer: Option D
39. Explanation:
40. No answer description available for this question. .
41.
27 .
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
View Answer
Discuss in Forum (0) | Rating This Question
42. Answer & Explanation
43. Answer: Option C


Database Systems
1.
28 .
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)
View Answer
Discuss in Forum (0) | Rating This Question
2. Answer & Explanation
3. Answer: Option D
4. Explanation:
5. No answer description available for this question. .
6.
29 .
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
View Answer
Discuss in Forum (0) | Rating This Question
7. Answer & Explanation
8. Answer: Option A
9. Explanation:
10. No answer description available for this question. .
11.
30 .
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
View Answer
Discuss in Forum (0) | Rating This Question
12. Answer & Explanation
13. Answer: Option C
14. Explanation:
15. No answer description available for this question. .
16.
31 .
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
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option A
19. Explanation:
20. No answer description available for this question. .
21.
32 .
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
View Answer
Discuss in Forum (0) | Rating This Question
22. Answer & Explanation
23. Answer: Option B
24. Explanation:
25. No answer description available for this question. .
26.
33 .
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
View Answer
Discuss in Forum (0) | Rating This Question
27. Answer & Explanation
28. Answer: Option C
29. Explanation:
30. No answer description available for this question. .
31.
34 .
The relational model uses some unfamiliar terminology. A tuple is equivalent to a:
A.
record
B.
field
C.
file
D.
data base
View Answer
Discuss in Forum (0) | Rating This Question
32. Answer & Explanation
33. Answer: Option A
34. Explanation:
35. No answer description available for this question. .
36.
35 .
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
View Answer
Discuss in Forum (0) | Rating This Question
37. Answer & Explanation
38. Answer: Option A
39. Explanation:
40. No answer description available for this question. .
41.
36 .
In SQL, which command(s) is(are) used to enable/disable a database trigger?
A.
MODIFY USER
B.
CHANGE USER
C.
ALTER USER
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
42. Answer & Explanation
43. Answer: Option C

Database Systems
1.
37 .
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
View Answer
Discuss in Forum (0) | Rating This Question
2. Answer & Explanation
3. Answer: Option D
4. Explanation:
5. No answer description available for this question. .
6.
38 .
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)
View Answer
Discuss in Forum (0) | Rating This Question
7. Answer & Explanation
8. Answer: Option B
9. Explanation:
10. No answer description available for this question. .
11.
39 .
Periodically adding, changing and deleting file records is called file
A.
Updating
B.
upgrading
C.
restructuring
D.
renewing
View Answer
Discuss in Forum (0) | Rating This Question
12. Answer & Explanation
13. Answer: Option A
14. Explanation:
15. No answer description available for this question. .
16.
40 .
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
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option C
19. Explanation:
20. No answer description available for this question. .
21.
41 .
A locked file can be
A.
accessed by only one user
B.
modified by users with the
correct password
C.
is used to hide sensitive
information
D.
both (b) and (c)
View Answer
Discuss in Forum (0) | Rating This Question
22. Answer & Explanation
23. Answer: Option A
24. Explanation:
25. No answer description available for this question. .
26.
42 .
Data item characteristics that are important in data management include
A.
punctuation
B.
language
C.
spelling
D.
width
View Answer
Discuss in Forum (0) | Rating This Question
27. Answer & Explanation
28. Answer: Option D
29. Explanation:
30. No answer description available for this question. .
31.
43 .
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
View Answer
Discuss in Forum (0) | Rating This Question
32. Answer & Explanation
33. Answer: Option B
34. Explanation:
35. No answer description available for this question. .
36.
44 .
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
View Answer
Discuss in Forum (0) | Rating This Question
37. Answer & Explanation
38. Answer: Option B
39. Explanation:
40. No answer description available for this question. .
41.
45 .
Each of data files has a _____ that describe the way the data is stored in the file.
A.
File structure
B.
Records
C.
Fields
D.
Database
View Answer
Discuss in Forum (0) | Rating This Question
42. Answer & Explanation
43. Answer: Option A


Database Systems
1.
46 .
Primitive operations common to all record management systems include
A.
Print
B.
Sort
C.
Look-up
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
2. Answer & Explanation
3. Answer: Option C
4. Explanation:
5. No answer description available for this question. .
6.
47 .
Which of the following is a database administrator's function?
A.
database design
B.
backing up the database
C.
performance monitoring
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
7. Answer & Explanation
8. Answer: Option D
9. Explanation:
10. No answer description available for this question. .
11.
48 .
Which of the following is not a logical data-base structure?
A.
tree
B.
relational
C.
network
D.
chain
View Answer
Discuss in Forum (0) | Rating This Question
12. Answer & Explanation
13. Answer: Option D
14. Explanation:
15. No answer description available for this question. .
16.
49 .
A report generator is used to
A.
update files
B.
print files on paper
C.
data entry
D.
All of the above
View Answer
Discuss in Forum (0) | Rating This Question
17. Answer & Explanation
18. Answer: Option B


SQL :
Q No.1 of 10

What does SQL stand for?
Option 1 Strong Question Language
Option 2 Structured Question Language
Option 3 Structured Query Language
Option 4 Static Query Language
Q No.2 of 10

Which SQL statement is used to extract data from a database
Option 1 GET
Option 2 OPEN
Option 3 SELECT
Option 4 EXTRACT
Q No.3 of 10

Which SQL statement is used to update data in a database?
Option 1
UPDAT
E
Option 2 MODIF
Y
Option 3 SAVE AS
Option 4 SAVE
Q No.4 of 10

Which SQL statement is used to delete data from a database?
Option 1 DELETE
Option 2 REMOVE
Option 3 COLLAPSE
Option 4 None of these
Q No.5 of 10

Which SQL statement is used to insert new data in a database?
Option 1 INSERT INTO
Option 2 ADD NEW
Option 3 INSERT NEW
Option 4 ADD RECORD
Q No.6 of 10

With SQL, how do you select a column named "FirstName" from a table named "Persons"?
Option 1 SELECT FROM Person COLUMN FirstName
Option 2 SELECT FirstName FROM Persons
Option 3 EXTRACT FirstName FROM Persons
Option 4 SELECT Persons.FirstName
Q No.7 of 10

With SQL, how can you delete the records where the "FirstName" is "Peter" in the Persons Table?
Option 1 DELETE ROW FirstName='Peter' FROM Persons
Option 2 DELETE FirstName='Peter' FROM Persons
Option 3 DELETE FROM Persons WHERE FirstName = 'Peter'
Option 4 Non of these
Q No.8 of 10

With SQL, how can you insert "Olsen" as the "LastName" in the "Persons" table?
Option 1 INSERT INTO Persons ('Olsen') INTO LastName
Option 2 INSERT INTO Persons (LastName) VALUES ('Olsen')
Option 3 INSERT ('Olsen') INTO Persons (LastName)
Option 4 Non of these
Q No.9 of 10

Which SQL keyword is used to sort the result-set?
Option 1 SORT
Option 2 ORDER BY
Option 3 SORT BY
Option 4 ORDER
Q No.10 of 10

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is
"Peter" and the "LastName" is "Jackson"?
Option 1 SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson'
Option 2 SELECT FirstName='Peter', LastName='Jackson' FROM Persons
Option 3 SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'
Option 4 All of these

Q No.1 of 10

With SQL, how do you select all the records from a table named "Persons" where the value of the
column "FirstName" is "Peter"?
Option 1 SELECT * FROM Persons WHERE FirstName='Peter'
Option 2 SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'
Option 3 SELECT * FROM Persons WHERE FirstName<>'Peter'
Option 4 SELECT [all] FROM Persons WHERE FirstName='Peter'
Q No.2 of 10

With SQL, how do you select all the records from a table named "Persons" where the value of the
column "FirstName" starts with an "a"?
Option 1 SELECT * FROM Persons WHERE FirstName='%a%'
Option 2 SELECT * FROM Persons WHERE FirstName='a'
Option 3 SELECT * FROM Persons WHERE FirstName LIKE 'a%'
Option 4 SELECT * FROM Persons WHERE FirstName LIKE '%a'
Q No.3 of 10

The OR operator displays a record if ANY conditions listed are true. The AND operator displays a
record if ALL of the conditions listed are true
Option 1 True
Option 2 False
Q No.4 of 10

Which SQL statement is used to return only different values?
Option 1 SELECT DIFFERENT
Option 2 SELECT UNIQUE
Option 3 SELECT DISTINCT
Option 4 All of these
Q No.5 of 10

With SQL, how can you return all the records from a table named "Persons" sorted descending by
"FirstName"?
Option 1 SELECT * FROM Persons ORDER FirstName DESC
Option 2 SELECT * FROM Persons SORT BY 'FirstName' DESC
Option 3 SELECT * FROM Persons SORT 'FirstName' DESC
Option 4 SELECT * FROM Persons ORDER BY FirstName DESC
Q No.6 of 10

With SQL, how can you insert a new record into the "Persons" table?
Option 1 INSERT ('Jimmy', 'Jackson') INTO Persons
Option 2 INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
Option 3 INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
Option 4 Non of these
Q No.7 of 10

With SQL, how can you count the number of records in the "Persons" table?
Option 1 SELECT COLUMNS() FROM Persons
Option 2 SELECT COUNT() FROM Persons
Option 3 SELECT COLUMNS(*) FROM Persons
Option 4 SELECT COUNT(*) FROM Persons
Q No.8 of 10

The result of a SELECT statement can contain duplicate rows.
Option 1 True
Option 2 False
Q No.9 of 10

Sometimes the expression "select count(*)" will return fewer rows than the expression "select
count(value)".
Option 1 False
Option 2 True
Q No.10 of 10

A NULL value is treated as a blank or 0
Option 1 False
Option 2 True

Q No.1 of 2

The left outer join is one type of outer join. Another one is the.
Option 1 right outer
Option 2 right
Option 3 full
Option 4 full outer
Option 5 All of these
Q No.2 of 2

Which of the following is the correct SQL statement to use to remove rows from a table?
Option 1 REMOVE ROW
Option 2 DELETE ROW
Option 3 DROP
Option 4 DELETE

Вам также может понравиться