

![]()


This course provides a comprehensive introduction to data structures using the C# programming language. Students will explore fundamental data organization techniques, including arrays, linked lists, stacks, queues, trees, and graphs. Emphasis is placed on the implementation of these structures in C#, analyzing their efficiency and suitability for different types of computational problems. Through hands-on projects and exercises, students will develop practical skills in problem-solving, algorithm development, and the design of robust software applications, preparing them for advanced programming and software engineering courses.
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) Comments are considered instructions to the computer.
A)True
B)False
Answer: False
Q2) Which of the following would display "Good day!" on the screen?
A) WriteLine.Console("Good day!");
B) Console.WriteLine["Good day!"];
C) WriteLine.Console{"Good day!"};
D) Console.WriteLine("Good day!");
Answer: D
Q3) Since C# is an object-oriented language,everything is designed around a class. A)True
B)False
Answer: True
Q4) A(n)____________ is a mock-up of screens depicting the look of the final output. Answer: prototype
Q5) Programmers commonly verify that their design is correct by doing a(n)_____________.
Answer: desk check
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) ____________ are predefined reserved identifiers that have special meanings to the compiler.
Answer: Keywords
Q2) Which of the following is a valid compile-time initialization for amountDue,a variable of the decimal type,that will initially be set to zero?
A) amountDue = 0;
B) amountDue = '0';
C) amountDue = 0m;
D) amountDue = 0d;
Answer: C
Q3) An int variable would be the most appropriate type for a memory location that will be used to store the monthly membership dues for the computer club.
A)True
B)False
Answer: False
Q4) The decimal equivalent for 3.42e-5 in scientific notation is .00342.
A)True
B)False
Answer: False
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) Console applications require a Main( )method,unlike Windows applications that do not require a Main( )method.
A)True
B)False
Answer: False
Q2) All Main( )method headings must include the ____________ modifier meaning that the method belongs to the type itself rather than to a specific object of a class.
Answer: static
Q3) Avoid writing long methods.Consider refactoring when the method exceeds ____________ lines of code
Answer: 25
Q4) In the statement above,CalculateGrade(90,75,83)is ____.
A) a method call
B) a method declaration
C) an identifier for the class
D) a parameter for the WriteLine( ) method
Answer: A
Q5) Call by ____________ is the default parameter type.
Answer: value
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) With the object-oriented approach,objects send messages to other objects and receive messages from objects.
A)True
B)False
Q2) The default constructor normally has an empty body.
A)True
B)False
Q3) C# is an object-oriented language.All the code for an application must be placed in a(n)____.
A) file
B) object
C) class
D) method
Q4) In order to test a class,____.
A) a different class is needed.
B) invoke instance methods using the objects you construct.
C) use the properties to assign and retrieve values.
D) all of the above.
Q5) Constructors are used to ____________ a class.
Q6) ____________ access modifier is always associated with constructors.
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) ____ perform differently based on their operands.
A) Overloaded operators
B) Conditional expressions
C) Boolean operators
D) Relational operators
Q2) Placing a semicolon onto the end of the conditional one-way if statement ____.
A) causes the expression to evaluate to false
B) produces a syntax error
C) causes the expression to evaluate to true
D) produces a null empty bodied true statement
Q3) You cannot use the ____________ statement to test for a range of values.
Q4) A comparison to determine whether the uppercase character S is less than the uppercase character W produces false.
A)True
B)False
Q5) A conditional expression is also referred to as a(n)____________.
Q6) Boolean variables store 0 to represent off or false and 1 to represent on or true.
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) In order to use the MessageBox.Show( )method in your console application,you must
A) enclose the method call in a body of a loop
B) add a reference to the System.Windows.Forms.dll.
C) add a using System.MessageBox directive
D) call on the method from within the WriteLine( ) or Write( ) methods
Q2) An advantage of sentinel-controlled loops is you do not need to know how many times the loop will be performed.
A)True B)False
Q3) Unlike the sentinel-controlled loop,the variable used with a state-controlled loop differs from the variable used to store the data that is being processed. A)True B)False
Q4) The only posttest loop structure available with C# is the ____________ loop structure.
Q5) One of the major strengths of programming languages can be attributed to loops. A)True B)False
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) You can instantiate arrays of user-defined array objects and send in arrays as arguments to methods,but you cannot return arrays from methods.
A)True
B)False
Q2) One of the special properties in the Array class is ____________.It returns an int representing the total number of elements in an array.
Q3) You can declare an array without dimensioning its size,but the size must be determined before you can access it.
A)True
B)False
Q4) When two or more arrays have a relationship such that you are able to use the same subscript or index to refer to related elements in the arrays,you have ____ arrays.
A) parallel
B) two dimensional
C) dynamic
D) related
Q5) Array identifiers are normally defined using a ____________.
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) With the declaration above,price[1] refers to 1.2.
A)True
B)False
Q2) Which class represents a First-In-First-Out (FIFO)collection,which is useful for storing objects in the order they were received for sequential processing?
A) Queue
B) HashTable
C) Stack
D) ArrayList
Q3) Which of the following returns the number of columns in a two-dimensional array?
A) Rank
B) GetLength(0)
C) GetLength(1)
D) GetLength
Q4) The ____________ property can be used with multidimensional arrays to get the total number of elements in all dimensions.
Q5) ____________ class represents a simple last-in-first-out (LIFO)collection of objects.
Q6) 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) A derived class ____ methods of another class.
A) inherits
B) overrides
C) extends
D) declares
Q2) Which TextBox property can be set to enable several lines of data to be entered by the user?
A) MultiLine
B) ScrollBars
C) MaxLength
D) Lines
Q3) A good design principle to follow when developing Windows applications is ____.
A) to keep data entry to a minimum
B) to add all buttons before any other controls are added
C) use dark foreground and medium dark backgrounds on the form
D) register events as soon as possible
Q4) With Windows applications,both the files,Form1.cs and Form1.Designer.cs,only include part of the definition for the class in their file.Thus,both include the keyword ____________ in their class heading definition.
Q5) When a button is clicked by a user,its ____________ is automatically called up.
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) A KeyPress( )event is fired with each and every keystroke.
A)True
B)False
Q2) You can assign a(n)____________ to controls,such as text boxes or menu items,so that text is displayed when the cursor is rested on top of the component.
Q3) The ____ class in the System.Windows.Forms namespace enables you to add more functionality to your application by offering additional user options,such as adding layers of menus.
A) MenuStrip
B) MenuDialog
C) Main
D) DialogMenu
Q4) ComboBox objects have an added feature over the ListBox controls in that ____.
A) ComboBox objects contain their own text box field
B) Scrollbars are included with ComboBox objects
C) ComboBox objects enable multiple selections
D) ComboBox objects can be used for input and output
Q5) To add functionality to a control such as a Button or ListBox,you need to ____________ for it.
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) ____ contain no implementation details for any of their methods. Instead all their members are considered abstract.
A) Abstract classes
B) Interfaces
C) Virtual classes
D) Base classes
Q2) Once a DLL is available,any application can add a reference to the DLL.The referenced file with the .dll extension becomes part of the application's private assembly.
A)True
B)False
Q3) ____________ enables algorithms to be written where a number of details,including the data type can be specified-later.
Q4) Access to members that have been defined with the public access modifier is restricted to members of the current class.
A)True
B)False
Q5) A stack represents a simple ____________ collection.
Page 13
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/9101
Sample Questions
Q1) When the CLR handles the exception by halting the application ____.
A) the exception is thrown back to the calling method
B) the Main( ) method is placed in an infinite loop
C) the computer locks up
D) an unhandled exception is reported
Q2) With the Debugger,while in break mode,you can examine expressions to see what values are being generated.
A)True
B)False
Q3) In C# the only checked exceptions are IOExceptions.
A)True
B)False
Q4) The catch clause associated with a try...catch can be omitted as long as you have a finally block.
A)True
B)False
Q5) Bugs,errors,and exceptions are the same thing.
A)True
B)False
Q6) C# adheres to a fairly sophisticated set of rules known as C# ____________.
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) Objects of streams can be wrapped with _________ objects to improve the speed and performance of file-handling operations.
A) NetworkStream
B) FileStream
C) MemoryStream
D) BufferedStream
Q2) The gray section below the Form object where dialog objects are placed in Visual Studio is called the ____.
A) dialog area
B) work tray
C) toolbox
D) component tray
Q3) When a method uses a(n)____________ modifier,the method belongs to the class itself,not to a specific object of the class and is thus called using the class name.
Q4) No exception is thrown if you attempt to close or open a file that does not exist.
A)True
B)False
Q5) 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) Data is stored in tabular format for a relational database.Each row in the table represents a(n)____.
A) table
B) field
C) key
D) record
Q2) A copy of an Access database can be stored locally;however,you can not store a local copy of a SQL Server database table.
A)True
B)False
Q3) Connection strings are vendor specific.
A)True
B)False
Q4) When finished processing the data,you should close the reader and connection objects.Doing so ____.
A) creates a log of the database activities
B) positions the reader back to the beginning row
C) unlocks the database so that other applications can access it
D) flushes the buffer and gets it ready for the next read
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) ____ enable you to provide more consistency across pages on a Web site.
A) Cascading Style Sheets
B) ASP.NET
C) MainContent Pages
D) DynamicPage applications
Q2) 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
Q3) There are more controls to add to a Web application than there are for Windows applications.
A)True
B)False
Q4) A(n)____________ that simulates a Windows Phone device is included as part of the Software Development Kit.
To view all questions and flashcards with answers, click on the resource link above.
Page 17