Search Header Logo

แบบทดสอบกลางภาคpythonครูสมชาย

Authored by สมชาย แผ่อำนาจ

Computers

1st - 3rd Grade

Used 139+ times

แบบทดสอบกลางภาคpythonครูสมชาย
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

%d มีความหมายว่าอะไร

เลขจำนวนเต็มแบบมีเครื่องหมาย เช่น 10, -5, 0

เลขจำนวนเต็ม เช่น 0, 100, 1024

เลขยกกำลัง และเป็นอักษรตัวเล็ก เช่น 1.000000e+06

เลขทศนิยม เช่น 3000.000000, -3.500000

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

+ - * / เป็นตัวดำเนินการแบบใด ในภาษา Python

ตัวดำเนินการเปรียบเทียบ

ตัวดำเนินการทางคณิตศาสตร์

ตัวดำเนินการทางตรรกะ

ตัวดำเนินการในการกำหนดค่า

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

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

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

ไม่มีข้อถูก

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ในภาษาไพทอน คำสั่งใดที่ใช้ได้ถูกต้องในการเขียนโปรแกรม

echo

output

print

console.log

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

ตัวแปลขึ้นต้นด้วยตัวเลขได้

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

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

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

วิธีใดที่ประกาศตัวแปร “a” ให้มีค่าเท่ากับ 2 ได้ถูกต้อง

var a = 2

int a = 2

a = 2

variable a = 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือชนิดของข้อมูล เป็นตัวอักษร ใน python

Number

String

List

Tuple

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?