cs.furman.educs.furman.edu/~pbatchelor/vba2/0132140527_tb/exp201…  · web viewvisual basic for...

961
Exploring Getting Started VBA for Microsoft Office 2010, Chapter 1 TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false. 1) © 2012 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Upload: haque

Post on 31-Jan-2018

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Exploring Getting Started VBA for Microsoft Office 2010, Chapter 1 TRUE/FALSE. Write 'T' if the statement is true and 'F' if the statement is false.

1)

© 2012 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This publication is protected by Copyright and written permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permission(s), write to: Rights and Permissions Department, Pearson Education, Inc., Upper Saddle River, NJ 07458.

Page 2: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Visual Basic for Applications is a scripting language that you can use to create and customize Office applications.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 2

Page 3: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

1)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 3

Page 4: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 4

Page 5: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 5

Page 6: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 6

Page 7: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 7

Page 8: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 8

Page 9: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 9

Page 10: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

2)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 10

Page 11: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A module is a container to organize programming procedures within a project.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 11

Page 12: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

2)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 12

Page 13: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 13

Page 14: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 14

Page 15: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 15

Page 16: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 16

Page 17: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 17

Page 18: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 18

Page 19: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

3)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 19

Page 20: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Design time is the mode when a program is running.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 20

Page 21: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

3)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 21

Page 22: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 22

Page 23: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 23

Page 24: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 24

Page 25: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 25

Page 26: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 26

Page 27: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 27

Page 28: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

4)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 28

Page 29: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The Code window color-codes words in black, blue, green, and red.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 29

Page 30: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

4)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 30

Page 31: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 31

Page 32: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 32

Page 33: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 33

Page 34: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 34

Page 35: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 35

Page 36: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 36

Page 37: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

5)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 37

Page 38: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Keywords are words or symbols that have specific purposes.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 38

Page 39: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

5)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 39

Page 40: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 40

Page 41: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 41

Page 42: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 42

Page 43: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 43

Page 44: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 44

Page 45: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 45

Page 46: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

6)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 46

Page 47: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Comments are executable code.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 47

Page 48: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

6)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 48

Page 49: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 49

Page 50: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 50

Page 51: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 51

Page 52: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 52

Page 53: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 53

Page 54: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 54

Page 55: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

7)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 55

Page 56: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

An event is an action at run time that triggers a program instruction.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 56

Page 57: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

7)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 57

Page 58: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 58

Page 59: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 59

Page 60: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 60

Page 61: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 61

Page 62: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create Procedures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 62

Page 63: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 63

Page 64: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

8)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 64

Page 65: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The code statement that defines a message box in Access is different than the code statement that defines a message box in Excel.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 65

Page 66: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

8)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 66

Page 67: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 67

Page 68: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 68

Page 69: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 69

Page 70: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 70

Page 71: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create a Message Box AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 71

Page 72: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 72

Page 73: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

9)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 73

Page 74: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Programmers and users can change a constant's value at design time.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 74

Page 75: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

9)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 75

Page 76: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 76

Page 77: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 77

Page 78: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 78

Page 79: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 79

Page 80: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 80

Page 81: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 81

Page 82: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

10)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 82

Page 83: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Nonintegral data types represent numbers with integer and fractional parts.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 83

Page 84: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

10)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 84

Page 85: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 85

Page 86: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 86

Page 87: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 87

Page 88: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 88

Page 89: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 89

Page 90: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 90

Page 91: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

11)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 91

Page 92: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

If you want to make a variable or constant accessible to any procedure, you create a module-level variable or constant.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 92

Page 93: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

11)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 93

Page 94: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 94

Page 95: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 95

Page 96: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 96

Page 97: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 97

Page 98: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 98

Page 99: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 99

Page 100: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

12)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 100

Page 101: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use an asterisk (*) or a plus sign (+) to concatenate, or join, two values.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 101

Page 102: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

12)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 102

Page 103: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 103

Page 104: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 104

Page 105: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 105

Page 106: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 106

Page 107: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create an Input Box AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 107

Page 108: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 108

Page 109: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

13)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 109

Page 110: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

An operator is a character or combination of characters that accomplishes a specific computation.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 110

Page 111: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

13)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 111

Page 112: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 112

Page 113: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 113

Page 114: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 114

Page 115: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 115

Page 116: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 116

Page 117: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 117

Page 118: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

14)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 118

Page 119: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When there is more than one operation in an expression, there is a predetermined order of precedence.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 119

Page 120: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

14)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 120

Page 121: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 121

Page 122: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 122

Page 123: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 123

Page 124: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 124

Page 125: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 125

Page 126: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 126

Page 127: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

15)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 127

Page 128: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Expression refers to a named format, and style refers to the string you want to format.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 128

Page 129: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

15)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 129

Page 130: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 130

Page 131: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 131

Page 132: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 132

Page 133: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 133

Page 134: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 134

Page 135: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 135

Page 136: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

16)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 136

Page 137: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A condition uses a relational operator to compare two values and determines whether the result is true or false.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 137

Page 138: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

16)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 138

Page 139: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 139

Page 140: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 140

Page 141: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 141

Page 142: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 142

Page 143: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 143

Page 144: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 144

Page 145: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

17)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 145

Page 146: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The simplest type of decision structure is the If...Then statement.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 146

Page 147: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

17)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 147

Page 148: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 148

Page 149: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 149

Page 150: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 150

Page 151: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 151

Page 152: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 152

Page 153: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 153

Page 154: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

18)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 154

Page 155: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The case block begins with the Select Case statement and ends with End If.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 155

Page 156: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

18)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 156

Page 157: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 157

Page 158: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 158

Page 159: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 159

Page 160: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 160

Page 161: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 161

Page 162: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 162

Page 163: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

19)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 163

Page 164: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Data validation is the process of checking the accuracy of the data.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 164

Page 165: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

19)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 165

Page 166: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 166

Page 167: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 167

Page 168: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 168

Page 169: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 169

Page 170: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 170

Page 171: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 171

Page 172: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

20)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 172

Page 173: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The IsNumeric function checks a text string and determines if it evaluates as a number.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 173

Page 174: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

20)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 174

Page 175: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 175

Page 176: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 176

Page 177: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 177

Page 178: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 178

Page 179: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 179

Page 180: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 180

Page 181: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

21)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 181

Page 182: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The And operator requires that all conditions are met to be true.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 182

Page 183: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

21)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 183

Page 184: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 184

Page 185: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 185

Page 186: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 186

Page 187: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 187

Page 188: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Logical Operators AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 188

Page 189: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 189

Page 190: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

22)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 190

Page 191: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The For...Next statement repeats a loop for a specific number of times.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 191

Page 192: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

22)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 192

Page 193: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 193

Page 194: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 194

Page 195: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 195

Page 196: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 196

Page 197: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 197

Page 198: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 198

Page 199: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

23)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 199

Page 200: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The Do...Loop structure uses the keywords While or If.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 200

Page 201: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

23)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 201

Page 202: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 202

Page 203: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 203

Page 204: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 204

Page 205: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 205

Page 206: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 206

Page 207: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 207

Page 208: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

24)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 208

Page 209: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Until keyword in a Do...Loop to repeat until the condition is true.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 209

Page 210: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

24)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 210

Page 211: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 211

Page 212: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 212

Page 213: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 213

Page 214: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 214

Page 215: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 215

Page 216: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 216

Page 217: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

25)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 217

Page 218: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A posttest executes the code to check for the condition before entering the loop.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 218

Page 219: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

25)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 219

Page 220: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 220

Page 221: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

True

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 221

Page 222: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 222

Page 223: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

False Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 223

Page 224: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 224

Page 225: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 225

Page 226: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

26)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 226

Page 227: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:I. Collection of modules and objects in an Office fileII. Mode for designing, writing, and editing programming statementsIII. Text or symbols used for specific purposes in programming languagesIV. Action that can be taken for an objectV. Named sequence of programming statements to perform a set of actions

A. MethodB. ProjectC. KeywordD. ProcedureE. Design time

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 227

Page 228: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

26)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 228

Page 229: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 229

Page 230: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B, E, C, A, D Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 230

Page 231: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 231

Page 232: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 232

Page 233: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

27)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 233

Page 234: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:

I. Performs an action without a specific valueII. Available to any object in an applicationIII. Value that provides necessary information to a procedureIV. Action that triggers the execution of code at run timeV. Available only to a specific object or module

A. Public procedureB. ArgumentC. Private procedureD. Sub procedureE. Event

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 234

Page 235: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

27)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 235

Page 236: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 236

Page 237: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D, A, B, E, C Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 237

Page 238: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create Procedures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 238

Page 239: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 239

Page 240: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

28)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 240

Page 241: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:

I. Only two possible values: True (-1) or False (0)II. Whole numbers ranging from -32,768 to 32,767III. Positive whole number from 0 to 255IV. For calculations involving moneyV. Value that contains decimal numbers scaled by a power of 10

A. IntegerB. ByteC. BooleanD. DecimalE. Currency

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 241

Page 242: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

28)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 242

Page 243: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 243

Page 244: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C, A, B, E, D Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 244

Page 245: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 245

Page 246: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 246

Page 247: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

29)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 247

Page 248: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:

I. Dialog box that prompts the user to enter dataII. An optional argumentIII. Process of joining two or more text stringsIV. Message inside the input boxV. Converts values into numeric data for calculations

A. Input boxB. PromptC. TitleD. ConcatenateE. Val function

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 248

Page 249: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

29)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 249

Page 250: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 250

Page 251: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A, C, D, B, E Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 251

Page 252: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create an Input Box AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 252

Page 253: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 253

Page 254: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

30)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 254

Page 255: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:

I. Sequence that the program statements execute at run timeII. Statements are executed in the sequence as listed in the procedureIII. Block of code that uses relational operatorsIV. Symbol or word that determines the relationship between two statementsV. Truth of a stated relationship is evaluated

A. Decision structureB. Logical testC. Programming structureD. Relational OperatorE. Sequence structure

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 255

Page 256: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

30)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 256

Page 257: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 257

Page 258: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C, E, A, D, B Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 258

Page 259: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 259

Page 260: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 260

Page 261: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

31)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 261

Page 262: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms with their meanings:

I. Structure that repeats the execution of a series of statements at run timeII. One execution of a loop statementIII. Set of statements that repeatIV. Variable used to count the number of times a loop repeatsV. Number the counter is changed during the loop

A. Counter variableB. Repetition structureC. Step valueD. LoopE. Iteration

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 262

Page 263: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

31)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 263

Page 264: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 264

Page 265: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B, E, D, A, C Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 265

Page 266: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 266

Page 267: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 267

Page 268: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

32)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 268

Page 269: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is a container to organize procedures within a project.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 269

Page 270: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

32)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 270

Page 271: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 271

Page 272: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

module Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 272

Page 273: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 273

Page 274: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 274

Page 275: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

33)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 275

Page 276: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is a named sequence of statements to perform a series of actions.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 276

Page 277: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

33)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 277

Page 278: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 278

Page 279: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

procedure Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 279

Page 280: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 280

Page 281: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 281

Page 282: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

34)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 282

Page 283: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is a symbol or word used for a specific purpose in a programming language.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 283

Page 284: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

34)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 284

Page 285: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 285

Page 286: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

keyword Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 286

Page 287: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 287

Page 288: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 288

Page 289: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

35)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 289

Page 290: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is an action that pertains to an object.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 290

Page 291: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

35)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 291

Page 292: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 292

Page 293: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

method Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 293

Page 294: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 294

Page 295: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 295

Page 296: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

36)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 296

Page 297: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) _________ ________ is a dialog box that displays a message during run time.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 297

Page 298: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

36)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 298

Page 299: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 299

Page 300: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

message box Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 300

Page 301: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create a Message Box AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 301

Page 302: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 302

Page 303: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

37)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 303

Page 304: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

You can test small segments of code by copying it into the ________ window and running the code.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 304

Page 305: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

37)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 305

Page 306: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 306

Page 307: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Immediate Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 307

Page 308: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create a Message Box AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 308

Page 309: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 309

Page 310: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

38)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 310

Page 311: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

________ constant is specific to an application.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 311

Page 312: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

38)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 312

Page 313: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 313

Page 314: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Intrinsic Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 314

Page 315: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 315

Page 316: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 316

Page 317: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

39)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 317

Page 318: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Conditional compiler constant is defined in the ________ application.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 318

Page 319: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

39)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 319

Page 320: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 320

Page 321: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

host Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 321

Page 322: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 322

Page 323: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 323

Page 324: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

40)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 324

Page 325: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is a statement that assigns a name and data type to a variable or constant.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 325

Page 326: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

40)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 326

Page 327: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 327

Page 328: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

declaration Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 328

Page 329: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 329

Page 330: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 330

Page 331: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

41)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 331

Page 332: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Specifies which statements can access a variable or constant.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 332

Page 333: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

41)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 333

Page 334: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 334

Page 335: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Scope Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 335

Page 336: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 336

Page 337: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 337

Page 338: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

42)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 338

Page 339: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When you assign dates to a Date variable or constant, you must enclose the date in _________ characters.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 339

Page 340: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

42)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 340

Page 341: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 341

Page 342: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

pound sign (#) Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 342

Page 343: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 343

Page 344: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 344

Page 345: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

43)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 345

Page 346: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is one or more characters that performs a calculation.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 346

Page 347: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

43)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 347

Page 348: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 348

Page 349: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

operator Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 349

Page 350: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 350

Page 351: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 351

Page 352: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

44)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 352

Page 353: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

________ is the order in which arithmetic expressions are performed.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 353

Page 354: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

44)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 354

Page 355: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 355

Page 356: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Order of precedence Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 356

Page 357: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 357

Page 358: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 358

Page 359: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

45)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 359

Page 360: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

________ is used to format the results of calculations.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 360

Page 361: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

45)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 361

Page 362: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 362

Page 363: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Format function Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 363

Page 364: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Calculations AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 364

Page 365: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 365

Page 366: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

46)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 366

Page 367: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is an expression that determines if a situation is true.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 367

Page 368: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

46)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 368

Page 369: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 369

Page 370: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

condition Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 370

Page 371: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 371

Page 372: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 372

Page 373: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

47)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 373

Page 374: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ evaluates the truth of a stated relationship.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 374

Page 375: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

47)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 375

Page 376: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 376

Page 377: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

logical test Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 377

Page 378: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 378

Page 379: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 379

Page 380: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

48)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 380

Page 381: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The simplest type of decision structure is the ________ statement.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 381

Page 382: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

48)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 382

Page 383: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 383

Page 384: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

If...Then Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 384

Page 385: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 385

Page 386: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 386

Page 387: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

49)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 387

Page 388: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Using the ________ statement, you test for a condition and specify one option if the test is true and another if the test is false.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 388

Page 389: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

49)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 389

Page 390: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 390

Page 391: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

If...Then...Else Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 391

Page 392: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 392

Page 393: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 393

Page 394: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

50)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 394

Page 395: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ is an individual condition to test.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 395

Page 396: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

50)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 396

Page 397: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 397

Page 398: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

case Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 398

Page 399: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 399

Page 400: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 400

Page 401: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

51)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 401

Page 402: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The process of checking data to ensure it meets certain conditions is ________.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 402

Page 403: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

51)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 403

Page 404: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 404

Page 405: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

data validation Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 405

Page 406: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 406

Page 407: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 407

Page 408: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

52)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 408

Page 409: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The ________ function checks a text string and determines whether it evaluates as a number.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 409

Page 410: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

52)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 410

Page 411: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 411

Page 412: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

IsNumeric Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 412

Page 413: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 413

Page 414: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 414

Page 415: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

53)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 415

Page 416: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The ________ operator requires that two or more conditions be met while the ________ operator requires only one.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 416

Page 417: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

53)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 417

Page 418: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 418

Page 419: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

and; or Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 419

Page 420: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Logical Operators AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 420

Page 421: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 421

Page 422: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

54)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 422

Page 423: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Visual Basic for Applications can be used to:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 423

Page 424: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

54)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 424

Page 425: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 425

Page 426: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

add custom menus.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 426

Page 427: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 427

Page 428: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

hide or display interface elements. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 428

Page 429: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

create data entry forms.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 429

Page 430: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 430

Page 431: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

All of the above Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 431

Page 432: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 432

Page 433: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 433

Page 434: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 434

Page 435: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

55)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 435

Page 436: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Visual Basic for Applications (VBA) is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 436

Page 437: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

55)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 437

Page 438: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 438

Page 439: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

not exportable to other applications. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 439

Page 440: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a programming language used to enhance Office application's functionality. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 440

Page 441: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

very application specific. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 441

Page 442: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

similar to HTML. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 442

Page 443: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 443

Page 444: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 444

Page 445: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 445

Page 446: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

56)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 446

Page 447: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

________ is the structure that repeats the execution of a series of program statements.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 447

Page 448: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

56)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 448

Page 449: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 449

Page 450: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 450

Page 451: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 451

Page 452: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 452

Page 453: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

57)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 453

Page 454: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The ________ repeats a loop for a specific number of times.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 454

Page 455: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

57)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 455

Page 456: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 456

Page 457: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

For...Next Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 457

Page 458: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 458

Page 459: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 459

Page 460: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

58)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 460

Page 461: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The ________ statement executes a block of statements while a condition remains true or until a condition is true.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 461

Page 462: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

58)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 462

Page 463: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 463

Page 464: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Do...Loop Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 464

Page 465: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 465

Page 466: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 466

Page 467: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

59)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 467

Page 468: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Which of the following performs an action and returns a value?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 468

Page 469: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

59)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 469

Page 470: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 470

Page 471: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Private procedure

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 471

Page 472: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 472

Page 473: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Public procedure C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 473

Page 474: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Sub procedure

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 474

Page 475: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 475

Page 476: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Function procedure Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 476

Page 477: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 477

Page 478: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 478

Page 479: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 479

Page 480: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

60)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 480

Page 481: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A standard module:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 481

Page 482: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

60)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 482

Page 483: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 483

Page 484: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

stores public code definitions. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 484

Page 485: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

is a textual description of code. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 485

Page 486: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

is an action to be taken for an object. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 486

Page 487: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

stores procedures available in an application Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 487

Page 488: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 0 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 488

Page 489: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 489

Page 490: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 490

Page 491: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

61)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 491

Page 492: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Procedural keywords include:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 492

Page 493: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

61)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 493

Page 494: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 494

Page 495: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Property Get, Sub, Choose, and Switch.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 495

Page 496: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 496

Page 497: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Sub, Choose, Switch, and End With. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 497

Page 498: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Call Function, Sub, End With, and Loop.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 498

Page 499: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 499

Page 500: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Call, Function, Property Get, and Sub. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 500

Page 501: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 501

Page 502: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 502

Page 503: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 503

Page 504: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

62)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 504

Page 505: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A syntax error will occur when:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 505

Page 506: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

62)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 506

Page 507: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 507

Page 508: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a statement takes up more than one line. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 508

Page 509: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a sequence of programming statements contains an algorithm. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 509

Page 510: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

you misuse or misspell a keyword, use incorrect punctuation, or have undefined elements. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 510

Page 511: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a comment appears in green. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 511

Page 512: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 512

Page 513: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 513

Page 514: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 514

Page 515: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

63)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 515

Page 516: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A(n) ________ performs a test before entering the loop while a ________ tests the condition after entering the loop.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 516

Page 517: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

63)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 517

Page 518: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 518

Page 519: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

pretest; posttest Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 519

Page 520: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 520

Page 521: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 521

Page 522: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

64)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 522

Page 523: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

In the Code window, which of the following color indicates properly written programming statements that are free from syntax errors?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 523

Page 524: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

64)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 524

Page 525: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 525

Page 526: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Red

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 526

Page 527: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 527

Page 528: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Black

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 528

Page 529: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 529

Page 530: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Blue

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 530

Page 531: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 531

Page 532: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Green Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 532

Page 533: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 533

Page 534: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Identify Code in the Code Window AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 534

Page 535: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 535

Page 536: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

65)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 536

Page 537: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A project is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 537

Page 538: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

65)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 538

Page 539: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 539

Page 540: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a container to organize programming procedures. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 540

Page 541: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a collection of modules and objects in an Office file. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 541

Page 542: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the mode for executing a program. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 542

Page 543: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a named sequence of programming statements. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 543

Page 544: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 544

Page 545: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 545

Page 546: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 546

Page 547: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

66)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 547

Page 548: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The Code window is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 548

Page 549: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

66)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 549

Page 550: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 550

Page 551: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a container to organize programming procedures. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 551

Page 552: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a named procedure of programming statements. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 552

Page 553: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a workspace text editor for writing and editing VBA statements. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 553

Page 554: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an attribute of an object. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 554

Page 555: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 555

Page 556: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 556

Page 557: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 557

Page 558: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

67)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 558

Page 559: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The Microsoft Visual Base for Applications window is called:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 559

Page 560: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

67)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 560

Page 561: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 561

Page 562: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the Properties window.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 562

Page 563: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 563

Page 564: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the Project Explorer. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 564

Page 565: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the VB Editor.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 565

Page 566: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 566

Page 567: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the Code window. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 567

Page 568: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 568

Page 569: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 569

Page 570: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 570

Page 571: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

68)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 571

Page 572: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A property is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 572

Page 573: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

68)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 573

Page 574: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 574

Page 575: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a named sequence of programming statements. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 575

Page 576: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a container to organize programming procedures. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 576

Page 577: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a collection of modules and objects in an Office file. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 577

Page 578: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an attribute or characteristic of an object that you can set or change values. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 578

Page 579: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 579

Page 580: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the VBA Interface AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 580

Page 581: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 581

Page 582: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

69)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 582

Page 583: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Using the Immediate window to test code is best because:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 583

Page 584: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

69)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 584

Page 585: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 585

Page 586: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

it allows you test small segments of code in isolation when building larger programs. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 586

Page 587: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

it allows you to step through a procedure when it is finished. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 587

Page 588: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

it takes less time. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 588

Page 589: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

it allows you to test larger segments of code. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 589

Page 590: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 590

Page 591: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Get Help and Debug Errors AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 591

Page 592: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 592

Page 593: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Introduction to VBA

70)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 593

Page 594: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A constant that is specific to an application is called:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 594

Page 595: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

70)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 595

Page 596: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 596

Page 597: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

symbolic constant.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 597

Page 598: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 598

Page 599: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

conditional compiler constant. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 599

Page 600: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

intrinsic constant.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 600

Page 601: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 601

Page 602: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

user-defined constant. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 602

Page 603: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 603

Page 604: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 604

Page 605: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 605

Page 606: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

71)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 606

Page 607: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

________ is defined in the host application.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 607

Page 608: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

71)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 608

Page 609: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 609

Page 610: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Symbolic constant

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 610

Page 611: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 611

Page 612: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Conditional compiler constant C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 612

Page 613: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Intrinsic constant

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 613

Page 614: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 614

Page 615: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

User-defined constant Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 615

Page 616: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 616

Page 617: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 617

Page 618: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 618

Page 619: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

72)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 619

Page 620: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Which of the following data type is best to use if your application makes complex calculations using money?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 620

Page 621: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

72)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 621

Page 622: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 622

Page 623: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Integer data type

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 623

Page 624: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 624

Page 625: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Currency or Decimal data type C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 625

Page 626: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Single or Double data type

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 626

Page 627: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 627

Page 628: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decimal or Single data type Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 628

Page 629: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 629

Page 630: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 630

Page 631: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 631

Page 632: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

73)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 632

Page 633: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Of the following, which is NOT a standard for naming variables and constants in VBA?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 633

Page 634: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

73)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 634

Page 635: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 635

Page 636: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Create names that are 255 or fewer characters in length B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 636

Page 637: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use a letter as the first character for a variable or constant name C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 637

Page 638: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use a descriptive name that includes a period (.) or exclamation mark (!) D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 638

Page 639: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Avoid disallowed characters: space, period (.), !, @, &, $, and # Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 639

Page 640: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 640

Page 641: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 641

Page 642: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 642

Page 643: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

74)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 643

Page 644: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match the following terms to their prefixes.

I. BooleanII. CurrencyIII. DoubleIV. IntegerV. Single

A. dblB. blnC. cirD. sngE. int

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 644

Page 645: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

74)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 645

Page 646: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____________ Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 646

Page 647: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B, C, A, E, D Diff: 3 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 647

Page 648: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 648

Page 649: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 649

Page 650: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

75)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 650

Page 651: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When you want to define a variable, you must include which of the following?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 651

Page 652: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

75)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 652

Page 653: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 653

Page 654: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declaration statement

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 654

Page 655: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 655

Page 656: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Property procedure C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 656

Page 657: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Immediate widow

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 657

Page 658: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 658

Page 659: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Input box Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 659

Page 660: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 660

Page 661: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 661

Page 662: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 662

Page 663: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

76)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 663

Page 664: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

To be able to use a value stored in a variable or constant in all procedures, what statement do you use?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 664

Page 665: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

76)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 665

Page 666: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 666

Page 667: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Conditional statement

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 667

Page 668: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 668

Page 669: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Dim statement C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 669

Page 670: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Public statement

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 670

Page 671: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 671

Page 672: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Prompt argument Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 672

Page 673: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 673

Page 674: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Declare and Use Variables and Constants AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 674

Page 675: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 675

Page 676: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Variables, Constants, Input, and Output

77)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 676

Page 677: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Programmers use programming structures to organize code statements in three ways:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 677

Page 678: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

77)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 678

Page 679: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 679

Page 680: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

with a sequence structure, a decision structure, or a logical structure. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 680

Page 681: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

with a sequence structure, a decision structure, or a repetition structure. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 681

Page 682: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

with a sequence structure, a relational structure, or a decision structure. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 682

Page 683: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

with a sequence structure, a relational structure, or a conditional structure. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 683

Page 684: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 684

Page 685: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 685

Page 686: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 686

Page 687: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

78)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 687

Page 688: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A decision structure is a programming structure that makes a comparison between:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 688

Page 689: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

78)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 689

Page 690: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 690

Page 691: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

conditions, codes, or tests.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 691

Page 692: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 692

Page 693: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

values, variables, and/or constants. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 693

Page 694: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

values, constants, or conditions.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 694

Page 695: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 695

Page 696: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

values, variables, or codes. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 696

Page 697: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 697

Page 698: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 698

Page 699: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 699

Page 700: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

79)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 700

Page 701: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The If...Then statement performs a logical test. If the test evaluates to true:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 701

Page 702: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

79)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 702

Page 703: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 703

Page 704: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program code executes a different statement or block of statements. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 704

Page 705: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program compares the same expression to different values. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 705

Page 706: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program evaluates a single expression only once. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 706

Page 707: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program code specifies which action to take. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 707

Page 708: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 708

Page 709: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 709

Page 710: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 710

Page 711: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

80)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 711

Page 712: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

You can use the If...Then...Else statement to test for a condition and specify:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 712

Page 713: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

80)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 713

Page 714: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 714

Page 715: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program to evaluate a single expression only once. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 715

Page 716: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

one option if the test evaluates to true and another if it evaluates to false. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 716

Page 717: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program code to specify which action to take. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 717

Page 718: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the program code to execute a different statement or block of statements. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 718

Page 719: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 719

Page 720: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 720

Page 721: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 721

Page 722: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

81)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 722

Page 723: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When the statement begins with If and ends with End If, which of the following must appear after the logical test?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 723

Page 724: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

81)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 724

Page 725: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 725

Page 726: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Case

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 726

Page 727: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 727

Page 728: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Match

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 728

Page 729: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 729

Page 730: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Then

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 730

Page 731: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 731

Page 732: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

MsgBox Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 732

Page 733: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 733

Page 734: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 734

Page 735: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 735

Page 736: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

82)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 736

Page 737: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Which of the following can happen when you nest too many If statements?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 737

Page 738: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

82)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 738

Page 739: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 739

Page 740: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

You can nest as many levels of If statements as you need with no effect. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 740

Page 741: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

It can make code hard to model, write, and manage. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 741

Page 742: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

It can cause a breakdown in code. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 742

Page 743: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

It can cause a syntax error. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 743

Page 744: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 744

Page 745: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 745

Page 746: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 746

Page 747: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

83)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 747

Page 748: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A case is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 748

Page 749: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

83)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 749

Page 750: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 750

Page 751: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a complex statement.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 751

Page 752: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 752

Page 753: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a nested If statement. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 753

Page 754: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a single variable.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 754

Page 755: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 755

Page 756: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an individual condition to test. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 756

Page 757: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 757

Page 758: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 758

Page 759: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 759

Page 760: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

84)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 760

Page 761: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The case block begins with the Select Case statement and ends with:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 761

Page 762: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

84)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 762

Page 763: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 763

Page 764: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

End Select.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 764

Page 765: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 765

Page 766: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Next.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 766

Page 767: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 767

Page 768: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

End If.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 768

Page 769: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 769

Page 770: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Else. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 770

Page 771: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 771

Page 772: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 772

Page 773: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 773

Page 774: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

85)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 774

Page 775: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When the structure tests a range of values, the word Case is followed by:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 775

Page 776: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

85)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 776

Page 777: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 777

Page 778: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the range of values.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 778

Page 779: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 779

Page 780: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a MsgBox. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 780

Page 781: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the End If statement.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 781

Page 782: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 782

Page 783: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the Case Is statement. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 783

Page 784: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 784

Page 785: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Decision Structures AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 785

Page 786: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 786

Page 787: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

86)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 787

Page 788: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The process of checking data entered by a user to ensure it meets certain conditions is called:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 788

Page 789: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

86)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 789

Page 790: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 790

Page 791: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

data validation.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 791

Page 792: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 792

Page 793: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Or operator. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 793

Page 794: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

logical test.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 794

Page 795: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 795

Page 796: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

loop. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 796

Page 797: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 797

Page 798: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 798

Page 799: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 799

Page 800: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

87)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 800

Page 801: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A common data validation task is to:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 801

Page 802: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

87)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 802

Page 803: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 803

Page 804: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

convert data into a text box. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 804

Page 805: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

make sure formatting is consistent with data type. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 805

Page 806: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

make sure users input required data. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 806

Page 807: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

convert text into numeric data. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 807

Page 808: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 808

Page 809: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 809

Page 810: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 810

Page 811: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

88)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 811

Page 812: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The required argument for an IsNumeric function can be:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 812

Page 813: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

88)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 813

Page 814: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 814

Page 815: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a variable, property of a control, or a logical operator. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 815

Page 816: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

perform a function. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 816

Page 817: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

check accuracy of the data entered. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 817

Page 818: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a variable, property of a control, or a text string. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 818

Page 819: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 819

Page 820: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Perform Data Validation AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 820

Page 821: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 821

Page 822: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

89)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 822

Page 823: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A logical operator is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 823

Page 824: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

89)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 824

Page 825: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 825

Page 826: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a string variable. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 826

Page 827: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a text comparison. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 827

Page 828: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an operator that uses Boolean logic to test conditions. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 828

Page 829: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an error message. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 829

Page 830: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 830

Page 831: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Logical Operators AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 831

Page 832: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 832

Page 833: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

90)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 833

Page 834: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The And operator requires:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 834

Page 835: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

90)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 835

Page 836: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 836

Page 837: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

that one condition is true and the other is false. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 837

Page 838: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

that two or more conditions be met to evaluate to true. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 838

Page 839: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

that only one condition be met to evaluate to true. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 839

Page 840: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

that text comparisons are case sensitive. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 840

Page 841: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 841

Page 842: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Logical Operators AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 842

Page 843: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 843

Page 844: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

91)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 844

Page 845: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Because text comparisons are case sensitive, if the text string specified in the logical test is Smith, the correct data would be:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 845

Page 846: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

91)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 846

Page 847: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 847

Page 848: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

smIth.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 848

Page 849: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 849

Page 850: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

SMITH.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 850

Page 851: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 851

Page 852: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Smith.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 852

Page 853: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 853

Page 854: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

smith. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 854

Page 855: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 1 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 855

Page 856: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use Logical Operators AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 856

Page 857: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 857

Page 858: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision Structures

92)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 858

Page 859: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When an application requires a program to analyze conditions, programmers use which of the following?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 859

Page 860: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

92)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 860

Page 861: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 861

Page 862: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition structures

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 862

Page 863: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 863

Page 864: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Decision structures C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 864

Page 865: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Step values

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 865

Page 866: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 866

Page 867: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Loops Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 867

Page 868: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 868

Page 869: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 869

Page 870: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 870

Page 871: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

93)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 871

Page 872: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A repetition structure is one that

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 872

Page 873: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

93)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 873

Page 874: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 874

Page 875: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

repeats the execution of a series of program statements. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 875

Page 876: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

counts during each loop. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 876

Page 877: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

counts the number of times a loop repeats. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 877

Page 878: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

performs a logical test first. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 878

Page 879: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 879

Page 880: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 880

Page 881: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 881

Page 882: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

94)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 882

Page 883: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The For...Next statement is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 883

Page 884: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

94)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 884

Page 885: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 885

Page 886: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the number by which the counter is increased during each loop. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 886

Page 887: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the number by which the counter is decreased during each loop. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 887

Page 888: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

one execution of a loop statement. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 888

Page 889: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a repetition structure that repeats statements for a specific number of times. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 889

Page 890: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 890

Page 891: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 891

Page 892: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 892

Page 893: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

95)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 893

Page 894: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The step value is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 894

Page 895: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

95)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 895

Page 896: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 896

Page 897: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

one execution of the loop statement. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 897

Page 898: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the total count of the loops. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 898

Page 899: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the amount by which the counter is incremented during each cycle of the loop. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 899

Page 900: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the set of statements that repeat. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 900

Page 901: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 901

Page 902: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 902

Page 903: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 903

Page 904: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

96)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 904

Page 905: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

One execution of the loop is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 905

Page 906: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

96)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 906

Page 907: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 907

Page 908: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

repetition structure.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 908

Page 909: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 909

Page 910: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

step variable. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 910

Page 911: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

counter variable.

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 911

Page 912: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 912

Page 913: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

iteration. Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 913

Page 914: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 914

Page 915: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the For...Next Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 915

Page 916: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 916

Page 917: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

97)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 917

Page 918: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

The Do...Loop statement is:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 918

Page 919: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

97)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 919

Page 920: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 920

Page 921: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the code within the loop. B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 921

Page 922: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

the logical test executed within the loop. C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 922

Page 923: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

an infinite loop. D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 923

Page 924: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

a repetition structure that repeats designated statements as long as a condition is true or until a condition is satisfied.

Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 924

Page 925: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

D Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 925

Page 926: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 926

Page 927: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 927

Page 928: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

98)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 928

Page 929: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

At which point does the pretest perform the logical test?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 929

Page 930: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

98)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 930

Page 931: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 931

Page 932: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Within the loop one time and then performs the logical test to determine if the loop iterates again B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 932

Page 933: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

During the condition C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 933

Page 934: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

First and then executes the code within the loop if the test is true D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 934

Page 935: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

At the end of the condition Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 935

Page 936: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

C Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 936

Page 937: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 937

Page 938: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 938

Page 939: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

99)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 939

Page 940: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When do you use a Do...Loop statement?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 940

Page 941: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

99)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 941

Page 942: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

______ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 942

Page 943: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

To repeat a loop until the specified condition remains true or a condition is true B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 943

Page 944: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When you know how many iterations the loop will require C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 944

Page 945: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When a logical operator requires only one condition be met to evaluate to true D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 945

Page 946: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When the condition uses Boolean logic to test the condition Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 946

Page 947: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

A Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 947

Page 948: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 948

Page 949: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 949

Page 950: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

100)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 950

Page 951: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

When do you use a Do...Loop while procedure?

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 951

Page 952: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

100)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 952

Page 953: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

_____ A)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 953

Page 954: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

To test first and execute code when the statement is true B)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 954

Page 955: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

As long as the statement is true C)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 955

Page 956: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

As long as the statement is false D)

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 956

Page 957: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

To repeat the loop while the specified condition is false Answer:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 957

Page 958: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

B Diff: 2 Objective:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 958

Page 959: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Use the Do...Loop Statement AppChap:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 959

Page 960: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

VBA 1 Ref:

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 960

Page 961: cs.furman.educs.furman.edu/~pbatchelor/VBA2/0132140527_tb/exp201…  · Web viewVisual Basic for Applications can be ... Write the word or phrase that best ... which of the following

Repetition Structures

Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. 961