

![]()


Event-Driven Programming is a paradigm centered around the flow of events, enabling software applications to respond to user interactions, sensor outputs, or messages from other programs. This course explores the principles and techniques of developing responsive applications by utilizing event listeners, handlers, and callback functions. Students will learn to design and implement event-driven systems in environments such as graphical user interfaces (GUIs), web applications, and embedded systems. Through hands-on projects and coding exercises, students will gain practical experience in structuring programs that efficiently handle asynchronous activities, manage concurrency, and ensure smooth user experiences.
Recommended Textbook
C# Programming From Problem Analysis to Program Design 4th Edition by Barbara Doyle
Available Study Resources on Quizplus
15 Chapters
1124 Verified Questions
1124 Flashcards
Source URL: https://quizplus.com/study-set/492 Page 2

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9090
Sample Questions
Q1) Windows 8,Android,Windows 7,and Linux are types of _____________. Answer: application programs application software
Q2) Good programmers often build test plans while they are in the implementation stage.
A)True
B)False Answer: False
Q3) The most important and frequently used __________ is System. Answer: namespace
Q4) The Framework Class Library (FCL)consists of more than 2,000 classes.
A)True
B)False Answer: True
Q5) IDE stands for Integrated Development Environment. A)True
B)False Answer: True
Q6) The Framework Class Library (FCL)includes a number of different __________. Answer: namespaces
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9091
Sample Questions
Q1) When you desk check the algorithm,you can compare the results obtained from the program with calculator results.
A)True
B)False
Answer: True
Q2) Which of the following is a valid identifier?
A) score#1
B) amount owed by student
C) finalGrade
D) 4thExam
Answer: C
Q3) One of the rules for creating a(n)____________ is to use a combination of alphabetic characters,numeric digits and the underscore character.
Answer: identifier
Q4) The base-2 number system is also called the binary number system.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above.
Page 4

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9092
Sample Questions
Q1) The return type for the method above is ____.
A) public
B) static
C) void
D) Main( )
Answer: C
Q2) When a class or a class member does not specify a modifier,the default accessibility level of _______________ is assumed.
Answer: private
Q3) An advantage of using named parameters is: ____.
A) program runs more efficiently because the named parameters can be accessed
B) program runs faster
C) you can send in values through using the names of the parameters instead of having to worry about getting the exact order
D) default values can be used
Answer: C
Q4) All programs consist of at least one ____________.
Answer: method
To view all questions and flashcards with answers, click on the resource link above.
Page 5

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9093
Sample Questions
Q1) Class methods manipulate data by ____.
A) directly accessing private data members.
B) passing information as arguments through parameters.
C) using constructors and accessors.
D) sending visible data in the Main( ) method.
Q2) A constructor is used to instantiate a class from an object.
A)True
B)False
Q3) What will be displayed from the above line?
A) Value = 12,346
B) Value = 12346
C) Value = 12,345
D) Value = 12,346.0
Q4) Fields or data members are also called ____________.
Q5) A standard convention used by C# programmers is to use camel case style for property identifiers;Camel case style convention is also used for data member identifiers.
A)True
B)False
Q6) Data members should be defined with an access mode of ____________.
Page 6
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9094
Sample Questions
Q1) The assignment operators and the conditional operator ? : are right-associative.
A)True
B)False
Q2) What is stored in result when amount is equal to 12000?
A) 1
B) 2
C) 3
D) 4
Q3) The conditional expression,sometimes called "the test," must evaluate to true.
A)True
B)False
Q4) The switch statement is considered a multiple selection structure and it also goes by the name case statement.
A)True
B)False
Q5) The conditional expression true || false produces false.
A)True
B)False
Q6) With a switch statement,if no match is made,the statements associated with ____________ are executed.
Page 7
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9095
Sample Questions
Q1) The while statement is the only type of loop construct that can be used to develop a sentinel-controlled loop.
A)True
B)False
Q2) With while loops,if the conditional expression evaluates to true,the body of the loop is not performed;control transfers to the statements following the loop.
A)True
B)False
Q3) With nested loops,the outermost loop is always totally completed before the innermost loop is executed.
A)True
B)False
Q4) To write a recursive solution,a base case needs to be identified.
A)True
B)False
Q5) ____________ loops are often used for inputting data when you do not know the exact number of values to be entered.
Q6) A sentinel value is a(n)____________.It is a value that should not be processed.
To view all questions and flashcards with answers, click on the resource link above. Page 8

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9096
Sample Questions
Q1) for (int i = 0;i < anotherArray.Length;i++) total += i; Using the above declaration along with the for loop,what is stored in total after the program statements are executed?
A) 10
B) 2
C) 48
D) 45
Q2) Array elements are normally stored in contiguous,side-by-side,memory locations with the first index in all arrays being referenced by index 0.
A)True
B)False
Q3) With the declaration above,price[5] generates a runtime error.
A)True
B)False
Q4) To access an array element,you must specify which element is to be retrieved by placing an index inside ____________ following the array identifier
Q5) Elements in an array are sometimes referred to as ____________ variables.
Q6) All data values placed in an array must be of the same ____________.
To view all questions and flashcards with answers, click on the resource link above. Page 9

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9097
Sample Questions
Q1) After the above segment of code is executed,where is "choices" stored?
A) sn[0]
B) sn[4]
C) sn[3]
D) sValue
Q2) Collection classes are classes that enable you to store and retrieve various groups of objects.
A)True
B)False
Q3) The above segment of code ____.
A) creates a jagged array
B) creates a syntax error
C) creates a 2 x 3 array
D) declares a three-dimensional array
Q4) Normally you will want to use two integral values to reference individual elements in a two-dimensional array.If you use just one integral value,you get all of the values for that row.
A)True
B)False
Q5) The property ____________ returns the number of dimensions of the array.
Page 10
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9098
Sample Questions
Q1) The ____ method of the Control class sets the input focus.
A) Select( )
B) Focus( )
C) Set( )
D) Control( )
Q2) The class heading that is generated by Visual Studio for Windows applications includes a colon (:)following the class name.The identifier following the colon is the ____.
A) derived class
B) namespace where the class is located
C) base class
D) extended class
Q3) The ____________ property for the form can be set to a specific button to allow the Enter key to be associated with that button,so that pressing the Enter key is the same as clicking the button.
Q4) The preprocess directive #region can be added in the program to ____.
A) mark sections of code that can be expanded or collapsed
B) identify all the code inserted automatically by Visual Studio
C) indicate you should not change the code found in that section
D) communicate that the section of code should be processed first
Page 11
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
74 Verified Questions
74 Flashcards
Source URL: https://quizplus.com/quiz/9099
Sample Questions
Q1) The ____________ method associated with the predefined dialog classes,like FontDialog or ColorDialog causes the dialog box to be displayed.
Q2) Like other classes,an instance of a delegate is called an object.
A)True
B)False
Q3) To retrieve data from a ListBox control as string data,use the ____ property.
A) SelectedItem
B) SelectedItems
C) SelectedIndices
D) Text
Q4) Objects like colorDialog,fontDialog,ToolTip and MenuStrip are added to the ____________ for the application when they are dragged and dropped onto the form.
Q5) Since each delegate wraps a single method,there must be a one-to-one correspondence between the method and its delegate.
A)True
B)False
Q6) The ListBox ____________ property has selection values of MultiSimple,MultiExtended,None and One.
12
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9100
Sample Questions
Q1) Constructors are defined with ____ access modifiers.
A) private
B) public
C) protected
D) internal
Q2) ILDASM,which must be run from the command line,is a tool used to view an assembly.
A)True
B)False
Q3) Encapsulation enables multiple implementations of the same behaviors so that the appropriate implementation can be executed based on the situation.
A)True
B)False
Q4) You have experienced the use of polymorphism in programs through the use of the Main( )method.
A)True
B)False
Q5) ____________ is an object oriented feature that packages data attributes and behaviors into a single unit,thus hiding implementation details.
To view all questions and flashcards with answers, click on the resource link above. Page 13

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9101
Sample Questions
Q1) When an unhandled exception message is displayed,the method that raised the exception is listed last.
A)True
B)False
Q2) A(n)____________ exception is thrown for the following types of unexpected errors: a specified file or directory is not found,your program attempts to read beyond the end of a file,or there are problems loading or accessing the contents of a file.
Q3) When an unhandled exception message is displayed and you click on the Details button in Visual Studio,____.
A) instructions are given about how to recover from the error
B) a stack trace of methods with the method that raised the exception listed first is displayed
C) details about the error including how to halt the program are displayed
D) a stack trace of variables and their values is displayed
Q4) When an application is developed,it is extremely important to ____________ the solutions to make sure the program is producing consistently accurate results.
Q5) C# adheres to a fairly sophisticated set of rules known as C# ____________.
Q6) Custom exceptions must derive from the ____________ class.
To view all questions and flashcards with answers, click on the resource link above. Page 14

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9102
Sample Questions
Q1) Instead of hard coding the actual filename and file path,you could prompt the user for the name of the file using subclasses of the FileDialog class.
A)True
B)False
Q2) The ____________ method of the StreamReader class enables you to retrieve one line of text from the file.
Q3) The ____________ class provides static methods that aid in creating and moving through folders and subdirectories.
Q4) Which method,used with the StreamWriter class,can be invoked to write characters to the stream,followed by a line terminator?
A) StreamWrite( )
B) EndOfLine( )
C) Write( )
D) WriteLine( )
Q5) One of the static methods of the File class is ____________.Prior to writing program statements that access data in a file,you should always check to make sure the file is available by invoking this method.
Q6) Archive is a(n)____________ value for the Attributes property of the File class.
To view all questions and flashcards with answers, click on the resource link above. Page 15

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9103
Sample Questions
Q1) Typing or inserting an actual SQL query or command as input (as opposed to a requested value,such as a user login name),gaining access to the tables,and then stealing or destroying data is an example of a(n)____.
A) SQL query error
B) SQL mistake
C) SQL security reference
D) SQL injection attack
Q2) The SQL statement that retrieves every field from a database table includes ____ following the SELECT keyword.
A) the first and last data field names
B) the special keyword 'ALL"
C) the first and last data field names separated by a hyphen
D) an asterisk (*)
Q3) One of the visual tools that provides a graphical representation of the dataset object and enables you to set relationships between tables is the ____.
A) Data Sources Wizard
B) Data Designer
C) DataSet Designer
D) Configuration Designer
To view all questions and flashcards with answers, click on the resource link above.
Page 16

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9104
Sample Questions
Q1) With Web applications,instead of using a MessageBox object to display information to users,a common control used for this is a ____.
A) Web form
B) Label
C) Button
D) MessageDialog
Q2) To set the message for an Input text field use the ____ property.
A) Text
B) Input
C) Value
D) Field
Q3) For retrieving data from a database,you can use a GridView object. However,by default,the GridView control displays data on a Web form in a read-only format.
A)True
B)False
Q4) Dynamic Web pages normally involve some processing in addition to rendering the formatting of HTML tags.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 17