Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Question 1)   You cannot associate a procedure with more than one object or event

Question 1)   You cannot associate a procedure with more than one object or event

Computer Science

Question 1)

 

You cannot associate a procedure with more than one object or event.

     
       

Question 2

 

   
 

The ____ method displays a message box that contains text, one or more buttons, and an icon.

     
       

Question 3

 

   
 

The Label tool is an appropriate control to use when you do not want the user to modify data.

     
       

Question 4

 

   
 

You should never use a dark color background or a light color font.

     
       

Question 5

 

   
 

Before using a string in a comparison, you can use either the ToUpper method or the ToLower method to convert the string to uppercase or lowercase, respectively, and then use the converted string in the comparison.

     
       

Question 6

 

   
 

A memory variable that is a Double data type requires ____ bytes of storage.

     
       

Question 7

 

   
 

A default button is identified by setting the form’s ____ property.

     
       

Question 8

 

   
 

The Not operator would make a True statement False, but would not make a False statement True.

     
       

Question 9

 

   
 

The character used to create an access key by inserting it into a text property is ____.

     
       

Question 10

 

   
 

If Option Strict is set to On, which of the following statements will assign the contents of the txtLateFee control to a Decimal variable named decLateFee?

     
       

Question 11

 

   
 

The value returned by the InputBox function depends on the button the user chooses.

     
       

Question 12

 

   
 

If the intInventory variable contains the value 28, the condition
If intInventory <= 25 Then will evaluate to ____.

     
       

Question 13

 

   
 

The first step in the planning phase of a programming solution is to sketch the user interface.

     
       

Question 14

 

   
 

When a timer control is added to a form, it appears ____.

     
       

Question 15

 

   
 

A Boolean variable is initialized to the value True if no initial value is stated when the variable is declared.

     
       

Question 16

 

   
 

To test an application, you should use both valid and invalid test data.

     
       

Question 17

 

   
 

?All objects in an object-oriented program are instantiated (created) from a ____.

     
       

Question 18

 

   
 

When an object is instantiated (created), each property must be assigned a value by the programmer.

     
       

Question 19

 

   
 

In Windows applications, pressing the ____ and Tab keys simultaneously will move the focus backward.

     
       

Question 20

 

   
 

A class definition is a block of code that specifies or defines an object’s appearance and behavior.

     
       

Question 21

 

   
 

Spaces are allowed in variable names.

     
       

Question 22

 

   
 

In the mathematical expression 4 * 3 + 15 / 3 - 6, which operation is performed first?

     
       

Question 23

 

   
 

Which of the following statements formats the contents of the dblPay variable with a dollar sign and no decimal places?

     
       

Question 24

 

   
 

Which of the following is an example of an appropriate name for a control?

     
       

Question 25

 

   
 

Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

     
       

Question 26

 

   
 

To prevent a text box from accepting inappropriate characters, you first use the e parameter’s ____ property to determine the key that the user pressed.

     
       

Question 27

 

   
 

In most cases, an identifying label should be from one to three words only and appear on one line.

     
       

Question 28

 

   
 

The Windows standard is to use sentence capitalization for identifying labels.

     
       

Question 29

 

   
 

When you want the application to end when the user clicks the Exit button, you write the following code: ____.

     
       

Question 30

 

   
 

A programmer must phrase the condition of a selection structure so that it results in either a true or a false answer only.

     
       

Question 31

 

   
 

Calculations involving Decimal variables are not subject to the small rounding errors that may occur when using Double or Single variables.

     
       

Question 32

 

   
 

The ControlChars.NewLine constant instructs the computer to ____.

     
       

Question 33

 

   
 

A variable name must begin with a letter or a(n) ____.

     
       

Question 34

 

   
 

A ____ is the general shape of the characters in the text.

     
       

Question 35

 

   
 

?

In Windows applications, a ____ control is commonly used to perform an immediate action when clicked.

?

     
       

Question 36

 

   
 

The Toolbox window ____.

     
       

Question 37

 

   
 

To verify that a solution has been closed, you can look in the ____.

     
       

Question 38

 

   
 

A control’s ____ event occurs when a change is made to the contents of a control’s Text property.

     
       

Question 39

 

   
 

A(n) ____ is a predefined procedure that performs a specific task and then returns a value.

     
       

Question 40

 

   
 

The ____ function can be used to improve the appearance of the numbers displayed on a screen.

     
       

Question 41

 

   
 

The line continuation character is a(n) ____.

     
       

Question 42

 

   
 

Comparison operators are also referred to as ____ operators.

     
       

Question 43

 

   
 

A source file contains a list of projects in a solution.

     
       

Question 44

 

   
 

To employ an access key, press and hold down the ____ key as you tap the access key.

     
       

Question 45

 

   
 

A variable that was not assigned a specific data type is assigned the ____ data type.

     
       

Question 46

 

   
 

The Backspace key is represented by the ____ constant.

     
       

Question 47

 

   
 

The first step in planning an OO application is to ____.

     
       

Question 48

 

   
 

A variable declared in the Declaration section of a form is called a procedure-level variable.

     
       

Question 49

 

   
 

A label control used to display output should use which of the following BorderStyle settings?

     
       

Question 50

 

   
 

A control’s ____ event occurs each time the user presses a key while the control has the focus.

     
       

Question 51

 

   
 

The ____ values determine the order in which each control receives the focus.

     
       

Question 52

 

   
 

Data types and classes are not related to each other.

     
       

Question 53

 

   
 

In the mathematical expression 12 / 6 / 2, the answer is ____.

     
       

Question 54

 

   
 

The Properties window lists the names of the files included in the application you are creating.

     
       

Question 55

 

   
 

Logical operators are sometimes referred to as ____ operators.

     
       

Question 56

 

   
 

The Solution Explorer window ____.

     
       

Question 57

 

   
 

The symbol used in code for assignment is the ____ symbol.

     
       

Question 58

 

   
 

You can eliminate the problems that occur as a result of implicit type conversions by entering the Option Explicit On statement in the General Declarations section of the Code Editor window.

     
       

Question 59

 

   
 

If dblMiles >= 500 Then
     dblMiles = dblMiles * 0.45
Else
     dblMiles = dblMiles * 0.25
End If

The dblMiles variable contains the number 575 before the code above is processed. What value will be in the variable after the code is processed?

     
       

Question 60

 

   
 

You can include an identifying label on a group box by setting the group box’s Identity property.

     
       

Question 61

 

   
 

A label control's ____ property determines whether the control automatically sizes to fit its current contents.

     
       

Question 62

 

   
 

If a solution is already open in the IDE, you are given the option to close the current solution before another solution is opened.

     
       

Question 63

 

   
 

A control’s border is determined by its BorderStyle property.

     
       

Question 64

 

   
 

The location of a control on the screen can be modified by changing the X and Y properties measured in pixels. The Y value is measured from the ____ border.

     
       

Question 65

 

   
 

A text box’s ____ event occurs when the text box receives the focus.

     
       

Question 66

 

   
 

The expression 12 > 0 AndAlso 12 < 10 * 2 evaluates to True.

     
       

Question 67

 

   
 

Date variables are automatically set to which value when created?

     
       

Question 68

 

   
 

The ____ function temporarily converts a string to a number, and then returns the number.

     
       

Question 69

 

   
 

The ____ clause in an event procedure’s header indicates the object and event associated with the procedure.

     
       

Question 70

 

   
 

You declare a class-level variable using the ____ keyword.

     
       

Question 71

 

   
 

The Project Designer window allows you to specify which form will display when the application starts.

     
       

Question 72

 

   
 

The title bar on a form cannot be removed from splash screen applications.

     
       

Question 73

 

   
 

The ____ of a variable determines where in the application’s code a variable can be used.

     
       

Question 74

 

   
 

An access key allows the user to select an object using the ____ key in combination with a letter or number.

     
       

Question 75

 

   
 

The set of Visual Basic instructions that tells an object how to behave after an action by the user (such as clicking a button) is referred to as a(n) ____.

     
       

Question 76

 

   
 

The expression 2 * 3 + 1 > 1 * 2 + 3 Or 7 + 2 < 4 + 1 evaluates to False.

     
       

Question 77

 

   
 

You use the ____ operator to concatenate strings together.

     
       

Question 78

 

   
 

Object and String variables are automatically initialized using ____.

     
       

Question 79

 

   
 

The ____ operator expresses “not equal to.”

     
       

Question 80

 

   
 

A(n) ____ is a container that stores the projects and files for an entire application.

     
       

Question 81

 

   
 

Labels that identify other controls (such as text boxes) should be right-aligned according to Windows standards.

     
       

Question 82

 

   
 

You can hide a control on a form while an application is running by changing the Visible property from False to True.

     
       

Question 83

 

   
 

Every numeric data type in Visual Basic has a ____ method that can be used to convert a string to that numeric data type.

     
       

Question 84

 

   
 

When coding a selection instruction in Visual Basic, the code that follows the Else statement includes those instructions that will be executed when the condition is true.

     
       

Question 85

 

   
 

A Visual Basic 2015 solution file will have a(n) ____ file extension.

     
       

Question 86

 

   
 

A user ____ is what the user sees and interacts with while an application is running.

     
       

Question 87

 

   
 

You enter the procedure’s code in the ____ window.

     
       

Question 88

 

   
 

The Windows ____ window allows you to create the graphical user interface for your application.

     
       

Question 89

 

   
 

A label control’s ____ property determines the value that appears inside the control.

     
       

Question 90

 

   
 

When using the Visual Basic 2015 InputBox function, which of the following is the Windows standard?

     
       

Question 91

 

   
 

Which of the following statements declares a Double variable named dblAverage?

     
       

Question 92

 

   
 

The position of the form on the screen when an application first starts is controlled by setting the ____ property.

     
       

Question 93

 

   
 

Which of the following symbols is used to place documentation in a program and causes the computer to ignore the remaining content on the line?

     
 

'

     

Question 94

 

   
 

A ____ provides an area in the form for the user to enter data.

     
       

Question 95

 

   
 

Which of the following conditions will evaluate to True when the intPackages variable contains the value 100?

     
       

Question 96

 

   
 

In the MessageBox.Show(text, caption, buttons, icon[, defaultButton]) method, which of the following arguments controls the words appearing on the message box title bar?

     
       

Question 97

 

   
 

Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3. Which operation is performed first?

     
       

Question 98

 

   
 

If the intQuantity and decPrice variables contain the numbers 3 and 15.75, respectively, the condition If intQuantity > 0 AndAlso intQuantity < 10 OrElse decPrice > 20 will evaluate to ____.

     
       

Question 99

 

   
 

The ____ property of a control is used to specify the position of the text within the control.

     
       

Question 100

 

   
 

Comparison operators are always evaluated after arithmetic operators in a conditional expression.

     
       

Question 101

 

   
 

Each object has a set of attributes, called ____, that determine the object’s appearance and behavior.

     
       

Question 102

 

   
 

You can use a(n) ____ to visually separate related controls from other controls on the form.

     
       

Question 103

 

   
 

Which of the following has the most limited scope?

     
       

Question 104

 

   
 

The And operator always checks both conditions, while the AndAlso operator does not always evaluate the second condition.

     
       

Question 105

 

   
 

Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3. Which operation is performed second?

     
       

Question 106

 

   
 

Specifying the number of decimal places and the special characters to display in a number is called ____.

     
       

Question 107

 

   
 

All numeric variables are automatically initialized to 0 if no initial value is specified when the variable is declared.

     
       

Question 108

 

   
 

The strFirstName and strLastName variables contain the strings “Jane” and “Jones”, respectively. Which of the following statements will display a string as “Jones, Jane” (the last name, a comma, a space, and the first name) in the lblFullName control?

     
       

Question 109

 

   
 

You create a named constant using the ____ statement.

     
       

Question 110

 

   
 

The file within a Visual Basic application that can be run outside of the IDE has a(n) ____ file extension.

     
       

Question 111

 

   
 

Most invalid data is a result of typing errors that occur when entering instructions.

     
       

Question 112

 

   
 

A form’s CancelButton property specifies the button whose Click event procedure is processed when the user presses the ____ key.

     
       

Question 113

 

   
 

An instruction that is syntactically correct will also be logically correct.

     
       

Question 114

 

   
 

When an application is started, Visual Basic 2015 will automatically create a file that has the project name and a(n) ____ file extension.

     
       

Question 115

 

   
 

When you click the Auto Hide button on a window, the window is minimized and appears as a tab on the edge of the IDE.

     
       

Question 116

 

   
 

Actions performed by the user such as clicking, double-clicking, and scrolling are known as events.

     
       

Question 117

 

   
 

When a button is selected, the computer processes the code contained in the button’s ____ event procedure.

     
       

Question 118

 

   
 

If the user enters $20 in the txtPrice control and 4 in the txtQuantity control, the Val(txtPrice.Text) * Val(txtQuantity.Text) expression will evaluate to ____.

     
       

Question 119

 

   
 

The diamond symbol is used in a flowchart for a calculation task.

     
       

Question 120

 

   
 

A named constant’s value cannot be changed while the application is running.

     
       

 

Option 1

Low Cost Option
Download this past answer in few clicks

8.83 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE