Deck 13: Access Databases and Linq

Full screen (f)
exit full mode
Question
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
Use Space or
up arrow
down arrow
to flip the card.
Question
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
Question
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
Question
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
Question
Connecting an object to a control is called ____.

A) binding
B) linking
C) securing
D) updating
Question
In order to access the data stored in a database, an application needs to be connected to the database.
Question
Databases created using Microsoft Access are ____ databases.

A) object-oriented
B) Web
C) transparent
D) relational
Question
One restriction of a relational database is that it may contain only one table.
Question
A ____ is a single item of information about a person, place, or thing.

A) table
B) key
C) field
D) record
Question
Controls in an interface that is connected to objects in the dataset are called ____ controls.

A) default
B) parameterized
C) linked
D) bound
Question
A dataset is stored in the computer's ____ memory.

A) external
B) volatile
C) internal
D) fixed
Question
The ____ object stores the information you want to access from the database.

A) DataSet
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Question
A group of related records is called a ____.

A) table
B) key
C) field
D) database
Question
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
Question
You may only bind an object to a control that the computer creates for you.
Question
Each record in a table contains ____ fields.

A) different
B) the same
C) identical
D) related
Question
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
Question
The ____ object connects the database to the DataSet object.

A) TableAdapter
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Question
The most commonly used aggregate operators are Average , Count , Max , Min , and Sum .
Question
You can use Visual Basic to access the data stored in databases by using a database management system.
Question
Describe how table data is displayed using the DataGridView control.
Question
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
Question
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
Question
Describe two ways to bind an object in a dataset to an existing control on the form.
Question
Describe the default action taken by Visual Basic if you do not take specific steps in your code to handle exceptions.
Question
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
Question
A _________________________ control displays the table data in a row-and-column format, similar to a spreadsheet.
Question
Why is the DataGridView control one of the most popular controls for displaying table data?
Question
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.
Question
What two methods are used in conjunction with previewing the contents of a dataset and explain their use?
Question
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.
Question
The way Visual Basic saves changes to a local database file is determined by the file's _________________________ property.
Question
The BindingSource object stores the position of the record pointer in its ____________________ property.
Question
The ____ object provides the connection between the DataSet and the bound controls on the form.

A) ToolStrip
B) BindingNavigator
C) TableAdapterManager
D) BindingSource
Question
What are the advantages of storing data in a relational database?
Question
A(n) ____ operator returns a single value from a group of values.

A) aggregate
B) group
C) single
D) convert
Question
How does one have the computer create a bound control?
Question
What is a relational database?
Question
Exception handling in your code takes the form of the ____ statement.

A) Try...Catch
B) Try...Exception
C) Fix...Exception
D) Exception...Handle
Question
What buttons are contained on a BindingNavigator control and what additional items can you include on a BindingNavigator control?
Question
Match between columns
A field in the child table that is used solely to link information to an appropriate record in the parent table.
computer database
A field in the child table that is used solely to link information to an appropriate record in the parent table.
exception
A field in the child table that is used solely to link information to an appropriate record in the parent table.
LINQ
A field in the child table that is used solely to link information to an appropriate record in the parent table.
primary key
A field in the child table that is used solely to link information to an appropriate record in the parent table.
dataset
A field in the child table that is used solely to link information to an appropriate record in the parent table.
foreign key
A field in the child table that is used solely to link information to an appropriate record in the parent table.
cell
A field in the child table that is used solely to link information to an appropriate record in the parent table.
relational database
A field in the child table that is used solely to link information to an appropriate record in the parent table.
table
An error that occurs while an application is running.
computer database
An error that occurs while an application is running.
exception
An error that occurs while an application is running.
LINQ
An error that occurs while an application is running.
primary key
An error that occurs while an application is running.
dataset
An error that occurs while an application is running.
foreign key
An error that occurs while an application is running.
cell
An error that occurs while an application is running.
relational database
An error that occurs while an application is running.
table
An intersection of a row and column in a DataGridView.
computer database
An intersection of a row and column in a DataGridView.
exception
An intersection of a row and column in a DataGridView.
LINQ
An intersection of a row and column in a DataGridView.
primary key
An intersection of a row and column in a DataGridView.
dataset
An intersection of a row and column in a DataGridView.
foreign key
An intersection of a row and column in a DataGridView.
cell
An intersection of a row and column in a DataGridView.
relational database
An intersection of a row and column in a DataGridView.
table
An electronic file that contains an organized collection of related information.
computer database
An electronic file that contains an organized collection of related information.
exception
An electronic file that contains an organized collection of related information.
LINQ
An electronic file that contains an organized collection of related information.
primary key
An electronic file that contains an organized collection of related information.
dataset
An electronic file that contains an organized collection of related information.
foreign key
An electronic file that contains an organized collection of related information.
cell
An electronic file that contains an organized collection of related information.
relational database
An electronic file that contains an organized collection of related information.
table
A group of related records.
computer database
A group of related records.
exception
A group of related records.
LINQ
A group of related records.
primary key
A group of related records.
dataset
A group of related records.
foreign key
A group of related records.
cell
A group of related records.
relational database
A group of related records.
table
A language feature in Visual Basic that can be used to create a query.
computer database
A language feature in Visual Basic that can be used to create a query.
exception
A language feature in Visual Basic that can be used to create a query.
LINQ
A language feature in Visual Basic that can be used to create a query.
primary key
A language feature in Visual Basic that can be used to create a query.
dataset
A language feature in Visual Basic that can be used to create a query.
foreign key
A language feature in Visual Basic that can be used to create a query.
cell
A language feature in Visual Basic that can be used to create a query.
relational database
A language feature in Visual Basic that can be used to create a query.
table
Database field(s) that uniquely identifies each record.
computer database
Database field(s) that uniquely identifies each record.
exception
Database field(s) that uniquely identifies each record.
LINQ
Database field(s) that uniquely identifies each record.
primary key
Database field(s) that uniquely identifies each record.
dataset
Database field(s) that uniquely identifies each record.
foreign key
Database field(s) that uniquely identifies each record.
cell
Database field(s) that uniquely identifies each record.
relational database
Database field(s) that uniquely identifies each record.
table
A copy of the data (fields and records) the application can access from the database.
computer database
A copy of the data (fields and records) the application can access from the database.
exception
A copy of the data (fields and records) the application can access from the database.
LINQ
A copy of the data (fields and records) the application can access from the database.
primary key
A copy of the data (fields and records) the application can access from the database.
dataset
A copy of the data (fields and records) the application can access from the database.
foreign key
A copy of the data (fields and records) the application can access from the database.
cell
A copy of the data (fields and records) the application can access from the database.
relational database
A copy of the data (fields and records) the application can access from the database.
table
A database that stores information in tables composed of columns and rows.
computer database
A database that stores information in tables composed of columns and rows.
exception
A database that stores information in tables composed of columns and rows.
LINQ
A database that stores information in tables composed of columns and rows.
primary key
A database that stores information in tables composed of columns and rows.
dataset
A database that stores information in tables composed of columns and rows.
foreign key
A database that stores information in tables composed of columns and rows.
cell
A database that stores information in tables composed of columns and rows.
relational database
A database that stores information in tables composed of columns and rows.
table
Question
Name five aggregate methods LINQ provides when querying a dataset.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/42
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
A field in the child table that is used solely to link information to an appropriate record in the parent table.
computer database
A field in the child table that is used solely to link information to an appropriate record in the parent table.
exception
A field in the child table that is used solely to link information to an appropriate record in the parent table.
LINQ
A field in the child table that is used solely to link information to an appropriate record in the parent table.
primary key
A field in the child table that is used solely to link information to an appropriate record in the parent table.
dataset
A field in the child table that is used solely to link information to an appropriate record in the parent table.
foreign key
A field in the child table that is used solely to link information to an appropriate record in the parent table.
cell
A field in the child table that is used solely to link information to an appropriate record in the parent table.
relational database
A field in the child table that is used solely to link information to an appropriate record in the parent table.
table
An error that occurs while an application is running.
computer database
An error that occurs while an application is running.
exception
An error that occurs while an application is running.
LINQ
An error that occurs while an application is running.
primary key
An error that occurs while an application is running.
dataset
An error that occurs while an application is running.
foreign key
An error that occurs while an application is running.
cell
An error that occurs while an application is running.
relational database
An error that occurs while an application is running.
table
An intersection of a row and column in a DataGridView.
computer database
An intersection of a row and column in a DataGridView.
exception
An intersection of a row and column in a DataGridView.
LINQ
An intersection of a row and column in a DataGridView.
primary key
An intersection of a row and column in a DataGridView.
dataset
An intersection of a row and column in a DataGridView.
foreign key
An intersection of a row and column in a DataGridView.
cell
An intersection of a row and column in a DataGridView.
relational database
An intersection of a row and column in a DataGridView.
table
An electronic file that contains an organized collection of related information.
computer database
An electronic file that contains an organized collection of related information.
exception
An electronic file that contains an organized collection of related information.
LINQ
An electronic file that contains an organized collection of related information.
primary key
An electronic file that contains an organized collection of related information.
dataset
An electronic file that contains an organized collection of related information.
foreign key
An electronic file that contains an organized collection of related information.
cell
An electronic file that contains an organized collection of related information.
relational database
An electronic file that contains an organized collection of related information.
table
A group of related records.
computer database
A group of related records.
exception
A group of related records.
LINQ
A group of related records.
primary key
A group of related records.
dataset
A group of related records.
foreign key
A group of related records.
cell
A group of related records.
relational database
A group of related records.
table
A language feature in Visual Basic that can be used to create a query.
computer database
A language feature in Visual Basic that can be used to create a query.
exception
A language feature in Visual Basic that can be used to create a query.
LINQ
A language feature in Visual Basic that can be used to create a query.
primary key
A language feature in Visual Basic that can be used to create a query.
dataset
A language feature in Visual Basic that can be used to create a query.
foreign key
A language feature in Visual Basic that can be used to create a query.
cell
A language feature in Visual Basic that can be used to create a query.
relational database
A language feature in Visual Basic that can be used to create a query.
table
Database field(s) that uniquely identifies each record.
computer database
Database field(s) that uniquely identifies each record.
exception
Database field(s) that uniquely identifies each record.
LINQ
Database field(s) that uniquely identifies each record.
primary key
Database field(s) that uniquely identifies each record.
dataset
Database field(s) that uniquely identifies each record.
foreign key
Database field(s) that uniquely identifies each record.
cell
Database field(s) that uniquely identifies each record.
relational database
Database field(s) that uniquely identifies each record.
table
A copy of the data (fields and records) the application can access from the database.
computer database
A copy of the data (fields and records) the application can access from the database.
exception
A copy of the data (fields and records) the application can access from the database.
LINQ
A copy of the data (fields and records) the application can access from the database.
primary key
A copy of the data (fields and records) the application can access from the database.
dataset
A copy of the data (fields and records) the application can access from the database.
foreign key
A copy of the data (fields and records) the application can access from the database.
cell
A copy of the data (fields and records) the application can access from the database.
relational database
A copy of the data (fields and records) the application can access from the database.
table
A database that stores information in tables composed of columns and rows.
computer database
A database that stores information in tables composed of columns and rows.
exception
A database that stores information in tables composed of columns and rows.
LINQ
A database that stores information in tables composed of columns and rows.
primary key
A database that stores information in tables composed of columns and rows.
dataset
A database that stores information in tables composed of columns and rows.
foreign key
A database that stores information in tables composed of columns and rows.
cell
A database that stores information in tables composed of columns and rows.
relational database
A database that stores information in tables composed of columns and rows.
table
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
locked card icon
Unlock Deck
Unlock for access to all 42 flashcards in this deck.