Slice Python Quiz

Quiz
•
Computers
•
6th - 8th Grade
•
Medium
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
Similar Resources on Wayground
13 questions
Python Basics Revision

Quiz
•
6th - 8th Grade
15 questions
Python2

Quiz
•
8th Grade - University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
11 questions
Python L4 Math Operator

Quiz
•
6th - 8th Grade
15 questions
Edublocks yr 8

Quiz
•
7th Grade
15 questions
Records and Files

Quiz
•
8th - 11th Grade
10 questions
Programming with Python

Quiz
•
7th - 9th Grade
10 questions
Python User Input Quiz

Quiz
•
6th Grade - University
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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade