452111

452111

12th Grade

20 Qs

quiz-placeholder

Similar activities

Informatyka - gimnazjum

Informatyka - gimnazjum

6th Grade - University

20 Qs

Ch 3 Java Review-Strings and Math

Ch 3 Java Review-Strings and Math

9th - 12th Grade

21 Qs

File Handling in Python

File Handling in Python

12th Grade

15 Qs

SOM - Comandos LINUX

SOM - Comandos LINUX

9th Grade - University

15 Qs

Computer Science Writing to a File

Computer Science Writing to a File

12th Grade

20 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

egzamin zawodowy E12

egzamin zawodowy E12

12th Grade

20 Qs

Linux-2 Quiz 2 -- LAMP

Linux-2 Quiz 2 -- LAMP

1st - 12th Grade

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

Discover more resources for Computers