1. ชนิดข้อมูลใดใน Python ที่ใช้เก็บจำนวนเต็ม? A) float B) str C) int D) bool
คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

Quiz
•
Computers
•
12th Grade
•
Hard
ปรีชา ทองมา
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
C) int
D) complex
A) char
B) list
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. คำสั่งใดใช้รับข้อมูลจากผู้ใช้ใน Python? A) output() B) input() C) print() D) scan()
fetch()
read()
B) input()
receive()
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3. การแปลงข้อมูลจาก str เป็น int ใช้คำสั่งใด? A) int() B) str() C) float() D) bool()
num()
char()
A) int()
string()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4. คำสั่งใดใช้แสดงผลข้อมูลใน Python? A) display() B) print() C) show() D) output()
echo()
log()
outputData()
B) print()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5. ตัวแปรใน Python ต้องเริ่มต้นด้วยอะไร? A) ตัวเลข B) ตัวอักษร C) สัญลักษณ์ D) ช่องว่าง
G) ตัวอักษรภาษาอื่น
F) ตัวอักษรผสม
B
E) ตัวอักษรพิเศษ
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6. ผลลัพธ์ของ 5 + 3 * 2 คือเท่าไหร่? A) 11 B) 16 C) 10 D) 8
A) 9
B) 7
C) 12
A) 11
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7. ค่าของ True และ False ใน Python เป็นชนิดข้อมูลใด? A) int B) str C) bool D) float
D) complex
B) list
A) char
C) bool
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
20 questions
สอบกลางภาค Coding 4 ภาษา C

Quiz
•
12th Grade
15 questions
python basics

Quiz
•
11th Grade - University
20 questions
Python

Quiz
•
9th - 12th Grade
20 questions
ตอบปัญหาคอมพิวเตอร์st

Quiz
•
9th - 12th Grade
20 questions
Python Basics 2

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade