Friday Pop Quiz 5

Quiz
•
Computers
•
Professional Development
•
Medium

Olanrewaju Afolayan
Used 1+ times
FREE Resource
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a function in Python?
function myFunction():
create myFunction():
def myFunction():
make myFunction ():
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start writing an if statement in Python?
if (x > y)
if x > y:
if x > y then:
if x > y->
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct extension of the Python file?
.pyth
.pt
.py
.python
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
x = 5
x = = int(5)
Both A and B
x = num(5)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a comment in Python?
/* This is a comment */
// This is a comment
# This is a comment
-- This is a comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to check whether a value is in a list?
for
check
in
exists
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of len([1, 2, 3])?
1
2
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
31 questions
Quiz de Programación en Python

Quiz
•
Professional Development
29 questions
Linux Package Management and Package Systems

Quiz
•
Professional Development
29 questions
Google Drawings Review

Quiz
•
2nd Grade - Professio...
30 questions
Asas ICT & Perkakasan

Quiz
•
Professional Development
30 questions
BIG DATA FINAL QUIZ

Quiz
•
Professional Development
30 questions
Modulo 6 - Evaluacion

Quiz
•
Professional Development
30 questions
SERTIFICATE-Zerde

Quiz
•
Professional Development
31 questions
SR Tema 9. Cuestionario

Quiz
•
Professional Development
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
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development