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
print( )
B
printf( )
C
System.out.println( )
D
System.out.print( )
2) เครื่องหมายใดใช้สำหรับคอมเมนต์
A
//
B
\\
C
#
D
'
3) เครื่องหมายใดใช้กำหนดการเริ่มต้นขอบเขตการทำงานของ if
A
:
B
;
C
.
D
,
4) เครื่องหมายใดใช้กำหนดการเริ่มต้นขอบเขตการทำงานของ while
A
:
B
,
C
.
D
;
5) คำสั่งใดใช้ประกาศ function
A
function
B
void
C
sub
D
def
6) คำสั่งใดมักถูกนำมาใช้ในการเข้าถึงข้อมูลของ list
A
for in
B
while on
C
for on
D
while in
7) function ใดใช้รับข้อมูลจากผู้ใช้งาน
A
get( )
B
print( )
C
enter( )
D
input( )
8) คำสั่งทั่วไปต้องปิดท้ายด้วยเครื่องหมายใด
A
,
B
;
C
.
D
ไม่มี
9) หมายเลข Index ของ list เริ่มต้นที่เลขอะไร
A
-1
B
0
C
ขึ้นอยู่กับจำนวนข้อมูล
D
1
10) ฟังก์ชันใดใช้เพิ่มข้อมูลใน List
A
add( )
B
data( )
C
input( )
D
append( )
*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?