Search Header Logo

Control Python Bàsic.

Authored by Martí Taberner

Computers

12th Grade

Used 1+ times

Control Python Bàsic.
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Començam amb un regal.....quin és el logo de Python?

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Què és una variable dins Python?

Un llenguatge de programació

Una funció matemàtica

Un operador aritmètic

Un contenidor per emmagatzemar valors de dades.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quina és la diferència entre '==' i '=' a Python?

'==' i '=' són intercanviables en Python.

'==' s'utilitza pe

'==' s'utilitza per comparar valors, '=' s'utilitza per incrementar valors.

'==' s'utilitza per assignar valors, '=' s'utilitza per comparar valors.

'==' s'utilitza comparar valors, '=' s'utilitza per assignar valors.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Com es declara un comentari a Python?

/* Això és un comentari a Python */

// Això és un comentari a Python

/* Això és un comentari a Python */;

# Això és un comentari a Python

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Què és la funció 'input()' a Python?

La funció 'input()' a Python s'utilitza per definir variables.

La funció 'input()' a Python s'utilitza per realitzar operacions matemàtiques.

La funció 'input()' a Python s'utilitza per rebre l'entrada de l'usuari a través de la consola.

La funció 'input()' a Python s'utilitza per imprimir missatges a la consola.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Com es imprimeix un missatge a la consola en Python?

System.out.println('Missatge a imprimir')

print('Missatge a imprimir')

console.log('Missatge a imprimir')

input('Missatge a imprimir')

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Quina és l'estructura d'un bucle 'while' a Python?

for condició:

if condició:

L'estructura d'un bucle 'while' a Python és: while condició: # Codi a executar mentre la condició sigui certa

mentre condició:

Access all questions and much more by creating a free account

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

Already have an account?