ความรู้พื้นฐานการเขียนโปรแกรม Python

ความรู้พื้นฐานการเขียนโปรแกรม Python

12th Grade

15 Qs

quiz-placeholder

Similar activities

Examen 6to Inf-Fundamentos del Desarrollo Web

Examen 6to Inf-Fundamentos del Desarrollo Web

12th Grade

15 Qs

Evaluación de Software y Sistemas Operativos

Evaluación de Software y Sistemas Operativos

12th Grade

10 Qs

BÀI 20: NHÓM NGHỀ QUẢN TRỊ THUỘC NGÀNH CÔNG NGHỆ THÔNG TIN

BÀI 20: NHÓM NGHỀ QUẢN TRỊ THUỘC NGÀNH CÔNG NGHỆ THÔNG TIN

12th Grade

10 Qs

Keterampilan Informatika dan Komputer

Keterampilan Informatika dan Komputer

11th Grade - University

18 Qs

การสืบค้นเพื่อหาแหล่งข้อมูล

การสืบค้นเพื่อหาแหล่งข้อมูล

9th - 12th Grade

10 Qs

Profesi Utama di Bidang Informatika

Profesi Utama di Bidang Informatika

10th Grade - University

15 Qs

Programming Review Quiz

Programming Review Quiz

9th - 12th Grade

20 Qs

DASAR KONSENTRASI KEAHLIAN

DASAR KONSENTRASI KEAHLIAN

12th Grade

20 Qs

ความรู้พื้นฐานการเขียนโปรแกรม Python

ความรู้พื้นฐานการเขียนโปรแกรม Python

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

arunee chaiphichit

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรในภาษา Python มีประเภทใดบ้าง?

int, float, str, list, tuple, dict, set, bool

char, byte, float64, array

integer, decimal, set, map

string, number, object, list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปรใน Python ใช้สัญลักษณ์ใด?

==

=

<>

::

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ประเภทข้อมูลใดที่ใช้เก็บค่าจำนวนเต็มใน Python?

list

float

string

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดใช้ในการควบคุมการไหลใน Python? ตัวอย่างเช่น:

if x > 10:

    print('x is greater than 10')

if, for, while, try-except

case

switch

break

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การใช้คำสั่ง if-else ใน Python มีรูปแบบอย่างไร?

if condition: # action when false else: # action when true

if condition: # action when true else: # action when false

if (condition) then: # action when true

if เงื่อนไข: # คำสั่งที่ทำเมื่อเงื่อนไขเป็นจริง else: # คำสั่งที่ทำเมื่อเงื่อนไขเป็นเท็จ

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันใน Python สามารถรับพารามิเตอร์ได้กี่ประเภท?

5 ประเภท

2 ประเภท

4 ประเภท

3 ประเภท

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การเรียกใช้ฟังก์ชันใน Python ทำได้อย่างไร?

ใช้คำสั่ง print() เพื่อเรียกใช้ฟังก์ชัน

ใช้ชื่อฟังก์ชันตามด้วยวงเล็บ ()

ประกาศฟังก์ชันก่อนแล้วจึงใช้ชื่อฟังก์ชัน

ใช้วงเล็บ {} แทนวงเล็บ ()

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?