print()的功能是什麼?

高二資訊課補考題目

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
勝智 朱
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
輸入
輸出
宣告
讀取
2.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
a='港明中學"
print(a)
請問下列哪個是執行結果?
a
港明中學
print(a)
程式錯誤
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
a=[2,5,"高中部","台南"]
print(a[2])
請問下列哪個選項為執行結果?
2
5
高中部
台南
沒有結果
4.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
在Python中
m=s // 60
ss= s % 60
若s是123,則
print(m,"分",ss,"秒)答案是?
2分30秒
2分3秒
12分3秒
1分23秒
5.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
grade=92
if(grade<60):
print("要加油")
elif(60<=grade<=92):
print("很棒")
else :
print("非常好!")
請問下列哪個選項是執行結果?
要加油
很棒
非常好!
程式錯誤
6.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
下列清單分別為5位同學與對應成績,執行程式後哪一結果是正確的?
name = ['小明', '小菜','小美','小李','小陳']
score = [90,88,66,73,55]
for i in range(5):
if(score[i] % 2 ==1):
print(name[i],score[i],end=",")
小明 90,小陳 55
小明 90 ,小美 66,小陳 55,
小菜 88,小美 66,
小李 73,小陳 55,
7.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
下列為一個程式,請問其結果為何?
for i in range(10):
print(i)
0 2 4 6 8 10 12 14 16 18 20
1 3 5 7 9 11 13 15 17 19
0 1 2 3 4 5 6 7 8 9
6 7 8 9 10 11 12 13 14 15
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
2.1 資料結構與陣列

Quiz
•
9th - 12th Grade
10 questions
Week2 上周知识点回顾

Quiz
•
University
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
9 questions
G12- Python Inputs and Exercises

Quiz
•
12th Grade - University
15 questions
Bài 26

Quiz
•
10th Grade - University
15 questions
Python Challenge

Quiz
•
University
15 questions
Bài 25

Quiz
•
10th Grade - University
8 questions
Quiz de Lógica em Python

Quiz
•
6th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade