quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

quiz-placeholder

Similar activities

TXT quiz

TXT quiz

3rd Grade - University

10 Qs

Операционная система. Организация работы с файлами

Операционная система. Организация работы с файлами

12th Grade

12 Qs

Apakah anda seorang K-popers?

Apakah anda seorang K-popers?

KG - Professional Development

10 Qs

Computer Parts Review

Computer Parts Review

6th - 12th Grade

10 Qs

SAT vs ACT Comparison quiz

SAT vs ACT Comparison quiz

6th - 12th Grade

13 Qs

Topic 1 : Introduction to Embedded System

Topic 1 : Introduction to Embedded System

1st Grade - Professional Development

12 Qs

MODULE 7

MODULE 7

12th Grade - University

10 Qs

K-POP QUIZ!

K-POP QUIZ!

4th Grade - University

11 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.