Sgiliau Python
Quiz
•
Mathematics
•
9th - 12th Grade
•
Practice Problem
•
Hard
T Wood
Used 2+ times
FREE Resource
Enhance your content in a minute
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mae côd efo llinell mewnbwn:
oedran = input("Beth yw eich oedran?").
Os mae defnyddiwr yn teipio 5 i mewn, pa fath o werth fydd oedran yn cael ei storio fel?
Llinyn (str)
"5"
Cyfanrif (int)
5
Rhestr (list)
[5]
Degolyn (float)
5.0
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pa ddull sy'n ychwanegu gwerth 7 at ddiwedd rhestr?
.append(7)
.insert(7)
.count(7)
.index(7)
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Pa ffwythiannau sy'n troi llinyn fel "5" mewn i rif mae'r cyfrifiadur yn gallu gwneud syms efo?
round( )
int( )
whole( )
num( )
float( )
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pa gyfarwyddyd (command) yn Python sy'n achosi i raglen ddianc dolen (loop) yn syth?
return
if
try
break
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pa werthoedd am pwysau ac oedran sy'n galluogi i'r côd yn y datganiad 'if' yma cael eu gweithredu:
if pwysau < 100 and oedran >= 18:
pwysau = 100
oedran = 20
pwysau = 120
oedran = 15
pwysau = 95
oedran = 18
pwysau = 19
oedran = pwysau * 2
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Sut ydy llinell newydd yn cael ei gynrychioli mewn llinyn?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pa ddull sy'n dychwelyd True os mae llinyn ond efo llythrennau?
llinyn.isalphanum()
llinyn.isalpha()
llinyn.isletters()
llinyn.isword()
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?
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 Mathematics
15 questions
Two Step Equations
Quiz
•
9th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
Standard Form to Slope Intercept Form
Quiz
•
9th Grade
20 questions
Functions & Function Notation
Quiz
•
9th Grade
10 questions
Solving Systems by Substitution
Quiz
•
9th Grade
20 questions
Simplifying Radicals
Quiz
•
10th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
