Deck 13: Access Databases and Linq
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Match between columns
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/42
Play
Full screen (f)
Deck 13: Access Databases and Linq
1
The copy of the data that is accessed by the application is referred to as a(n) _____.
A) database
B) dataset
C) table
D) record
A) database
B) dataset
C) table
D) record
B
2
The ____ stores objects that do not appear in the user interface when an application is running.
A) component tray
B) TableAdapter object
C) dataset
D) BindingSource object
A) component tray
B) TableAdapter object
C) dataset
D) BindingSource object
A
3
When an application is running, you can use the ____ control to move from one record to the next in the dataset, as well as to add or delete a record and save any changes made to the dataset.
A) Binding Source
B) Binding
C) DataGridView
D) BindingNavigator
A) Binding Source
B) Binding
C) DataGridView
D) BindingNavigator
D
4
Before an application can access the data stored in a database, you need to connect the application to the database using ____.
A) the Preview Data dialog box
B) bound controls
C) the Data Source Configuration Wizard
D) DataGridView controls
A) the Preview Data dialog box
B) bound controls
C) the Data Source Configuration Wizard
D) DataGridView controls
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
5
Connecting an object to a control is called ____.
A) binding
B) linking
C) securing
D) updating
A) binding
B) linking
C) securing
D) updating
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
6
In order to access the data stored in a database, an application needs to be connected to the database.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
7
Databases created using Microsoft Access are ____ databases.
A) object-oriented
B) Web
C) transparent
D) relational
A) object-oriented
B) Web
C) transparent
D) relational
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
8
One restriction of a relational database is that it may contain only one table.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
9
A ____ is a single item of information about a person, place, or thing.
A) table
B) key
C) field
D) record
A) table
B) key
C) field
D) record
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
10
Controls in an interface that is connected to objects in the dataset are called ____ controls.
A) default
B) parameterized
C) linked
D) bound
A) default
B) parameterized
C) linked
D) bound
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
11
A dataset is stored in the computer's ____ memory.
A) external
B) volatile
C) internal
D) fixed
A) external
B) volatile
C) internal
D) fixed
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
12
The ____ object stores the information you want to access from the database.
A) DataSet
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
A) DataSet
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
13
A group of related records is called a ____.
A) table
B) key
C) field
D) database
A) table
B) key
C) field
D) database
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
14
A ____ is a group of related fields that contain all of the necessary data about a specific person, place, or thing.
A) table
B) key
C) field
D) record
A) table
B) key
C) field
D) record
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
15
You may only bind an object to a control that the computer creates for you.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
16
Each record in a table contains ____ fields.
A) different
B) the same
C) identical
D) related
A) different
B) the same
C) identical
D) related
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
17
In most cases, you will use the ____ object to save changes to the database, because it can handle saving data to multiple tables in the DataSet .
A) DataSet
B) TableAdapter
C) TableAdapterManager
D) BindingSource
A) DataSet
B) TableAdapter
C) TableAdapterManager
D) BindingSource
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
18
The ____ object connects the database to the DataSet object.
A) TableAdapter
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
A) TableAdapter
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
19
The most commonly used aggregate operators are Average , Count , Max , Min , and Sum .
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
20
You can use Visual Basic to access the data stored in databases by using a database management system.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
21
Describe how table data is displayed using the DataGridView control.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
22
A ____ specifies the fields and records to retrieve from the database, as well as the order in which to arrange the fields and records.
A) dataset
B) query
C) database builder
D) component tray
A) dataset
B) query
C) database builder
D) component tray
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
23
You can create a query in Visual Basic using a language feature called ____.
A) Query Language Creator
B) Structured Query Language
C) Visual Basic Query
D) Language Integrated Query
A) Query Language Creator
B) Structured Query Language
C) Visual Basic Query
D) Language Integrated Query
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
24
Describe two ways to bind an object in a dataset to an existing control on the form.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
25
Describe the default action taken by Visual Basic if you do not take specific steps in your code to handle exceptions.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
26
The AutoSizeColumnsMode property has ____ different settings that control the way the column widths are sized in the DataGridView control.
A) six
B) seven
C) eight
D) nine
A) six
B) seven
C) eight
D) nine
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
27
A _________________________ control displays the table data in a row-and-column format, similar to a spreadsheet.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
28
Why is the DataGridView control one of the most popular controls for displaying table data?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
29
In a two-table database, one of the tables is referred to as the parent table and the other is referred to as the ____________________ table.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
30
What two methods are used in conjunction with previewing the contents of a dataset and explain their use?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
31
If a table object's control type is changed from DataGridView to ____________________, the computer automatically provides the appropriate controls when you drag the table object to the form.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
32
The way Visual Basic saves changes to a local database file is determined by the file's _________________________ property.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
33
The BindingSource object stores the position of the record pointer in its ____________________ property.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ object provides the connection between the DataSet and the bound controls on the form.
A) ToolStrip
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
A) ToolStrip
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
35
What are the advantages of storing data in a relational database?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
36
A(n) ____ operator returns a single value from a group of values.
A) aggregate
B) group
C) single
D) convert
A) aggregate
B) group
C) single
D) convert
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
37
How does one have the computer create a bound control?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
38
What is a relational database?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
39
Exception handling in your code takes the form of the ____ statement.
A) Try...Catch
B) Try...Exception
C) Fix...Exception
D) Exception...Handle
A) Try...Catch
B) Try...Exception
C) Fix...Exception
D) Exception...Handle
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
40
What buttons are contained on a BindingNavigator control and what additional items can you include on a BindingNavigator control?
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
41
Match between columns
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck
42
Name five aggregate methods LINQ provides when querying a dataset.
Unlock Deck
Unlock for access to all 42 flashcards in this deck.
Unlock Deck
k this deck