

![]()


Visual Basic .NET Programming introduces students to the principles and practices of developing Windows applications using the Visual Basic .NET language within the Microsoft .NET framework. The course covers essential programming concepts including variables, decision structures, loops, procedures, and error handling. Students will gain hands-on experience in designing graphical user interfaces, working with event-driven programming, accessing data sources, and deploying applications. Emphasis is placed on problem-solving techniques, object-oriented programming features, and the integration of external libraries, equipping students with the skills required to develop robust business or personal software solutions in the Visual Basic .NET environment.
Recommended Textbook
Programming with Microsoft Visual Basic 2012 6th Edition by Diane Zak
Available Study Resources on Quizplus
14 Chapters
802 Verified Questions
802 Flashcards
Source URL: https://quizplus.com/study-set/3279 Page 2

Available Study Resources on Quizplus for this Chatper
59 Verified Questions
59 Flashcards
Source URL: https://quizplus.com/quiz/65089
Sample Questions
Q1) To start an application using the menu bar,you click ____ and then click Start Debugging.
A) DEBUG
B) PROJECT
C) VIEW
D) BUILD
Answer: A
Q2) A ____ is the general shape of the characters in the text.
A) property
B) splash
C) format
D) font
Answer: D
Q3) Describe the use of the Format menu and controls on the form.
Answer: The Format menu provides options for manipulating the controls on the form.It provides alignment and sizing options that can be used on more than one control at the same time.You must select the controls that need to be aligned or sized before using the Format menu.The first control that is selected is the control that the remaining controls will be aligned or sized to match.
To view all questions and flashcards with answers, click on the resource link above.
Page 3

Available Study Resources on Quizplus for this Chatper
57 Verified Questions
57 Flashcards
Source URL: https://quizplus.com/quiz/65090
Sample Questions
Q1) Which of the following statements would calculate and display the total fee?
A) TotalFee.Text = Val(txtNumberSessions)* Val(txtRate)
B) TotalFee.Text = NumberSessions.Text * Rate.Text
C) lblTotalFee.Text = Val(txtNumberSessions.Text)* Val(txtRate.Text)
D) TotalFee = NumberSessions * Rate
Answer: C
Q2) An instruction that is syntactically correct will also be logically correct.
A)True
B)False
Answer: False
Q3) The Windows standard is to use sentence capitalization for identifying labels.
A)True
B)False
Answer: True
Q4) Write a statement that adds the contents of the txtNum1 control to the contents of the txtNum2 control,and then multiplies the result by 5.The result is displayed in the lblResult control.
Answer: lblResult.Text = (Val(txtNum1.Text)+ Val(txtNum2.Text))* 5
To view all questions and flashcards with answers, click on the resource link above.
Page 4

Available Study Resources on Quizplus for this Chatper
58 Verified Questions
58 Flashcards
Source URL: https://quizplus.com/quiz/65091
Sample Questions
Q1) Spaces are allowed in variable names.
A)True
B)False Answer: False
Q2) The ____ of a variable determines where in the application's code a variable can be used.
A) dimension
B) type
C) scope
D) extent Answer: C
Q3) The decRate variable contains the number .03.Write the assignment statement to display the value as 3% in the lblRate control.
Answer: 11ea7cc1_5d3e_082f_928c_477a447740ba_TB6958_00
Q4) All numeric variables are automatically initialized to 0 if no initial value is specified when the variable is declared.
A)True
B)False Answer: True
To view all questions and flashcards with answers, click on the resource link above. Page 5

Available Study Resources on Quizplus for this Chatper
57 Verified Questions
57 Flashcards
Source URL: https://quizplus.com/quiz/65092
Sample Questions
Q1) An application needs to calculate a discount for customers who are either preferred customers or senior citizens.Preferred customers have a discount code of "P".Senior citizens have a discount code of "S".The discount code is stored in the strCode variable.Write an If clause to calculate a discount for all preferred members and senior citizens using the strCode variable.
Q2) Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3.Which operation is performed second?
A) ^
B) / C) * D) +
Q3) Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3.Which operation is performed first?
A) ^
B) / C) *
D) +
Q4) Write an If statement that allows only numbers and a decimal place to be accepted.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
56 Verified Questions
56 Flashcards
Source URL: https://quizplus.com/quiz/65093
Sample Questions
Q1) In a nested selection structure,the ____ decision is always made by the outer selection structure.
A) primary
B) secondary
C) binary
D) linear
Q2) In a Case selection structure,you use the ____ keyword when you know only one end of the range.
A) From
B) Is
C) To
D) Range
Q3) The Select Case statement ends with the ____ clause.
A) End
B) End Case
C) End Select
D) Select End
Q4) The minimum number of radio buttons in a group is one.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 7

Available Study Resources on Quizplus for this Chatper
59 Verified Questions
59 Flashcards
Source URL: https://quizplus.com/quiz/65094
Sample Questions
Q1) Write the assignment statements needed to increment the intCount counter by 1 and update the decBalance variable by the value stored in the decOrderAmount variable.
Q2) A ____ structure is also referred to as a loop.
A) selection
B) sequence
C) repetition
D) recursion
Q3) Your supervisor wants you to change the Do...Loop in the previous problem to a For...Next loop.He also wants the message to display only three times.Which of the following For clauses should you use?
A) For intCounter As Integer = 1 To 4
B) For intCounter As Integer = 1 To 3
C) For intCounter As Integer = 0 To 3
D) For intCounter = 1 To 3
Q4) You should use a ____ control to provide keyboard access to a list box.
A) radio button
B) text
C) check box
D) label
To view all questions and flashcards with answers, click on the resource link above. Page 8

Available Study Resources on Quizplus for this Chatper
56 Verified Questions
56 Flashcards
Source URL: https://quizplus.com/quiz/65095
Sample Questions
Q1) Explain the difference between passing data by value and passing data by reference.
Q2) The names of the arguments in a Call statement need to be identical to the names of the corresponding parameters.
A)True
B)False
Q3) What is the difference between a Sub procedure and a Function procedure?
Q4) An independent Sub procedure can contain one or more ____ in its procedure header that have procedure scope and store an item of data.
A) events
B) variables
C) constraints
D) parameters
Q5) The default combo box style in Visual Basic is ____.
A) Text
B) Simple
C) DropDown
D) DropDownList
To view all questions and flashcards with answers, click on the resource link above. Page 9

Available Study Resources on Quizplus for this Chatper
57 Verified Questions
57 Flashcards
Source URL: https://quizplus.com/quiz/65096
Sample Questions
Q1) How many characters will be removed from the string below? Dim myString as string = "ABCDEFGH"
MyString = myString.Remove(2,3)
A) one
B) two
C) three
D) four
Q2) What is the difference between a menu item's access key and shortcut key?
Q3) The ____ operator evaluates to True when the string matches the pattern;otherwise,it evaluates to False.
A) Like
B) Menu
C) Add
D) Insert
Q4) Each menu element is considered a(n)____ and has a set of properties associated with it.
A) class
B) character
C) object
D) string
To view all questions and flashcards with answers, click on the resource link above. Page 10

Available Study Resources on Quizplus for this Chatper
57 Verified Questions
57 Flashcards
Source URL: https://quizplus.com/quiz/65097
Sample Questions
Q1) If a one-dimensional array contains five elements,its highest subscript is ____.
A) 4
B) 5
C) 6
D) 7
Q2) You have decided the Daily "Chef's Specials" need to be stored in a two-dimensional array rather than two parallel one-dimensional arrays.Which of the following statements will declare the array as a procedure-level array named strDailySpecial? The number of rows is based on the number of days in the week,and Sunday remains the first element for the days of the week.
A) Dim strDailySpecial(6,1)As String
B) Dim strDailySpecial(7,2)As String
C) Dim strDailySpecial(1,6)As String
D) Dim strDailySpecial(2,7)As String
Q3) Explain the difference between a simple variable and an array.
Q4) Using an invalid subscript will result in a ____.
A) run time error
B) breakpoint
C) logic error
D) design-time error
To view all questions and flashcards with answers, click on the resource link above. Page 11

Available Study Resources on Quizplus for this Chatper
58 Verified Questions
58 Flashcards
Source URL: https://quizplus.com/quiz/65098
Sample Questions
Q1) You should use the ____ method to close a sequential access file as soon as you are finished using it.
A) Exit
B) Close
C) End
D) Quit
Q2) Write a Structure statement that defines a structure named Order.The structure contains four member variables named strItemNum,strItemDesc,decPrice,and intQuantity.Then write the Dim statement that declares an Order variable named furniture.
Q3) The ____ method writes a newline character after the data.
A) WriteLine
B) ReadLine
C) Write method
D) Read
Q4) What is the difference between a structure and a structure variable?
Q5) Describe two advantages to programmers of using structures and structure variables.
Q6) What is the difference between an input file and an output file?
Page 12
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
58 Verified Questions
58 Flashcards
Source URL: https://quizplus.com/quiz/65099
Sample Questions
Q1) When naming the Private variables in a class,many programmers use the ____ as the first character and then use camel case for the remainder of the name.
A) dash
B) admiration sign
C) asterisk
D) underscore
Q2) Explain the difference between Public and Private variables for a class.
Q3) Rather than reuse the Shoe class,you have decided to derive the Boot class from the Shoe class.Which of the following creates the derived Boot class?
A) Private Class Shoe Inherits Boot
B) Private Class Boot Inherits Shoe
C) Public Class Shoe Inherits Boot
D) Public Class Boot Inherits Shoe
Q4) In the following instruction,Room is a(n)____. Dim bedroom As New Room
A) object
B) variable
C) class
D) property
Q5) What is an auto-implemented property and what does it automatically create?
To view all questions and flashcards with answers, click on the resource link above. Page 13
Available Study Resources on Quizplus for this Chatper
55 Verified Questions
55 Flashcards
Source URL: https://quizplus.com/quiz/65100
Sample Questions
Q1) A link button control uses the ____ property to allow you to specify the name of the page that will open when a link is clicked.
A) LinkButton
B) PostBackUrl
C) Text
D) Name
Q2) You can use the ToShortDateString method to convert the date to the String data type.
A)True
B)False
Q3) The Table tool in the Standard section of the toolbox creates a(n)____.
A) HTML tag
B) ASP table control
C) XML tag
D) cell
Q4) The ____ tag can be used to break the text on a Web page in a specific location.
A) <br />
B) <div>
C) <h1>
D) <p>

Page 14
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
57 Verified Questions
57 Flashcards
Source URL: https://quizplus.com/quiz/65101
Sample Questions
Q1) A(n)____ is an electronic file that contains an organized collection of related information.
A) field
B) computer database
C) dataset
D) exception
Q2) The ____ object provides the connection between the DataSet and the bound controls on the form.
A) TableAdapter
B) DataGridView
C) BindingSource
D) BindingNavigator
Q3) You can use a(n)____ to specify both the records to select in a dataset and the order in which to arrange the records.
A) condition
B) parameter
C) query
D) aggregate operator
Q4) What are the advantages to storing data in a relational database?
Q5) Write a LINQ statement to select all records.
15
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
58 Verified Questions
58 Flashcards
Source URL: https://quizplus.com/quiz/65102
Sample Questions
Q1) Write a SQL SELECT statement that inserts the following record into the tblMembers table: MemberID - 25631
Name - Jane Doe
Date Joined - 2012 Fee - 65
Membership Type - Adult
Q2) For the changes made to a dataset to be permanent,you need to save the changes to the database associated with the dataset.
A)True
B)False
Q3) Write a SQL SELECT statement that allows the user to provide a specific MemberID.The query should select all fields.
Q4) Which of the following SELECT statements will select the ItemNum and ItemDesc fields from the tblItems table?
A) SELECT ItemNum OR ItemDesc FROM tblItems
B) SELECT ItemNum AND ItemDesc FROM tblItems
C) SELECT ItemNum,ItemDesc IN tblItems
D) SELECT ItemNum,ItemDesc FROM tblItems
To view all questions and flashcards with answers, click on the resource link above. Page 16