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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Coding Quiz

Quiz
•
6th - 10th Grade
14 questions
Data types and Input

Quiz
•
7th - 9th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
9 questions
ПИТОН

Quiz
•
9th Grade
10 questions
Basic Programming Terminology Quiz

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade