

![]()


Event-Driven Programming introduces the principles and practices of building software systems that respond dynamically to external and internal events. Students learn to design and implement programs that use event listeners, handlers, and callback functions to manage user interactions, sensor inputs, and real-time data streams. The course covers event loops, event propagation, and asynchronous programming models commonly used in graphical user interfaces, web applications, and embedded systems. Practical assignments emphasize modular code organization, responsiveness, and reliability in handling concurrent events across different programming environments.
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

Available Study Resources on Quizplus for this Chatper
40 Verified Questions
40 Flashcards
Source URL: https://quizplus.com/quiz/76827
Sample Questions
Q1) What is the purpose of the Toolbox?
A) To design user defined methods.
B) To select controls and place on an application's form
C) To select event procedures associated with a control
D) To select methods to be placed on the form
Answer: B
Q2) A word that has a specific meaning in a programming language is called ____.
A) a keyword
B) an operator
C) a variable
D) a comment
Answer: A
Q3) 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
To view all questions and flashcards with answers, click on the resource link above.
3

Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76826
Sample Questions
Q1) Compile errors .
A) result from an attempt to perform an operation that cannot execute
B) are not syntax errors
C) are errors found while an application is running
D) are errors such as misspelled key words or incorrect use of operators
Answer: D
Q2) Which of one of the following will stop an application and end its execution?
A) Click the EDIT on the Visual Studio menu bar, and then click Delete
B) Click the Minimize button on the applications window
C) Click DEBUG on the Visual Studio menu bar, and then click Stop Debugging
D) Press F1 on the keyboard
Answer: C
Q3) You can display the Code window in all of the following ways except __.
A) Click the View Code button in the Solution Explorer window
B) Click PROJECT on the menu bar, and then click Show all files
C) Click VIEW on the menu bar, and then select Code
D) Press the F7 key
Answer: B
To view all questions and flashcards with answers, click on the resource link above. Page 4

Available Study Resources on Quizplus for this Chatper
41 Verified Questions
41 Flashcards
Source URL: https://quizplus.com/quiz/76825
Sample Questions
Q1) A class-level variable ____.
A) is declared inside a class but outside any procedure
B) is accessible to all procedures in a class
C) is visible to all statements inside the class
D) all of the above
Answer: D
Q2) Which of the following is not a valid Visual Basic data type?
A) Integer
B) Number
C) Decimal
D) Short
Answer: B
Q3) Which statement is true regarding the CInt function?
A) It converts letters to numbers.
B) It cannot convert a string such as "24.7" to an integer.
C) A floating-point number such as 24.7 is converted to 24, dropping its decimal positions.
D) A floating-point number such as 24.7 is converted to 25, rounding its decimal positions.
Answer: C
To view all questions and flashcards with answers, click on the resource link above. Page 5

Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/76824
Sample Questions
Q1) Suppose you want to verify that the user has entered a value into a text box named txtInput. Which of the following code segments responds with an appropriate message if the user does not enter a value?
A) If txtInput.text < > "" Then lblStatus.Text = "No data has been entered"
End If
B) If txtInput.Text = " " Then lblStatus.Text = "No data has been entered"
End If
C) If txtInput < > String.Empty Then lblStatus.Text = "No data has been entered"
End If
D) If txtInput.Text = String.Empty Then lblStatus.Text = "No data has been entered"
End If
Q2) What value is assigned to the variable strSnip when the following statements execute? Dim strSnip As String
Dim strFullString As String = "Washington" StrSnip = strFullString.Substring7)
A) "ton"
B) "ash"
C) "Was"
D) "Washing"
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76823
Sample Questions
Q1) This method erases all the items in a ListBox.
A) Items.Delete
B) Items.Erase
C) Items.Clear
D) Items.Remove
Q2) Which of the following statements will assign a random number between 1 and 50 inclusive to intNum?
A) intNum = rand.Next50) + 1
B) intNum = rand.Next1, 50)
C) intNum = rand.Next50)
D) intNum = rand.Next)
Q3) The entries in a ListBox are stored in the _property.
A) Items.Count
B) Items
C) Entries
D) Text
To view all questions and flashcards with answers, click on the resource link above. Page 7

Available Study Resources on Quizplus for this Chatper
31 Verified Questions
31 Flashcards
Source URL: https://quizplus.com/quiz/76822
Sample Questions
Q1) All of the following are true about functions except .
A) you can use a function call in an expression
B) they can return one or more values
C) they must contain at least one Return statement
D) you can assign the return value from a function to a variable
Q2) When debugging a program in break mode, the Step Into command causes the currently highlighted line of code to execute.
A)True
B)False
Q3) What is incorrect about the following function? Function sumByVal intX As Integer, ByVal intY As Integer) As Integer
Dim intAns As Integer
IntAns = intX + intY
End Function
A) intAns should not be declared inside the Function.
B) the as Integer at the end of the Function heading should be eliminated.
C) the function does not return a value
D) parameters intA and intB should be declared as ByRef
To view all questions and flashcards with answers, click on the resource link above.

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 will display the getStudentDataForm form such that the programming statements that follow will not execute until the getStudentDataForm is closed?
A) getStudentDataForm.Open)
B) getStudentDataForm.Show)
C) getStudentDataForm.ShowDialog)
D) getStudentDataForm.OpenForm.Modal)
Q2) 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.
Q3) An instance of a form is created using a _statement with the New keyword.
A) Dim
B) Open
C) Instantiate
D) Create
To view all questions and flashcards with answers, click on the resource link above.
Page 9
Available Study Resources on Quizplus for this Chatper
34 Verified Questions
34 Flashcards
Source URL: https://quizplus.com/quiz/76820
Sample Questions
Q1) Which of the following is the correct definition for a procedure that accepts a String array as an argument?
A) Private Sub ArrayParamByVal strStudents As String)
B) Public Sub ArrayParamByVal strStudents))
C) Sub ArrayParamByVal strStudents) As String)
D) Private Sub ArrayParamByRef strStudents As String)
Q2) Parallel arrays have all of the following characteristics, except .
A) They can access related elements with a common subscript.
B) They share a reference to the same array.
C) They hold related data of different types.
D) They are two or more arrays that hold related data.
Q3) 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
To view all questions and flashcards with answers, click on the resource link above.

10
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76819
Sample Questions
Q1) Reports with columnar data should not use .
A) proportionally spaced fonts
B) the Courier New font
C) monospaced fonts
D) all of the above
Q2) The following statements describe advantages of the Open and Save As dialog boxes except .
A) they help make an application more consistent with other Windows applications
B) they give users the ability to browse for a file
C) these dialog boxes show the user how to create and use files
D) they allow a file to be specified without typing a long path and filename
Q3) When a file is selected from an Open dialog box, the path and file name are stored in the control's _property?
A) Filename
B) PathName
C) File
D) Item
To view all questions and flashcards with answers, click on the resource link above.

11

Available Study Resources on Quizplus for this Chatper
32 Verified Questions
32 Flashcards
Source URL: https://quizplus.com/quiz/76818
Sample Questions
Q1) The correct SQL syntax to sort a table by Last_Name in order of A-Z is _.
A) SORT BY Last_Name ASCENDING
B) ORDER BY Last_Name Down
C) ORDER BY Last_Name ASC
D) ORDER BY Last_Name DESC
Q2) The Where clause of an SQL statement specifies .
A) the location of the database being queried
B) which fields are to be displayed
C) specifies the order in which the rows should appear
D) specifies which rows should be retrieved
Q3) The SelectedValue property of a data-bound ListBox returns the value in the column specified by the ____property.
A) ValueMember
B) ReturnColumn
C) ReturnField
D) DisplayMember
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
33 Verified Questions
33 Flashcards
Source URL: https://quizplus.com/quiz/76817
Sample Questions
Q1) Which is not a valid URL protocol?
A) ftp://
B) http://
C) https://
D) htm://
Q2) Web forms use a ___control to access a database and retrieve table rows.
A) DataSet
B) DataSource
C) DataDetails
D) Connection
Q3) When the Web form default.aspx is added to a project, another file named _is also created.
A) default.asp
B) default.aspx.vb
C) default.config
D) default.vb
To view all questions and flashcards with answers, click on the resource link above. Page 13
Available Study Resources on Quizplus for this Chatper
36 Verified Questions
36 Flashcards
Source URL: https://quizplus.com/quiz/76816
Sample Questions
Q1) All of the following statements are true about the .NET garbage collection utility except .
A) The garbage collector is a utility program that removes objects from memory that are no longer needed.
B) As the amount of available memory decreases, the garbage collector removes unreferenced objects more often.
C) The garbage collector removes an object from memory immediately when the last reference to it has been removed.
D) The system uses an algorithm to determine when it should periodically remove unused objects.
Q2) Object-oriented programming is a way of designing and coding applications such that interchangeable software can be used to build larger programs.
A) controls
B) structures
C) components
D) languages
To view all questions and flashcards with answers, click on the resource link above.

14