問題1
Which of the following sentences are true? (Select two answers.)
Which of the following sentences are true? (Select two answers.)
正確答案: C,D
問題2
Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the speed variable is less than 50.0.

Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the speed variable is less than 50.0.

正確答案:

Explanation:

One possible way to arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the speed variable is less than 50.0 is:
if speed < 50.0:
print("The speed is low.")
This code uses the if keyword to create a conditional statement that checks the value of the variable speed. If the value is less than 50.0, then the code will print "The speed is low." to the screen. The print function is used to display the output. The code is indented to show the block of code that belongs to the if condition.
You can find more information about the if statement and the print function in Python in the following references:
* Python If ... Else
* Python Print Function
問題3
What is the expected output of the following code?

What is the expected output of the following code?

正確答案: A
問題4
A set of rules which defines the ways in which words can be coupled in sentences is called:
A set of rules which defines the ways in which words can be coupled in sentences is called:
正確答案: B
說明:(僅 NewDumps 成員可見)
問題5
What is the expected result of the following code?

What is the expected result of the following code?

正確答案: B
說明:(僅 NewDumps 成員可見)