
Python-Quiz1

Quiz
•
Information Technology (IT)
•
University
•
Hard
Janany Malli
Used 37+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For the list [10,12,14,20,22,24,30,32,34] which of the following will give this output [10,20,30]
list[1:9:3]
list[0:9:2]
list[::3]
list[1::2]
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following cannot be a variable?
_init
in
ot
on
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following code?
abcd
a b c d
a,b,c,d
Type Error
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which is not a Python datastructure?
list
set
tuple
recursion
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
List is immutable
True
False
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the length of the string 'Hi\nHello'
7
8
9
10
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
sum(3,4,5,6) returns 18
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Mastering Python Control Flow

Quiz
•
University
15 questions
Python for loop/lists

Quiz
•
9th Grade - University
15 questions
Python_MCQ_2

Quiz
•
University
10 questions
OOP-Q1

Quiz
•
University
12 questions
Quiz 3

Quiz
•
University
10 questions
Python_Quiz_1

Quiz
•
University
12 questions
PYTHON APTITUDE

Quiz
•
University
12 questions
Python Programming Competition

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade