python

python

9th Grade

11 Qs

quiz-placeholder

Similar activities

python String and comment

python String and comment

3rd Grade - University

13 Qs

Quiz on Strings in Programming

Quiz on Strings in Programming

9th Grade

15 Qs

Python

Python

8th - 12th Grade

10 Qs

Unit 6 Quiz - Bootstrap: Algebra

Unit 6 Quiz - Bootstrap: Algebra

6th - 12th Grade

11 Qs

Computer 10: Date and Time, String Manipulation Functions

Computer 10: Date and Time, String Manipulation Functions

7th Grade - University

15 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

functions

functions

9th Grade

8 Qs

String Quiz

String Quiz

9th - 12th Grade

15 Qs

python

python

Assessment

Quiz

Computers

9th Grade

Medium

Created by

sangamithrai L

Used 3+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Indexing of characters/items starts from

1

-1

0

9

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which function is used to print the output?

input

print

eval

main

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To get the 5th character, what index should be used?

5

4

6

3

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

To convert the first letter of the given string to uppercase , what function should be used?

upper()

isupper()

capitalize()

lower()

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

This function checks if the given string contains only alphabets

isalnum()

isalpha()

isdigit()

upper()

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

This function used to convert the given string to lowercase

islower()

lower()

isalpha()

isdigit()

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

which function is used to convert the given string to uppercase

upper()

isupper()

lower()

isalpha()

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?