python 13

python 13

University

10 Qs

quiz-placeholder

Similar activities

6thApril

6thApril

University

10 Qs

Linux Commands

Linux Commands

University

11 Qs

Python Round 3

Python Round 3

University

11 Qs

PYTHON QUIZ2

PYTHON QUIZ2

University - Professional Development

10 Qs

PHP: مفاهيم أساسية

PHP: مفاهيم أساسية

7th Grade - University

11 Qs

Sistemas Operativos - Capítulo 6 - File I/O - baixo nível

Sistemas Operativos - Capítulo 6 - File I/O - baixo nível

University

8 Qs

Python - Archivos de texto

Python - Archivos de texto

University

9 Qs

6-文件操作

6-文件操作

University

10 Qs

python 13

python 13

Assessment

Quiz

Computers

University

Medium

Created by

Ahmed elasey

Used 1+ times

FREE Resource

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

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

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

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?