Python Basics

Quiz
•
Computers
•
3rd Grade
•
Hard
Mr. Upadhyay
Used 11+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
printf("Hello World");
print("Hello World")
echo "Hello World"
print("Hello World"):
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the purpose of using Python?
Python is used for various purposes such as web development, data analysis, artificial intelligence, scientific computing, automation, and more.
Python is primarily used for video editing
Python is only used for gaming development
Python is exclusively used for accounting purposes
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How do you insert COMMENTS in Python code?
//This is a comment
#This is a comment
/*This is a comment*/
"This is a comment"
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of 'print(5 + 3)'?
7
10
8
2
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which one is NOT a legal variable name?
_myvar
my_var
Myvar
my-var
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the keyword used for defining a function in Python?
function
define
func
def
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the result of '5 == 5'?
error
true
10
false
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Linguagens de Programação e Tendências de Software

Quiz
•
3rd Grade
20 questions
MS WORD-YEAR 3

Quiz
•
3rd Grade
21 questions
พื้นฐาน Python ม2

Quiz
•
1st Grade - University
20 questions
Quizziz Python Lesson 1 dan Lesson 2

Quiz
•
3rd Grade
20 questions
Python 2

Quiz
•
1st - 12th Grade
20 questions
การเขียนโปรแกรมด้วยภาษา Python

Quiz
•
1st - 5th Grade
29 questions
Повторение 9 класс

Quiz
•
1st - 5th Grade
20 questions
Scratch

Quiz
•
1st - 4th Grade
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
Discover more resources for Computers
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
10 questions
Place Value

Quiz
•
3rd Grade
17 questions
Multiplication facts

Quiz
•
3rd Grade
12 questions
Damon and Pythias

Quiz
•
3rd Grade
20 questions
Subject and Predicate Review

Quiz
•
3rd Grade
20 questions
Division Facts

Quiz
•
3rd Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade