stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Quiz-2 II PUC Flashcards | StudBud
Explore
/
Quiz-2 II PUC
Quiz-2 II PUC
15 terms
·
StudBud Administration
·
9 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
5) What it returns ? range(5)
It returns 0 to 4
It returns 1 to 4
It returns 0 to 5
It returns 1 to 5
2
1) Which is text editor you're using in lab to python coding?
Microsoft OneNote
Notepad
Atom
IDLE
3
8) The finally block will only execute if an execution is raised.
True
False
4
6) Python is case sensitive.
True
False
5
4) Indentation is optional in Python.
True
False
6
2) Which keyword is used to define a function in python?
define
func
def
function
7
7) The // operator is used for floor division.
True
False
8
11) You can create a variable name starting with a number.
True
False
9
15) What is the output of the following code? code:- print(type([1,2,3]))
<Class 'dict'>
<Class 'tuple'>
<Class 'set'>
<Class 'list'>
10
9) The id() function returns the memory address of an object.
False
True
11
12) The open() function is used to work with files in Python.
False
True
12
3) A Python tuple is mutable.
True
False
13
14) Python can be used for web development, data science and automation.
False
True
14
10) Comments in python start with #.
False
True
15
13) Python allows multi-line strings using triple quotes (''' or ''').
False
True