Slice Python Quiz

Slice Python Quiz

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

ÔN TẬP TIN 8 GIỮA KÌ 2

ÔN TẬP TIN 8 GIỮA KÌ 2

8th Grade

13 Qs

For loop

For loop

8th Grade

10 Qs

prep1-revision

prep1-revision

7th Grade

12 Qs

Algorytmy

Algorytmy

8th Grade

13 Qs

Ôn lại kiến thức  Lớp 3 T13

Ôn lại kiến thức Lớp 3 T13

1st - 10th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Asesmen Unit One dan Unit Two MIT APP INVENTOR

Asesmen Unit One dan Unit Two MIT APP INVENTOR

8th Grade

10 Qs

Noções gerais de TIC - 7º D 17/18

Noções gerais de TIC - 7º D 17/18

7th Grade

10 Qs

Slice Python Quiz

Slice Python Quiz

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Ridhaan Mishra

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?

Discover more resources for Computers