Their Python Exam

Their Python Exam

9th Grade - Professional Development

31 Qs

quiz-placeholder

Similar activities

Quiz sobre Microsoft Word

Quiz sobre Microsoft Word

Professional Development

27 Qs

Customer Service

Customer Service

University

27 Qs

Midterm Exam - Discrete Math

Midterm Exam - Discrete Math

University

35 Qs

Latihan Soal 3 - SIMKOMDIG

Latihan Soal 3 - SIMKOMDIG

10th Grade

30 Qs

MIDTERM EXAM (ISOM)

MIDTERM EXAM (ISOM)

University

28 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

aaaa

aaaa

8th - 11th Grade

26 Qs

Prueba diagnóstica 10º

Prueba diagnóstica 10º

10th Grade

27 Qs

Their Python Exam

Their Python Exam

Assessment

Quiz

Computers

9th Grade - Professional Development

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content in a minute

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

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The first character in a string is at index 0.

T

F

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement Does Not describes a String in Python/Computer Science?

a sequence of characters

a series of 1's and 0's

a set of characters which are represented in/from the ASCII table by holding hte Alt- plus 4 digit decimal number

object existing in four dimensions

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the statement that will print the letter "s", given the variable declaration word = "windows"

print(word[-2])

print(word[-1])

print(word[2])

print(word[3])

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which print output is the result of the following code?

"w"

"s"

"o"

""(empty string)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code will print "act".


word = "characteristics"

print(word[4:6])

T

F

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which choice will print the second half of the word "Consequences" (uences), given the following variable declaration?


word = "Consequences"

print(word[6:])

print(word[:6])

print(word[1:7])

print(word[7:1])

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the correct print output for the following code:

name = "Alton"

print(name[::4]

"Atn"

"lo"

"on"

"An"

Create a free account and access millions of resources

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?