Search Header Logo

Python Programming

Authored by Phuminun Bua-ngam

Computers

University

Used 8+ times

Python Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

48 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ข้อใดกล่าวไม่ถูกต้อง

ไพธอน ไม่สามารถรันได้ใน Linux

ไพธอน สามารถรันได้ทุกแพลตฟอร์ม

 ไพธอน ไม่มีคำสั่ง Do while

ไพธอน ใช้การแปลภาษาแบบอินเตอร์พรีเตอร์

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ข้อใดกล่าวไม่ถูกต้องเกี่ยวกับการแปลภาษาแบบ Compiler และ Interpreter

Compiler เมื่อแปลภาษาแล้วจะได้ .exe (Execute File)

Compiler ทำงานได้เร็วกว่า Interpreter หลายเท่าตัว เมื่อโปรแกรมมีขนาดใหญ่

Interpreter จะแปลภาษาทีละบรรทัด

Python เป็นภาษาแบบมี Compiler

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

ข้อใดไฟล์นามสกุลของภาษาไพธอน

.c

.py

 .python

idle

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ข้อใดประกาศตัวแปรได้ถูกต้อง

_def  = 1

@score = 10.20

elif = ‘’

@try = [‘try’, ‘it’,’your’,’self’]

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ข้อใดประกาศตัวแปรได้ไม่ถูกต้อง

x = [0,1,2]

a=b=c=0

 a,b = [10,20,50]

a=[‘true’,{1,2,3,4}]

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

a/4*((4*(b**2)-(a**2))**(1/2)

a%4*((4*(b**2)-(a**2))**(1/2)

a/4*(sqrt(4*(b**2)-(a**2)),(1/2)

 a/4*((4*(pow(2))-(a**2))**(1/2

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

x = 10

x++

print(x)

11

10

12

Error

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?

Discover more resources for Computers