quiz on c# collection classes

quiz on c# collection classes

University

45 Qs

quiz-placeholder

Similar activities

Ujian IoT PTS 2024 45 Soal

Ujian IoT PTS 2024 45 Soal

11th Grade - University

45 Qs

Midterm Exam - HCI

Midterm Exam - HCI

University

42 Qs

Visual Programming ICA

Visual Programming ICA

University

50 Qs

XML

XML

University

50 Qs

INTRO TO AI

INTRO TO AI

University

50 Qs

TIN HỌC KHỐI 5 HK1

TIN HỌC KHỐI 5 HK1

1st Grade - University

42 Qs

Computer memory

Computer memory

University

45 Qs

PROJECT MANAGEMENT FINAL

PROJECT MANAGEMENT FINAL

University

50 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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?