Search Header Logo

test

Authored by แวววรรณ จันทร์ชูกลิ่น

Computers

1st - 5th Grade

Used 3+ times

test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

ผลลัพธ์ของโปรแกรมต่อไปนี้คืออะไร
print("Hello, World!")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดถูกต้องในการประกาศตัวแปรด้วยภาษาไพทอน

var x = 5

#x = 5

$x = 5

x = 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเขียนโปรแกรมถูกต้องเพื่อให้ได้ผลลัพธ์ Hello World ในภาษาไพทอน

print("Hello World")

Print("Hello World")

p("Hello World")

print(Hello World)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

วิธีการเขียน comment ในภาษาไพทอนคือ ข้อใด

#This is a comment

/*This is a comment*/

//This is a comment

#/This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้ดใดคือการตั้งชื่อตัวแปร ที่ไม่ถูกต้องในภาษาไพทอน

MyVar

My_Var

My-Var

_MyVar

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

ข้อใดเป็นการกำหนดตัวแปรชื่อ x แบบตัวเลข และกำหนดค่าให้เท่ากับ 5
(ตอบได้มากกว่า 1 ข้อ)

x = 5

x = int(5)

int x = 5

ไม่มีข้อใดถูก

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ในการตั้งชื่อตัวแปร ต่อไปนี้

a = 5
# มีค่าเท่ากันกับ
A = 5

จริง หรือ เท็จ?

จริง

เท็จ

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?