Deck 11: Enhanced Database Techniques
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
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
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/100
Play
Full screen (f)
Deck 11: Enhanced Database Techniques
1
When an On Close event is triggered and there is no macro attached to the event,what does Access do?
A)It closes the form or report without doing anything.
B)The default On Close macro is run
C)The default Event macro is run.
D)There is no On Close event.
A)It closes the form or report without doing anything.
B)The default On Close macro is run
C)The default Event macro is run.
D)There is no On Close event.
A
2
You can run a named data macro from within another macro by using what action?
A)ExecuteNamedDataMacro
B)ExecuteDataMacro
C)RunDataMacro
D)PerformDataMacro
A)ExecuteNamedDataMacro
B)ExecuteDataMacro
C)RunDataMacro
D)PerformDataMacro
C
3
Which of the following is not true about macros which have been converted to VBA?
A)They appear as modules in Access.
B)They do not appear on the Navigation Pane.
C)They appear on the Navigation Pane.
D)The code will perform the same tasks as the original macro.
A)They appear as modules in Access.
B)They do not appear on the Navigation Pane.
C)They appear on the Navigation Pane.
D)The code will perform the same tasks as the original macro.
B
4
Event-driven data macros are triggered by what events?
A)Table
B)Form
C)Form control
D)Report
A)Table
B)Form
C)Form control
D)Report
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
5
Which event is triggered any time you enter or update data on a form?
A)After Update
B)After Enter
C)After Change
D)After Modification
A)After Update
B)After Enter
C)After Change
D)After Modification
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
6
What was developed to make it easier to create or modify macros?
A)Macro Creator
B)Macro Developer
C)Macro Designer
D)Visual Basic for Applications (VBA)
A)Macro Creator
B)Macro Developer
C)Macro Designer
D)Visual Basic for Applications (VBA)
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
7
What type of macros associate programming logic to tables?
A)Data
B)Embedded
C)Stand-alone
D)Event
A)Data
B)Embedded
C)Stand-alone
D)Event
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
8
What type of macros allow companies to apply business logic to a database?
A)Embedded
B)Stand-alone
C)Data
D)Event
A)Embedded
B)Stand-alone
C)Data
D)Event
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is not considered a table event?
A)After Insert
B)After Update
C)During Delete
D)After Delete
A)After Insert
B)After Update
C)During Delete
D)After Delete
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
10
VBA stands for ________.
A)Virtual Basic for Applications
B)Visual Basic for Applications
C)Viewable Basic for Applications
D)Viewable Basics for Application
A)Virtual Basic for Applications
B)Visual Basic for Applications
C)Viewable Basic for Applications
D)Viewable Basics for Application
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
11
Besides a stand-alone macro,what is the other type of macro?
A)Embedded
B)Inserted
C)Included
D)Automated
A)Embedded
B)Inserted
C)Included
D)Automated
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
12
Which type of macro executes when an event attached to a control or object occurs?
A)Stand-alone
B)Included
C)Embedded
D)Automatic
A)Stand-alone
B)Included
C)Embedded
D)Automatic
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
13
When a user enters,edits,or deletes data; Access determines that what has occurred?
A)Event
B)Action
C)Incident
D)Function
A)Event
B)Action
C)Incident
D)Function
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
14
Which is not an argument for the MessageBox action?
A)Message
B)Beep
C)Title
D)Repeat check box
A)Message
B)Beep
C)Title
D)Repeat check box
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
15
What is true about how Access handles macros when there are multiple actions in the macro?
A)They execute in a nested last-in,first-executed mode.
B)They execute according to an established priority list created by the user.
C)They execute according to an established priority list built into Access.
D)They execute in the order in which they display.
A)They execute in a nested last-in,first-executed mode.
B)They execute according to an established priority list created by the user.
C)They execute according to an established priority list built into Access.
D)They execute in the order in which they display.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
16
What is not a good task for a macro?
A)Group a series of commands into one database object
B)Automate repetitive tasks
C)Perform a specific action
D)Automate a one-time event
A)Group a series of commands into one database object
B)Automate repetitive tasks
C)Perform a specific action
D)Automate a one-time event
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
17
Besides an embedded macro,what is the other type of macro?
A)Included
B)Automated
C)Stand-alone
D)Inserted
A)Included
B)Automated
C)Stand-alone
D)Inserted
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following objects do not appear in the Navigation Pane?
A)Embedded macros
B)Stand-alone macros
C)Queries
D)Forms
A)Embedded macros
B)Stand-alone macros
C)Queries
D)Forms
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
19
A constant used to provide the output for an action is called a(n)________.
A)function
B)argument
C)equation
D)variable
A)function
B)argument
C)equation
D)variable
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
20
When business logic requires the comparison of two or more fields,you need to use what type of macro?
A)Data
B)Embedded
C)Logic
D)Stand-alone
A)Data
B)Embedded
C)Logic
D)Stand-alone
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
21
In SQL,what statement is used to retrieve data from a table?
A)RETRIEVE
B)UPDATE
C)GET
D)SELECT
A)RETRIEVE
B)UPDATE
C)GET
D)SELECT
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
22
SQL stands for what?
A)Structured Query Language
B)Structural Query Language
C)Simplified Query Language
D)Simple Query Language
A)Structured Query Language
B)Structural Query Language
C)Simplified Query Language
D)Simple Query Language
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is not correct about queries and SQL?
A)Access stores SQL statements in the background.
B)When you create a query,Access creates the SQL statements automatically.
C)SQL helps you ask a question of the data in your database.
D)SQL uses the same command set as VBA,except that it is used for queries instead of macros.
A)Access stores SQL statements in the background.
B)When you create a query,Access creates the SQL statements automatically.
C)SQL helps you ask a question of the data in your database.
D)SQL uses the same command set as VBA,except that it is used for queries instead of macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
24
If your SQL query does not include a WHERE statement,then how many records will be selected?
A)All
B)None
C)Your SQL statement must include a WHERE statement.
D)Your query will pause upon execution for user entry,just like a parameter query.
A)All
B)None
C)Your SQL statement must include a WHERE statement.
D)Your query will pause upon execution for user entry,just like a parameter query.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the four is not considered one of the four basic words in SQL statements?
A)SELECT
B)WHERE
C)FROM
D)SORTED
A)SELECT
B)WHERE
C)FROM
D)SORTED
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
26
Which one of the four keywords in SQL is used to determine how rows will be sorted?
A)SELECT
B)WHERE
C)ORDER BY
D)SORT
A)SELECT
B)WHERE
C)ORDER BY
D)SORT
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
27
What defines the purpose and the structure of an SQL statement?
A)Keyword
B)Definition
C)Code word
D)ScreenTip
A)Keyword
B)Definition
C)Code word
D)ScreenTip
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
28
In SQL,what is the default sort order when using the ORDER BY keyword?
A)There is no default sort order.
B)The order of data entry
C)Descending
D)Ascending
A)There is no default sort order.
B)The order of data entry
C)Descending
D)Ascending
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
29
According the chapter,what is the easiest way to learn more advanced SQL statements?
A)Buy the SQL for Dummies book.
B)Perform a Google search on advanced SQL statements.
C)Experiment; create queries in SQL view,run them,and see what happens.
D)Create queries in Design view and then view the SQL statements.
A)Buy the SQL for Dummies book.
B)Perform a Google search on advanced SQL statements.
C)Experiment; create queries in SQL view,run them,and see what happens.
D)Create queries in Design view and then view the SQL statements.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
30
When was SQL developed?
A)Early 1960s
B)Early 1970s
C)Late 1970s
D)Early 1980s
A)Early 1960s
B)Early 1970s
C)Late 1970s
D)Early 1980s
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
31
Where is the normal location in an SQL statement for the WHERE keyword?
A)Before the FROM keyword
B)First
C)After the FROM keyword
D)Before the SELECT keyword
A)Before the FROM keyword
B)First
C)After the FROM keyword
D)Before the SELECT keyword
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
32
Which of the following is not considered to be an industry-leading DBMS?
A)SQL Server
B)Alpha database software
C)Oracle
D)SAP Sybase
A)SQL Server
B)Alpha database software
C)Oracle
D)SAP Sybase
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
33
What is normally the first SQL keyword in an SQL statement?
A)FROM
B)WHERE
C)SELECT
D)ORDER BY
A)FROM
B)WHERE
C)SELECT
D)ORDER BY
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
34
What company developed SQL?
A)Microsoft
B)Apple
C)Adobe
D)IBM
A)Microsoft
B)Apple
C)Adobe
D)IBM
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
35
Which one of the four keywords in SQL is used to specify what table the fields can be found?
A)SELECT
B)FROM
C)WHERE
D)ORDER BY
A)SELECT
B)FROM
C)WHERE
D)ORDER BY
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
36
When you create a command button,an embedded macro is automatically created.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
37
Which one of the four keywords in SQL is used to establish criteria?
A)WHERE
B)ORDER BY
C)SELECT
D)FROM
A)WHERE
B)ORDER BY
C)SELECT
D)FROM
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following is not an action which can be used in a data macro?
A)DeleteRecord
B)SetRecord
C)SendEmail
D)SetField
A)DeleteRecord
B)SetRecord
C)SendEmail
D)SetField
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
39
A data macro performs a series of actions when a specific form event occurs.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
40
Which one of the four keywords in SQL is used to pick which fields will be in the query?
A)SELECT
B)FROM
C)WHERE
D)GROUP BY
A)SELECT
B)FROM
C)WHERE
D)GROUP BY
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
41
Access creates macros automatically when you add certain controls to forms or reports.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
42
A standalone macro can be used independent of other controls or objects.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
43
Data macros,like stand-alone macros and embedded macros,use the Macro Designer.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
44
The On Close event is triggered only if there is a macro attached to it.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
45
When you add a macro to an event,Access embeds a macro in the object or control and lists it on the Navigation Pane.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
46
Stand-alone macros display as objects in the Navigation Pane.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
47
The actions available in the Macro Designer are the same for data macros as for standalone or embedded macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
48
An embedded macro displays as an object in the Navigation Pane and can be run independently of other objects.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
49
If you drag a table,query,form,or report to the Macro Designer,Access adds an action that opens the table,query,form,or report in edit/design mode.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
50
Business logic describes the policies and procedures established by an organization.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
51
You can use the Macro Designer to edit existing macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
52
Embedded macros can be attached to an event on a control on a form or to the form itself.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
53
Table validation rules can only work with one field.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
54
When there are multiple actions in a macro,Access executes the actions according to an established priority list.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
55
It is easier to automate tasks by using a VBA procedure than by using macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
56
Macros can be converted to VBA.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
57
Macros allow more complex functionality than just using VBA.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
58
When you add an action to a macro and that action has several arguments,each of the arguments are required.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
59
When an On Close event is triggered and there is no macro attached to the event,Access runs its default On Close macro.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
60
Standalone macros are listed in the Navigation Pane.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
61
Microsoft uses IBMs version of SQL in Access.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
62
The ________ Update event is triggered any time you enter or update data on a form.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
63
A(n)________ is a series of actions that can be programmed to automate tasks.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
64
A form that is based on a table that contains a(n)________ macro inherits the logic of the table.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
65
To test a data macro,open the table and perform whatever the event was to which the macro has been attached and see if the proper action is performed.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
66
A(n)________ is a variable,constant,or expression that is used to produce the output for an action.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
67
Since data macros are connected to tables,they can be attached to events in a form.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
68
The version of SQL that is found in Access has a graphical user interface to make creating SQL statements much easier.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
69
Event-driven data macros are triggered by ________ events.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
70
When a user enters,edits,or deletes data; Access determines that a(n)________ has occurred.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
71
A(n)________ data macro can be attached to an event in a form.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
72
There are two types of macros: stand-alone macros and ________ macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
73
Since data macros can only be associated with table events,they have no impact on forms.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
74
You can use the ________ Button Wizard to create an embedded macro automatically.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
75
The Macro ________ makes it easier to create or modify macros.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
76
ExecuteDataMacro is an action that can be chosen in the Macro Designer.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
77
A(n)________ macro is a database object that you create and use independently of other controls or objects.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
78
A(n)________ macro is a macro that executes when an event attached to a control or object occurs.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
79
Since SQL statements are considered text,you can copy and paste them just like any other text.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
80
Macros can be created to run other macros inside of them.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck