NET2

NET2

Assessment

Assessment

Created by

Surabhi Palkar

Other

University

4 plays

Hard

Student preview

quiz-placeholder

30 questions

Show all answers

1.

MULTIPLE CHOICE

1 min • 1 pt

An event that occurs during the execution of a program that is unexpected by the program code is known as ____.

2.

MULTIPLE CHOICE

1 min • 1 pt

Which among the following is an exception?

3.

MULTIPLE CHOICE

1 min • 1 pt

What allows you to test code for errors?

4.

MULTIPLE CHOICE

1 min • 1 pt

The try and catch keywords come in pair.

5.

MULTIPLE CHOICE

1 min • 1 pt

Which of these keywords is not a part of exception handling?

6.

MULTIPLE CHOICE

2 mins • 1 pt

What will be the output of the following C# code?

static void Main(string[] args)

{               

try     {       

Console.WriteLine("Java" + " " + 1/Convert.ToInt32(0));   

}   

catch(ArithmeticException e)    

{       

Console.WriteLine("Csharp");            

}   

Console.ReadLine();

}

7.

MULTIPLE CHOICE

1 min • 1 pt

Which of the following is the wrong statement about exception handling in C#.NET?

8.

MULTIPLE CHOICE

2 mins • 1 pt

What will be the output of the following C# code snippet? {     try     {         int a, b;         b = 0;         a = 5 / b;         Console.WriteLine("A");     }     catch(ArithmeticException e)     {         Console.WriteLine("B");     }     finally     {         Console.WriteLine("C");     }     Console.ReadLine(); }

9.

MULTIPLE CHOICE

1 min • 1 pt

When we are not sure about the exception type that may be generated then ___ is used.

10.

MULTIPLE CHOICE

1 min • 1 pt

Which of the following exception handles error generated by invalid private and protected field access?

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Similar Resources on Quizizz

CODE - CODE QUIZ

25 questions

CODE - CODE QUIZ

assessment

University

C# and .Net Programming

26 questions

C# and .Net Programming

assessment

University

MIDTERM EXAM - FINANCIAL ACCTG & REPORTING

29 questions

MIDTERM EXAM - FINANCIAL ACCTG & REPORTING

assessment

University

Exam Q's Unit 2 - Ratios

25 questions

Exam Q's Unit 2 - Ratios

assessment

12th Grade - University

Cash Vs Accrual Accounting and Income Statement

25 questions

Cash Vs Accrual Accounting and Income Statement

assessment

University

RA 6713 Code 0f Conduct for Public Officials & Employees - T8

30 questions

RA 6713 Code 0f Conduct for Public Officials & Employees - T8

assessment

University

Coronal Polishing Review 1

25 questions

Coronal Polishing Review 1

assessment

University

Popular Resources on Quizizz

STAAR reading review

13 questions

STAAR reading review

assessment

4th - 5th Grade

7th STAAR Reading Review

16 questions

7th STAAR Reading Review

assessment

7th Grade

STAAR Reading Review

12 questions

STAAR Reading Review

assessment

4th - 7th Grade

STAAR reading vocabulary

14 questions

STAAR reading vocabulary

assessment

4th - 5th Grade

STAAR Reading Review

10 questions

STAAR Reading Review

assessment

3rd - 5th Grade

Reading STAAR Review

17 questions

Reading STAAR Review

assessment

4th Grade

7th grade STAAR Reading Review

24 questions

7th grade STAAR Reading Review

assessment

7th Grade

Revising and Editing

14 questions

Revising and Editing

assessment

4th Grade

Discover more resources for Other

Disney characters

20 questions

Disney characters

assessment

KG - Professional Dev...

Random Trivia

20 questions

Random Trivia

assessment

5th Grade - Professio...

STAAR review Earth and Space

23 questions

STAAR review Earth and Space

assessment

KG - University

Disney Movies

26 questions

Disney Movies

assessment

6th Grade - University

Disney Trivia

24 questions

Disney Trivia

assessment

5th Grade - University