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 401+ 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
20 questions
Arduino Basics
Quiz
•
9th - 12th Grade
14 questions
Understanding Python Identifiers and Operators
Quiz
•
11th Grade - University
11 questions
java Boolean Quiz CS1
Quiz
•
9th - 12th Grade
10 questions
rainbow six siege quiz
Quiz
•
1st - 12th Grade
15 questions
GCSE Computer Science Operators
Quiz
•
10th - 12th Grade
20 questions
Toán tử trong C ++
Quiz
•
10th - 12th Grade
16 questions
Data Types and Mathematical Operators
Quiz
•
9th - 11th Grade
10 questions
Quiz Blok Variables dan Operator
Quiz
•
10th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University