
simple
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Shiwen Zhang
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
J277 - 2.2 - Understanding Data Types in Programming
Quiz
•
10th Grade - University
15 questions
Java
Quiz
•
University
15 questions
BASIC C PROGRAMMING
Quiz
•
University
11 questions
Operating System Week 7 Quiz
Quiz
•
University
16 questions
Unit 2 Problem solving A level computer science
Quiz
•
12th Grade - University
10 questions
Programming in C
Quiz
•
University
10 questions
Python Language 2
Quiz
•
University
12 questions
EIGRP
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
