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
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Exploring Python Fundamentals

Quiz
•
12th Grade - University
11 questions
python basics

Quiz
•
9th - 12th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
20 questions
Java Objects - Medium Practice Quiz

Quiz
•
12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
10 questions
String Methods

Quiz
•
9th - 12th Grade
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade