以 open(filename[,mode][,encode]) 開啟檔案,下列何者是 mode 參數預設的模式?
Ch9檔案與例外處理-綜合演練選擇題

Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Hard
Vans Tsai
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
讀取模式
寫入模式
附加模式
以上皆是
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
Similar Resources on Quizizz
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade