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

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

12th Grade

20 Qs

quiz-placeholder

Similar activities

โครงงานคอมพิวเตอร์

โครงงานคอมพิวเตอร์

12th Grade

20 Qs

Teknik Layanan Jaringan

Teknik Layanan Jaringan

12th Grade

20 Qs

C/ C++

C/ C++

12th Grade

20 Qs

Data Types

Data Types

9th - 12th Grade

20 Qs

CSA Unit 3 Review

CSA Unit 3 Review

10th - 12th Grade

20 Qs

Code.org Lesson 1-14

Code.org Lesson 1-14

9th - 12th Grade

15 Qs

Python básico

Python básico

9th - 12th Grade

20 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

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

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

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

ปรีชา ทองมา

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?