quiz on c# collection classes

quiz on c# collection classes

University

45 Qs

quiz-placeholder

Similar activities

AKT test (151-200)   Жаңа вариант

AKT test (151-200) Жаңа вариант

University

50 Qs

DPA Quiz

DPA Quiz

University

40 Qs

Software and Productivity Tools

Software and Productivity Tools

University

42 Qs

First  QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

First QUIZ of Database - Edited by: Eng. Javier Daza 2023-1

University

40 Qs

Relationship in Database

Relationship in Database

University

40 Qs

CIT_210_Test_1_Review

CIT_210_Test_1_Review

University

45 Qs

IT Networking Certification

IT Networking Certification

11th Grade - University

45 Qs

DATABASE 1 (15/7/2018)

DATABASE 1 (15/7/2018)

University

48 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?