
452111
Authored by Uģis Bērziņš
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?