ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
data_type = type('5.0')
print(data_type)
Data Conversion & User Input

Quiz
•
Computers
•
10th Grade
•
Medium
อนุพงค์ คงสระ
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
<class 'float'>
<class 'int'>
<class 'str'>
5.0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
data_type = type(5.0)
print(data_type)
<class 'float'>
<class 'int'>
<class 'str'>
5.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของรหัสต่อไปนี้คืออะไร?
var = '25.0'
number = float(var)
result = number - 15.0
print(result)
10.0
10
35.0
ERROR
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ค่าที่เป็นไปได้ที่ตัวแปร number สามารถเก็บได้คือ ___
number = input('Enter a number: ')
print(number)
10
'10'
10.0
number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
data_type = type(50)
print(data_type)
<class 'float'>
<class 'int'>
<class 'str'>
5.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของรหัสต่อไปนี้คืออะไร?
var = 'saard'
number = int(var)
print(result)
10.0
10
35.0
ERROR
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์จากโปรแกรมนี้ คือ ข้อใด
x = input()
y = input()
print(x + y)
หากผู้ใช้งานป้อนข้อมูล 5,9 ตามลำดับ
14
59
95
xy
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
15 questions
Python Algorithm

Quiz
•
4th Grade - University
15 questions
Python

Quiz
•
6th Grade - University
10 questions
Викторина по Python (Урок 1-2)

Quiz
•
5th - 11th Grade
10 questions
loop for(C)

Quiz
•
9th Grade - University
10 questions
TRẮC NGHIỆM PYTHON

Quiz
•
9th - 12th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
15 questions
Comkrumilk

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

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