Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.length) ?
G10 CS String Manipulation
Quiz
•
Computers
•
12th Grade
•
Hard
Fritz Bansag
Used 10+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.length) ?
20
21
22
23
0
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.substring(5,6)) ?
amming
ramming
rammin
gramm
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.substring(5,6)) ?
gramming
ramming
rammin
gramm
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.substring(12,4)) ?
tech
tec
echn
techn
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Program
If string_name=‘Programming techniques’.
What is the output of
print(string_name.substring(12,6)) ?
techin
tec
echn
techn
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents the code that changes a variable string_name to uppercase characters?
string.upper()
string_name.upper()
string_name.uppercase()
None of the choices
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to find the length in Python program?
lenght( )
len( )
lengthof( )
None of the above
20 questions
Python Programming Quiz
Quiz
•
10th Grade - University
12 questions
Java Strings
Quiz
•
9th - 12th Grade
20 questions
Python String
Quiz
•
12th Grade
15 questions
Problem Solving using Python and R - UNIT I STRINGS MCQS
Quiz
•
12th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms
Quiz
•
10th - 12th Grade
10 questions
Python Variables
Quiz
•
7th - 12th Grade
12 questions
Python - Abstractions, Comments, Data Types, Variables
Quiz
•
9th - 12th Grade
10 questions
Python Input/Output
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