G10 CS String Manipulation

G10 CS String Manipulation

12th Grade

15 Qs

quiz-placeholder

Similar activities

(Do Now) Excel Functions Quiz

(Do Now) Excel Functions Quiz

12th Grade

10 Qs

MYSQL FUNCTIONS

MYSQL FUNCTIONS

12th Grade

15 Qs

Python Data Types and Lists ( level easy )

Python Data Types and Lists ( level easy )

12th Grade

10 Qs

Python L1

Python L1

8th Grade - University

14 Qs

Quiz Pemrograman Phyton

Quiz Pemrograman Phyton

9th - 12th Grade

20 Qs

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

AQA Computer Science GCSE - 3.1 Fundamentals of algorithms

10th - 12th Grade

15 Qs

Python Programming Quiz

Python Programming Quiz

10th Grade - University

20 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 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?