G10 CS String Manipulation

G10 CS String Manipulation

12th Grade

15 Qs

quiz-placeholder

Similar activities

Mastering Python String Techniques

Mastering Python String Techniques

9th - 12th Grade

10 Qs

Code.org: AP CSA U3, Lessons 1-6 Review

Code.org: AP CSA U3, Lessons 1-6 Review

11th - 12th Grade

20 Qs

STRING MANIPULATION (PYTHON)

STRING MANIPULATION (PYTHON)

11th - 12th Grade

10 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

Python Intro 1

Python Intro 1

7th - 12th Grade

11 Qs

Python

Python

9th - 12th Grade

15 Qs

POGIL: Python Activity 1

POGIL: Python Activity 1

9th - 12th Grade

12 Qs

If Statements Part 3

If Statements Part 3

9th - 12th Grade

20 Qs

G10 CS String Manipulation

G10 CS String Manipulation

Assessment

Quiz

Computers

12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?