
Coding in AI - Quiz 1
Authored by Kim Lim
Computers
1st - 10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the datatype which represents a whole number?
String
Boolean
Float
Integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when following code is executed?
print("D", end = ' ')
print("C", end = ' ')
print("B", end = ' ')
print("A", end = ' ')
DCBA
A, B, C, D
D C B A
D, C, B, A will be displayed on separate rows
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the expected output, when the following code is executed?
Hello MARY
Hello..MARY
Hello MARY
None
Hello MARY
Hello MARY
sayHello('MARY')
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following?
1 2 3 4 5 6 7 will be displayed on separate rows
1 2 3 4 5 6 will be displayed on separate rows
1 2 3 4 5 6
none of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the missing expression for the following code?
'p' in data
any((c == 'p') for c in data)
data.find('p')==-1
data[0:3]=='p'
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
9 сынып Python программалау тілінде алгоритмдерді программалау
Quiz
•
1st Grade
10 questions
JavaScript: Estruturas Condicionais 2 - IF...ELSE
Quiz
•
2nd Grade
10 questions
Word basics
Quiz
•
8th - 12th Grade
10 questions
Dasar C++
Quiz
•
KG - 3rd Grade
10 questions
Microsoft Publisher
Quiz
•
7th - 10th Grade
10 questions
ม.2 แบบทดสอบก่อนเรียน หน่วย 2
Quiz
•
6th - 8th Grade
10 questions
Dasar Microsoft Word (Bagian 1)
Quiz
•
7th Grade
10 questions
AI and Python: Ch.1 Revision
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade