คำสั่งพื้นฐานในภาษา 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
16 questions
Python

Quiz
•
9th - 12th Grade
21 questions
AIB_1Q

Quiz
•
12th Grade
15 questions
002_Java Methods

Quiz
•
12th Grade - University
16 questions
ทวนความรู้ 2

Quiz
•
9th - 12th Grade
20 questions
test python

Quiz
•
9th - 12th Grade
20 questions
Arduino Kod Okur Yazarlığı 1

Quiz
•
5th Grade - University
15 questions
Type data python

Quiz
•
9th Grade - University
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade