
quiz on c# collection classes

Quiz
•
Computers
•
University
•
Medium
24SEH532 MANIKANTA
Used 1+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which among the following is the correct way to find out the number of elements currently present in an ArrayListCollection called arr?
arr.Capacity
arr.Count
arr.MaxIndex
arr.UpperBound
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which among the following is the correct way to access all the elements of the Stack collection created using the C#.NET code snippet given below?
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statements among the following are correct about the Collection Classes available in Framework Class Library?
Elements of a collection cannot be transmitted over a network
Elements stored in a collection can be modified only if all the elements are of similar types
Elements stored in a Collection can be retrieved but cannot be modified
Collection classes make use of efficient algorithms to manage the collection, hence improving the performance of the program
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In which of the following collections is the I/O based on a key?
BitArray
SortedList
Queue
Stack
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements are correct about the C#.NET code snippet given below?
Dissimilar elements like "hello", 8.2, 5 cannot be stored in the same Stack collection.
Boolean values can never be stored in Stack collection.
In the fourth call to Push(), we should write "b" in place of 'b'.
This is a perfectly workable code.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to access all elements of the Queue collection created using the C#.NET code snippet given below?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT an interface declared in System.Collections namespace?
IComparer
IDictionaryComparer
IDictionaryEnumerator
IEnumerator
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
VB.NET BASIC QUIZ

Quiz
•
University
50 questions
codinggss

Quiz
•
University
40 questions
Tema 6 Programación Básica

Quiz
•
University
50 questions
SKILL QUIZ

Quiz
•
University
40 questions
Data Structures and Algorithms Quiz

Quiz
•
University
50 questions
LATIHAN SOAL

Quiz
•
10th Grade - University
45 questions
Python Quiz

Quiz
•
University
40 questions
CSD23703 Data Analytics - Chapter 1-8

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade