STRINGS

STRINGS

11th Grade

45 Qs

quiz-placeholder

Similar activities

Project STEM 2.1-2.2

Project STEM 2.1-2.2

9th - 12th Grade

40 Qs

software dev

software dev

9th - 12th Grade

50 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

Python set 4

Python set 4

9th - 12th Grade

44 Qs

Python set 2

Python set 2

9th - 12th Grade

42 Qs

Java Easy

Java Easy

10th - 12th Grade

40 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

Week 4 - What is Python?

Week 4 - What is Python?

9th - 12th Grade

46 Qs

STRINGS

STRINGS

Assessment

Quiz

Computers

11th Grade

Medium

Created by

D MALA

Used 13+ times

FREE Resource

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

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?