แบบทดสอบ Python เบื้องต้น

แบบทดสอบ Python เบื้องต้น

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ

11th Grade - University

15 Qs

Unit4-รหัสเทียม

Unit4-รหัสเทียม

12th Grade

15 Qs

ข้อสอบ หุ่นยนต์ ม.3 กลางภาคเรียนที่ 1

ข้อสอบ หุ่นยนต์ ม.3 กลางภาคเรียนที่ 1

9th Grade

20 Qs

การประมวลผลข้อมูลและการจัดการข้อมูล

การประมวลผลข้อมูลและการจัดการข้อมูล

9th Grade

20 Qs

ออกแบบ ก่อนเรียน ม.4

ออกแบบ ก่อนเรียน ม.4

10th Grade

20 Qs

การใช้โปรแกรม Google SketchUp

การใช้โปรแกรม Google SketchUp

11th Grade

20 Qs

แบบทดสอบก่อนเรียน บทที่ 4 การนำเสนอและการแบ่งปันข้อมูล

แบบทดสอบก่อนเรียน บทที่ 4 การนำเสนอและการแบ่งปันข้อมูล

12th Grade

20 Qs

test python

test python

9th - 12th Grade

20 Qs

แบบทดสอบ Python เบื้องต้น

แบบทดสอบ Python เบื้องต้น

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

นิติพร มาลาชาติ

Used 22+ 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

30 sec • 1 pt

ฟังก์ชันใดใช้ในการแสดงข้อความออกทางจอภาพ

Echo

print()

output

printf

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หากต้องการคอมเมนต์บรรทัดเดียว จะต้องใช้เครื่องหมายใด

*

\

//

#

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หากต้องการกำหนดตัวแปร n ให้เป็นชนิด integer (จำนวนเต็ม) ที่มีค่าเท่ากับ 5 จะต้องประกาศตัวแปรอย่างไร

Var n = 5

int n = 5

n = 5

variable n = 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หากต้องการแปลงชนิดข้อมูลตัวแปร a ที่เป็นชนิด integer (จำนวนเต็ม) ให้เป็น string (ข้อความ) จะต้องใช้คำสั่งใด

Int(a)

IntToString(a)

str(a)

String(a)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หากต้องการตรวจสอบชนิดของตัวแปร a จะต้องใช้คำสั่งในข้อใด

getType(a)

Type(a)

type(a)

a.type

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ไฟล์ source Code ของไพทอนจะมีนามสกุลไฟล์แบบใด

.py

run

.pptx

.doc

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ต้องการกำหนดตัวแปร n ให้เป็นชนิด string  ที่มีข้อความเท่ากับ a จะต้องประกาศตัวแปรอย่างไร

n = string

n = 'a'

String(a)

Int(a)

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?