Unit 8 CS Python Test

Unit 8 CS Python Test

12th Grade

15 Qs

quiz-placeholder

Similar activities

Problem Solving : Design Solution

Problem Solving : Design Solution

12th Grade

15 Qs

QUIZ Pemdas bab 4

QUIZ Pemdas bab 4

12th Grade

15 Qs

Latihan Ujian TKJ - Bagian A1

Latihan Ujian TKJ - Bagian A1

7th Grade - University

10 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

Podstawy Pythona

Podstawy Pythona

9th - 12th Grade

10 Qs

C quiz

C quiz

11th Grade - University

10 Qs

Preguntas sobre Excel 2016

Preguntas sobre Excel 2016

6th Grade - University

15 Qs

Excel - Funciones de Estadística

Excel - Funciones de Estadística

10th - 12th Grade

20 Qs

Unit 8 CS Python Test

Unit 8 CS Python Test

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Charles Martinez

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

s1='ComputerScience' What is the output of print(s1[::-1])

Cmptrcinc

ComputerScience

ecneicSretupmoC

cnicrtpmC

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which error is generated when the index is not an integer?

Index Error

Type error

Name error

Bound error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To change 'cool' from 'COOL', which function should be used?

upper()

lower()

capitalize()

title()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using find(), if str is not present in the string then what is returned?

0

1

-1

Null

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to change 'save earth' to 'Save Earth'?

capitalize()

swapcase()

title()

upper()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct result from the following.

ord('10')=50

chr(72)='H'

chr(55)=9

ord('z')=123

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which error is generated when a character in a string variable is modified?

Index error

Name error

Type error

unbound local 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?