quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

quiz-placeholder

Similar activities

Bangtan BTS

Bangtan BTS

University

8 Qs

NATIONAL INCOME ACCOUNTING

NATIONAL INCOME ACCOUNTING

University

10 Qs

STARTER QUIZ-1

STARTER QUIZ-1

6th Grade - University

8 Qs

Introductory Quiz

Introductory Quiz

9th - 12th Grade

10 Qs

Techii Quizzz

Techii Quizzz

University

10 Qs

Kuiz Unity

Kuiz Unity

University

10 Qs

Pop Quiz_International Trade

Pop Quiz_International Trade

University

10 Qs

TADBIR URUS NEGARA

TADBIR URUS NEGARA

University

12 Qs

quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

Assessment

Quiz

Other

12th Grade - University

Medium

Created by

sasika roledenez

Used 20+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

hi

bye

hi

An exception occurred

hi

bye

An exception occurred

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

Something went wrong

Finally print this

Something went wrong

Nothing went wrong

Finally print this

Finally print this

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

50

0

error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

50

numbers can not divide by 0

error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

error

numbers can not divide by 0

numbers can not divide by 0

no errors

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

hi

hi

bye

hi

bye

bye

bye

hi

bye

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

we want to write something in test.txt file. what is the correct syntax?

f = open("test.txt", "w")

f = open("test.txt")

f = open("test.txt", "r")

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to import python math modules?

form import math

import math

import from math

from math

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

output?

Lorum Ipsum

demofile.txt

Something went wrong when writing to the file.