Search Header Logo

python 13

Authored by Ahmed elasey

Computers

University

Used 1+ times

python 13
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

لفتح ملف بكود البايثون من خلال

f = open("demofile.txt")

f = close("demofile.txt")

open("demofile.txt")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

f = open("demofile.txt")

print(f.read())

الكود خطأ

الكود صح

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

print(f.read())

الكود خطأ

الكود صح

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

print(f.read())

الكود خطأ

الكود صح

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

لقراءة اول سطر فقط فى الملف من خلال

read( )

readline( )

write( )

writeline( )

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

لكتابة واضافة النصوص للكلام من خلال

f.read()

readline( )

f.write()

writeline( )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

f = open("demofile.txt", "r")
print(f.readline())
print(f.readline())

سيتم طباعة اول سطرين

سيتم طباعة السطر الاول مرتين

سيتم طباعة السطر الاول فقط

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers