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

NAME:_______________________________________________________DATE:__________________

1. ____________________ are the most popular database management systems.


2. Data in a ____________________must be unique for each record.
3. Each database has a ____________________. Page | 1
4. A successful query should return just one ____________________.
5. YES / NO The Access file must be open before Visual Basic can view any of its records.
6. A DataSet holds database records in memory for fast and easy access.
7. Only ____________________can be bound to a field in a DataSet.
8. YES / NO . Changes to a DataSet are automatically and immediately written back to the
database.
9. YES / NO The Position property maintains the current row in the DataSet.
10. YES / NO All SQL commands must be written manually.
_____11. A key field:
A. must contain unique data in each record of the table
B. ties tables in a database together
C. is a key component of a relational database
D. all of the above

_____12. A query is:


A. a request for data
B. a check to see if a database exists
C. an attempt to update records in a database
D. a command to copy all the data from a database into the computer’s
Memory

_____13. The person responsible for maintaining and managing data in a database is
a:
A. developer
B. network administrator
C. database manager
D. data entry employee
14. LINQ to SQL handles:
A. database connections
B. queries
C. data manipulation
D. all of the above
_____15. In a DataGridView, the connection to the database is handled by a:
A. DataSource
B. DataManager
C. FieldShaper
D. Database Explorer
_____16. While in use, records are held in memory because:
A. databases are only updated once a day
B. it’s faster and easier to access them
C. each query to a database requires a login and password Page | 2
D. all of the above
_____17. A list of all the databases connected to your project is maintained by the:
A. Solution Explorer
B. TableAdapter
C. Database Explorer
D. DataGridView
_____18. The TableAdapter:
A. automaticallyresizescolumnsandtextsoitalldisplaysinaDataGridView
B. displays fields in alphabetical order by field name
C. takes data from the database and passes them to the DataSet
D. all of the above
_____19. A BindingNavigator:
A. controls the movement forward and backward through the records
B. controls the connection between tables in a database
C. ties controls on a form to the correct fields in a database
D. none of the above
_____20. The number of the current record in a DataSet is maintained by the:
A. Index property
B. Position property
C. RecNum property
D. key field

Q1. What is the name of the database used in this example?


How many fields (columns) are in the database?
Does the number of records (rows) in the database in this example matter?
What is the name of the DataSet?
Why is the connection to the database a temporary one?
Think about how changes to the records would end up in the database.

Q2. What would happen if the wrong field was associated with a control?
What would happen if changes were made to the records, but never updated?
Why is it easier to calculate the wages on the form than it is to get the data from the
file?

Q3. What happens if you don’t select all the fields for a query?
What makes the Query Builder useful?
How were the records sorted in the Payable query? What SQL code was needed to
do it?

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