python_4_Vivek

Quiz
•
Computers
•
University
•
Hard
VIVEK PANDEY
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
mynums=[10,20,30, 40,50]
print(mynums[-1:-2])
[]
()
none
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
r=['True',False]
print(max(r))
True
False
error
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(list(str(bool(complex(True)))))
true
True
[True]
['T', 'r', 'u', 'e']
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def calculate(a,b):
c=a+b
d=a-b
return c,d
x,y=calculate(5,3)
print(x,y)
2 8
8 2
error
5,3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def addnos(a,b):
c=a+b
return c
def addnos(a,b,c):
d=a+b+c
return d
print(addnos(10,20))
print(addnos(10,20,30))
30 60
60 30
10 20
TypeError
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def find(*names):
max=0
for s in names:
if len(s)>max:
max=len(s)
return max
print(find("January","February","March",'VIVEK PANDEY'))
7
12
8
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def show(a,b,c=3,d=4):
print(a,b,c,d)
show(10,20,30,40)
10 20 30 4
10 20 3 40
10 20 3 4
10 20 30 40
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
TECH_IQ_HUNT ROUND

Quiz
•
University
25 questions
Assignment 2(CIVIL)

Quiz
•
University
20 questions
PY-BUILD

Quiz
•
University
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
25 questions
PYTHON CONTEST 2

Quiz
•
University
20 questions
Python Programming Quiz

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

Quiz
•
University
18 questions
Repaso Teórico Python

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