

![]()


This course provides a comprehensive introduction to the fundamental concepts of data structures using the C# programming language. Students will explore essential data structures such as arrays, linked lists, stacks, queues, trees, and hash tables, learning how to implement and manipulate them efficiently in C#. The course covers the principles of algorithm analysis, memory management, and object-oriented programming techniques as they relate to data structures. Through hands-on programming assignments and projects, students will develop skills in selecting appropriate data structures to solve computational problems and enhance application performance.
Recommended Textbook
Visual C# How to Program 6th Edition by Paul J. Deitel
Available Study Resources on Quizplus
25 Chapters
1353 Verified Questions
1353 Flashcards
Source URL: https://quizplus.com/study-set/2449 Page 2

Available Study Resources on Quizplus for this Chatper
49 Verified Questions
49 Flashcards
Source URL: https://quizplus.com/quiz/48667
Sample Questions
Q1) Secondary storage stores data for large amounts of time.
A)True
B)False Answer: True
Q2) High-level computer languages are easily understood by a computer without any need of translation.
A)True
B)False Answer: False
Q3) Computers process data,using sets of instructions called ________.
A) softgoods
B) computer programs
C) recipes
D) hardware
Answer: B
Q4) Input devices allow the computer to receive data.They are things such as a keyboard or mouse.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above. Page 3

Available Study Resources on Quizplus for this Chatper
25 Verified Questions
25 Flashcards
Source URL: https://quizplus.com/quiz/48668
Sample Questions
Q1) Commands for managing the IDE and for developing,maintaining and executing programs are contained in the menus,which are located on the menu bar.
A)True
B)False
Answer: True
Q2) Which of the following is not a supported image format in Visual Studio 2012:
A) GIF
B) TIF
C) PNG
D) JPEG Answer: B
Q3) Visual Studio Community can be used to create apps only in C#.
A)True
B)False
Answer: False
Q4) The programmer can also access all the commands in the menus from the toolbar.
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
41 Verified Questions
41 Flashcards
Source URL: https://quizplus.com/quiz/48669
Sample Questions
Q1) Concatenation is the process that enables a string and another string or a value of another data type to be combined to form a new string.
A)True
B)False
Answer: True
Q2) Interpolation expressions are enclosed in square brackets ([]).
A)True
B)False
Answer: False
Q3) The Parameter Info window indicates how many versions of the selected method are available.
A)True
B)False
Answer: True
Q4) A directs a user to take a specific action.
A) declaration
B) error
C) prompt
D) None of the above.
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
50 Verified Questions
50 Flashcards
Source URL: https://quizplus.com/quiz/48670
Q1) By default,everything in a class is ________,unless you specify otherwise by providing access modifiers.
a) public
b) private
c) protected
d) None of the above.
A)True
B)False
Q2) An important difference between constructors and methods is that constructors must specify a return type of void.
A)True
B)False
Q3) Which of the following statements about the C format specifier is false.
A) It formats the string as currency.
B) It includes an appropriate currency symbol ($ in the U.S.) next to the number.
C) It separates digits with an appropriate separator character (in the U.S. its a comma between every digit.)
D) It sets the number of decimal places to two by default.
To view all questions and flashcards with answers, click on the resource link above. Page 6

Available Study Resources on Quizplus for this Chatper
94 Verified Questions
94 Flashcards
Source URL: https://quizplus.com/quiz/48671
Sample Questions
Q1) Which statement is false
A) Unless directed otherwise, the computer executes C# statements one after the other in the order in which they are written.
B) Activity diagrams normally show the C# code that implements the activity.
C) Like pseudocode, activity diagrams help programmers develop and represent algorithms.
D) The arrows in the activity diagram represent transitions, which indicate the order in which the actions represented by the action states occur.
Q2) Pseudocode must be written in an editor capable of understanding it and the language to which it pertains.
A)True
B)False
Q3) Which of the following is not a benefit of "goto-free programs"
A) easier to debug and modify
B) shorter
C) clearer
D) more likely to be bug free
To view all questions and flashcards with answers, click on the resource link above.
Available Study Resources on Quizplus for this Chatper
66 Verified Questions
66 Flashcards
Source URL: https://quizplus.com/quiz/48672
Sample Questions
Q1) Modifying the control variable of a for statement in the body can cause errors.
A)True
B)False
Q2) Consider the code segment below.
If (gender == 1)
{ If (age >= 65) { ++seniorFemales;

This segment is equivalent to which of the following
A) if (gender == 1 || age >= 65) {
B) if (gender == 1 && age >= 65)
C) if (gender == 1 AND age >= 65)
D) if (gender == 1 OR age >= 65)
Q3) Infinite loops are caused when the loop-continuation condition in a while,for or do while statement never becomes true.
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
95 Verified Questions
95 Flashcards
Source URL: https://quizplus.com/quiz/48673
Sample Questions
Q1) A recursion step normally includes the keyword return.
A)True
B)False
Q2) Let x be a double.How can you typecast a double into a float
A) implicitly
B) x(float)
C) (float)x
D) x = float
Q3) Method arguments may not be expressions.
A)True
B)False
Q4) Random-number generator scaling is the process of:
A) causing each number in a range to have equal likelihood of being generated
B) modifying the range from which a number will be generated
C) calculating a sequence of numbers to be generated
D) None of the above.
Q5) When a return statement executes,control proceeds immediately to the first statement after the method that issues the return.
A)True
B)False

9
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
90 Verified Questions
90 Flashcards
Source URL: https://quizplus.com/quiz/48674
Sample Questions
Q1) In an array of reference types,each element may be a reference to a different type.
A)True
B)False
Q2) For the array in the previous question,what is the value returned by items[1, 0].
A) 4
B) 8
C) 12
D) 6
Q3) The parameter in the Main header allows for ________
A) the use of strings
B) command-line arguments
C) input and output capacity
D) All of the above
Q4) To pass an array argument to a method,specify the name of the array followed by empty brackets.
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
27 Verified Questions
27 Flashcards
Source URL: https://quizplus.com/quiz/48675
Sample Questions
Q1) In a LINQ query,the where clause specifies .
A) the data source
B) where to put the data
C) the condition(s) for including the item
D) the Location property
E) the data type
Q2) The results of a LINQ query can have only the same type as the data being queried-for example,a LINQ query on a collection of Employee objects will always have Employee objects in the results.
A)True
B)False
Q3) You can sort a LINQ query's results only by one property.
A)True
B)False
Q4) A List< T > can automatically resize itself to accommodate additional elements.
A)True
B)False
Q5) Unlike arrays,lists do not resize automatically.
A)True
B)False

11
To view all questions and flashcards with answers, click on the resource link above.
Available Study Resources on Quizplus for this Chatper
79 Verified Questions
79 Flashcards
Source URL: https://quizplus.com/quiz/48676
Sample Questions
Q1) Only certain objects have a this reference.
A)True
B)False
Q2) Which statement is false
A) The compiler always creates a default constructor for a class.
B) If a class has constructors, but none of the public constructors are parameterless, and a program attempts to call a parameterless constructor to initialize an object of the class, a compilation error occurs.
C) A constructor can be called with no arguments only if the class does not have any constructors or if the class has a public parameterless constructor.
D) Parameterless constructors do not have any arguments.
Q3) Programmers should not take into consideration that their code will be modified.
A)True
B)False
Q4) Objects can hide their implementation from other objects.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.

12

Available Study Resources on Quizplus for this Chatper
51 Verified Questions
51 Flashcards
Source URL: https://quizplus.com/quiz/48677
Sample Questions
Q1) When creating derived classes,you must use discretion in choosing the proper base class.Ideally,the base class will not contain excessive capabilities or information. A)True
B)False
Q2) Method Equals will accurately compare any two objects. A)True
B)False
Q3) A "copy-and-paste" approach is a simple and efficient way from a software-engineering perspective of providing func tionality that exists in other classes.
A)True
B)False
Q4) Members of a base class that are private are not inherited by derived classes. A)True B)False
Q5) Inheritance is the process of building a class with object references of other classes. A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 13

Available Study Resources on Quizplus for this Chatper
62 Verified Questions
62 Flashcards
Source URL: https://quizplus.com/quiz/48678
Sample Questions
Q1) Attempting to instantiate an object of an abstract class is a logic error.
A)True
B)False
Q2) All methods in a sealed class must be explicitly declared sealed.
A)True
B)False
Q3) Which of the following does not complete the sentence correctly An interface.
A) forces classes that implement it to declare all the interface methods.
B) is used in place of an abstract class when there is no default implementation to inherit.
C) cannot be instantiated.
D) can be instantiated.
Q4) Polymorphism allows the addition of classes providing they were at least considered during program development.
A)True B)False
Q5) All methods in an abstract class are inherently abstract.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 14

Available Study Resources on Quizplus for this Chatper
58 Verified Questions
58 Flashcards
Source URL: https://quizplus.com/quiz/48679
Sample Questions
Q1) An exception is:
A) a problem a computer has during construction
B) a problem that a program has during runtime
C) something that the computer does not understand
D) the way a computer signals to the users that it is about to terminate
Q2) Programmer-defined exception classes typically should contain 3 constructors:
A) a default constructor, a constructor that receives a string for the error message and a constructor that receives an Exception argument of the inner exception object
B) a default constructor, a constructor that receives a string and a constructor that receives both a string and an exception
C) a constructor that receives a string, a constructor that receives an exception and a constructor that receives both
D) a default constructor, a constructor that receives a string and a constructor that receives a number indicating the line number where the exception occurred
Q3) The finally block is executed only if no error was reached in the try block.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 15

Available Study Resources on Quizplus for this Chatper
64 Verified Questions
64 Flashcards
Source URL: https://quizplus.com/quiz/48680
Sample Questions
Q1) Key events are more important to the program than other events.
A)True
B)False
Q2) Property Anchor allows the programmer to prevent form alterations by the user.
A)True
B)False
Q3) Events occur,for example,when the user clicks the mouse or types on the keyboard and interacts with controls.
A)True
B)False
Q4) What does the InitialDelay property of the ToolTip determine
A)The amount of time that the tool tip appears while the mouse is over a control.
B)The amount of time that a mouse must hover over a control before a tool tip appears.
C) The amount of time between which two different tool tips appear.
Q5) Visual Studio provides snap lines to help align controls.
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
73 Verified Questions
73 Flashcards
Source URL: https://quizplus.com/quiz/48681
Sample Questions
Q1) For a selection,the user must type the desired date.
A)True
B)False
Q2) Visual inheritance is used to create visual consistence and uniformity.
A)True
B)False
Q3) The UseMnemonic property indicates that ampersand (&)should be interpreted as a shortcut rather than an actual character.
A)True
B)False
Q4) The syntax for adding a new item to a ListBox is:
A) ListBox.Items.Add("item")
B) ListBox.Add("item")
C) ListBox.Items.Insert("item")
D) ListBox.Insert("item")
Q5) What is the event when a value is selected ?
A) ValueChanged
B) DateTimeModified
C) DateModified
D) TimeModified

17
To view all questions and flashcards with answers, click on the resource link above.
Available Study Resources on Quizplus for this Chatper
92 Verified Questions
92 Flashcards
Source URL: https://quizplus.com/quiz/48682
Sample Questions
Q1) The Equals string method is used to see if:
A) two strings are exactly the same.
B) two strings start with the same letter.
C) the ASCII sum of the characters in both strings are the same.
D) the two strings have the same letter in the same position anywhere in the strings.
Q2) When comparing "a" to "_" the correct result would be:
A) "a" is greater
B) they are equal
C) "_" is greater
D) there is no way to compare "_" to "a"
Q3) A lazy quantifier will return only the first case that matches the specifica tions.
A)True
B)False
Q4) The letter 'B' is greater than the letter 'b'.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above.

18

Available Study Resources on Quizplus for this Chatper
39 Verified Questions
39 Flashcards
Source URL: https://quizplus.com/quiz/48683
Sample Questions
Q1) The Console.Error property returns:
A) a standard error stream object
B) a new error
C) an object of type error
D) None of the above
Q2) When a file is opened,a stream object is created and associated with the file.
A)True
B)False
Q3) All simple-type variables and strings are serializable.
A)True
B)False
Q4) The standard output stream object enables a program to output data to the screen.
A)True
B)False
Q5) Directory's method GetDirectories returns:
A)a string of all the names of sibling directories
B) an array of strings of all the names of sibling directories
C) a string of all the names of subdirectories
D) an array of strings of all the names of subdirectories
To view all questions and flashcards with answers, click on the resource link above. Page 19

Available Study Resources on Quizplus for this Chatper
19 Verified Questions
19 Flashcards
Source URL: https://quizplus.com/quiz/48684
Sample Questions
Q1) What is the efficiency of selection sort
A) O(n2)
B) O(n log n)
C) O(n)
D) O(1)
Q2) If the search key is not in an array of 10 elements,how many comparisons must the linear search algorithm make
A) 0
B) 10
C) 9
D) 5
Q3) Searching data involves determining whether a search key is present in the data and,if so,finding its location.
A)True
B)False
Q4) What is the efficiency of linear search
A) O(1).
B) O(log n).
C) O(n).
D) O(n2).
To view all questions and flashcards with answers, click on the resource link above. Page 20
Available Study Resources on Quizplus for this Chatper
28 Verified Questions
28 Flashcards
Source URL: https://quizplus.com/quiz/48685
Sample Questions
Q1) Which is not a typical application of queues
A) Routing packets in a computer network
B) File server handling file access requests from many clients
C) High-speed sorting
D) Print spooling
Q2) Like linked lists,stacks,and queues,trees are also linear data structures.
A)True
B)False
Q3) The two primary operations when manipulating a stack are push and pop.
A)True
B)False
Q4) Dynamic data structures grow and shrink at ______ time.
A)compilation
B) execution
C) a and b
D) None of the above
Q5) The insert and remove operations for a queue are known as dequeue and enqueue,respectively.
A)True
B)False

21
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
22 Verified Questions
22 Flashcards
Source URL: https://quizplus.com/quiz/48686
Sample Questions
Q1) A ________ provides a means for describing a class in a type-independent manner.
A) subclass
B) generic class
C) concrete class
D) parameterized class
Q2) A type parameter _____________.
A) is an identifier that is used in place of an actual type name
B) can be used to declare the return type
C) acts as a placeholder for the type of an argument passed to the generic method
D) All of the above
Q3) The ________ clause specifies the type constraint for type parameter T.
A) when
B) constraint
C) where
D) cnstr
Q4) A generic method's body is declared differently than that of any other method.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 22
Available Study Resources on Quizplus for this Chatper
35 Verified Questions
35 Flashcards
Source URL: https://quizplus.com/quiz/48687
Q1) Which of the following statements is false
A) A concept called threads enables the operating system to run parts of an app concurrently. Though all of these tasks can make progress concurrently, they may do so by sharing one processor core.
B) With multicore processors, apps can operate truly in parallel on separate cores, possibly increasing the app's performance substantially.
C) Parallelizing apps and algorithms to take advantage of multiple cores is difficult and highly error prone, especially if those tasks share data that can be modified by one or more of the tasks.
D) A benefit of functional programming is that you can easily ask the library to perform a task with parallel processing to take advantage of a processor's multiple cores. This is the purpose of CLINQ (Concurrent LINQ)-an implementation of the LINQ to Objects extension methods that parallelizes the operations for increased performance.
Q2) A _______ is the general term for a collection of key-value pairs.
A) book
B) glossary
C) dictionary
D) lexicon
To view all questions and flashcards with answers, click on the resource link above.

Page 23

Available Study Resources on Quizplus for this Chatper
25 Verified Questions
25 Flashcards
Source URL: https://quizplus.com/quiz/48688
Sample Questions
Q1) A primary key field can be duplicated in other records of the same relational database table,making it easier to manipulate.
A)True
B)False
Q2) SQL is an acronym for:
A) Smart Query Language
B) Simulated Query Language
C) Structured Query Language
D) None of the above
Q3) A relational database model allows relationships between data to be considered without concern for the ________.
A) meaning of the data
B) structure of the data
C) application of the data
D) All of the above
Q4) An ADO.NET Entity Data Model contains only classes that represent the database's tables.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 24

Available Study Resources on Quizplus for this Chatper
37 Verified Questions
37 Flashcards
Source URL: https://quizplus.com/quiz/48689
Sample Questions
Q1) An async method can perform other statements between those that launch an asynchronous Task and await the Task's results.In such as case,the method continues executing those statements after launching the asynchronous Task until it reaches
A) the await expression
B) the return statement
C) the Task return
D) the async return
Q2) Class HttpClient's ________ method starts a new Task< string > in a separate thread and uses the URL specified as the method's string argument to request information from a web server.
A) RequestWebStringAsync
B) QueryWebStringAsync
C) StartTaskStringAsync
D) GetStringAsync
Q3) Task property ________ returns the value returned by a Task.
A) Result
B) Value
C) TaskReturn
D) TaskValue
To view all questions and flashcards with answers, click on the resource link above. Page 25

Available Study Resources on Quizplus for this Chatper
72 Verified Questions
72 Flashcards
Source URL: https://quizplus.com/quiz/48690
Sample Questions
Q1) Method ________ adds a node,or collection of nodes,as children of the given node.
A) Add
B) XAdd
C) AddChildren
D) XAddChildren
Q2) XML allows the description of virtually any type of data.
A)True
B)False
Q3) Method ________ returns an IEnumerable< XNode > containing all children of the given XContainer.
A) Children
B) Nodes
C) Elements
D) Descendants
Q4) Class ________ allows you to represent an XML namespace.
A) XName
B) XMLNamespace
C) XNamespace
D) XMLNS
To view all questions and flashcards with answers, click on the resource link above. Page 26

Available Study Resources on Quizplus for this Chatper
60 Verified Questions
60 Flashcards
Source URL: https://quizplus.com/quiz/48691
Sample Questions
Q1) A CollectionViewSource provides multiple "views" of the same data.
A)True
B)False
Q2) Custom control templates allow you to completely customize a control's appearance.
A)True
B)False
Q3) Layout of controls refers to the controls' _____.
A) size
B) event handlers
C) position
D) a and b
E) a and c
Q4) Dependency properties provide built-in change notification.
A)True
B)False
Q5) WPF controls are 'lookless,' meaning that their appearance can be set by any control template.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 27