string = 'Basic python'
what will be the output of [2:3:-1]
python basics
Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Kartikey Maheshwari
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
string = 'Basic python'
what will be the output of [2:3:-1]
'is'
''
's'
'si'
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is slicing
Used to extraction of int , float , complex,etc
used for adding 2 slicing portion as a pizza
Nothing
Used for Extracting anything from a given string or multiple if written explicitly
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Is Python case sensitive
True
False
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
is def and class same in python
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def class1(h123):
pass
Here h123 is what ?
Argument
Funtion
class
Normal syntax
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = (3+2)//(1*2)
3
4
1
2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
give output
print(r'a\n1')
Print nothing
Error
a
1
a\n1
Answer explanation
print(r'a\n1')
Here r is a raw formatting in python
which can be used to not set the new line feature for \n instead it just ignore
10 questions
Python Basics: Operators and Variables
Quiz
•
10th Grade
10 questions
Python Operators
Quiz
•
11th Grade
10 questions
Python Variables
Quiz
•
7th - 12th Grade
10 questions
python(strings)
Quiz
•
11th Grade
15 questions
Python Basics Quiz
Quiz
•
9th Grade
16 questions
Variables, Inputs and Concatenation
Quiz
•
9th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Programming python review
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University