Skip to main content

Software Development with Visual Basic Exam Questions - 430 Verified Questions

Page 1


Software Development with Visual Basic Exam Questions

Course Introduction

This course offers a comprehensive introduction to software development using Visual Basic, a widely used programming language in both educational and professional settings. Students will learn fundamental programming concepts such as variables, control structures, loops, and data types, as well as object-oriented programming principles. The course emphasizes practical skills by guiding students through the process of designing, coding, testing, and debugging applications with graphical user interfaces. By the end of the course, students will be able to develop sophisticated Windows-based applications and understand how to apply Visual Basic to solve real-world problems efficiently.

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) Application software manages the computer's hardware devices.

A)True

B)False

Answer: False

Q2) How do you display a ToolTip?

A) single-click a button on the toolbar

B) double-click a button on the toolbar

C) hold the mouse pointer over a toolbar button for a few seconds

D) tab to the button on the toolbar so that it has the focus

Answer: C

Q3) ___were invented to make the process of encoding an algorithm in machine language easier.

A) Programming languages

B) Variables

C) Output devices

D) Graphical user interfaces

Answer: A

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) The form's _property can be set to True or False, depending on whether or not you want the minimize button to appear.

A) MinimizeBox

B) ShowMinimizeButton

C) HideButtonMinimize

D) FormBorderStyle

Answer: A

Q2) Choose the correct assignment statement for a Label control named lblTitle that would align the control's text with the middle and center of the control's bounding box?

A) lblTitle.TextAlign = MiddleCenter

B) lblTitle.TextAlign = Middle

C) lblTitle.TextAlign = ContentAlignment.Center

D) lblTitle.TextAlign = ContentAlignment.MiddleCenter

Answer: D

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) Which of the following declares a variable named intIndex that will be used to store whole numbers?

A) Dim intIndex As WholeNumber

B) Dim intIndex As String

C) Dim Integer As intIndex

D) Dim intIndex As Integer

Answer: D

Q2) Which of the following declares an Integer variable named intLength and assigns it the integer literal 12?

A) Dim intLength As Integer initialize to 12

B) Dim intLength = 12 As Integer

C) Dim intLength As Integer = 12

D) Dim intLength As Integer 12

Answer: C

Q3) You can perform all of the following actions with variables except:

A) Copy and store values entered by the user, so they may be manipulated

B) Assign a variable's value to a constant

C) Perform arithmetic on values

D) Remember information for later use in the program

Answer: B

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) What value will be assigned to intIndex when the following statements execute? Dim strTarget As String = "asdsakfljfdgasldfjdl"

Dim intIndex = strTarget.IndexOf"as", 1, 10)

A) 12

B) 13

C) 0

D) -1

Q2) The _keyword is required to use relational operators in a Case statement.

A) To

B) else

C) If

D) Is

Q3) Which of the following operators takes a Boolean expression and reverses its logical value?

A) Xor

B) And

C) < >

D) Not

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

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 _method adds a new entry as the last item in a ListBox.

A) Items.New

B) Items.Add

C) Items.Insert

D) Items.Append

Q2) The _method can be used to place a new item at any position in a ListBox.

A) Items.New

B) Items.Add

C) Items.Append

D) Items.Insert

Q3) Which property determines the amount of time, in milliseconds, that elapses between the user pointing the mouse at a control and the tool tip text's appearance?

A) FinalDelay

B) ReshowDelay

C) InitialDelay

D) AutoPopDelay

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

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 of the following examples correctly uses an input box to assign a value to an integer, and returns the integer to the calling program using a reference parameter?

A) Sub GetInputByVal intNumber As Integer) intNumber = CIntInputBox"Enter an Integer"))

End Sub

B) Sub GetInputByRef intNumber As Integer) intNumber = CIntInputBox"Enter an Integer"))

End Sub

C) Sub GetInputByRef intNumber As Integer) intNumber = CIntInputBox"Enter an Integer"))

Return intNumber

End Sub

D) Sub GetInput) Dim intNumber As Integer IntNumber = CIntInputBox"Enter an Integer"))

End Sub

Q2) 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) Which of the following is not true about a form's Activated event?

A) It's executed when a form is initially displayed.

B) It's executed each time a form regains the focus.

C) It's executed each time the user clicks a form that does not have the focus.

D) It's executed before the Load event procedure is processed.

Q2) The last form created for a Windows Forms application is designated as the startup form.

A)True

B)False

Q3) What is the best way to share functions across more than one project?

A) Create the functions in one project, then copy and paste them into other projects that need them.

B) Place the code for the functions in a module and add that module to each project.

C) Place the code for the functions in the startup form of each project.

D) Place the code inside a main procedure with a public access specifier for each function.

Q4) Any form in a Windows Forms application can be designated as the startup form.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 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) 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)

Q2) Which of the following could be used to iterate through each element of a two-dimensional array.

A) A single Do While loop

B) A single Do Until loop

C) A single For Next loop

D) Nested For Next loops

Q3) Values in an array are stored and worked with using a .

A) method

B) locator

C) subscript

D) element locator

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

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) Which of the following declares a structure data type named Complex, which has two fields named Real and Imaginary, both of which are of type Double?

A) Declare Structure Complex Dim Real As Double

Dim Imaginary As Double

End Declare

B) Structure Complex Dim Real as Double

Dim Imaginary as Double

End Structure

C) Structure As Complex Dim Real As Double

Dim Imaginary As Double

End Structure

D) Dim Structure Complex Dim RealDouble)

Dim ImaginaryDouble)

End Structure

Q2) When the PrintDocument control's Print method is executed, it triggers the _event.

A) Printer

B) PrintDoc

C) PagePrint

D) PrintPage

To view all questions and flashcards with answers, click on the resource link above. Page 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) The following statements are true about a data source except

A) a data source is usually a database.

B) a data source can be a text file.

C) Data sets contain data retrieved from a data source.

D) Data can be retrieved from but not written back to a data source.

Q2) The _control displays information from a dataset in row and column format.

A) DataAware

B) DataGridView

C) DataListView

D) DataTableView

Q3) All of the following are true about SQL except .

A) SQL provides a standard means of interacting with a database.

B) SQL consists of several keywords.

C) SQL stands for "Sequenced Query Language"

D) SQL is an industry-standard language.

Q4) Each database ____is also known as a row in a database table.

A) record

B) table

C) column

D) field

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) Which of the following is not true about the ASP.NET development platform?

A) Visual Basic code can be stored in a separate file from a web page's text and HTML.

B) It allows you to transfer much of your Visual Basic knowledge to Web applications.

C) It allows the use of object-oriented program code.

D) Visual Basic is the only programming language that may be used.

Q2) Web applications are designed around a _model, meaning the one computer produces data while another uses data.

A) Client-Server

B) Peer-to-Peer

C) Master-Slave

D) Server-User

Q3) Which of the following is not a Web browser?

A) Safari

B) Firefox

C) Windows Explorer

D) Chrome

To view all questions and flashcards with answers, click on the resource link above. Page 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 _is automatically called when an instance of the class is created.

A) Load method

B) constructor

C) instantiator

D) Initializer method

Q2) What happens when an object variable goes out of scope?

A) The object may be removed from memory by the garbage collector.

B) The object may be referred to using the dot operator.

C) An exception error will be generated.

D) The object becomes accessible again when the variable comes back into scope.

Q3) Client programs can query _to get values, but they cannot modify them.

A) Read-Only properties

B) Get/Set properties

C) Private methods

D) Public properties

Q4) A constructor is a method named _found inside the class.

A) New

B) Constructor

C) Finalizer

D) the same as the class name

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

Turn static files into dynamic content formats.

Create a flipbook