UNIT 1 PYTHON

Quiz
•
Computers
•
University
•
Hard
Vishwanath Vishwanath
Used 1+ times
FREE Resource
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?
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?
my_var
123var
_var123
var_1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
**
power
%%
^
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
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.
==
=
equal
=!
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
20 questions
ASK T2 - Kod Arahan (Python)

Quiz
•
7th Grade - University
20 questions
Basic Python

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
20 questions
quiz dasar python

Quiz
•
1st Grade - University
16 questions
Entrada e Saída em Python

Quiz
•
University
20 questions
Python for beginners

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade