Slice Python Quiz

Slice Python Quiz

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python

Python

8th Grade

10 Qs

python หน่วยที่1

python หน่วยที่1

7th Grade

15 Qs

Python Free Code Camp

Python Free Code Camp

6th Grade

13 Qs

KOD ARAHAN PYTHON

KOD ARAHAN PYTHON

8th Grade

10 Qs

Tingkatan 2 - Kod Arahan (Bab 3)

Tingkatan 2 - Kod Arahan (Bab 3)

7th - 9th Grade

10 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

coding

coding

KG - Professional Development

15 Qs

g7_W4_Python

g7_W4_Python

7th Grade

10 Qs

Slice Python Quiz

Slice Python Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Ridhaan Mishra

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is slicing in python?

To slice vegetables

A slice object is used to specify how to slice a sequence

A math library item

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is the slice command?

.slice

slice()

slice**

slice.txt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a string?

data

Words

Numbers

a sequence of characters

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of string is this:

2.1

int

str

float

dictionary

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many types of data are there in python?

2

4

7

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of following Program:

for i in range(1,4):

print(i)

if(i==2):

break;

1

1

2

1

2

3

4

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to compare two values

< >

/* */

==

=

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?