
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
11 questions
西餐礼仪

Quiz
•
University
12 questions
untitled

Quiz
•
4th Grade - University
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
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University