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
35 questions
Data Science

Quiz
•
Professional Development
29 questions
AI Selection Test

Quiz
•
Professional Development
34 questions
Cisco Collaboration Quick Assessment

Quiz
•
Professional Development
30 questions
python quiz 1

Quiz
•
Professional Development
30 questions
Python Quiz 1

Quiz
•
Professional Development
32 questions
C# Skill Review

Quiz
•
12th Grade - Professi...
30 questions
C BASICS

Quiz
•
Professional Development
30 questions
A+ 1102 Day 3c Identify the basics of scripting

Quiz
•
Professional Development
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