
PYTHON

Quiz
•
Computers
•
Professional Development
•
Hard
Ninu Sahil
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is the correct extension of the Python file?
.python
.py
.p
.nb
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character is used in Python to make a single line comment?
/
//
#
!
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
>>>str1 = "javat"
>>> str1[-1:]
What will be the output of this statement?
t
j
java
point
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is shown below?
L = [2, 54, 'javatpoint', 5]
What will be the output of this statement?
Dictionary
tuple
list
stack
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print('It\'s ok, don\'t worry')
What will be the output of this program?
It's ok, don't worry
It\'s ok, don\'t worry
SyntaxError: EOL while scanning string literal
SyntaxError: invalid syntax
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following keywords is used for function declaration in Python language?
def
function_name
define
none of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is correct?
List is immutable && Tuple is mutable
List is mutable && Tuple is immutable
Both are Mutable.
Both are Immutable
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Quiz

Quiz
•
Professional Development
13 questions
Game Quizz

Quiz
•
Professional Development
15 questions
Ch_I_BLCN-1.6.1

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Python Programming Languag

Quiz
•
Professional Development
15 questions
Intro to Python I Quiz

Quiz
•
Professional Development
11 questions
Introdução à programação com Python

Quiz
•
Professional Development
15 questions
Python to Access Data Quiz

Quiz
•
Professional Development
5 questions
Python - Numpy Quiz 2

Quiz
•
University - Professi...
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