PP_Week11_Batch1_Files

PP_Week11_Batch1_Files

University

13 Qs

quiz-placeholder

Similar activities

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

Kuis Keamanan Komputer : Mengamankan Transaksi Online

Kuis Keamanan Komputer : Mengamankan Transaksi Online

University

10 Qs

CyberSecurity Pertemuan ke-5

CyberSecurity Pertemuan ke-5

University

13 Qs

Administrasi Server Jaringan

Administrasi Server Jaringan

12th Grade - University

15 Qs

Input Output File

Input Output File

University

10 Qs

Pengantar Teknologi Informasi 2

Pengantar Teknologi Informasi 2

University

15 Qs

AWS Cloud Storage

AWS Cloud Storage

University

10 Qs

Got Apps?

Got Apps?

University

10 Qs

PP_Week11_Batch1_Files

PP_Week11_Batch1_Files

Assessment

Quiz

Professional Development, Computers

University

Practice Problem

Medium

Created by

Narasimha Reddy Soora

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

myfile=open("MYDATA.dat","rb")

myfile=open("MYDATA.dat","r+")

myfile=open("MYDATA.dat","r")

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

r

w

a

r+

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

myfile.terminate()

myfile.end()

myfile.close()

myfile.remove()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the given block of code

Error(not readable)

Error(not writable)

It will read all the data of the file.

none

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Analyze the give code and choose appropriate options given.

Writing into the file without erasing old content

Writing into the file by erasing old content

reading from the file without erasing old content

reading from the file by erasing old content

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

file =open("Record.dat","wb")

file =open("Record.dat","rb")

file =open("Record.dat","ab")

file =open("Record.dat","rb+")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

a. str

b. a list of lines

c. a list of single characters

d. a list of integers

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?