คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

12th Grade

20 Qs

quiz-placeholder

Similar activities

EXAMEN DE ANIVELACION

EXAMEN DE ANIVELACION

12th Grade

20 Qs

CSE_CodeHS_intro_python_unit_3_5

CSE_CodeHS_intro_python_unit_3_5

9th - 12th Grade

15 Qs

BT ktra bo sung

BT ktra bo sung

9th - 12th Grade

20 Qs

Uvod u algoritme i programiranje

Uvod u algoritme i programiranje

9th - 12th Grade

15 Qs

Python Quiz

Python Quiz

12th Grade

20 Qs

PCEP Section 1D: Choose operators (May 7th)

PCEP Section 1D: Choose operators (May 7th)

12th Grade

15 Qs

Fundamentos de Python

Fundamentos de Python

12th Grade - University

16 Qs

AIB_2Q

AIB_2Q

12th Grade

20 Qs

คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

คำสั่งพื้นฐานในภาษา Python (เก็บคะแนนครั้งที่ 2)

Assessment

Quiz

Computers

12th Grade

Hard

Created by

ปรีชา ทองมา

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?