
Python Intership 2023
Authored by sumathi arvind
Education
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed Python Programming Language?
Wick van Rossum
Rasmus Lerdorf
Guido van Rossum
Niene Stom
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a block of code in Python language?
Indentation
Key
Brackets
All of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
1 2 3
error
1 2
none of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the values of the following Python expressions?
512, 64, 512
512, 512, 512
64, 512, 64
64, 64, 64
Answer explanation
Explanation: Expression 1 is evaluated as: 2**9, which is equal to 512. Expression 2 is evaluated as 8**2, which is equal to 64. The last expression is evaluated as 2**(3**2). This is because the associativity of ** operator is from right to left. Hence the result of the third expression is 512.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following functions is a built-in function in python?
factorial()
print()
seed()
sqrt()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
a
B
C
D
abcd
error
A
B
C
D
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python program?
{‘a’, ‘c’, ‘c’, ‘p’, ‘q’, ‘s’, ‘a’, ‘n’}
{‘abc’, ‘p’, ‘q’, ‘san’}
{‘a’, ‘b’, ‘c’, ‘p’, ‘q’, ‘san’}
{‘a’, ‘b’, ‘c’, [‘p’, ‘q’], ‘san}
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
20 questions
Reported speech assignment
Quiz
•
University
17 questions
Simple past
Quiz
•
6th Grade - Professio...
15 questions
EDUCATIONAL PSYCHOLOGY
Quiz
•
University
15 questions
Business Studies Grade 11 C
Quiz
•
University - Professi...
20 questions
Basic Baking - Cake
Quiz
•
University
17 questions
Noise Control & Acoustic Design
Quiz
•
University
20 questions
Research Methodology 2021
Quiz
•
University
20 questions
Sosiologi Pendidikan
Quiz
•
University
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