PCEP Lesson 1 Quiz

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Magikid Chino Hills
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a data type?
Boolean
Word
Integer
List
Answer explanation
Word is not a data type. Although there is a data type 'String' that can contain a sequence of characters.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to declare 3 variables, 'a' , 'b', 'c' to 1?
a = b = c = 1
a,b,c = 1
a == b
b == c
c == 1
abc = 1
Answer explanation
You can set it as
a = 1
b = 1
c = 1
The following will be the same
a = b = c = 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
name = "Magikid Lab"
What will the following code print?
print(name[7])
'k'
' '
'7'
'L'
Answer explanation
Index 7 lands on the space character of Magikid Lab.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
name = "Magikid Lab"
What snippet of code will print only "Lab"?
print(name[5])
print(name[5:]
print(name[8:])
print(name[Lab])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following brackets are used for list?
{ }
[ ]
( )
| |
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the key difference between list and tuples?
List only contain integers and tuples contain strings
List are able to change elements and size where tuples are not.
List hold more values than Tuples
List can only contain strings and Tuples can only contain integers
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about Dictionaries?
Consist of key-value pairs
enclosed with [ ]
Only consist of integers
Only Consist of Strings
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Quick LIsts Recap

Quiz
•
8th Grade
15 questions
Computer Quiz

Quiz
•
5th - 6th Grade
10 questions
Ստանդարտ ֆունկցիաներ - Python

Quiz
•
7th Grade
11 questions
Python Code Quiz

Quiz
•
8th - 12th Grade
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
12 questions
Python for loop

Quiz
•
4th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
11 questions
Алгоритмді программалау

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

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

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
22 questions
Figurative Language

Quiz
•
7th Grade