AI for Youth – Machine and Minds

Quiz
•
Education
•
8th Grade
•
Medium
S4DS DYPCOE
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello" + " World")
Hello World
HelloWorld
Hello+World
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to take input from a user in Python?
input = "Enter your name"
name = input("Enter your name: ")
name = input["Enter your name"]
input(name) = "Enter your name"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the code?
Yes
No
Error
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is immutable (cannot be changed) in Python?
List
Tuple
Dictionary
Set
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the value of key 'age' in the dictionary?
student[age]
student.get("age")
student("age")
student.get(age)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following list operation?
[1, 2, 3]
[1, 2, 3, 4]
[1, 2, 3, 4, None]
[1, 2, 3, (4)]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to check if a key exists in a dictionary?
'key' in dict
dict.has_key('key')
dict.exist('key')
dict.find('key')
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
12 questions
Spanish: Basic words

Quiz
•
1st Grade - Professio...
12 questions
Paris

Quiz
•
6th - 9th Grade
10 questions
Python quiz

Quiz
•
KG - Professional Dev...
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
10 questions
Steve Jobs

Quiz
•
8th Grade
13 questions
Python Intermediate Quiz - 1

Quiz
•
8th Grade - Professio...
9 questions
Minecraft+Python(Повт Урок 15)

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade