quiz on c# collection classes

quiz on c# collection classes

University

45 Qs

quiz-placeholder

Similar activities

Java Programming

Java Programming

University

40 Qs

LATIHAN SOAL

LATIHAN SOAL

10th Grade - University

50 Qs

DBMS Unit 1

DBMS Unit 1

University

40 Qs

JavaScript - Practice 8

JavaScript - Practice 8

University

40 Qs

PROGRAMMING IN C CO-1,2

PROGRAMMING IN C CO-1,2

University

50 Qs

2nd C Programming Quiz

2nd C Programming Quiz

University

50 Qs

SKILL QUIZ

SKILL QUIZ

University

50 Qs

Techno Excellent

Techno Excellent

University

40 Qs

quiz on c# collection classes

quiz on c# collection classes

Assessment

Quiz

Computers

University

Medium

Created by

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

Media Image

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?


Media Image
Media Image
Media Image

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

Media Image

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

Media Image

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?

Media Image
Media Image
Media Image
Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?