python basics

python basics

9th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

=NOW()

=NOW()

11th Grade

10 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

ICT as Social Change

ICT as Social Change

12th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

SIKOMDIK

SIKOMDIK

10th Grade

15 Qs

Networks

Networks

7th - 9th Grade

13 Qs

EmTech Q2 Post Test 5

EmTech Q2 Post Test 5

11th Grade

15 Qs

python basics

python basics

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Kartikey Maheshwari

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?