What is the output of the following piece of code when executed in Python shell?
>>> a=("Check")*3
>>> a
PYTHON PROGRAMMING FUNDAMENTALS
Quiz
•
Computers, Other
•
11th Grade
•
Medium
Archana Pataskar
Used 402+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following piece of code when executed in Python shell?
>>> a=("Check")*3
>>> a
(‘Check’,’Check’,’Check’)
* Operator not valid for tuples
(‘CheckCheckCheck’)
Syntax error
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which are arithmetic operators?
+
-
>
<
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following cannot be a variable?
_init_
in
it
on
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of these is floor division?
//
/
%
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python is a general purpose programming language created by
Dennis M. Ritchie
Guido Van Rossum
James Gosling
Bjarne Stroustrup
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Expand IDLE
Internal Development Learning Environment
Integrated Development Learning Enforcement
Interactive Development Learning Environment
Integrated Development Learning Environment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Example of valid identifiers
12Name
name$
total-mark
total_marks
10 questions
JAVASCRIPT SYNTAX
Quiz
•
11th Grade
10 questions
Python Operators
Quiz
•
11th Grade
20 questions
Control Statements in Python
Quiz
•
11th Grade
14 questions
Understanding Python Identifiers and Operators
Quiz
•
11th Grade - University
10 questions
rainbow six siege quiz
Quiz
•
1st - 12th Grade
10 questions
Quiz Blok Variables dan Operator
Quiz
•
10th - 12th Grade
15 questions
Python Fundamentals
Quiz
•
11th - 12th Grade
20 questions
JavaScript Operators
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade