
Розгалуження в Python
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Вадим Чеченя
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Що таке умовний оператор в Python?
Умовний оператор в Python - це функція для обчислення математичних виразів.
Умовний оператор в Python - це конструкція, яка дозволяє виконувати код в залежності від виконання певних умов.
Умовний оператор в Python - це команда для створення нових змінних.
Умовний оператор в Python - це метод для обробки виключень.
2.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Яка структура умовного оператора if в Python?
if умова: блок коду
if (условие) блок кода;
if (условие) { блок кода }
if условие: блок кода else:
3.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Як використовувати оператор else в Python?
else завжди виконується перед if.
else використовується для визначення функцій в Python.
else використовується для виконання коду, якщо умова if є хибною.
else використовується для завершення циклів в Python.
4.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Що таке оператор elif в Python?
Оператор elif в Python не дозволяє перевіряти умови.
Оператор elif в Python - це скорочення для 'else if', який дозволяє перевіряти кілька умов.
elif - це оператор, який завжди повертає True.
Оператор elif в Python використовується для циклів.
5.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Напишіть просту програму, яка перевіряє, чи число парне чи непарне.
The program calculates the square of a number.
The program checks if a number is prime or composite.
The program converts a number to its binary representation.
The program checks if a number is even or odd.
6.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Як вивести дані на екран в Python?
echo 'Ваше повідомлення'
display('Ваше повідомлення')
write('Ваше повідомлення')
print('Ваше повідомлення')
7.
MULTIPLE CHOICE QUESTION
30 sec • 12 pts
Яка функція використовується для введення даних з клавіатури?
getInput()
scan()
read()
input()
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
Already have an account?
Similar Resources on Wayground
15 questions
python basics
Quiz
•
11th Grade - University
15 questions
Негативные аспекты использования компьютера и Безопасность в сет
Quiz
•
8th Grade - University
10 questions
STEM 6 клас Модуль "Людина-образ" підсумковий 16.02
Quiz
•
12th Grade
15 questions
Code Combat Curso Junior
Quiz
•
9th - 12th Grade
20 questions
Тестування з теми "Побудова алгоритмів. Scratch"
Quiz
•
12th Grade
10 questions
KTTX-T4
Quiz
•
9th - 12th Grade
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
11 questions
Python Library-1
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
