Coding in AI - Quiz 1

Quiz
•
Computers
•
1st - 10th Grade
•
Hard
Kim Lim
Used 3+ times
FREE Resource
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'
Similar Resources on Wayground
10 questions
ไพทอน-ชนิดข้อมูล-ตัวแปร-นิพจน์

Quiz
•
7th Grade
10 questions
Lesson 1 Python I Review

Quiz
•
6th - 8th Grade
10 questions
Python Math

Quiz
•
1st - 12th Grade
9 questions
Python

Quiz
•
3rd Grade
10 questions
Year 8 Python

Quiz
•
8th Grade
10 questions
python quiz

Quiz
•
6th Grade - Professio...
10 questions
Python for Beginner - Module 1

Quiz
•
7th Grade
10 questions
Year 6 Operators

Quiz
•
6th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
25 questions
Exploring POV and Unreliable Narrators

Quiz
•
7th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
16 questions
4.2 Private & Personal Information

Lesson
•
4th Grade