#python programa:
a = 415
b = 123
c = a - b
print (c)
į ekraną išves reikšmę
Python kintamieji ir duomenų tipai #2
Quiz
•
Computers
•
9th Grade
•
Medium
Darius Kulieša
Used 13+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
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
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 = "$"
10 questions
ConceptosBasicosEstructurasControlk
Quiz
•
9th - 12th Grade
12 questions
Preguntas básicas sobre C#
Quiz
•
9th - 12th Grade
14 questions
Quiz sobre la Práctica 2 GIF Avengers
Quiz
•
1st Grade - University
10 questions
Diagnóstico - Programación
Quiz
•
9th - 12th Grade
10 questions
Microbit
Quiz
•
1st - 10th Grade
10 questions
QUIZ 9° Algoritmos
Quiz
•
9th Grade
10 questions
Diplo Variables
Quiz
•
1st - 10th Grade
10 questions
Kriptografija ir šifravimo algoritmai
Quiz
•
9th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University