Python (I)

Python (I)

12th Grade

14 Qs

quiz-placeholder

Similar activities

Podstawy Pythona

Podstawy Pythona

9th - 12th Grade

10 Qs

File Handling in Python - Grade 12 CBSE

File Handling in Python - Grade 12 CBSE

12th Grade

15 Qs

資訊測驗-高年級

資訊測驗-高年級

10th - 12th Grade

11 Qs

Problem Solving : Design Solution

Problem Solving : Design Solution

12th Grade

15 Qs

Algorytmy 8

Algorytmy 8

1st Grade - University

17 Qs

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

Tes keanggotaan pandu digital

Tes keanggotaan pandu digital

10th - 12th Grade

10 Qs

Python (I)

Python (I)

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Arsenio Hernández Alique

Used 4+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?