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
24 questions
Teknoloji ve Yazılım 1. Dönem 1. Yazılı (Python)

Quiz
•
6th Grade - University
20 questions
PYTHON REVISION

Quiz
•
University
26 questions
R Quiz

Quiz
•
University
20 questions
Kollokvium_1

Quiz
•
University
20 questions
Quiz

Quiz
•
University
23 questions
msp quiz

Quiz
•
University - Professi...
25 questions
Script_programming_test

Quiz
•
University
20 questions
Python Programming - Test 1

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University