Исправьте ошибку в коде:
def greet(name):
print("Hello, " name)
СОР №2 четверть 2
Quiz
•
Computers
•
10th Grade
•
Medium
Yulian Serpokryl
Used 3+ times
FREE Resource
9 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Исправьте ошибку в коде:
def greet(name):
print("Hello, " name)
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 2 pts
Что выведет этот код?
def f(x=5):
return x + 2
print(f())
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает def в Python?
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Что такое вершина в графе?
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Напишите программу, которая заменяет букву "a" на "@" в строке "Qazaqstan"
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Как получить длину строки?
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Что такое индекс строки?
Evaluate responses using AI:
OFF
8.
MATCH QUESTION
1 min • 3 pts
Сопоставьте следующее
6
def f(x):
return x * 2
print(f(3))
10
def k(x):
return x ** 2
print(k(4))
16
def g(x):
return x + 5
print(g(5))
Hello
def h():
return "Hello"
print(h())
9.
MATCH QUESTION
1 min • 3 pts
Сопоставьте следующее
.replace("a", "@")
Преобразует строку в верхний регистр.
.count("a")
Удаляет пробелы в начале и конце строки.
.strip()
Считает количество вхождений символа a.
Преобразует строку в верхний регистр.
Заменяет все вхождения символа a на @.
10 questions
Базы данных 2
Quiz
•
9th Grade - University
12 questions
Символьные строки, операции со строками - С++
Quiz
•
10th Grade
7 questions
Lesson 7
Quiz
•
1st Grade - University
10 questions
Строки в Python
Quiz
•
10th Grade
8 questions
MySQL Quiz
Quiz
•
10th Grade
10 questions
Python. Пользовательские функции и процедуры. Рекурсия.
Quiz
•
10th Grade
10 questions
Электронные таблица
Quiz
•
9th - 10th Grade
10 questions
Строковые методы и функции
Quiz
•
10th Grade
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade