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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Programming in C language
Quiz
•
12th Grade - University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
20 questions
UTS Web Lanjut
Quiz
•
University
16 questions
Python Basics
Quiz
•
KG - University
19 questions
Pokemon
Quiz
•
1st Grade - Professio...
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
IT Essential UIUX Chapter 1 & 2
Quiz
•
University
20 questions
SECOND QUIZ
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
