Data Conversion & User Input
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
อนุพงค์ คงสระ
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ผลลัพธ์ของโค้ดต่อไปนี้จะเป็นอย่างไร
data_type = type('5.0')
print(data_type)
<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)
ผลลัพธ์ของรหัสต่อไปนี้คืออะไร?
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)
ค่าที่เป็นไปได้ที่ตัวแปร 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)
ผลลัพธ์ของรหัสต่อไปนี้คืออะไร?
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 ตามลำดับ
ผลลัพธ์จากโปรแกรมนี้ คือ ข้อใด
x = input()
y = input()
print(x + y)
หากผู้ใช้งานป้อนข้อมูล 5,9 ตามลำดับ14
59
95
xy
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Wired and wireless transmission media
Quiz
•
10th Grade
10 questions
ICT SKILLS
Quiz
•
9th - 10th Grade
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
15 questions
Photoshop
Quiz
•
9th - 12th Grade
10 questions
คำสั่งสร้างเกม scrach
Quiz
•
10th - 12th Grade
15 questions
Code.org Lesson 1-14
Quiz
•
9th - 12th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
