
程序阅读题练习
Presentation
•
Computers
•
1st Grade
•
Hard
He Yinying
Used 7+ times
FREE Resource
0 Slides • 8 Questions
1
Multiple Choice
1. 若x=5,y=2,z=6,则 print( x z > x * y and z != x) 输出结果为( )。
A. True
B. False
C. 30
D. 25
2
Multiple Choice
2. 整型变量x存放了一个两位数。
以下Python表达式中能正确求出x个位、十位上的数字之和的是( )。
A. (x%10)//10+x//10
B. (x%10)+x/10
C. (x/10)%10+x//10
D. (x%10)+x//10
3
Multiple Choice
3. 以下语句 print(list(range(4))) 的输出结果是( )。
A. [0,1,2,3,4]
B. [0,1,2,3]
C. 0, 1, 2, 3
D. 0, 1, 2, 3, 4
4
Multiple Choice
4. 下列与数学表达式对应的Python表达式,正确的是( )
①(-b+math.sqrt(b*b-4*a*c))/ a*a
② -b+math.sqrt(b*b-4*a*c) / 2*a
③(-b+math.sqrt(b*2-4*a*c))/(2*a)
④(-b+math.sqrt(b*b-4*a*c))/(2*a)
A、①
B、 ②
C、③
D、④
5
Multiple Choice
1. 程序的运行结果为( )
A. 24 5
B.120 5
C. 24 4
D.120 4
6
Multiple Choice
2.程序输出结果是( )。
A.10
B. 6
C. 9
D. 34
7
Multiple Choice
3.程序输出结果是( )。
A.PPYYTTHHOONN
B. PPYYTTOONN
C. PPYYTTHOONN
D. PPYYTTH
8
Multiple Choice
4.程序输出结果是( )。
A
B
C
D
1. 若x=5,y=2,z=6,则 print( x z > x * y and z != x) 输出结果为( )。
A. True
B. False
C. 30
D. 25
Show answer
Auto Play
Slide 1 / 8
MULTIPLE CHOICE
Similar Resources on Wayground
6 questions
Historia de LA rEPUBLICA dOMINICANA
Presentation
•
1st Grade
6 questions
Times Table
Presentation
•
1st Grade
6 questions
Linear Equations in One Unknown
Presentation
•
1st Grade
6 questions
BA: Unit 3 Week 1 Quiz
Presentation
•
1st Grade
6 questions
Repaso
Presentation
•
1st Grade
6 questions
tiếnganh
Presentation
•
1st Grade
7 questions
lesson
Presentation
•
1st Grade
9 questions
Teknologi Informasi dan Komunikasi
Presentation
•
1st Grade
Popular Resources on Wayground
28 questions
US History Regents Review
Quiz
•
11th Grade
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
20 questions
Math Review
Quiz
•
3rd Grade
38 questions
Regents Life Science General Review
Quiz
•
9th Grade
20 questions
Math Review
Quiz
•
6th Grade
21 questions
EOY Grade 6 Benchmark Assessment - Content Skills
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Trivia Questions
Presentation
•
1st - 6th Grade
15 questions
single digit addition
Quiz
•
1st Grade
59 questions
SS Final Exam Review
Quiz
•
KG - University
12 questions
Juneteenth
Quiz
•
1st - 3rd Grade
19 questions
Disney Movies
Quiz
•
KG - 8th Grade
23 questions
super heros
Quiz
•
KG - Professional Dev...
15 questions
Music 2016
Quiz
•
KG - 12th Grade
20 questions
Disney Trivia
Quiz
•
1st - 5th Grade