PYTHON - 57

PYTHON - 57

7th Grade

15 Qs

quiz-placeholder

Similar activities

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Perangkat lunak quiz

Perangkat lunak quiz

7th - 9th Grade

20 Qs

DATA ANALYTICS USING EXCEL

DATA ANALYTICS USING EXCEL

7th Grade

15 Qs

input devices - intermediate phase

input devices - intermediate phase

6th - 7th Grade

20 Qs

Характеристики зображення та засобів його відтворення

Характеристики зображення та засобів його відтворення

1st - 12th Grade

12 Qs

Поняття моделі. Етапи побудови інформаційної моделі.

Поняття моделі. Етапи побудови інформаційної моделі.

7th Grade

15 Qs

PENGELOMPOKAN TEKNOLOGI INFORMASI

PENGELOMPOKAN TEKNOLOGI INFORMASI

7th Grade

10 Qs

PHẦN CỨNG 2 ( LỚP 3.2)

PHẦN CỨNG 2 ( LỚP 3.2)

1st Grade - University

10 Qs

PYTHON - 57

PYTHON - 57

Assessment

Quiz

Computers

7th Grade

Practice Problem

Medium

Created by

Елена Давыдова-Мартынова

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

=

==

===

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?