Search Header Logo

Python Mid.

Authored by Grade P

Computers

11th Grade

Used 22+ times

Python Mid.
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

ตัวแปร คืออะไร

คือชื่อที่ใช้ในการเก็บค่าหรือกำหนดค่า

คือโครงสร้างของข้อมูล

คือเครื่องหมายที่ใช้ในการดำเนินการ

ไม่มีข้อถูก

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

ข้อใดต่อไปนี้ไม่สามารถใช้เป็นชื่อของตัวแปรได้

open

break

next

close

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

การกำหนดชื่อตัวแปรใน Python ข้อใดผิด

ตัวแปรห้ามมีช่องว่าง

ใช้ตัวอักษร A-Z ตัวเล็กหรือใหญ่ก็ได้

ชื่อตัวแปรขึ้นต้นด้วยตัวเลขได้

การตั้งชื่อตัวแปรห้ามซ้ำคำสงวน

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

ข้อใดเป็นการใช้ตัวแปรที่ไม่ถูกต้อง

name = “Kala”

1price = “cake”

Com_score = “32”

mySubject = “English”

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

คำสั่ง print ในภาษา python คือคำสั่งตามข้อใด

คำสั่งแสดงข้อมูล

คำสั่งกำหนดค่า

คำสั่งตรวจสอบชนิดตัวแปร

คำสั่งรับข้อมูลทางแป้นพิมพ์

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

name = “Doi Kham”

class = input()

num = int (input( ))

print (name, class, num)

จากโปรแกรม ข้อใดคือตัวแปรที่ถูกต้องทั้งหมด

name, num

name, class

class, num

name, class, num

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

พิจารณา code ที่กำหนด โปรแกรมจะแสดงผลตามข้อใด ?

x = 5

x = 25+5

print (x)

5

25+5

30

x

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?