
Untitled Quiz

Quiz
•
Information Technology (IT)
•
University
•
Hard
SUCHETA MOHARANA
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct extension of Python files?
.pt
.pyt
.py
.python
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to display output in Python?
echo()
write()
display()
print()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of :
x = 5
print(type(x))
<type: int>
int
<class 'int'>
<int>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 10 // 3 in Python?
3.33
3
4
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
2value
my-value
my_value
my value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a single-line comment in Python?
//
/* comment */
# comment
-- comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the input() function do?
Displays output
Reads input from user
Ends program
None
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Questionário 2

Quiz
•
University
20 questions
Pretest Alpro Dasar

Quiz
•
University
15 questions
Mastering Python Control Flow

Quiz
•
University
15 questions
Python_MCQ_2

Quiz
•
University
20 questions
quiz1B1

Quiz
•
7th Grade - University
16 questions
Java Basics Quiz for CH/PT Students

Quiz
•
University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
20 questions
Python Quiz Girls in ICT Day

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade