Care construcție este folosită în Python pentru a efectua operații condiționale?

Python Programming Quiz

Quiz
•
Computers
•
7th Grade
•
Hard
SummerMars SummerMars
Used 2+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a) `for`
b) `do-while`
c) `if`
d) `switch`
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care construcție este folosită în Python pentru a efectua acțiuni repetitive până când o anumită condiție este îndeplinită?
a) `for`
b) `while`
c) `do-while`
d) `repeat`
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care este funcția utilizată pentru a converti un număr întreg în șir de caractere în Python?
a) `to_string()`
b) `str()`
c) `int_to_str()`
d) `convert_to_str()`
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cum se convertește un șir de caractere într-un număr întreg în Python?
a) `to_int()`
b) `convert_int()`
c) `int()`
d) `str_to_int()`
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce operație este folosită pentru "SAU" în Python?
a) `|`
b) `||`
c) `or`
d) `OR`
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care este metoda folosită pentru afișarea datelor pe ecran în Python?
a) `print()`
b) `display()`
c) `show()`
d) `output()`
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ce face funcția `input()` în Python?
a) Afișează textul pe ecran
b) Returnează datele introduse de utilizator
c) Efectuează un calcul matematic
d) Nimic din cele enumerate
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Internet

Quiz
•
6th - 9th Grade
14 questions
Quiz despre Structura Calculatorului

Quiz
•
7th Grade
16 questions
Microcontrolere Noțiuni generale. Structura internă

Quiz
•
KG - 12th Grade
14 questions
A5 Quizz 2

Quiz
•
4th - 7th Grade
20 questions
Aplicatia Microsoft Word

Quiz
•
5th - 10th Grade
15 questions
Protecția datelor și Poșta electronică - 6 - S3

Quiz
•
5th - 7th Grade
13 questions
Google Prezentări - Clasa a VII-a

Quiz
•
7th Grade
17 questions
Test sumativ Lego Minsdstorms EV3

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
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