python basics

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Kartikey Maheshwari
Used 3+ 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
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
15 questions
Python Arrays Quiz P7

Quiz
•
11th Grade
15 questions
Data Types and Operations

Quiz
•
10th Grade
10 questions
Comments and Variables in Python Programming

Quiz
•
11th Grade
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
7 questions
Python Group:B

Quiz
•
9th Grade
8 questions
Introduction to DAX in Power BI Quiz

Quiz
•
12th Grade
10 questions
PYTHON(LIBRARIES)

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade