

程式設計Ch4 quiz
Flashcard
•
Mathematics
•
University
•
Practice Problem
•
Hard
Ariel LU
Used 2+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the result of the following code? x, y, z, c = 10, 3, 7, 4 total = x + y + z print(total)
Back
The result is 20.
2.
FLASHCARD QUESTION
Front
1. 請問下列程式碼的結果是?
x, y, z, c = 10, 3, 7, 4
print(-x)
Back
-10
3.
FLASHCARD QUESTION
Front
請問下列程式碼的結果是?
x, y, z, c = 10, 3, 7, 4
result = x // y
print(result)
Back
3
4.
FLASHCARD QUESTION
Front
請問下列程式碼的結果是?
x, y, z, c = 10, 3, 7, 4
b = c % 7
print(b)
Back
4
5.
FLASHCARD QUESTION
Front
請問下列程式碼的結果是?
b = 3 ** 2
print(b)
Back
9
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?