Search Header Logo

Variabile si tipuri de date

Authored by Madalina Barbu

Computers

3rd Grade

Used 5+ times

Variabile si tipuri de date
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variabila s = 25 este de tip:

string

float

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2myVar = 252 este declarata corect?

Da

Nu

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

my_car = "Peugeot" este declarata corect?

Da

Nu

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care este outputul codului:

my_str="Pescarus"

print(my_str[:2])

Pe

es

ca

us

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ce afiseaza codul urmator?

a = my_str = "Pescarus"

Pescarus

a

my_str

nimic

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Valoarea unui variabile poate fi suprascrisa

Da

Nu

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ce face urmatorul cod?

a = "5"

print(int(a))

afiseaza valoarea variabilei a convertita in int

transforma stringul in int

afiseaza 5

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?