PYTHON - 57
Quiz
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Елена Давыдова-Мартынова
Used 10+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 5 pts
Предложите пользователю ввести его имя и возраст. Увеличьте возраст на 1 и выведите сообщение: [имя] next birthday you will be [новый возраст]
КАКОЙ ВАРИАНТ КОДА ПРАВИЛЬНЫЙ
name = input ("What is your name? ")
age = int (input("How old are you? "))
newAge = age + 1
print (name, " next birthday you will be ", newAge)
name = int ("What is your name? ")
age = input (input("How old are you? "))
newAge = age + 1
print (name, " next birthday you will be ", newAge)
name = input ("What is your name? ")
age = int (input("How old are you? "))
newAge = age + 5
print (name, " next birthday you will be ", newAge)
2.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
num1 = 93
Прибавляет к первой переменной 93
Вычитает из переменной 93
Присваивает значение переменной
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
print ("This is a message")
Что появится на экране после выполнения команды
This is a message
"This is a message"
("This is a message")
4.
MULTIPLE CHOICE QUESTION
2 mins • 4 pts
num1 = int(input("Enter first number: "))
num2 = int(input("Enter second number: "))
Пользователю нужно последовательно ввести 2 числа
Пользователь должен ввести сначала единицу, а затем двойку
Пользователю нужно ввести текстовой ответ
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Что делает функция print() в Python?
Сканирует введенные данные
Выводит информацию на экран
Сохраняет данные в файл
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как в Python создать переменную x со значением 10
x = "10"
x : = 10
x = 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для сравнения значений на равенство в Python?
=
==
===
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
11 questions
SISTEM KOMPUTER 7
Quiz
•
7th Grade
10 questions
Правила безпечної роботи з комп'ютнром
Quiz
•
7th Grade
15 questions
Systems Architecture
Quiz
•
KG - 9th Grade
10 questions
Internet
Quiz
•
7th - 10th Grade
16 questions
Обработка графической информации
Quiz
•
7th - 8th Grade
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
12 questions
Основные понятия языка программирования PYTHON
Quiz
•
7th Grade
10 questions
Цікава інформатика
Quiz
•
1st - 10th 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
