程式設計Ch4 quiz

程式設計Ch4 quiz

Assessment

Flashcard

Mathematics

University

Practice Problem

Hard

Created by

Ariel LU

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?