
Python Quiz 1
Authored by Ilja Rjabkovs
Computers
12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kāda ir pareiza sintakse "Hello World" izvadīšanai Python valodā?
print("Hello World")
echo "Hello World"
echo("Hello World");
p("Hello World")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kā Python kodā var ievietot vienas rindas komentārus?
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Kā izveidot mainīgo ar skaitlisko vērtību 5?
x = 5
x = int(5)
Abas pārējās atbildes ir pareizas
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Kā izveidot mainīgo skaitli 2.8 ar peldošo punktu?
x = float(2.8)
x = 2.8
Abas pārējās atbildes ir pareizas
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Kāda ir pareizā sintakse mainīgā "x" vai objekta "x" tipa izvade?
print(typeof x)
print(typeOf(x))
print(typeof(x))
print(type(x))
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kāds ir pareizais veids, kā Python izveidot funkciju?
function myfunction():
def myFunction():
create myFunction():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kā sākt rakstīt If paziņojums (if statement)?
if x > y:
if (x > y)
if x > y then:
Access all questions and much more by creating a free account
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
10 questions
مراجعة الوحدة 3 ( البرمجة بواسطة المايكروبت )
Quiz
•
12th Grade
10 questions
Sociālie tīkli un drošība
Quiz
•
1st - 12th Grade
10 questions
TIC Cuarto ESO
Quiz
•
1st - 12th Grade
11 questions
Unilayer Network Quiz Week 2
Quiz
•
12th Grade
10 questions
Day 6 PPT Quiz **Will close 12:30 pm on Thursday**
Quiz
•
9th - 12th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
ôn tập học kỳ 1-lớp 5
Quiz
•
2nd Grade - University
12 questions
Recuperação - Pensamento Computacional - 1ª Série NEM
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade