Python_Quiz_1

Quiz
•
Information Technology (IT)
•
University
•
Hard
Dinesh Kushwaha
Used 22+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
[None, None]
none of the mentioned
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
1 2
1 2 3
error
none of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
a b c d e f
abcdef
i i i i i i …
error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code?
no output
i i i i i i …
a a a a a a …
a b c d e f
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
0 1 2 3 4 Here
0 1 2 3 4 5 Here
0 1 2 3 4
1 2 3 4 5
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Python code?
0 1 2
error
0 1 2 0 1 2
none of the mentioned
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?
print(list1[2:])
print(list1[:2])
print(list1[:-2])
all of the mentioned
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Bài 26

Quiz
•
10th Grade - University
15 questions
Bài 25

Quiz
•
10th Grade - University
10 questions
Quiz Meet 1 Mini SC Programing

Quiz
•
University
12 questions
PYTHON APTITUDE

Quiz
•
University
12 questions
Python Programming Competition

Quiz
•
University
9 questions
G12- Python Strings Quiz

Quiz
•
12th Grade - University
10 questions
Week2 上周知识点回顾

Quiz
•
University
12 questions
Review loops

Quiz
•
8th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade