
Python Test10

Quiz
•
Engineering
•
Professional Development
•
Medium
PRAVEEN SHARMA
Used 2+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Python keyword?
pass
eval
assert
lambda
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(type(10)) in Python?
<class 'int'>
<class 'float'>
<class 'number'>
<class 'decimal'>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code print: print(5 // 2)?
2
2.5
3
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct statement about Python indentation?
Indentation is optional.
Indentation is used to define blocks of code.
Indentation can be mixed (tabs and spaces).
Python ignores indentation.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid Python variable name?
my_var
_myvar
2myvar
myvar2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operators in Python is used for exponentiation?
^
**
*
%
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to start a comment in Python?
//
#
/*
;
Create a free account and access millions of resources
Similar Resources on Wayground
24 questions
SET B - DPWH

Quiz
•
Professional Development
23 questions
Python Programming Quiz-03

Quiz
•
Professional Development
25 questions
QUIZZERIA

Quiz
•
Professional Development
25 questions
D43 QUIZ OF THE DAY

Quiz
•
Professional Development
30 questions
Apti reasoning Quiz

Quiz
•
Professional Development
28 questions
Encuesta sobre Investigación Universitaria

Quiz
•
Professional Development
31 questions
Câu hỏi về phần mềm

Quiz
•
Professional Development
24 questions
Electric Vehicle Architecture on 02.09.24

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade