Która z poniższych opcji to prawidłowy sposób na przypisanie wartości do zmiennej w Pythonie?

Quiz z Pythona

Quiz
•
Computers
•
11th Grade
•
Easy
Ochotnik L
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x == 10
x = 10
10 == x
10 = x
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Który z poniższych nie jest poprawnym nazwaniem zmiennej?
moja_zmienna
2zmienna
zmienna2
zmienna_A
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Co się stanie, jeśli przypiszesz nową wartość zmiennej, która już istnieje?
Błąd kompilacji
Nic się nie stanie
Zmienna zostanie nadpisana
Utworzy się nowa zmienna
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Która z poniższych zmiennych ma poprawną wartość liczbową całkowitą (int)?
x = 12.5
x = '12'
x = 12
x = [12]
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jaki typ danych ma wartość 3.14 w Pythonie?
int
float
str
bool
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Który typ danych służy do przechowywania ciągów znaków (tekstów) w Pythonie?
int
str
bool
list
7.
OPEN ENDED QUESTION
1 min • 1 pt
Jaką wartość zwróci poniższy kod? print(type(123))
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Typy zmiennych w C++

Quiz
•
9th - 12th Grade
9 questions
Python Class and Object Quiz

Quiz
•
12th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
10 questions
C++ Array

Quiz
•
University
11 questions
algoritma

Quiz
•
12th Grade
12 questions
Arrays Intro

Quiz
•
9th - 12th Grade
10 questions
Array in C

Quiz
•
University
18 questions
Strukturalne typy danych, operacje na plikach, klasy - Python

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University