
EXAM-1
Authored by Kuei Fang
Science, Education
12th Grade - University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
list裡面包含50個學生資料,你打算顯示所有學生資料,除了最後4位學生。請問那些程式碼可以達成?
class[1:-4]
class[:-4]
class[1:-5]
class[0:-5]
class[0:-4]
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
你開發一個程式,需要匯入sqrt這個函式,並且將這個函式命名一個別名sr,請問下面哪個程式碼可以完成?
from math import sqrt as sr
import sqrt from math as sr
from math.sqrt as sr
import math.sqrt as sr
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
請問要隨機產生15~21(包含15與21)之間的整數,以下哪兩個程式碼可以達成?
random.randint(15, 21)
random.randint(15, 22)
random.randrange(15, 21, 1)
random.randrange(15, 22, 1)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
你需要讀入與寫入資料到某個檔案,若檔案不存在,則會自動產生,若檔案已經存在,而且檔案裡在已經有內容,則這些內容會被刪除。請問你應該使用以下哪個程式碼?
open("f1.txt", "r")
open("f1.txt", "w")
open("f1.txt", "r+")
open("f1.txt", "w+")
open("f1.txt", "a+")
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
請問以下程式碼的結果?
list1 = range(6,0,-3)
print(list(list1))
error
[6, 3]
[6, 3, 0]
[6, 3, 0, -3]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
請問以下程式碼的結果=?
0 or -1
True
False
Compile error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a=[1,2,3,4,5]
b=a
print(a is b)
True
False
Error
Access all questions and much more by creating a free account
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
15 questions
109翰林六下自然3-3人類活動對生態的影響-1
Quiz
•
11th - 12th Grade
18 questions
6年级科学-保护与复育(1)
Quiz
•
12th Grade
20 questions
二年级科学单元一
Quiz
•
1st - 12th Grade
20 questions
生涯規劃
Quiz
•
University
13 questions
三年級上學期自然翰林版L.2
Quiz
•
3rd Grade - University
15 questions
《念奴嬌・赤壁懷古》
Quiz
•
9th - 12th Grade
10 questions
國小自然4上ch3-2溫度對物質的影響
Quiz
•
KG - University
20 questions
五年级科学总评估
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
38 questions
Water Cycle and Groundwater
Quiz
•
9th - 12th Grade
12 questions
Cell Organelles and Their Functions
Lesson
•
9th - 12th Grade
13 questions
Amoeba Sisters: Biomolecules
Interactive video
•
9th - 12th Grade
25 questions
APES Unit 6 Review
Quiz
•
12th Grade
60 questions
2025 Genetics Test Study Guide
Quiz
•
9th - 12th Grade
10 questions
Understand Cell Functions and Organelles
Quiz
•
9th - 12th Grade
16 questions
Explore Cell Cycle Stages and Mitosis
Quiz
•
9th - 12th Grade