
Collections C#
Authored by Long Trần
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main motivation for using collection classes in C#?
To reduce the size of arrays
To provide flexible, dynamically resizing data structures
To avoid using objects
To enhance memory usage
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which namespace contains nongeneric collections in C#?
System.Generic
System.Collections.Generic
System.Collections
System.Data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the key disadvantage of nongeneric collections?
They are type-safe
They perform better than generic collections
They operate on `System.Object` types, leading to type safety issues
They require complex syntax
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a generic collection?
ArrayList
Queue
List
Stack
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are generic collections preferred over nongeneric collections?
They provide better type safety and performance by avoiding boxing and unboxing
They allow any data type to be used without casting
They only work with primitive data types
They can store only objects
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `ArrayList` collection in C# represent?
A generic collection for fixed-size arrays
A nongeneric collection that can hold different data types
A stack-based collection
A queue-based collection
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a generic collection class in C#?
List
Dictionary
ArrayList
Stack
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
15 questions
DAWN CIE
Quiz
•
University
17 questions
revision 1
Quiz
•
University
20 questions
Sjmit-Q2-[Workshop-MAR-25]
Quiz
•
12th Grade - University
20 questions
Bootcamp Data Analyst 2
Quiz
•
University
15 questions
code trivia
Quiz
•
University
20 questions
икт 21-40
Quiz
•
1st Grade - University
15 questions
NSCC-CODE TO COIN
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade