python 13

python 13

University

10 Qs

quiz-placeholder

Similar activities

Evaluación de Sistemas Operativos

Evaluación de Sistemas Operativos

University

15 Qs

Word - Básico

Word - Básico

1st Grade - University

10 Qs

ACM-W linux workshop

ACM-W linux workshop

University

8 Qs

Theory CSC301 - Chapter 1

Theory CSC301 - Chapter 1

University

15 Qs

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

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

7th Grade - University

11 Qs

Linux Commands

Linux Commands

University

11 Qs

Java Quiz 3

Java Quiz 3

University

15 Qs

Intermediate Python

Intermediate Python

University

15 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?