
python 13
Authored by Ahmed elasey
Computers
University
Used 1+ times

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")
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?