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
Python Variables

Quiz
•
8th Grade
10 questions
Python Basics Quiz

Quiz
•
7th Grade - University
10 questions
Quiz - print() function

Quiz
•
9th Grade
10 questions
10 ԹԳՀԳ 2-րդ կիսամյակ ամփոփիչ գրավոր աշխատանք/ֆունկցիաներ/

Quiz
•
10th Grade
10 questions
ทดสอบก่อนเรียน

Quiz
•
9th Grade
10 questions
S1 Microbit Assessment

Quiz
•
7th Grade
10 questions
PF Unit 10

Quiz
•
9th Grade - University
10 questions
Pascal Assessment

Quiz
•
3rd - 4th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade