C# MidQuiz

C# MidQuiz

University

20 Qs

quiz-placeholder

Similar activities

Excel grade 3

Excel grade 3

4th Grade - University

19 Qs

Python_MCQ_2

Python_MCQ_2

University

15 Qs

TPS vs MRS

TPS vs MRS

University

20 Qs

PTS Genap Informatika Kelas XI

PTS Genap Informatika Kelas XI

11th Grade - University

20 Qs

Mastering Python Control Flow

Mastering Python Control Flow

University

15 Qs

Q1. Human Computer Interaction

Q1. Human Computer Interaction

University

15 Qs

Pyhton Debugging Questions

Pyhton Debugging Questions

University

25 Qs

Quiz Komputasional-Struktur Data kelas 9

Quiz Komputasional-Struktur Data kelas 9

9th Grade - University

20 Qs

C# MidQuiz

C# MidQuiz

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Mr. Villa

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ___________ control is used to display a list of items in a single or multiple selection mode.

ComboBox

ListBox

ListView

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The _________ control is a more advanced list control that supports multiple views, including Details, Large Icons, Small Icons, and List.

ComboBox

ListBox

ListView

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ________ block contains the code that may throw an exception. This is where we place code that we want to monitor for errors.

Try

Catch

Finally

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ______ block handles the exception if one occurs. Multiple catch blocks can be used to handle different types of exceptions.

Try

Catch

Finally

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Removes an item at a specified

index.

Items.Remove

Items.RemoveAt

Items.clear

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Removes the specified item.

Items.Remove

Items.RemoveAt

Items.clear

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The ________block contains code that will always execute, whether an exception occurs or not. It is typically used for cleanup operations such as closing database connections or releasing file handles.

Try

Catch

Finally

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?