Quina és la sintaxi correcta per mostrar "Hello World" a Python?
Python (I)

Quiz
•
Computers
•
12th Grade
•
Medium
Arsenio Hernández Alique
Used 4+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
echo("Hello World");
print("Hello World")
p("Hello World")
echo "Hello WOrld"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Com inserim un COMENTARIS al codi amb Python?
# Això és un comentari
/*Això és un comentari*/
//Això és un comentari
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quin d'aquests NO és un nom vàlid per a una variable?
Myvar
my_var
_myvar
my-var
Answer explanation
Un nom de variable només pot contenir caràcters alfanumèrics i guions baixos
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Com crearies una variable amb valor numèric 5?
x = int(5)
x=5
Les dues respostes són correctes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quina és l'extensió correcta per un fitxer de Python?
.pt
.pyt
.pyth
.py
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Com crearies una variable amb el nom decimal 2.8?
x=float(2.8)
x=2.8
Les dues respostes són correctes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quina és la sintaxi correcta per a mostrar el tipus de dades d'una variable o objecte a Python?
print(typeof(x))
print(typeof x)
print(type(x))
print(typeOf(x))
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
CS Unit 1, Programming part 1: Sequences

Quiz
•
9th - 12th Grade
13 questions
Fundamentals of Python

Quiz
•
9th - 12th Grade
19 questions
CMU Unit 3 Practice Test

Quiz
•
10th - 12th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
10 questions
Python Workshop Week 1 Review

Quiz
•
9th - 12th Grade
12 questions
Unitats d'emmagatzenament

Quiz
•
8th - 12th Grade
10 questions
Linux introduction

Quiz
•
9th - 12th Grade
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
30 questions
Linear Inequalities

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

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