Informatica - Scuola secondaria di secondo gradoInfo Training Info Training / Volume Linguaggio Python per il secondo biennio

File I/O

4 esercizi
SVOLGI
INFO

Informatica

Operations

1. The link to the file is dropped
2. Data are copied from the RAM to disk
3. Data are transferred from the disk to the primary memory
4. A link to the file is created

Posizionamento
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Methods and functions

a. open
b. struct.unpack
c. seek
d. split
e. os.path.exists

Completamento chiuso
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Reading and writing of a text file

Which file modes allow both reading and writing of a text file?

A:

r+

B:

a+

C:

w

D:

r

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

File I/O

Which of these statements are true and which are false?

A:

Text files contain a sequence of characters.

B:

Text files are usually divided into lines.

C:

Binary files can be read by text editors.

D:

Binary files are used for files with variable length records.

Vero o falso
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza