
PYTHON BASICS

Quiz
•
Other
•
University
•
Easy
Nirupama .R
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of a programming language?
To design hardware
To perform mathematical calculations only
To communicate instructions to a computer
To draw graphics only
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
print("Hello")
Hello
# This is a comment
print statement
Error
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the following code do?
print("Hello World")
Displays "Hello"
Displays "Hello World"
Shows an error
Nothing
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Choose the correct way to write a comment in Python:
// This is a comment
<!-- This is a comment -->
# This is a comment
This is a comment
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is true about Python?
It is a compiled language only
It can only run on Windows
It is an interpreted language
Python is used only for games
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the print("Welcome to Python") command do?
Starts the interpreter
Runs Python shell
Displays text on screen
Opens a new file
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is required to run Python on an Android device?
Java compiler
Turbo C++
Python app like Pydroid or Termux
Not possible on Android
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
python set 1

Quiz
•
University
15 questions
Modulo 1 - Fundamentos Python

Quiz
•
University
15 questions
Yudisium Ganjil 23/24

Quiz
•
University
10 questions
Python DataTypes & Variables Quiz

Quiz
•
University
12 questions
Python Unit 1 Introduction

Quiz
•
University
5 questions
Week 3

Quiz
•
University
15 questions
Kuiz Microsoft Power Point

Quiz
•
KG - University
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
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 Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University