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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Basic 1

Quiz
•
12th Grade
13 questions
Python Reflect

Quiz
•
8th Grade - University
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
15 questions
AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

Quiz
•
10th - 12th Grade
20 questions
Python Programming Quiz

Quiz
•
10th Grade - University
10 questions
Programming Constructs_Y10

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade