
Python 程式碼基礎
Quiz
•
Computers
•
10th Grade
•
Medium
玉曄 陳
Used 13+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,單行註解使用哪個符號?
//
#
/*
--
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python 中的基本資料型態,用type( )指出的型態,何者錯誤?
int整數
float浮點數
string字串
bool布林值
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
要取得字串的倒序排列,應使用哪個語法?
A) str[::-1]
B) str.reverse()
C) str.split()
D) str.sort()
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,哪個函數用來輸出資料?
input()
print()
output()
display()
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
使用哪個方法可以將字串轉換為整數?
str()
int()
float()
bool()
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,哪個運算符用於取餘數?
A) +
B) -
C) *
D) %
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
在 Python 中,如何使用 if 條件判斷?
if (條件) { }
if 條件:
if [條件]
if {條件}
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Язык программирования Python
Quiz
•
1st - 10th Grade
20 questions
quiz dasar python
Quiz
•
1st Grade - University
22 questions
J277 - basic testing and errors
Quiz
•
9th - 12th Grade
20 questions
App Lab
Quiz
•
7th - 12th Grade
15 questions
AV1/R1 1TEC_IP_Introdução à Programação - Aula 01 a 06
Quiz
•
1st Grade - University
20 questions
Analisis Data X-1
Quiz
•
10th Grade
15 questions
CP M4 Repetition & Loops
Quiz
•
9th - 12th Grade
16 questions
Subroutines
Quiz
•
9th - 11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
