ISAM 3304

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

if the following code executes, which value is assigned to strA? Dim dblTest as Double = 0.25 Dim strA As String = dblTest.ToString("p")

"25.00%"

Which character is the string concatenation operator

&

if a variable named dblTest contains the value 1.23456, then which of the following values will be returned by the expression dblTest.ToString("N3")

1.235

An access key is a key that you press in combination with the _______ key to access a control such as a button quickly

ALT

which form property allows you to specify a button to be clicked when the user presses the ENTER key

AcceptButton

__________ is the image's width to height ratio.

Aspect Ratio

Label controls have a(n) _____________ property that determines whether or not they can be resized.

AutoSize

A(n) ___________ property can be set to one of two possible values: True or False.

Boolean

A(n) __________ is the thin dotted line that encloses an object in the Designer.

Bounding Box

The _________ format string, when passed to the ToString method, produces a number in Currency format

C or c

The _______ function converts an expression to an integer

CInt

which form property allows you to specify a button that is to be clicked when the user presses the ESC key

CancelButton

To close an application's form in code, you use the statement _______.

Close() Me.Close()

___________ are short notes placed in program code, explaining how the code works.

Comments

You declare a named constant with which keyword

Const

The standard notation for referring to a control's property in code is __________________.

ControlName.PropertyName

The time during which you build the GUI and write the application's code is referred to as _________.

Design Time

A(n) ______________ is a procedure that executes when a specific even takes place while an application is running.

Event Handler

A control is hidden in the Designer window if its Visible property is set to False T of F

F

A control whose Visible property is set to False still receives the focus T of F

F

A local variable may be accessed by any other procedure in the same Form file T of F

F

A named constant's value can be changed by the programming statement while the program is running T of F

F

A variable's scope is the time during which the variable exists in memory T of F

F

Buttons are the only controls that can respond to Click events T of F

F

By default, a label's text is aligned with the bottom and right edges of the label's bounding box T of F

F

Changing an object's Text property also changes the object's name T of F

F

The CDbl function converts a number to a string T of F

F

The Visible property is a Binary property, which means it can be set only to the value 1 or 0 T of F

F

The assignment operator assigns the value that appears on its left side to the item that appears on its right side T of F

F

The string concatenation operator automatically inserts a space between the joined strings T of F

F

To close an application's form in code, you use the statement Close.Me() T of F

F

When a Label control's AutoSize property is set to True, you can manually change the size of the control by clicking and dragging its bounding box T of F

F

When a string variable is created in memory, Visual Basic assigns it the initial value 0 T of F

F

When you lock the controls on a form, the user must enter a password before the application will run T of F

F

While single-stepping through an application's code in debugging mode, the highlighted execution point is the line of code that has already executed T of F

F

You cannot modify a control's Text property with code T of F

F

to group controls in a group box, add the controls to a form first, then draw the group box around them T of F

F

you can cause a control to be skipped in the tab order by setting its TabPosition property to False

F

in code, you move the focus to a control with which method

Focus

The ___________ property allows you to set the font, font style, and size of the control's text.

Font

___________ is the name of the blank form that Visual Studio initially creates in a new project?

Form1

A(n) _________ is a container for other controls that appears as a rectangular border with an optional title

GroupBox

Once you have created a PictureBox control, you use its _________ property to specify the image it will display.

Image

___________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.

IntelliSense

When you want to display text on a form, you use a ________ control.

Label

A piece of data that is written into a program's code is a(n) ______________.

Literal

a form's ________ procedure executes each time a form loads into memory

Load Event

The statement MessageBox.Show is an example of a(n) ___________

Method Call

When Option Strict is set to _____, only widening conversions are permitted

On

You can use a ____________ control to display a graphic image on a form.

PictureBox

the time during which an application is executing is referred to as ______.

Runtime

which of the following is the part of a program in which a variable is visible and may be accessed by a programming statement

Scope

The PictureBox control's ____________ property specifies how the control's image is to be displayed.

SizeMode

The small squares that appear on the right edge, bottom edge, and lower-right corner of a form's bounding box are called ________?

Sizing Handles

____________ means that one string is appended to another

String Concatenation

A Label control's Text property is initially set to the same value as the Label control's name T of F

T

A runtime error will occur if you assign a negative value to the TabIndex property in code T of F

T

A variable declared inside a procedure is only visible to statements inside the same procedure T of F

T

Comments are ignored by the Visual Basic compiler T of F

T

GroupBox and Label controls have a TabIndex property, but they are skipped in the tab order T of F

T

In the Code window, Visual Studio examines each statement as you type it, and reports any syntax errors that are found T of F

T

Label controls are useful for displaying output while an application is running T of F

T

Only controls capable of receiving input, such as TextBox and Button controls, may have the focus T of F

T

PictureBox controls also have a BorderStyle property that works just like a Label control's BorderStyle property T of F

T

The TextBox control's Text property holds the text entered by the user into the TextBox control at runtime T of F

T

The form's title is displayed in the bar along the top of the form T of F

T

The multiplication operator has higher precedence that the addition operator T of F

T

When a form is created, its Text property is initially set to the same value as the form's name T of F

T

When you assign an access key to a button, the user can trigger a Click even by typing ALT + the access key character T of F

T

You can access a TextBox control's Text property in code T of F

T

You can delete a locked control T of F

T

if the CInt function cannot convert its argument, it causes a runtime error T of F

T

the statement lblMessageBox.BackColor = Color.Green will set lblMessage control's background color to green T of F

T

you can change the same property for multiple controls simultaneously T of F

T

you can select multiple controls simultaneously with the mouse T of F

T

the order in which controls receive the focus is called the ________

Tab order

you can modify the tab order by changing a control's ________ property

TabIndex

if you do not want a control to receive the focus when the user presses the Tab key, set its _______ property to False

TabStop

The _________ property holds the text that is displayed on the face of the button

Text

When the user types input into a TextBox control, in which property is it stored?

Text

You define a button's access key through its ______ property

Text

The ________ property can be used to change the text's alignment in the label

TextAlign

The __________ control allows you to capture input the user has typed on the keyboard

TextBox

A(n) __________ is a storage location in the computer's memory, used for holding information while the program is running

Variable

A(n) ___________ is a statement that causes Visual Basic to create a variable in memory

Variable declaration

Most controls have a ___________ property that determines whether the control can be seen on the form at run time.

Visible

A(n) ________ is information that is passed to a function when the function is called

argument

The equal sign (=) is known as the ______________.

assignment operator

In code, you use a(n) ____________ to store a value in a control's property.

assignment statement

A(n) ________ is a line of code that causes a running application to pause execution and enter break mode

break point

a named ______ is like a variable whose content is read-only; it cannot be changed while the program is running

constant

A variable's _____________ determines whether a variable can hold a string, an integer, a date, or some other kind of data

data type

the control that has the ____ is the one that receives the user's keyboard input or mouse clicks

focus

A(n) _________ is a specialized routine that performs a specific operation and then returns a value

function

a(n) ____________ variable is declared inside a procedure

local

A(n) ________ is a container for other controls that displays no title and has a customizable border

panel

When two operators share an operand, the operator with the highest _______ executes first

precedence

In programming we use the term "string" to mean ___________.

string of characters

__________ is a commonly used prefix for TextBox control names

txt

Programmers commonly use blank lines and indentations in their code to create a sense of __________.

visual organization


संबंधित स्टडी सेट्स

CH 3 Community-Based Nursing Practice: Public Health Nursing

View Set

ATI Skills Module~Urinary Elimination

View Set

Live Virtual Machine Lab 2.3: Module 02 Organizational Networking Diagrams and Agreements

View Set