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
13 questions
Python beginner quiz

Quiz
•
9th Grade
15 questions
CMU CS Academy Unit 3.2.1 Boolean Expressions Part 0

Quiz
•
9th Grade
10 questions
Error Finding

Quiz
•
12th Grade
9 questions
Year8_Python_L4_Starter

Quiz
•
8th - 9th Grade
12 questions
Python Fundamentals

Quiz
•
6th - 11th Grade
9 questions
Python Basics Quiz for KS3

Quiz
•
11th Grade - University
10 questions
Python Condition Controlled Iteration

Quiz
•
10th Grade
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade