

![]()


This course offers an in-depth exploration of foundational algorithms and approaches to computational problem solving. Students will learn how to design, analyze, and implement algorithms for a variety of problem domains, including searching, sorting, recursion, and optimization. Emphasis is placed on algorithmic efficiency, complexity analysis, and the application of data structures such as arrays, lists, stacks, queues, and trees. Through practical exercises and theoretical discussions, students develop critical thinking and systematic problem-solving skills essential for tackling complex computing challenges.
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) Packaging data characteristics and behaviors into a class is called ____.
A) inheritance
B) instantiation
C) encapsulation
D) classes
Answer: C
Q2) Procedural programming is also called structured programming.
A)True
B)False
Answer: True
Q3) An IDE enables you to ____.
A) type your program statements into an editor
B) debug an application
C) compile an application
D) all of the above
Answer: D
Q4) Using the _________ approach,the focus is on determining the data characteristics and the methods or behaviors that operate on the data.
Answer: object-oriented
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) A variable of type bool can store ____.
A) "true"
B) TRUE
C) true
D) all of the above
Answer: C
Q2) The special character that can be used with an identifier is ____.
A) -
B) _
C) *
D) #
Answer: B
Q3) A computer that has 8 GB of RAM can store approximately eight ____ characters.
A) million
B) trillion
C) gillion
D) billion
Answer: D
Q4) ____________ makes a variable temporarily behave as if it is a different type.
Answer: Casting
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) Methods may be defined in any order and placed anywhere in the file,in or outside of the class.
A)True
B)False
Answer: False
Q2) The definition of the method ____.
A) is the same as the heading for the method
B) is the body of the method
C) includes everything between the curly braces
D) includes the heading and the body
Answer: D
Q3) The ____ specifies what kind of information is returned when the body of the method is finished executing.
A) access modifiers
B) parameters
C) static modifier
D) returnType
Answer: D
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) Accessors are also referred to as ____.
A) mutators
B) properties
C) getters
D) classes
Q2) Constructors ____.
A) can be overloaded.
B) do not have to be written.
C) do not return a value.
D) all of the above.
Q3) Constructors should be defined with a ____ access modifier.
A) public
B) private
C) protected
D) static
Q4) Instance 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.
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
Q1) Class diagrams list the data field members in the center rectangle and the methods or behaviors in the bottom rectangle.
A)True B)False
Q2) The ternary operator ( ? : )provides another way to express a simple if...else selection statement.
A)True
B)False
Q3) What is stored in result when a,b and c are equal to 200?
A) 1
B) 2
C) 3
D) 4
Q4) The ____________ method will convert a string value sent as an argument to its equivalent numeric value,but it doesn't throw an exception when the conversion fails.
Q5) Equality comparisons with floating-point and decimal types often produce unpredictable results.
A)True
B)False
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) Looking above,if the loop body was changed from counter++;to counter += 5;,how many times would the loop body be executed?
A) 19
B) 20
C) 99
D) 100
Q2) The event-driven model used to create Windows applications ____.
A) uses a counter-controlled form of loop
B) uses a state-controlled form of loop
C) uses a sentinel-controlled form of loop
D) handles the repetition for you
Q3) A method that calls itself repeatedly until it arrives at the solution is a(n)____method.
A) static
B) recursive
C) iterative
D) instance
Q4) When you know the number of times the statements must be executed,create a(n)____________ loop.
Q5) A sentinel value is a(n)____________.It is a value that should not be processed.
Page 8
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/9096
Sample Questions
Q1) The first element of an array is always referenced by index ____________.
Q2) Which of the following can be used to return an index of an item in an array?
A) LastIndexOf( )
B) Index( )
C) Find( )
D) SetValue( )
Q3) Use .NET predefined methods and properties whenever possible as opposed to writing new code.
A)True
B)False
Q4) Which loop structure can be used to change the contents of the array?
A) for B) foreach
C) loop
D) if / else
Q5) One of the special properties in the Array class is ____________.It returns an int representing the total number of elements in an array.
Q6) Elements in an array are sometimes referred to as ____________ variables.
Q7) The Copy( )method,shown above,is a(n)____________ method.
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
Q1) ____ are types of data structures that consist of a sequence of data records such that in each record there is an additional field that contains a reference (i.e.,a link)to the next record in the sequence.
A) Arrays
B) ArrayLists
C) Linked lists
D) Strings
Q2) The ArrayList class can be used to create a listlike structure that can dynamically increase or decrease in length.
A)True
B)False
Q3) Console.Write("AnExample".PadLeft(20,"#")returns ____.
A) ###########AnExample
B) AnExample###########
C) AnExample
D) AnExample.
Q4) The ____________ are defined to compare the contents of strings instead of comparing their addresses.
Q5) The property ____________ returns the number of dimensions of the array.
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) If you accidentally double-click on the form,you register the ____________ event.
Q2) It is a good idea to consistently use an appropriate prefix for the user interface elements.You might prefix buttons with ____________.
Q3) With Windows applications,many different types of events can be fired.As a developer,you must write event handlers for all of the possible events.
A)True
B)False
Q4) How does a Windows application differ from a console-based application?
A) Windows applications do not have a Main( ) method.
B) No looping is found with Windows applications.
C) Unlike Windows applications, console-based applications do not access data from the hard drive.
D) Windows applications sit in a process loop, once executed, waiting for an event to execute.
Q5) An example of an event that might be registered is the "Press the enter key."
A)True B)False
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) When you define a delegate type,you identify what types of methods the delegate represents.
A)True
B)False
Q2) ____________ objects have an added feature over a ListBox objects that they contain their own text box field as part of the object,but they allow only a single selection to be made.
Q3) Delegates work well in an event-driven arena because the same delegate can call different methods during runtime.
A)True
B)False
Q4) Included as part of .Visual Studio are a number of preconfigured dialog boxes Find and Replace,Spell Checker and File Save.
A)True
B)False
Q5) A test plan to verify the accuracy of the application should be designed before coding the application.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 12

Available Study Resources on Quizplus for this Chatper
75 Verified Questions
75 Flashcards
Source URL: https://quizplus.com/quiz/9100
Sample Questions
Q1) By defining data members as private,you protect the data and enable access only through the object's methods and properties.This describes the ____ feature.
A) abstraction
B) encapsulation
C) polymorphism
D) inheritance
Q2) Components are implemented in C# through ____.
A) classes
B) encapsulation
C) namespaces
D) packages
Q3) The distinguishing characteristic of an abstract method is ____.
A) no implementation details are included
B) they cannot be included in abstract classes
C) no parameters are found in the heading for the method
D) methods may not include a return type
Q4) If a class implements more than one ____________,they all appear on the class definition line separated by commas.
Q5) You can think of an interface as a class that is totally ____________.
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) An error such as attempting to divide by zero during runtime will always throw an exception.
A)True
B)False
Q2) When more than one catch clause is included,____. A) the order of the placement of these clauses is important B) you must write a finally block C) you must include System.Exception as one of the catch clauses D) all of the above
Q3) Exception class has several properties.The ____________ property provides details about the cause of the exception.
Q4) 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.
Q5) You should desk check solutions to make sure the program is producing consistently accurate results.
A)True
B)False
Q6) Custom exceptions must derive from the ____________ class.
Page 14
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/9102
Sample Questions
Q1) To avoid fully qualifying references to objects of the StreamReader class,include a using statement with the System.StreamReader namespace.
A)True
B)False
Q2) The identifier that can be referenced in a WriteLine( )method with the declaration above is ____.
A) someOutputFileName
B) someInputFileName
C) outputFile
D) inputFile
Q3) The FileDialog class has a property called ____,which is used by both the OpenFileDialog and SaveFileDialog classes to set or get the name of the file using a dialog box.
A) Text
B) Name
C) FileName
D) ID
Q4) PadRight( )and PadLeft( )methods of the ____________ class can be use to right or left align values.
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) You may not want to make a local copy of the database if ____.
A) updates or changes are being made to the database
B) it is a SQL Server database
C) this is the first time the database is accessed
D) you are not the database administrator
Q2) To process the data using a data reader with an Access database,you declare an object of the OleDbDataReader class and then ____.
A) move the data to the DataSet object
B) call the ExecuteReader( ) method.
C) declare an object of the CommandBuilder object
D) call the Update command
Q3) Typically when you are programming for database access,you use a(n)____________.
Q4) You identify which records and fields you want to retrieve from the database using the SQL ____________ statement.
Q5) DataAdapter classes are used to exchange data between a database source and a dataset object.
A)True
B)False
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) In order to set the Calendar control object Calendar1 to the current date,you could type ____.
A) Calendar1.SelectedDate = DateTime.Today;
B) Calendar1.SelectedDate = Today;
C) Calendar1.Date = Today;
D) Calendar1.Date = Today.DateTime;
Q2) Master page allows you to create and maintain a consistent theme across several pages for a Web site.
A)True
B)False
Q3) 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
Q4) In order to create a Windows Phone application using Visual Studio,you must have the ____________ installed.
To view all questions and flashcards with answers, click on the resource link above. Page 17