
python2-lesson04

Quiz
•
Computers
•
2nd - 12th Grade
•
Medium

hang zheng
Used 81+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
写在if中的代码需要缩进多少个空格?
2
4
6
8
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
写在if代码块中,新的if判断语句需要缩进几个空格?
0
2
4
8
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
写在if代码块中,新的if判断语句中的执行代码需要缩进多少个空格
0
2
4
8
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
python代码中,缩进4个空格的意义是什么?
表示被上方未缩进的的代码包含
为了美观
没有什么意思,可以不缩进
把上方未缩进的代码包起来
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
只能在if语句中进行嵌套,不能在else语句中进行嵌套
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
一个if-else中只能进行1次if-else的嵌套
True
False
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
运行上图中代码,程序最后的结果是?
什么都不输出
输出yes
程序报错
输出NO
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
科技益智问答Part1

Quiz
•
7th - 12th Grade
10 questions
三年级信息科技测验题 - 网络安全常识

Quiz
•
3rd Grade
20 questions
六年级电脑编程

Quiz
•
4th - 6th Grade
20 questions
系统单元

Quiz
•
9th - 12th Grade
13 questions
C++阶段测验1

Quiz
•
4th Grade
10 questions
《第十二章》练习3

Quiz
•
11th Grade
10 questions
TMK

Quiz
•
2nd Grade
15 questions
quiz1

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade