Slice Python Quiz

Slice Python Quiz

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Variables

Python Variables

6th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Edublocks yr 8

Edublocks yr 8

7th Grade

15 Qs

Lesson 9 - The internet

Lesson 9 - The internet

8th Grade

12 Qs

Records and Files

Records and Files

8th - 11th Grade

15 Qs

Quick quizizz Python G7

Quick quizizz Python G7

7th Grade

10 Qs

25Mei2021ASK 2B

25Mei2021ASK 2B

8th 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?