
程序阅读题练习
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
9 questions
Teknologi Informasi dan Komunikasi
Presentation
•
1st Grade
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
Popular Resources on Wayground
10 questions
How much do you know about our Portrait of an Eagle?
Quiz
•
10th Grade
10 questions
Fast Food Slogans
Quiz
•
6th - 8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Movie Trivia
Quiz
•
KG - 2nd Grade
20 questions
place value
Quiz
•
1st Grade
15 questions
Addition and Subtraction
Quiz
•
1st Grade
20 questions
Addition and Subtraction facts
Quiz
•
1st - 3rd Grade
10 questions
Who is that Character?
Quiz
•
KG - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
11 questions
Seasons
Quiz
•
KG - 1st Grade