Basic Python
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Faiz keezhattil
Used 21+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output of 33 == 33.0
False
True
33
None of the Above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How can we swap two numbers
a = 10
b = 20
in python without using third variable?
a = b
b = a
a,b = b,a
a=20,b=10
b = a
a = b
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following are valid ways to specify the string literal foo'bar in Python?
'foo''bar'
'foo'bar'
"foo'bar"
'foo'+'bar'
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
>>> print(r'foo\\bar\nbaz')
Which of the following is the correct output?
foo\\bar\nbaz
foo\bar\nbaz
foo\\barnbaz
foo\bar
baz
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a Python built-in function:
diff()
round()
isinstance()
map()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is false statement in python
int(144)==144
int('144')==144
int(144.0)==144
None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output for −
'Hello world' [1:2]
Hello
e
world
Syntax error
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
Already have an account?
Similar Resources on Wayground
10 questions
Azure Cloud computing
Quiz
•
Professional Development
13 questions
GRAND OPENING INTERNSHIP EXERCISE 2024
Quiz
•
Professional Development
10 questions
Hen keeping
Quiz
•
Professional Development
10 questions
How are you doing?
Quiz
•
Professional Development
10 questions
AWS ACF Módulo 1 - Visão geral dos conceitos de nuvem
Quiz
•
Professional Development
10 questions
Ai BG-Q#
Quiz
•
Professional Development
13 questions
bts
Quiz
•
KG - Professional Dev...
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
