Deck 11: Exploring Pivottable Design

ملء الشاشة (f)
exit full mode
سؤال
Standard modules are also called universal modules.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
You must use the correct _____, or rules, when creating a VBA statement.

A) syntax
B) executors
C) procedures
D) rubrics
سؤال
Class modules are stored in an individual form or report.
سؤال
Standard modules contain _____.

A) code that can be executed only from a form or report
B) macros from earlier versions of Access
C) a list of standard functions built into Access, such as Sum
D) global code that can be executed from anywhere in the database
سؤال
A function created in a standard module can be used in any query in the database.
سؤال
Which VBA keyword(s) do you use to declare the name and arguments that create a new function procedure?

A) Start Function
B) Function
C) Option Function
D) Declare Function
سؤال
A _____ module is stored as a part of the form or report in which it was created.

A) global
B) class
C) standard
D) sub
سؤال
Tables contain and execute class modules.
سؤال
A(n) event is a procedure that returns a value.
سؤال
What happens if you write VBA code in all lowercase letters?

A) The Visual Basic Editor converts the code to the correct case.
B) The Visual Basic Editor displays a syntax error.
C) The Visual Basic Editor will not run the code when you click the Run button.
D) The Visual Basic Editor will treat the code as a comment.
سؤال
Which of the following object prefixes is short for Visual Basic and applies to standard (global) modules?

A) mod
B) bas
C) vis
D) sub
سؤال
A macro is an Access object that stores Visual Basic for Applications (VBA) programming code.
سؤال
You might want to create a function to calculate a value based on your company's unique business rules.
سؤال
You can use a function created in a standard module in any query in the database.
سؤال
If you create a function in a standard module, it applies only to the current object.
سؤال
What must you use to create a custom function in Access?

A) The Custom Function Wizard
B) An Access module
C) An Access macro
D) A data macro
سؤال
_____ modules are displayed as module objects in the Navigation Pane.

A) Class
B) Standard
C) Macro
D) Method
سؤال
Which of the following statements creates a function named Bonus with an argument named Salary?

A) Bonus(Salary) = Function
B) Function Bonus(Salary)
C) Function (Bonus, Salary)
D) '=Function(Bonus, Salary)
سؤال
Which of the following statements is required as the last statement to mark the end of the VBA code that defines a function?

A) End Function
B) End Sub
C) End Statement
D) Close Function
سؤال
As you write a VBA statement, visual aids that are part of _____ help you complete it.

A) the syntax
B) the Code Builder
C) Visual Sense guidelines
D) IntelliSense technology
سؤال
Why would you create a function in a standard module?

A) To embed the function in the open form
B) To use the function in any query, form, or report in the database
C) To prepare for converting the function to a macro
D) To avoid having to use VBA syntax
سؤال
Which of the following are form events? Select all the options that apply.

A) On Load
B) On Close
C) Before Print
D) After Update
سؤال
Comments appear _____ of a macro.

A) at the beginning
B) at the end
C) next to the actions
D) in the footer
سؤال
Clicking a command button or making an entry in a field is considered a(n) ____. ​

A) macro
B) event
C) condition
D) argument
سؤال
Use a(n) If statement to document a macro with explanatory text.
سؤال
When do most class modules run?

A) When you double-click a module in the Navigation Pane
B) After all the standard modules finish running
C) When you double-click a macro in the Navigation Pane
D) In response to an event such as clicking a command button
سؤال
An Access Part is a template that creates an Access object such as a table or form.
سؤال
Which of the following VBA keywords is a declaration statement that determines the way string values (text) will be sorted?

A) Option Compare Database
B) On Text GoTo
C) Select Case
D) Option Sort Text
سؤال
In a macro's conditional expression, you refer to a value of a form control using the following syntax: ____.

A) [Forms]![formname]![controlname]
B) {Forms}!{formname}!{controlname}
C) Forms.formname(controlname)
D) Forms.(formname).(controlname)
سؤال
Which of the following are built-in Access functions? Select all the options that apply.

A) Sum
B) Now
C) If
D) Count
سؤال
Which of the following are types of procedures? Select all the options that apply.

A) Sub
B) Function
C) Declaration
D) Event
سؤال
A(n) submacro is something that happens to a form, window, toolbar, or control-such as the click of a command button or an entry in a field-that can start running a macro.
سؤال
When building a conditional expression that refers to a value in a form control, use the syntax called _____. ​

A) bang notation
B) Boolean syntax
C) procedural notation
D) event syntax
سؤال
When a module is embedded in a form or report, it is called a(n) _____.

A) class module
B) event handler
C) sub procedure
D) sub module
سؤال
Using the incorrect spelling of a VBA keyword is an example of a _____ programming error.

A) syntax
B) run-time
C) logic
D) compile-time
سؤال
The On _____ event occurs when focus moves from one record to another.

A) Close
B) Click
C) Caption
D) Current
سؤال
Which of the following are event procedures you can assign to a report? Select all the options that apply.

A) On Open
B) On Close
C) On Click
D) On Page Break
سؤال
To indicate you want to run the AssignGradeA submacro of the Grades macro, what do you enter in a control's event procedure property?

A) AssignGradeA.Grades
B) Grades.AssignGradeA
C) Grades!AssignGradeA
D) [Grades].[AssignGradeA]
سؤال
Which built-in Access function returns today's date?

A) TodayDate
B) Now
C) Day
D) DateAndTime
سؤال
On Click is an example of a(n) _____.

A) event property
B) bound control
C) macro action
D) Command Button Wizard option
سؤال
The programming language used in Access modules is called Visual Basic for _____.

A) Access
B) Modules
C) Applications
D) Macros
سؤال
You use a(n) apostrophe to begin a comment line.
سؤال
To display the Visual Basic window, you click the Create tab on the ribbon, and then click Visual Basic.
سؤال
Visual Basic for Applications (VBA) is only available for Microsoft Access.
سؤال
A_____ procedure is generally executed when an event occurs.

A) method
B) sub
C) module
D) declaration
سؤال
Which of the following are form events? Select all the options that apply.

A) Clicking a command button
B) Adding an action to a macro
C) Opening a form
D) Closing a form
سؤال
Which procedure is triggered after a field is updated?

A) Current Record
B) Before Insert
C) After Update
D) On Got Focus
سؤال
Comment lines start with an exclamation point (!) and are red in the Visual Basic Editor.
سؤال
To add VBA code to a macro embedded in a report, you can first _____ the macro to VBA code.

A) export
B) send
C) assign
D) convert
سؤال
You can convert a form's embedded macros to VBA by opening the form in Design View, and then clicking the Convert Form's Macros to Visual Basic button.
سؤال
_____ are statements in the code that document the code and do not affect how it runs.

A) Methods
B) Variables
C) Comment lines
D) Blue keywords
سؤال
When you convert an Access macro to VBA code, the VBA is stored in a standard module listed in the Navigation Pane with a name that starts with "New Macro."
سؤال
When you display the Visual Basic window, one line is highlighted in yellow. What does that mean?

A) The code cannot run successfully.
B) The yellow line will change data when you run the code.
C) A new section of the code starts after the yellow line.
D) An error has been corrected automatically.
سؤال
The On Current event of a form is triggered when you navigate through records.
سؤال
You can create a comment by starting the statement with _____.

A) dim
B) com
C) rem
D) ignore
سؤال
Class modules most commonly run in response to an event, such as a user clicking a command button.
سؤال
You write VBA code in the Visual Basic Design Pane.
سؤال
In VBA, comments appear in _____ text.

A) green
B) red
C) blue
D) black
سؤال
Which of the following controls has an After Update event property? ​

A) label
B) text box
C) command button
D) rectangle
سؤال
In VBA code, green text indicates a VBA keyword.
سؤال
What is the first step to convert a report's macros to VBA code?

A) Right-click the report in the Navigation Pane, and then click Convert.
B) Open the report in Macro Design View.
C) Display the report in Report Design View.
D) Open the Visual Basic Editor.
سؤال
What happens when you click the Build button for a property on the Event tab of a form's Property Sheet?

A) You set the property value to Yes.
B) The Query Builder window opens.
C) You add a calculated control to the form.
D) The Visual Basic window opens.
سؤال
What types of errors occur only after you start running the code in the Visual Basic window?

A) Syntax errors
B) Logic errors
C) Run-time errors
D) Code-run errors
سؤال
You use _____ to document and explain the statements in VBA code.

A) comments
B) keywords
C) breakpoints
D) event procedures
سؤال
How does VBA treat comments when you run the code in the Visual Basic window?

A) It highlights the comments only if they contain a syntax error.
B) It performs any commands in the comments.
C) It corrects spelling errors in the comments.
D) It ignores the comments.
سؤال
When does the Visual Basic Editor display text in red?

A) When a syntax error is preventing the code from running
B) When the text is a VBA keyword
C) When the text begins with an apostrophe, indicating a comment
D) When a new If…Then…Else block of code begins
سؤال
Which of the following text colors have meaning in VBA? Select all the options that apply.

A) Red
B) Blue
C) Black
D) Yellow
سؤال
What can you use to test logical conditions and execute statements only if the conditions are true?

A) an event procedure
B) a function
C) If…Then logic
D) Run logic
سؤال
In a report, label controls display data from underlying fields.
سؤال
Which of the following controls would you use to describe another control on a report?

A) Line
B) Text box
C) Label
D) Subreport
سؤال
How do you begin an If statement that determines whether an employee's salary is less than $50,000?

A) Is Salary < 50000?
B) If Salary < 50000
C) Else Salary < 50000
D) Rem Salary If < 50000
سؤال
Which control provides consistent descriptive text as you navigate from record to record in a form?

A) text box
B) label
C) combo box
D) tab control
سؤال
To display the VBA code for a form, click the Build button in one of the form's event properties.
سؤال
Every If block of code must end with an End If statement.
سؤال
Which of the following are errors that prevent VBA code from running successfully? Select all the options that apply.

A) Mistyping the word function
B) Using too many comments
C) Forgetting an End If statement
D) Dividing by zero
سؤال
The Else portion of an If...Then...Else construct is always executed.
سؤال
What happens if you display a form in Form Design View, and then click the Visual Basic button on the Database Tools tab?

A) You create a new module for the form.
B) Any modules attached to the form begin to run.
C) You display the VBA code for the form.
D) You add a standard module to the form.
سؤال
To run the code in the Visual Basic window, you click the Run button on the Standard toolbar.
سؤال
A(n) _____ procedure manipulates controls and objects.

A) class
B) action
C) sub
D) method
سؤال
To add a heading to the Detail section of a form, you use a text box control.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/88
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 11: Exploring Pivottable Design
1
Standard modules are also called universal modules.
False - global
False - Global
False - GLOBAL
2
You must use the correct _____, or rules, when creating a VBA statement.

A) syntax
B) executors
C) procedures
D) rubrics
A
3
Class modules are stored in an individual form or report.
True
4
Standard modules contain _____.

A) code that can be executed only from a form or report
B) macros from earlier versions of Access
C) a list of standard functions built into Access, such as Sum
D) global code that can be executed from anywhere in the database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
5
A function created in a standard module can be used in any query in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which VBA keyword(s) do you use to declare the name and arguments that create a new function procedure?

A) Start Function
B) Function
C) Option Function
D) Declare Function
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
7
A _____ module is stored as a part of the form or report in which it was created.

A) global
B) class
C) standard
D) sub
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
8
Tables contain and execute class modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
9
A(n) event is a procedure that returns a value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
10
What happens if you write VBA code in all lowercase letters?

A) The Visual Basic Editor converts the code to the correct case.
B) The Visual Basic Editor displays a syntax error.
C) The Visual Basic Editor will not run the code when you click the Run button.
D) The Visual Basic Editor will treat the code as a comment.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following object prefixes is short for Visual Basic and applies to standard (global) modules?

A) mod
B) bas
C) vis
D) sub
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
12
A macro is an Access object that stores Visual Basic for Applications (VBA) programming code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
13
You might want to create a function to calculate a value based on your company's unique business rules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
14
You can use a function created in a standard module in any query in the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
15
If you create a function in a standard module, it applies only to the current object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
16
What must you use to create a custom function in Access?

A) The Custom Function Wizard
B) An Access module
C) An Access macro
D) A data macro
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
17
_____ modules are displayed as module objects in the Navigation Pane.

A) Class
B) Standard
C) Macro
D) Method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following statements creates a function named Bonus with an argument named Salary?

A) Bonus(Salary) = Function
B) Function Bonus(Salary)
C) Function (Bonus, Salary)
D) '=Function(Bonus, Salary)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which of the following statements is required as the last statement to mark the end of the VBA code that defines a function?

A) End Function
B) End Sub
C) End Statement
D) Close Function
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
20
As you write a VBA statement, visual aids that are part of _____ help you complete it.

A) the syntax
B) the Code Builder
C) Visual Sense guidelines
D) IntelliSense technology
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
21
Why would you create a function in a standard module?

A) To embed the function in the open form
B) To use the function in any query, form, or report in the database
C) To prepare for converting the function to a macro
D) To avoid having to use VBA syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following are form events? Select all the options that apply.

A) On Load
B) On Close
C) Before Print
D) After Update
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
23
Comments appear _____ of a macro.

A) at the beginning
B) at the end
C) next to the actions
D) in the footer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
24
Clicking a command button or making an entry in a field is considered a(n) ____. ​

A) macro
B) event
C) condition
D) argument
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
25
Use a(n) If statement to document a macro with explanatory text.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
26
When do most class modules run?

A) When you double-click a module in the Navigation Pane
B) After all the standard modules finish running
C) When you double-click a macro in the Navigation Pane
D) In response to an event such as clicking a command button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
27
An Access Part is a template that creates an Access object such as a table or form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
28
Which of the following VBA keywords is a declaration statement that determines the way string values (text) will be sorted?

A) Option Compare Database
B) On Text GoTo
C) Select Case
D) Option Sort Text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
29
In a macro's conditional expression, you refer to a value of a form control using the following syntax: ____.

A) [Forms]![formname]![controlname]
B) {Forms}!{formname}!{controlname}
C) Forms.formname(controlname)
D) Forms.(formname).(controlname)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
30
Which of the following are built-in Access functions? Select all the options that apply.

A) Sum
B) Now
C) If
D) Count
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following are types of procedures? Select all the options that apply.

A) Sub
B) Function
C) Declaration
D) Event
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
32
A(n) submacro is something that happens to a form, window, toolbar, or control-such as the click of a command button or an entry in a field-that can start running a macro.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
33
When building a conditional expression that refers to a value in a form control, use the syntax called _____. ​

A) bang notation
B) Boolean syntax
C) procedural notation
D) event syntax
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
34
When a module is embedded in a form or report, it is called a(n) _____.

A) class module
B) event handler
C) sub procedure
D) sub module
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
35
Using the incorrect spelling of a VBA keyword is an example of a _____ programming error.

A) syntax
B) run-time
C) logic
D) compile-time
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
36
The On _____ event occurs when focus moves from one record to another.

A) Close
B) Click
C) Caption
D) Current
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
37
Which of the following are event procedures you can assign to a report? Select all the options that apply.

A) On Open
B) On Close
C) On Click
D) On Page Break
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
38
To indicate you want to run the AssignGradeA submacro of the Grades macro, what do you enter in a control's event procedure property?

A) AssignGradeA.Grades
B) Grades.AssignGradeA
C) Grades!AssignGradeA
D) [Grades].[AssignGradeA]
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
39
Which built-in Access function returns today's date?

A) TodayDate
B) Now
C) Day
D) DateAndTime
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
40
On Click is an example of a(n) _____.

A) event property
B) bound control
C) macro action
D) Command Button Wizard option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
41
The programming language used in Access modules is called Visual Basic for _____.

A) Access
B) Modules
C) Applications
D) Macros
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
42
You use a(n) apostrophe to begin a comment line.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
43
To display the Visual Basic window, you click the Create tab on the ribbon, and then click Visual Basic.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
44
Visual Basic for Applications (VBA) is only available for Microsoft Access.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
45
A_____ procedure is generally executed when an event occurs.

A) method
B) sub
C) module
D) declaration
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following are form events? Select all the options that apply.

A) Clicking a command button
B) Adding an action to a macro
C) Opening a form
D) Closing a form
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
47
Which procedure is triggered after a field is updated?

A) Current Record
B) Before Insert
C) After Update
D) On Got Focus
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
48
Comment lines start with an exclamation point (!) and are red in the Visual Basic Editor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
49
To add VBA code to a macro embedded in a report, you can first _____ the macro to VBA code.

A) export
B) send
C) assign
D) convert
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
50
You can convert a form's embedded macros to VBA by opening the form in Design View, and then clicking the Convert Form's Macros to Visual Basic button.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
51
_____ are statements in the code that document the code and do not affect how it runs.

A) Methods
B) Variables
C) Comment lines
D) Blue keywords
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
52
When you convert an Access macro to VBA code, the VBA is stored in a standard module listed in the Navigation Pane with a name that starts with "New Macro."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
53
When you display the Visual Basic window, one line is highlighted in yellow. What does that mean?

A) The code cannot run successfully.
B) The yellow line will change data when you run the code.
C) A new section of the code starts after the yellow line.
D) An error has been corrected automatically.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
54
The On Current event of a form is triggered when you navigate through records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
55
You can create a comment by starting the statement with _____.

A) dim
B) com
C) rem
D) ignore
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
56
Class modules most commonly run in response to an event, such as a user clicking a command button.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
57
You write VBA code in the Visual Basic Design Pane.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
58
In VBA, comments appear in _____ text.

A) green
B) red
C) blue
D) black
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
59
Which of the following controls has an After Update event property? ​

A) label
B) text box
C) command button
D) rectangle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
60
In VBA code, green text indicates a VBA keyword.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
61
What is the first step to convert a report's macros to VBA code?

A) Right-click the report in the Navigation Pane, and then click Convert.
B) Open the report in Macro Design View.
C) Display the report in Report Design View.
D) Open the Visual Basic Editor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
62
What happens when you click the Build button for a property on the Event tab of a form's Property Sheet?

A) You set the property value to Yes.
B) The Query Builder window opens.
C) You add a calculated control to the form.
D) The Visual Basic window opens.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
63
What types of errors occur only after you start running the code in the Visual Basic window?

A) Syntax errors
B) Logic errors
C) Run-time errors
D) Code-run errors
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
64
You use _____ to document and explain the statements in VBA code.

A) comments
B) keywords
C) breakpoints
D) event procedures
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
65
How does VBA treat comments when you run the code in the Visual Basic window?

A) It highlights the comments only if they contain a syntax error.
B) It performs any commands in the comments.
C) It corrects spelling errors in the comments.
D) It ignores the comments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
66
When does the Visual Basic Editor display text in red?

A) When a syntax error is preventing the code from running
B) When the text is a VBA keyword
C) When the text begins with an apostrophe, indicating a comment
D) When a new If…Then…Else block of code begins
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
67
Which of the following text colors have meaning in VBA? Select all the options that apply.

A) Red
B) Blue
C) Black
D) Yellow
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
68
What can you use to test logical conditions and execute statements only if the conditions are true?

A) an event procedure
B) a function
C) If…Then logic
D) Run logic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
69
In a report, label controls display data from underlying fields.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
70
Which of the following controls would you use to describe another control on a report?

A) Line
B) Text box
C) Label
D) Subreport
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
71
How do you begin an If statement that determines whether an employee's salary is less than $50,000?

A) Is Salary < 50000?
B) If Salary < 50000
C) Else Salary < 50000
D) Rem Salary If < 50000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
72
Which control provides consistent descriptive text as you navigate from record to record in a form?

A) text box
B) label
C) combo box
D) tab control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
73
To display the VBA code for a form, click the Build button in one of the form's event properties.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
74
Every If block of code must end with an End If statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
75
Which of the following are errors that prevent VBA code from running successfully? Select all the options that apply.

A) Mistyping the word function
B) Using too many comments
C) Forgetting an End If statement
D) Dividing by zero
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
76
The Else portion of an If...Then...Else construct is always executed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
77
What happens if you display a form in Form Design View, and then click the Visual Basic button on the Database Tools tab?

A) You create a new module for the form.
B) Any modules attached to the form begin to run.
C) You display the VBA code for the form.
D) You add a standard module to the form.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
78
To run the code in the Visual Basic window, you click the Run button on the Standard toolbar.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
79
A(n) _____ procedure manipulates controls and objects.

A) class
B) action
C) sub
D) method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
80
To add a heading to the Detail section of a form, you use a text box control.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 88 في هذه المجموعة.