STRINGS

STRINGS

11th Grade

•

45 Qs

quiz-placeholder

Similar activities

Chapter 8 - cs1

Chapter 8 - cs1

Python 1.1

Python 1.1

Python

Python

Python Strings

Python Strings

Python Basics

Python Basics

Practice Quiz

Practice Quiz

Input, Processing, Output

Input, Processing, Output

STRINGS

STRINGS

Assessment

Quiz

•

Computers

•

11th Grade

•

Practice Problem

•

Medium

Created by

D MALA

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following is an example of ___________

a = "COMPUTER SCIENCE"

list

dictionary

string

none of the above

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Python considered the character enclosed in triple quotes as String.(T/F)

true

false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following.

a = "Blog"

a ='a'

print(a)

Bloga

aBlog

a

Blog

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following:

a="We\nto my \nb\t ok"

print(a)

We

to my

b ok

We

to myb ok

Weto

my

b ok

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code :

a= "Welcome to \"my\" blog"

print(a)

Welcome to \"my\" blog

Welcome to "my" blog

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code :

a= "Welcome to \

blog"

print(a)

Welcome to \

blog

Welcome to

blog

Welcome to blog

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output of the following code :

str = "Welcome"

str[2] = 'a'

print(str)

Weacome

Error

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?