
UNIT 1 PYTHON
Authored by Vishwanath Vishwanath
Computers
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
1 What is the correct way to print "Hello, World!" in Python?
print("Hello, World!")
printf("Hello, World!")
print(Hello, World!)
printf(Hello,World)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the output of type(10.5) in Python?
2. What is the output of type(10.5) in Python?
int
float
double
long
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of the following is NOT a valid variable name in Python?
3. Which of the following is NOT a valid variable name in Python?
my_var
123var
_var123
var_1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What will be the output of print(5 // 2)?
4. What will be the output of print(5 // 2)?
2.5
2
3
2.0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which operator is used for exponentiation (power) in Python?
5. Which operator is used for exponentiation (power) in Python?
**
power
%%
^
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
6. The keyword used to define a function in Python is_
6. The keyword used to define a function in Python is_
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. The __ operator is used to check if two values are equal.
7. The __ operator is used to check if two values are equal.
==
=
equal
=!
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
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
18 questions
Introducción a HTML
Quiz
•
University
15 questions
SIMKOM
Quiz
•
12th Grade - Professi...
16 questions
Social Media 2024
Quiz
•
University
15 questions
Revisao ITGS.2
Quiz
•
University
20 questions
PSTS INFORMATIKA X
Quiz
•
10th Grade - University
20 questions
WML & WAP
Quiz
•
University
15 questions
SENATIC Parcial Guía 3_PseInt
Quiz
•
10th Grade - 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