Python - Работа со строками и файлами
Quiz
•
Computers
•
1st - 4th Grade
•
Practice Problem
•
Hard
Евгений Гусак
Used 34+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Одна из следующих функций не является встроенной функцией строк в Python
Split
Remove
Replace
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите правильный синтаксис встроенного метода replace
x.Replace(x)
x.replace(3,x)
x.replace(y)
x.replace("j","3")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите правильный синтаксис встроенной функции len
x.len()
LEN[]
len[x]
len(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как правильно привести строку х к верхнему регистру?
X.upper()
x.UPPER[ ]
upper(x)
x.upper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Каким методом необходимо воспользоваться, чтобы закрыть файл
MyFile = close()
close = MyFile()
MyFile.close
MyFile.close()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Вывод программного кода x= "Python" в случае вызова следующих функций будет?
print(x[0])
print(x[1])
print(x[2])
PYT
P
y
t
T
h
o
n
oh
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Выберите какую функцию мы должны вызвать для добавления строки в конец файла
MyCipher = open("MyCipher.txt", "w")
MyCipher = open("MyCipher.txt", "w+")
MyCipher = open("MyCipher.txt", "a")
MyCipher = open("MyCipher.txt", "s")
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
16 questions
Topic 1 - Computer Fundamentals
Quiz
•
1st - 9th Grade
10 questions
Gade 4
Quiz
•
4th Grade
15 questions
Grade 3 Unit 2 PISK
Quiz
•
3rd Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 - LỚP 3
Quiz
•
1st - 10th Grade
11 questions
Cyber Safety
Quiz
•
3rd - 6th Grade
15 questions
Kuis Excel & PPT
Quiz
•
1st Grade
11 questions
Ôn tập Lớp 3
Quiz
•
4th - 12th Grade
15 questions
Object Oriented Programming
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
