G10 CS String Manipulation
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Fritz Bansag
Used 10+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
15 questions
Internet Basics
Quiz
•
5th Grade - University
14 questions
BTEC National ICT U2 - Data Types and Validation
Quiz
•
12th Grade
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
10 questions
Fun with Paint and Storage
Quiz
•
1st Grade - University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
