What is the function used to display text on the screen in Python?, show(), input(), print(), display(), Which of the following is NOT a valid data type in Python?, boolean, character, string, integer, To get user input in Python, which function is used?, user_input(), read(), get(), input(), What is the result of the following code: `print("Hello" + " World")`?, HelloWorld, Error, Hello World, Hello + World, Which of the following is used for combining variables and text in Python?, combine, join, merge, concatenate, Which symbol is used for comments in Python to explain code to others?, /* */, --, //, #, What does the `int()` function do in Python?, Prints the value of an integer, Converts a string to an integer, Adds two integers together, Converts an integer to a string, Which operator is used for division in Python?, *, -, /, +, Which of the following is a boolean data type in Python?, string, str, 42, TRUE, What is the result of the following code: `print("5" + "3")`?, 8, 53, Error, 5 + 3, Which data type is used to store a sequence of characters in Python?, string, float, boolean, integer, What is the purpose of the `input()` function in Python?, To define a variable, To perform mathematical calculations, To get user input from the keyboard, To display text on the screen, Which of the following is an example of a boolean expression?, 2.5 * 4, True or False, 5 + 3, Hello, World!, What does the `str()` function do in Python?, Displays a message on the screen, Performs string concatenation, Converts a string to an integer, Converts an integer to a string, Which operator is used for exponentiation (to the power of) in Python?, %, **, /, ^, Which of the following is an example of a Python variable name that follows the naming conventions?, variable name, 123variable, my_variable, my-variable, What is the output of the code `print("Hello " * 3)`?, Error, Hello * 2, Hello Hello Hello, 2, What will be the output of the following code? x = 5 y = 3 print(x + y), Error, 5 + 3, 53, 8, What will be the output of the following code? name = "Alice" greeting = "Hello, " + name print(greeting), Error, Hello, name, Alice, Hello, Alice, What will be the output of the following code? num1 = 10 num2 = "5" result = num1 + int(num2) print(result), 10, Error, 15, 5, What will be the output of the following code? print("Hello" * 2), Hello * 2, HelloHello, 2, Error, What will be the output of the following code? x = 5 y = "3" print(x * int(y)), 33333, Error, 15, 53, What will be the output of the following code? num1 = 8 num2 = 2 num3 = num1 / num2 print(num3), 4.0, 2.0, Error, 4, What will be the output of the following code? age = 14 print("I am " + str(age) + " years old."), I am 14 years old., I am years old., I am " + age + "years old., Error, What line of code should replace the blank in the following code to get user input into the variable `name`? name = _____("Enter your name: "), None of these, user_input, get, input, What line of code should be added in the blank space to calculate the sum of `num1` and `num2` and store it in the `total` variable? num1 = 5 num2 = 7 total = _____, num1 + num2, total = num1 + num2, None of these, sum(num1, num2), What line of code should replace the blank space to complete the code, which calculates the square of `num`? num = 4 square = _____, num * num, square(num), none of these, num ** 2, What line of code should replace the blank in the following code to concatenate `first_name` and `last_name` and store the result in `full_name`? first_name = "John" last_name = "Doe" full_name = _____, none of these, first_name + last_name, first_name.concat(last_name), concatenate(first_name, last_name), What line of code should be placed in the blank space to complete the code, which converts the variable `num_str` into an integer? num_str = "42" num = _____(num_str), int, convert, none of these, to_int, What line of code should be added in the blank space to complete the code, which calculates the average of `num1`, `num2`, and `num3` and stores it in the `average` variable? num1 = 8 num2 = 12 num3 = 6 average = _____, num1 + num2 + num3 / 3, average(num1, num2, num3), (num1 + num2 + num3) / 3, none of these
0%
Introduction to Python
共用
共用
由
Ict2026
編輯內容
存檔
喜歡
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
測驗
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
更像這樣
Numbers, Place Value, and Rounding intro quiz
由
Helcolclough
測驗
9
Numbers - 1 to 15
由
Miriamjoi
測驗
12
Numbers - 1 to 10
由
Anacarolinamarx
拼字遊戲
20
AS1 - Welcome - Numbers - How many?
由
Stoqui
開箱遊戲
6
Numbers: How many?
由
Javieraperez1
查找匹配項
17
Numbers - 1 to 20
由
Paola357
匹配遊戲
10
***Numbers 1 to 20***
由
Teamenglishland
隨機卡
27
Comparing Numbers Quiz Year 1
由
Missenriquez
測驗
9
AI 強化版:此活動包含 AI 生成的內容。
了解更多。
切換範本
顯示所有
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?