

![]()


Introduction to Programming is designed to provide students with a foundational understanding of computer programming concepts and problem-solving techniques. The course covers essential topics such as algorithms, variables, control structures (including loops and conditionals), data types, and basic data structures. Using a popular programming language, students will learn how to develop, test, and debug simple programs. Emphasis is placed on logic development, structured programming methods, and practical hands-on exercises to build computational thinking and prepare students for more advanced studies in computer science.
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) The Visual Studio IDE is an interactive environment that enables you to type the source code,compile,and execute without leaving the IDE program.
A)True
B)False
Answer: True
Q2) At the beginning of a program,comments are often written to identify how many pages are included in the program listing.
A)True
B)False
Answer: False
Q3) Using the _________ approach,the focus is on determining the data characteristics and the methods or behaviors that operate on the data.
Answer: object-oriented
Q4) A method call is the same as a method declaration.
A)True
B)False
Answer: False
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) Which of the following is a valid compile-time initialization for amountDue,a floating point variable of the double type,that will initially be set to zero?
A) amountDue = 0;
B) amountDue = '0';
C) amountDue = 0m;
D) amountDue = 0f;
Answer: A
Q2) Every time you declare a variable in the C# language,you are actually ____________ a class.
Answer: instantiating
Q3) When you desk check the algorithm,you can compare the results obtained from the program with calculator results.
A)True
B)False
Answer: True
Q4) The ____________ data type was added to the language to eliminate the problems of loss of precision in mathematical operations that occurred in previous languages.
Answer: decimal
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) A standard convention used by C# programmers is to use Pascal case style for class,data member identifiers,and method identifiers.
A)True
B)False
Answer: False
Q2) The ____________ type is always listed immediately preceding the name of the method.
Answer: return
Q3) The Console class is defined in the System namespace.
A)True
B)False
Answer: True
Q4) Calls to ____ methods use the class identifier instead of the object identifier as the method qualifier.
A) value returning
B) static
C) private
D) predefined
Answer: B
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) Use a type prefix,such as C for class name.For example,a student class should be named CStudent.
A)True
B)False
Q2) A class named River will have a constructor named River.
A)True
B)False
Q3) When you define a class method,you define its characteristics or fields in terms of the data.
A)True
B)False
Q4) Data members should be defined with an access mode of ____________.
Q5) The body of the constructor methods consist primarily of ____________.
Q6) Local variables ____.
A) are defined inside Main( ) and other methods
B) must be defined as private C) are defined in classes
D) determine the data characteristics for the class
Q7) Accessor and mutators are ____________ methods
Q8) As with overloaded methods,____________ must differ for constructors.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9094
Sample Questions
Q1) What is the rule for lining up,or matching,elses?
A) The first else goes with the first if.
B) Else goes with the closest previous if that does not have its own else.
C) The else goes with the one that is indented identically to it.
D) Else matches the closest if that follows it.
Q2) The conditional expression true || false produces false.
A)True
B)False
Q3) A company issues $5,000.00 bonuses at the end of the year to all employees who earn less than $100,000.Salary and bonus are both defined as double data types.Which of the following selection statements would assign the correct amount to bonus?
A) if (salary < $100,000)
Bonus == $5000;
B) if (salary < 100000)
Bonus = 5000;
C) if (salary <= 100000)
Bonus = 5000;
D) if (salary < 100000);
Bonus = $5000;
To view all questions and flashcards with answers, click on the resource link above.
Page 7

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9095
Sample Questions
Q1) The most appropriate sentinel value that might be selected for month of the year is
A) 0
B) 1
C) 6
D) 12
Q2) Without incrementing the counter used in the conditional expression with counter controlled loops,the loop would go on indefinitely.
A)True
B)False
Q3) In order to use the MessageBox.Show( )method,you need to not only add a reference to the namespace which includes the class,but also add a using directive to the program statements.
A)True
B)False
Q4) The for statement is a compact method of writing the loops that can be written using while;it packages together the ____________,test,and update all on one line.
Q5) 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) Array identifiers are normally defined using a plural noun.
A)True
B)False
Q2) With parallel arrays,the relationship is established through using the same subscript or index to refer to the elements in both arrays.
A)True
B)False
Q3) BinarySearch( )is ____.
A) a method in the Array class
B) an instance method
C) usable as long as you declare an array
D) must be used with integer arguments
Q4) Arrays can be used as fields or instance variables in classes;and,arrays of objects can be declared.
A)True
B)False
Q5) Array identifiers are normally defined using a plural noun.
A)True
B)False
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) Console.Write("AnExample".PadLeft(20,"#")returns ____.
A) ###########AnExample
B) AnExample###########
C) AnExample
D) AnExample.
Q2) There are several ways to do a compile-time initialization of two-dimensional arrays.All of the following are valid ways EXCEPT ____.
A) int [, ] anArray = {{100, 100, 100} {100, 100, 100}};
B) int [ , ] anArray = new int [ , ] {{100, 100, 100} {100, 100, 100}};
C) int [ , ] anArray = new int [2, 3 ] {{100, 100, 100} {100, 100, 100}};
D) int [ ] anArray = new int [10 ] {{100, 100, 100} {100, 100, 100}};
Q3) Collection classes are classes that enable you to store and retrieve various groups of objects.
A)True
B)False
Q4) C# has two types of string literals.Quoted string literals appear between double quotation marks (" ") and verbatim string literal,which start with the at symbol (@).
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 10

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9098
Sample Questions
Q1) One of the guidelines for good design is to try to place as many controls on the form as you are able to without overlapping any.
A)True
B)False
Q2) You must create a working directory on your hard drive at the root level for Windows applications. Otherwise,the applications will not run.
A)True
B)False
Q3) A console-based application interface can include menus,buttons,pictures,and text in many different colors and sizes.
A)True
B)False
Q4) A sequential order exists with methods for Windows applications.The program exits after all statements have been sequentially executed.
A)True
B)False
Q5) If you accidentally double-click on the form,you register the ____________ event. To view all questions and flashcards with answers, click on the resource link above. Page 11

Available Study Resources on Quizplus for this Chatper
74 Verified Questions
74 Flashcards
Source URL: https://quizplus.com/quiz/9099
Sample Questions
Q1) Delegates are special types of .NET classes whose instances store ____.
A) references to actual data.
B) data
C) references to methods
D) methods
Q2) An added value of ComboBox objects is that compared to a ListBox object they ____.
A) save space on a form
B) enable input and output of data
C) can be used for multiple selections
D) can have events of interest registered
Q3) An instance of the delegate class is called a(n)____.
A) object
B) instance
C) variable
D) delegate
Q4) Multiple selections cannot be made from a ListBox control object.
A)True
B)False
Q5) The default event-handler method for CheckBox objects is ____________.
Page 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) The Global Assembly Cache (GAC)stores assemblies designated to be shared by several applications.
A)True
B)False
Q2) One of the major advantages of strongly typed languages versus dynamic languages is extensive compile type error checking occurs so that bugs can be found early.With dynamic typing this is delayed until ____________.
Q3) Variables declared as dynamic ____.
A) require boxing or casting to identify the actual data type
B) can hold any type of value
C) stores data as strings
D) must have an associated data type added as part of the declaration
Q4) Generics enable you to identify where data will change in the code segment by putting a placeholder in the code for the type parameters.
A)True
B)False
Q5) A(n)____________ method uses the same identifier as other method,but has a different number and/or type of parameter from the other one.
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
Q1) ____________ are markers that are placed in an application,indicating the program should halt execution when it reaches that point.
Q2) The property of the Exception class that returns a string describing the exception is
A) ExceptionType
B) ExceptionInformation
C) ExceptionData
D) Message
Q3) All of the following are problem associated with using a generic catch and not specifying an Exception class at all,EXCEPT ____.
A) you are never quite sure what
Caused the exception to be thrown
B) you cannot use members like Message to display information about the exception.
C) you cannot keep the program from terminating abnormally
D) you cannot display any error messages identifying the error type
Q4) If a try block is included,you must also specify a catch clause.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.
14

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9102
Sample Questions
Q1) If you use Visual Studio and include a reference to the System.IO namespace,IntelliSense provides helpful information while you are developing your file application.
A)True
B)False
Q2) The StreamReader class is most often used to retrieve single characters,one character at a time,from a file.
A)True
B)False
Q3) With Visual Studio when you create a file (or attempt to access one),if a path is not specified with the filename,the Apps\Debug subdirectory of the current project is used.
A)True
B)False
Q4) Every member of the File class is static-meaning methods are called ____.
A) using the static keyword
B) with the file name
C) with an object name
D) with the class name
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) Which class is used to hold the SQL statement or stored procedures for Access databases?
A) AccessCommand
B) command
C) OleDbCommand
D) ODBCCommand
Q2) ADO.NET requires that you keep a continuous live connection to the database and process one retrieved record at a time.
A)True
B)False
Q3) Applications that connect to a Microsoft Access database use the OLE DB data provider.
A)True
B)False
Q4) To position the OleDbDataReader object onto the row of the first retrieved query result,you use the ____________ method of the OleDbDataReader class.This method is also used to advance to the next record after the previous one is processed.
Q5) The four core classes that make up each data provider are ____________,Command,DataReader,and DataAdapter.
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) The language formatted in XML that is used to describe the capabilities of a Web service and includes details about the methods in terms of what type of data they can receive and what type of results they will return is ____.
A) SOAP
B) WSDL
C) UUDI
D) HTTP
Q2) By default only a few Web Forms server control events trigger a postback to the server. Common user interface events such as mouse moves and key presses are not automatically posted to the server.
A)True
B)False
Q3) With ASP.NET,you write code in a separate scripting language such as JavaScript or VBScript.
A)True
B)False
Q4) You can use the ____________ configuration wizard to connect to a data source and do very little,if any,programming.
To view all questions and flashcards with answers, click on the resource link above. Page 17