quiz - 7(exceptions and file handling)

quiz - 7(exceptions and file handling)

12th Grade - University

9 Qs

quiz-placeholder

Similar activities

Kpop kuis

Kpop kuis

University

10 Qs

K-POP QUIZ!

K-POP QUIZ!

4th Grade - University

11 Qs

Quiz 1: Introduction to Macroeconomics

Quiz 1: Introduction to Macroeconomics

University

10 Qs

Regular Course 2021 Full Stack_M1 L1

Regular Course 2021 Full Stack_M1 L1

7th - 12th Grade

8 Qs

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

[Kelas 8 SMP] Bab 1 - Bahasa Program Java

8th Grade - University

10 Qs

Guess the K-pop Group/Artist

Guess the K-pop Group/Artist

KG - Professional Development

11 Qs

MODULE 7

MODULE 7

12th Grade - University

10 Qs

PythonFun

PythonFun

6th - 12th Grade

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