STRINGS

STRINGS

11th Grade

45 Qs

quiz-placeholder

Similar activities

Ulangan Harian Pyhton Kelas XII Lintas Minat Part 1

Ulangan Harian Pyhton Kelas XII Lintas Minat Part 1

9th - 12th Grade

40 Qs

GCSE Computer Science - 2.3: Producing Robust Programs

GCSE Computer Science - 2.3: Producing Robust Programs

9th - 11th Grade

40 Qs

Unit 2 review

Unit 2 review

9th - 12th Grade

42 Qs

SAD2 TSA1

SAD2 TSA1

9th - 12th Grade

44 Qs

AP CSP: Unit 5 Test Review - List, Loops, & Traversals

AP CSP: Unit 5 Test Review - List, Loops, & Traversals

10th - 12th Grade

50 Qs

AP Comp Sci Principles - Unit 4 Final Review

AP Comp Sci Principles - Unit 4 Final Review

9th - 12th Grade

40 Qs

Python set 2

Python set 2

9th - 12th Grade

42 Qs

8525 AQA GCSE 3.2.11 Robust and Secure Programming

8525 AQA GCSE 3.2.11 Robust and Secure Programming

10th - 11th Grade

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

Discover more resources for Computers