Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Python2
Test Description: Basics of Python Programming
Instructions: Answer all questions to get your test result.
1) คำสั่งแสดงข้อมูลคือข้อใด
A
System.out.print( )
B
System.out.println( )
C
printf( )
D
print( )
2) เครื่องหมายใดใช้สำหรับคอมเมนต์
A
#
B
\\
C
//
D
'
3) เครื่องหมายใดใช้กำหนดการเริ่มต้นขอบเขตการทำงานของ if
A
:
B
;
C
,
D
.
4) เครื่องหมายใดใช้กำหนดการเริ่มต้นขอบเขตการทำงานของ while
A
.
B
;
C
,
D
:
5) คำสั่งใดใช้ประกาศ function
A
def
B
sub
C
function
D
void
6) คำสั่งใดมักถูกนำมาใช้ในการเข้าถึงข้อมูลของ list
A
while on
B
for on
C
while in
D
for in
7) function ใดใช้รับข้อมูลจากผู้ใช้งาน
A
print( )
B
get( )
C
input( )
D
enter( )
8) คำสั่งทั่วไปต้องปิดท้ายด้วยเครื่องหมายใด
A
ไม่มี
B
,
C
;
D
.
9) หมายเลข Index ของ list เริ่มต้นที่เลขอะไร
A
ขึ้นอยู่กับจำนวนข้อมูล
B
0
C
-1
D
1
10) ฟังก์ชันใดใช้เพิ่มข้อมูลใน List
A
data( )
B
input( )
C
append( )
D
add( )
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?