452111

452111

12th Grade

20 Qs

quiz-placeholder

Similar activities

Linux komendy polecenia podstawy

Linux komendy polecenia podstawy

8th - 12th Grade

16 Qs

Lācīša inkscape

Lācīša inkscape

12th Grade

15 Qs

String Manipulation (Python)

String Manipulation (Python)

9th - 12th Grade

17 Qs

MonSec Final Quiz

MonSec Final Quiz

9th - 12th Grade

20 Qs

KIEM TRA_WORD_2

KIEM TRA_WORD_2

11th - 12th Grade

18 Qs

File Formats

File Formats

9th - 12th Grade

15 Qs

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

File Methods in Python

File Methods in Python

12th Grade

17 Qs

452111

452111

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Uģis Bērziņš

Used 3+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda komandā tiek izmantota, lai atvērtu failu lasīšanas režīmā?

open("fails.txt","w")

open("fails.txt","r")

open("fails.txt","a")

open("fails.txt","x")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda komanda tiek izmantota, lai atvērtu failu rakstīšanas režīmā, pārrakstot esošo saturu?

open("fails.txt","w")

open("fails.txt","r")

open("fails.txt","a")

open("fails.txt","x")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda komanda tiek izmantota, lai atvērtu failu pievienošanas režīmā?

open("fails.txt","w")

open("fails.txt","r")

open("fails.txt","a")

open("fails.txt","x")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda metode tiek izmantota, lai nolasītu visu faila saturu kā vienu virkni?

read()

readline()

readlines()

write()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda metode tiek izmantota, lai nolasītu vienu rindu no faila?

read()

readline()

readlines()

write()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda metode tiek izmantota, lai nolasītu visas faila rindas un saglabātu tās sarakstā?

read()

readline()

readlines()

write()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kāda metode tiek izmantota, lai ierakstītu tekstu failā?

read()

readline()

readlines()

write()

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?