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
30 questions
Python - Basic Data, Structure, and Concepts

Quiz
•
Professional Development
30 questions
RE_Lambda_Comprehension

Quiz
•
Professional Development
30 questions
Android development ( 20 - 50)

Quiz
•
Professional Development
30 questions
Computer Engineering Basics

Quiz
•
Professional Development
30 questions
BPP(20APC0526) BASICS-1

Quiz
•
Professional Development
30 questions
Full Stack Basics quiz

Quiz
•
Professional Development
39 questions
AZ900-04

Quiz
•
Professional Development
30 questions
Python. Турнир 2

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

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

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade