Python MCQ for II Sem
Quiz
ā¢
Computers
ā¢
University
ā¢
Practice Problem
ā¢
Medium
VedaSri Tutorials
Used 2+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
Which keyword is used to define a function in Python?
del
init
def
2.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
What symbol is used to indicate a comment in Python?
//
#
/*
--
3.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
Which of the following is a mutable data type in Python?
tuple
list
string
frozenset
4.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
What function is used to read input from the user in Python?
get()
scan()
read()
input()
5.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
What is the output of the expression 3 * 'Hello' in Python?
HelloHelloHello
None
3Hello
Error
6.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
Which built-in function can be used to get the length of a list in Python?
length()
size()
count()
len()
7.
MULTIPLE CHOICE QUESTION
1 min ⢠1 pt
What is a 'flowchart'?
A type of algorithm
A graphical representation of a process
A programming language
A database management system
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
34 questions
Computer Classification
Quiz
ā¢
University
25 questions
TechZoom24-BugBash_Prelims
Quiz
ā¢
University
25 questions
Web Application Frameworks
Quiz
ā¢
University
25 questions
Python Module 1
Quiz
ā¢
University
25 questions
PYTHON CONTEST
Quiz
ā¢
University
25 questions
Topik 3 - Computer Network Maintenance
Quiz
ā¢
12th Grade - University
25 questions
SQL MIDTERM EXAM
Quiz
ā¢
University
25 questions
Human and Computer Interaction Part 2
Quiz
ā¢
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
ā¢
3rd Grade
20 questions
Equivalent Fractions
Quiz
ā¢
3rd Grade
25 questions
Multiplication Facts
Quiz
ā¢
5th Grade
22 questions
fractions
Quiz
ā¢
3rd Grade
20 questions
Main Idea and Details
Quiz
ā¢
5th Grade
20 questions
Context Clues
Quiz
ā¢
6th Grade
15 questions
Equivalent Fractions
Quiz
ā¢
4th Grade
20 questions
Figurative Language Review
Quiz
ā¢
6th Grade
