Ch9檔案與例外處理-綜合演練選擇題
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Practice Problem
•
Medium
Vans Tsai
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
以 open(filename[,mode][,encode]) 開啟檔案,下列何者是 mode 參數預設的模式?
讀取模式
寫入模式
附加模式
以上皆是
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python 提供何種內建函式,可以開啟指定的檔案,以便進行檔案內容的讀取、寫入或修改?
file()
input()
open()
output()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列何函式可以讀取一列完?
readable
read()
readlines()
get(ch)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列程式建立的檔案物件,可以執行何種動作?
讀取
寫入
可讀取也可寫入
以上皆非
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
執行下列程式,下列顯示結果何者正確?
x
y
xz
yz
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
open(filename, mode, encode) 函式的參數中,其中只有哪一個參數是必填?
filename
mode
encode
以上皆是
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如果作業系統是繁體中文 Windows 系統,預設的編碼為何?
UTF-8
cp950
unicode
GB2312
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
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
23 questions
Academic Vocabulary Pre-assessmsent
Quiz
•
6th Grade
21 questions
Convert Fractions, Decimals, and Percents
Quiz
•
6th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Exponents
Quiz
•
6th Grade
