Python kintamieji ir duomenų tipai #2

Python kintamieji ir duomenų tipai #2

9th Grade

10 Qs

quiz-placeholder

Similar activities

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

BÀI KIỂM TRA GIỮA KÌ 2 LỚP 5

1st - 10th Grade

10 Qs

Blockchain

Blockchain

1st Grade - University

10 Qs

Laser Defender Part 2 Worksheet

Laser Defender Part 2 Worksheet

9th - 12th Grade

15 Qs

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

6th Grade - University

14 Qs

Programming with Karel the Dog 2

Programming with Karel the Dog 2

6th - 9th Grade

13 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

ICT SKILLS

ICT SKILLS

9th - 10th Grade

10 Qs

Latihan Format Cell

Latihan Format Cell

8th - 9th Grade

10 Qs

Python kintamieji ir duomenų tipai #2

Python kintamieji ir duomenų tipai #2

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Darius Kulieša

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#python programa:

a = 415

b = 123

c = a - b

print (c)

į ekraną išves reikšmę

295

539

292

538

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Paaiškink skirtumą tarp kintamųjų x = 5 ir x = '5'

Skirtumas toks, kad x = 5 kintamąjam x priskiria eilutės tipo (str) tipo reikšmę 5, o x = '5' kintamąjam x priskiria skaičiaus (int) tipo reikšmę 5

Skirtumas toks, kad x = 5 kintamąjam x priskiria skaičiaus (int) tipo reikšmę 5, o x = '5' kintamąjam x priskiria eilutės tipo (str) tipo reikšmę 5

Skirtumas toks, kad x = 5 kintamąjam x priskiria skaičiaus (int) tipo reikšmę 5, o x = '5' kintamąjam x priskiria loginio tipo (boolean) tipo reikšmę 5

Skirtumas toks, kad x = 5 kintamąjam x priskiria skaičiaus (int) tipo reikšmę 5, o x = '5' kintamąjam x priskiria float tipo reikšmę 5.0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Koks yra eilutės 'Hello, World!' duomenų tipas Python'e?

list

string

boolean

integer

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#python programa:

a = 415

a = 123

a = 1

a=0

print ("a =", a)

į ekraną išves reikšmę

a = 415

a = 1

a = 0

a = 123

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Koks reikšmės 10 duomenų tipas?

bool

int

float

str

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#python programa:

a = 0.11111111111111111111111111111

b = 1236598475895632145879

print (a)

print (c)

į ekraną išves:

0.11111111111111111111111111111

1236598475895632145879

0

print (c)

NameError: name 'c' is not defined

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Kuris neteisingas?

myvar = "$"

my_var = "$"

MYVAR = "$"

my-var = "$"

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

Already have an account?