Python Module 1

Quiz
•
Computers
•
University
•
Medium
Atul Uttam
Used 37+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program:
y = 8
z = lambda x : x * y
print z(6)
48
14
64
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the use of id() function in python?
Id returns the identity of the object
Every object doesn’t have a unique id
All of the mentioned
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.pop(1)?
[3, 4, 5, 20, 5, 25, 1, 3]
[1, 3, 3, 4, 5, 5, 20, 25]
[3, 5, 20, 5, 25, 1, 3]
[1, 3, 4, 5, 20, 5, 25]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we add two strings together?
s.join(s2)
s.add(s2)
s = s + s2
s ++ s2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello world!\nHello world!")
Hello world!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print("Hello" + str(2) + "world!")
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Introduction To Python

Quiz
•
University
20 questions
Python 101

Quiz
•
University
20 questions
Python for beginners

Quiz
•
University
25 questions
Introduction to Python

Quiz
•
KG - University
20 questions
ITIPT01 Quiz No 1

Quiz
•
University
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - 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