
Python Quiz Girls in ICT Day
Authored by Yubraj Shahi
Information Technology (IT)
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the correct file extension for a Python file?
.py
.python
.pt
.txt
2.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which of these is a valid variable name in Python?
2name
name_2
name-2
name.2
3.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the output of: print(3 + 4 * 2)?
14
11
10
8
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the data type of: "Hello"?
Integer
String
Boolean
List
5.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which function is used to take input from the user in Python?
read()
input()
scan()
type()
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
What is the correct way to start a function in Python?
function myFunc()
def myFunc():
create myFunc()
start myFunc():
7.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Which symbol is used to write a comment in Python?
//
#
**
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?