Basic Python

Quiz
•
Computers
•
Professional Development
•
Hard
Faiz keezhattil
Used 21+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Intro to Machine Learning

Quiz
•
Professional Development
10 questions
Quizizz - Pengenalan Komputer / Dewasa

Quiz
•
University - Professi...
9 questions
Printer Maintenance and Troubleshooting Quiz

Quiz
•
Professional Development
10 questions
C++Quiz#1

Quiz
•
Professional Development
9 questions
Quiz 1 - Microsoft Office Word

Quiz
•
Professional Development
12 questions
JavaScript

Quiz
•
Professional Development
10 questions
Introduction to programming

Quiz
•
Professional Development
10 questions
Computer gameing

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development