
simple

Quiz
•
Computers
•
University
•
Hard

Shiwen Zhang
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
在 Python 中输出“Hello World”的正确语法是什么?
print("Hello World")
echo "Hello World"
echo("Hello World");
p("Hello World")
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
如何在 Python 代码中插入注释?
#This is a comment
/*This is a comment*/
//This is a comment
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
哪一个不是合法的变量名?
my-var
_myvar
my_var
Myvar
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
如何创建一个数值为 5 的变量?
其他两个答案都是正确的
x = int(5)
x = 5
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Python 文件的正确文件扩展名是什么?
.py
.pyt
.pt
.pyth
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
如何创建一个带有浮点数 2.8 的变量?
其他两个答案都是正确的
x = float(2.8)
x = 2.8
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
在 Python 中输出变量或对象类型的正确语法是什么?
print(type(x))
print(typeof x)
print(typeof(x))
print(typeOf(x))
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
12 questions
树与二叉树测试

Quiz
•
University
10 questions
C Program Array and strings

Quiz
•
University
10 questions
Programming Basics Basics

Quiz
•
8th Grade - University
11 questions
C++程式

Quiz
•
11th Grade - University
11 questions
西餐礼仪

Quiz
•
University
12 questions
untitled

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University