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 Wayground
11 questions
Les xarxes d'Ordinadors (I)

Quiz
•
10th - 12th Grade
15 questions
Python Basics Quiz 1

Quiz
•
8th Grade - University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

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

Quiz
•
11th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
10 questions
RL Python Basics Quiz 1

Quiz
•
9th - 12th Grade
10 questions
PCEP Section 4B: the function and its environment

Quiz
•
12th Grade
16 questions
Quizz

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade