

Application Development in Visual Basic Exam Solutions
Course Introduction
This course offers students a thorough introduction to developing computer applications using Visual Basic, a widely used programming environment. It covers the fundamentals of the Visual Basic language, user interface design, event-driven programming, and problem-solving techniques. Students will learn to design, code, test, and debug Windows-based applications, leveraging built-in controls, objects, and database connectivity. Emphasis is placed on developing real-world applications, creating intuitive user experiences, and understanding best practices for application architecture and maintenance. By the end of the course, students will be equipped with the skills needed to efficiently create functional and user-friendly software solutions in Visual Basic.
Recommended Textbook
Starting Out With Visual Basic 2012 6th Edition by Tony Gaddis
Available Study Resources on Quizplus
12 Chapters
430 Verified Questions
430 Flashcards
Source URL: https://quizplus.com/study-set/3852

Page 2

Chapter 1: Introduction to Programming and Visual Basic
Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/76827
Sample Questions
Q1) When creating a Visual Basic desktop application, the last thing you will do is __.
A) correct runtime errors
B) create the forms
C) write code for even procedures
D) correct syntax errors
Answer: A
Q2) Control names may begin with a letter or a number.
A)True
B)False
Answer: False
Q3) Which of the following adheres to the naming conventions for a text box control?
A) lblHoursWorked
B) txthoursworked
C) LBLhoursworked
D) txtHoursWorked
Answer: D
To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Creating Applications With Visual Basic
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76826
Sample Questions
Q1) Which of the following statements are correct?
A) A Visual Studio project is a container that holds a solution.
B) A Visual Studio project may have multiple solutions.
C) A Visual Studio project must belong to a solution.
D) Both A and B are correct.
Answer: C
Q2) The _property can prevent the user from resizing your application's form at runtime.
A) WindowState
B) ShowInTaskBar
C) MinMaxSize
D) FormBorderStyle
Answer: D
Q3) A Visual Studio project may be saved in all of the following ways except ___.
A) Click FILE on the Visual Studio menu bar, and then click Save All
B) Press Ctrl+Shift+S on the keyboard
C) Click the Save Project button on the standard toolbar
D) Click the Save All button on the standard toolbar
Answer: C
To view all questions and flashcards with answers, click on the resource link above.
4

Chapter 3: Variables and Calculations
Available Study Resources on Quizplus for this Chatper
41 Verified Questions
41 Flashcards
Source URL: https://quizplus.com/quiz/76825
Sample Questions
Q1) It's possible to view the order in which all controls on a form will receive the focus by .
A) clicking TabOrder in the Properties window
B) pressing the Esc key
C) clicking VIEW on the menu bar and then Tab Order
D) all of the above
Answer: C
Q2) The control is used to gather input the user has typed at the keyboard.
A) Label
B) Button
C) TextBox
D) ListBox
Answer: C
Q3) When you assign a value of one data type to a variable of another data type, Visual Basic attempts to perform type conversion.
A) string
B) explicit
C) implicit
D) numeric
Answer: C
To view all questions and flashcards with answers, click on the resource link above.
Page 5

Chapter 4: Making Decisions
Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/76824
Sample Questions
Q1) If a form contains two radio buttons rad1 & rad2) and two check boxes chk1 & chk2) and all four of these controls reside in the same group box, which of the following expressions can never be true?
A) rad1.Checked=True and rad2.Checked=True
B) rad1.Checked=True and chk2.Checked=True
C) rad2.Checked=True and chk1.Checked=True
D) chk1.Checked=True and chk2.Checked=True
Q2) What value is assigned to the String variable strSecond when the following code is executes? Dim strFirst As String
Dim strSecond As String
StrFirst = "1 2 Button My Shoe"
StrSecond = strFirstName.ToUpper)
A) "1 2 bUTTON mY sHOE"
B) "1 2 BUTTON MY SHOE"
C) " BUTTON MY SHOE"
D) "12BUTTONMYSHOE"
Q3) The If Then Else statement follows only one of the two paths.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
Page 6

Chapter 5: Lists and Loops
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76823
Sample Questions
Q1) The InputBox function always returns a _value.
A) Single
B) Double
C) Text
D) String
Q2) The entries in a ListBox are stored in the _property.
A) Items.Count
B) Items
C) Entries
D) Text
Q3) How can you cause scroll bars to appear in a ListBox at runtime?
A) Set the ScrollFlag property of the ListBox to True.
B) A scroll bar is automatically added when a ListBox contains more items than can be displayed.
C) Set the ScrollBars property of the ListBox to True.
D) Add a programming statement to call the ScrollBar method of the ListBox.
To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Procedures and Functions
Available Study Resources on Quizplus for this Chatper
31 Verified Questions
31 Flashcards
Source URL: https://quizplus.com/quiz/76822
Sample Questions
Q1) Which one of the following declarations uses Pascal casing for the procedure name?
A) Sub MyProcedure)
End Sub
B) Sub myprocedure)
End Sub
C) Sub my_procedure)
End Sub
D) Sub myProcedure)
End Sub
Q2) Which of the following can be returned by a function?
A) String values
B) Integer values
C) Boolean values
D) All of the above
Q3) Although you can omit the ByVal keyword in a parameter variable declaration, it is still a good idea to use it.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
8

Chapter 7: Multiple Forms, Modules, and Menus
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76821
Sample Questions
Q1) A context menu .
A) is an alternative for buttons
B) is shown when the user right-clicks a form or control
C) uses the MainMenu control
D) both a and c are correct
Q2) A form's _event is triggered when the user switches to the form from another form or another application.
A) form load
B) activated
C) got focus
D) click
Q3) All of the following are true about the Hide method of a form except:
A) Using the Hide method removes the form from memory.
B) The Hide method makes the form invisible.
C) Once you have called the Hide method, the form can be redisplayed with the ShowDialog method.
D) Once you have called the Hide method, the form can be redisplayed with the Show method.
To view all questions and flashcards with answers, click on the resource link above.
9

Chapter 8: Arrays and More
Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/76820
Sample Questions
Q1) Procedures can be written to handle arrays and do all of the following, except .
A) store data in an array
B) sum or average the values
C) display the contents of the array
D) all of the above are correct
Q2) When changing the number of elements in an array at run-time with the ReDim statement, existing values in the array are destroyed unless the _keyword is used.
A) Preserve
B) Reserve
C) ReDim
D) Protect
Q3) Which one of the following declares a List variable and creates a List object at the same time.
A) New lstNames As List Of String
B) lstNames As String Object
C) Dim lstNames As New String
D) Dim lstNames As New ListOf String)
To view all questions and flashcards with answers, click on the resource link above. Page 10
Chapter 9: Files, Printing, and Structures
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76819
Sample Questions
Q1) When opening a file, use this method to determine whether a file exists before you attempt to open it:
A) ExistFilefilename)
B) IO.Existsfilename)
C) System.IO.File.Existsfilename)
D) System.File.Existsfilename)
Q2) The method writes data to a file, followed by a newline character immediately after the data.
A) PrintLine
B) WriteLine
C) WriteNewLine
D) Write
Q3) What does the following line do? Do Until inputFile.EndOfStream
A) Checks to see if the file exists
B) Checks to see if the next input is -1
C) Checks to see if the file is empty
D) Checks to see if all the data in the file has been read
To view all questions and flashcards with answers, click on the resource link above.

11
Chapter 10: Working With Databases
Available Study Resources on Quizplus for this Chatper
32 Verified Questions
32 Flashcards
Source URL: https://quizplus.com/quiz/76818
Sample Questions
Q1) In Visual Studio, choose the ___template when creating a database file.
A) Service-based Database
B) Local Database
C) DataSet
D) XML Schema
Q2) A connects data bound controls to a dataset
A) data source
B) dataset
C) binding source
D) table adapter
Q3) A _is the design of tables, columns and relationships between tables for the database.
A) data table
B) database schema
C) data set
D) relational model
To view all questions and flashcards with answers, click on the resource link above.

Page 12
Chapter 11: Developing Web Applications
Available Study Resources on Quizplus for this Chatper
33 Verified Questions
33 Flashcards
Source URL: https://quizplus.com/quiz/76817
Sample Questions
Q1) ASP.NET is called a ____because it provides development tools, code libraries, and visual controls for web based applications.
A) web tool
B) platform
C) code bank
D) programming language
Q2) The GridView control provides all the following features except .
A) it's designed to display single row at a time is displayed
B) you can sort on any column
C) you can select the order in which columns appear
D) you can format data within the columns
Q3) Which statement is true about the CheckBoxList control?
A) each item has a Selected property
B) only one item can be checked at a time
C) it functions just like a ListBox control
D) A and C are correct
To view all questions and flashcards with answers, click on the resource link above.

13
Chapter 12: Classes, Collections, and Inheritance
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76816
Sample Questions
Q1) A _defines a special type of class member that contains Get and Set sections.
A) method
B) constructor
C) property procedure
D) member variable
Q2) The _access specifier permits class members to be accessed by statements both outside the class and outside the assembly.
A) Public
B) Protected
C) Private
D) Friends
Q3) It's possible to access the items in a collection using .
A) an integer index of the item to be retrieved
B) the Item method to retrieve an item with a specific key value
C) a For Each loop
D) all of the above
To view all questions and flashcards with answers, click on the resource link above.

14