Deck 11: Databases

Full screen (f)
exit full mode
Question
A ____________ is a source of data with which the application can work.

A) data source
B) table copy
C) binding source
D) dataset
Use Space or
up arrow
down arrow
to flip the card.
Question
A ____________ can display an entire database table in a scrollable grid on an application's form.

A) BindingNavigator control
B) DataSet control
C) Chart control
D) DataGridView control
Question
In a database, each ____________ holds a collection of related data.

A) spreadsheet
B) record
C) table
D) object
Question
Each ____________ in a table holds an individual piece of information about an item.

A) tier
B) row
C) column
D) block
Question
____________ is automatically installed on your system when you install Visual Studio or Visual Studio Express.

A) Oracle
B) DB2
C) MySQL
D) Microsoft SQL Server Express Edition
Question
The DBMS works directly with the data and sends the results of operations back to the ____________.

A) application
B) data
C) DBMS
D) CPU
Question
When specifying a data type for the columns in a database table, the data types that you can choose from are provided by the ____________.

A) DBMS
B) programming language
C) computer manufacturer
D) compiler
Question
A ____________ gets a copy of a table from the table adapter and keeps the copy of the table in memory.

A) record locker
B) data source
C) table copier
D) dataset
Question
Once the data is stored using the database management system, applications may be written in ____________ to communicate with the DBMS.

A) Java
B) C#
C) Visual Basic
D) any of these
Question
A(n) ____________ is software that is specifically designed to store, retrieve, and manipulate large amounts of data in an organized and efficient manner.

A) search engine
B) database management system (DBMS)
C) integrated development environment (IDE)
D) productivity suite
Question
A ____________ is a user interface control that is connected to a data source.

A) table control
B) data-bound control
C) UI data-viewer
D) database module
Question
A(n) ____________ is a column that contains unique values that are generated by the DBMS.

A) primary key
B) identity column
C) key column
D) generated field
Question
A ____________ is a complete set of information about a single item in a table.

A) bit
B) column
C) cell
D) row
Question
A database management system stores data in a ____________ .

A) text file
B) binary file
C) database
D) source file
Question
A ____________ is a component that can connect user interface controls directly to a dataset.

A) table binder
B) grid viewer
C) binding source
D) data source
Question
Most database tables have a(n) ____________, which is a column that can be used to identify a specific row.

A) identifier
B) primary key
C) key word
D) column name
Question
When an application runs for the first time, Visual Studio copies the database file from the project folder to the project's ____________, which is the bin/Debug folder.

A) data folder
B) table folder
C) output folder
D) hidden folder
Question
A ____________ is a set of individual controls that are bound to the columns in a single row.

A) Details view
B) Multi-viewer
C) Column browser
D) Row navigator
Question
If a column contains no data, it is said to be ____________.

A) null
B) empty
C) void
D) open
Question
A ____________ connects to a data source and can retrieve data from a table in a data source.

A) source reference
B) table connection
C) table adapter
D) binding source
Question
In SQL, the ____________ can be used to search for a substring.

A) Sub method
B) Contains statement
C) Who instruction
D) Like operator
Question
In SQL, the ____________ calculates the average value in a particular column.

A) Val keyword
B) # symbol
C) Avg function
D) SQL_Average statement
Question
In SQL, the ____________ is used as a wildcard character, and can be used to represent any sequence of zero or more characters.

A) ^ symbol
B) Wild operator
C) % symbol
D) * character
Question
When you click on the ____________, a tasks panel will pop up, giving you a number of options that you can perform.

A) options check box
B) smart tag
C) view button
D) taskbar
Question
The ____________ identifies a column from the table to display in the data-bound control.

A) ShowColumn property
B) column name
C) DisplayMember property
D) DataSource property
Question
A ____________ is a file, ending with the .xsd extension, which describes the contents of a dataset.

A) schema definition file
B) extensible data file
C) extended source file
D) data exclusion file
Question
When working with data-bound controls on multiple forms, you can make sure that a dataset contains a current copy of the data by calling the table adapter's ____________.

A) Sync method
B) Refresh method
C) Fill method
D) Clear method
Question
In SQL, you use keywords to construct statements, which are also known as ____________.

A) queries
B) expressions
C) determinants
D) solutions
Question
The ____________ identifies the table from which the data-bound control will get its data.

A) DataSource property
B) Table property
C) primary key
D) DisplayMember property
Question
In SQL, you use the ____________ to retrieve the rows in a table.

A) Fetch statement
B) Get expression
C) Select statement
D) Row keyword
Question
In SQL, strings are enclosed in ____________, not double quotes.

A) single quotes
B) underscores
C) asterisks
D) brackets
Question
The ____________ requires that both search criteria be true in order for a row to be qualified as a match.

A) Or operator
B) Also keyword
C) & character
D) And operator
Question
When developing applications that work with an intensive amount of data, most developers prefer to use a database management system.
Question
A(n) ____________ is an SQL statement that is stored in a table adapter and can be executed simply by calling a method.

A) dataset macro
B) columnar directive
C) table adapter query
D) referenced subroutine
Question
In an SQL statement, a parameter variable begins with the ____________.

A) param keyword
B) var operator
C) @ symbol
D) ref clause
Question
SQL provides the ____________ for determining the number of rows in a table.

A) Rows function
B) Count function
C) Max function
D) Volume function
Question
If an application needs to store only a small amount of data, traditional files work well.
Question
If you wish to sort the results of an SQL Select query, you can use the ____________.

A) Order By clause
B) List keyword
C) Index method
D) @ operator
Question
SQL, which stands for ____________, is a standard language for working with database management systems.

A) simultaneous query logic
B) structured query language
C) simple quaternion logarithm
D) standard quasi language
Question
When you use the ____________ with a Select statement, only the rows that meet the search criteria are returned.

A) Ask keyword
B) Where clause
C) ? operator
D) Find expression
Question
There are numerous DBMSs in use today, and Visual C# can interact with many of them.
Question
It is possible to change the type of control that a column is bound to in a Details view.
Question
The data that is stored in a database is organized into one or more tables.
Question
When you use Visual Studio to create a database, the database file will be created in the project folder.
Question
The data that is stored in column is divided into tables.
Question
The row that is designated as the primary key must hold a unique value for each column.
Question
A .NET application requires a set of special components that let it connect to, and work with, a database.
Question
To bind a ListBox control to a column, you must set two of the controls properties: DataSource and DisplayMember.
Question
If a particular column is not allowed to be null, anytime you add a row of data to the table, the DBMS will require a value for the column.
Question
When you place a data-bound control on a form, keep in mind that Visual Studio does not automatically generate the code needed for the control to function properly.
Question
Data-bound controls automatically display data from the data source and can be used to change the data that they are bound to.
Question
Each column in a table must have a name.
Question
When you create a database table, you must specify a data type for the columns.
Question
Rather than retrieving or manipulating the data directly, applications can send instructions to the DBMS, and the DBMS carries out those instructions and sends the results back to the application.
Question
The application handles the actual reading of, writing of, and searching for data.
Question
Rather than showing multiple rows at once, a Details view lets the user see one row at a time.
Question
The data that stored in a table is organized into rows and columns.
Question
Each subsequent time an application runs, it connects to the copy of the database in the output folder instead of the project folder.
Question
SQL is a general purpose programming language, which can be used to write applications.
Question
When you make changes to the dataset in one form, the changes automatically appear in other forms that have their own dataset.
Question
SQL uses database mnemonics to construct statements, which are also known as table adapter queries.
Question
SQL does not support relational operators.
Question
In SQL, if you need to include a single quote as part of a string, simply write two single quotes in its place.
Question
SQL provides several functions for performing calculations.
Question
The equal to and not equal to operators in SQL are different from those in C#.
Question
In SQL, the asterisk symbol is used as a wildcard to represent a single character.
Question
The Not operator can be used in SQL to disqualify a character pattern in a search criteria.
Question
You can add your own SQL queries to a table adapter and call them from your C# code.
Question
The Desc operator can be used to sort the results of an SQL Select query in descending order.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/69
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Databases
1
A ____________ is a source of data with which the application can work.

A) data source
B) table copy
C) binding source
D) dataset
A
2
A ____________ can display an entire database table in a scrollable grid on an application's form.

A) BindingNavigator control
B) DataSet control
C) Chart control
D) DataGridView control
D
3
In a database, each ____________ holds a collection of related data.

A) spreadsheet
B) record
C) table
D) object
C
4
Each ____________ in a table holds an individual piece of information about an item.

A) tier
B) row
C) column
D) block
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
5
____________ is automatically installed on your system when you install Visual Studio or Visual Studio Express.

A) Oracle
B) DB2
C) MySQL
D) Microsoft SQL Server Express Edition
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
6
The DBMS works directly with the data and sends the results of operations back to the ____________.

A) application
B) data
C) DBMS
D) CPU
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
7
When specifying a data type for the columns in a database table, the data types that you can choose from are provided by the ____________.

A) DBMS
B) programming language
C) computer manufacturer
D) compiler
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
8
A ____________ gets a copy of a table from the table adapter and keeps the copy of the table in memory.

A) record locker
B) data source
C) table copier
D) dataset
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
9
Once the data is stored using the database management system, applications may be written in ____________ to communicate with the DBMS.

A) Java
B) C#
C) Visual Basic
D) any of these
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
10
A(n) ____________ is software that is specifically designed to store, retrieve, and manipulate large amounts of data in an organized and efficient manner.

A) search engine
B) database management system (DBMS)
C) integrated development environment (IDE)
D) productivity suite
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
11
A ____________ is a user interface control that is connected to a data source.

A) table control
B) data-bound control
C) UI data-viewer
D) database module
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
12
A(n) ____________ is a column that contains unique values that are generated by the DBMS.

A) primary key
B) identity column
C) key column
D) generated field
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
13
A ____________ is a complete set of information about a single item in a table.

A) bit
B) column
C) cell
D) row
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
14
A database management system stores data in a ____________ .

A) text file
B) binary file
C) database
D) source file
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
15
A ____________ is a component that can connect user interface controls directly to a dataset.

A) table binder
B) grid viewer
C) binding source
D) data source
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
16
Most database tables have a(n) ____________, which is a column that can be used to identify a specific row.

A) identifier
B) primary key
C) key word
D) column name
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
17
When an application runs for the first time, Visual Studio copies the database file from the project folder to the project's ____________, which is the bin/Debug folder.

A) data folder
B) table folder
C) output folder
D) hidden folder
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
18
A ____________ is a set of individual controls that are bound to the columns in a single row.

A) Details view
B) Multi-viewer
C) Column browser
D) Row navigator
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
19
If a column contains no data, it is said to be ____________.

A) null
B) empty
C) void
D) open
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
20
A ____________ connects to a data source and can retrieve data from a table in a data source.

A) source reference
B) table connection
C) table adapter
D) binding source
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
21
In SQL, the ____________ can be used to search for a substring.

A) Sub method
B) Contains statement
C) Who instruction
D) Like operator
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
22
In SQL, the ____________ calculates the average value in a particular column.

A) Val keyword
B) # symbol
C) Avg function
D) SQL_Average statement
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
23
In SQL, the ____________ is used as a wildcard character, and can be used to represent any sequence of zero or more characters.

A) ^ symbol
B) Wild operator
C) % symbol
D) * character
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
24
When you click on the ____________, a tasks panel will pop up, giving you a number of options that you can perform.

A) options check box
B) smart tag
C) view button
D) taskbar
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
25
The ____________ identifies a column from the table to display in the data-bound control.

A) ShowColumn property
B) column name
C) DisplayMember property
D) DataSource property
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
26
A ____________ is a file, ending with the .xsd extension, which describes the contents of a dataset.

A) schema definition file
B) extensible data file
C) extended source file
D) data exclusion file
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
27
When working with data-bound controls on multiple forms, you can make sure that a dataset contains a current copy of the data by calling the table adapter's ____________.

A) Sync method
B) Refresh method
C) Fill method
D) Clear method
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
28
In SQL, you use keywords to construct statements, which are also known as ____________.

A) queries
B) expressions
C) determinants
D) solutions
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
29
The ____________ identifies the table from which the data-bound control will get its data.

A) DataSource property
B) Table property
C) primary key
D) DisplayMember property
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
30
In SQL, you use the ____________ to retrieve the rows in a table.

A) Fetch statement
B) Get expression
C) Select statement
D) Row keyword
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
31
In SQL, strings are enclosed in ____________, not double quotes.

A) single quotes
B) underscores
C) asterisks
D) brackets
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
32
The ____________ requires that both search criteria be true in order for a row to be qualified as a match.

A) Or operator
B) Also keyword
C) & character
D) And operator
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
33
When developing applications that work with an intensive amount of data, most developers prefer to use a database management system.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
34
A(n) ____________ is an SQL statement that is stored in a table adapter and can be executed simply by calling a method.

A) dataset macro
B) columnar directive
C) table adapter query
D) referenced subroutine
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
35
In an SQL statement, a parameter variable begins with the ____________.

A) param keyword
B) var operator
C) @ symbol
D) ref clause
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
36
SQL provides the ____________ for determining the number of rows in a table.

A) Rows function
B) Count function
C) Max function
D) Volume function
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
37
If an application needs to store only a small amount of data, traditional files work well.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
38
If you wish to sort the results of an SQL Select query, you can use the ____________.

A) Order By clause
B) List keyword
C) Index method
D) @ operator
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
39
SQL, which stands for ____________, is a standard language for working with database management systems.

A) simultaneous query logic
B) structured query language
C) simple quaternion logarithm
D) standard quasi language
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
40
When you use the ____________ with a Select statement, only the rows that meet the search criteria are returned.

A) Ask keyword
B) Where clause
C) ? operator
D) Find expression
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
41
There are numerous DBMSs in use today, and Visual C# can interact with many of them.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
42
It is possible to change the type of control that a column is bound to in a Details view.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
43
The data that is stored in a database is organized into one or more tables.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
44
When you use Visual Studio to create a database, the database file will be created in the project folder.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
45
The data that is stored in column is divided into tables.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
46
The row that is designated as the primary key must hold a unique value for each column.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
47
A .NET application requires a set of special components that let it connect to, and work with, a database.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
48
To bind a ListBox control to a column, you must set two of the controls properties: DataSource and DisplayMember.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
49
If a particular column is not allowed to be null, anytime you add a row of data to the table, the DBMS will require a value for the column.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
50
When you place a data-bound control on a form, keep in mind that Visual Studio does not automatically generate the code needed for the control to function properly.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
51
Data-bound controls automatically display data from the data source and can be used to change the data that they are bound to.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
52
Each column in a table must have a name.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
53
When you create a database table, you must specify a data type for the columns.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
54
Rather than retrieving or manipulating the data directly, applications can send instructions to the DBMS, and the DBMS carries out those instructions and sends the results back to the application.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
55
The application handles the actual reading of, writing of, and searching for data.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
56
Rather than showing multiple rows at once, a Details view lets the user see one row at a time.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
57
The data that stored in a table is organized into rows and columns.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
58
Each subsequent time an application runs, it connects to the copy of the database in the output folder instead of the project folder.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
59
SQL is a general purpose programming language, which can be used to write applications.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
60
When you make changes to the dataset in one form, the changes automatically appear in other forms that have their own dataset.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
61
SQL uses database mnemonics to construct statements, which are also known as table adapter queries.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
62
SQL does not support relational operators.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
63
In SQL, if you need to include a single quote as part of a string, simply write two single quotes in its place.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
64
SQL provides several functions for performing calculations.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
65
The equal to and not equal to operators in SQL are different from those in C#.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
66
In SQL, the asterisk symbol is used as a wildcard to represent a single character.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
67
The Not operator can be used in SQL to disqualify a character pattern in a search criteria.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
68
You can add your own SQL queries to a table adapter and call them from your C# code.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
69
The Desc operator can be used to sort the results of an SQL Select query in descending order.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 69 flashcards in this deck.