คำสั่งพื้นฐานในภาษา 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
1. ชนิดข้อมูลใดใน Python ที่ใช้เก็บจำนวนเต็ม? A) float B) str C) int D) bool
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
15 questions
CodeHS Python Conditionals Quiz Reveiw

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

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

Quiz
•
12th Grade
20 questions
Python variables and operators quiz

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

Quiz
•
9th Grade - Professio...
15 questions
python basics

Quiz
•
11th Grade - University
15 questions
CP M4 Repetition & Loops

Quiz
•
9th - 12th Grade
25 questions
Основы C#. часть1 (Переменные, операторы)

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade