Ch. 11 Exam Review

Ch. 11 Exam Review

8th Grade

26 Qs

quiz-placeholder

Similar activities

Teknologi Informasi dan Komunikasi Bab 2

Teknologi Informasi dan Komunikasi Bab 2

8th Grade

30 Qs

📝 Diagnostic Assessment – Information Technology

📝 Diagnostic Assessment – Information Technology

6th - 8th Grade

30 Qs

Kiểm Tra Kiến Thức Word Cơ Bản

Kiểm Tra Kiến Thức Word Cơ Bản

8th Grade

23 Qs

Latihan Assesmen Formatif Informatika  2

Latihan Assesmen Formatif Informatika 2

8th Grade

25 Qs

Quis Berpikir Komputasional kls 8

Quis Berpikir Komputasional kls 8

8th Grade

25 Qs

Penilaian materi power point (PPT)

Penilaian materi power point (PPT)

8th Grade

30 Qs

Kelas 8 - Halaman 31 (PTS)

Kelas 8 - Halaman 31 (PTS)

8th Grade - University

30 Qs

Tinker CAD

Tinker CAD

6th - 8th Grade

30 Qs

Ch. 11 Exam Review

Ch. 11 Exam Review

Assessment

Quiz

Information Technology (IT)

8th Grade

Easy

Created by

Ashley Brown

Used 50+ times

FREE Resource

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes the index value used to access the very last character in a string?

One less than the length of the string

One more than the length of the string

Equal to the length of the string

Equal to the length of the string divided by two

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is displayed on the output screen when the following code is run? value = "TRUSTWORTHY" print(value[1])

U

T

R

IndexError: string index out of range

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is displayed on the output screen when the following code is run? value = "LOYAL" print(value[5])

IndexError: string index out of range

Y

A

L

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is displayed to the screen when the following code is run? value = "HELPFUL" value = "FRIENDLY" print(value)

HELPFUL

FRIENDLY

Nothing is shown at all

Error: strings are immutable and can't be changed

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of calling the len() function and passing in a string?

To chop off the string after a certain length

To extend the string to a specific length

To return the number of characters in the string

This is an error; len() will not work with strings at all

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is wrong with the following statement? print("Yogi Berra said \"A nickle ain't worth a dime anymore.\"")

Nothing is wrong; this quote will print to the screen normally

The double quotes will be silently ignored and the remainder of the text printed to the screen without quotes

Runtime exception - the quote does not match the person that actually said it

Syntax error - you can't directly place a double quote character inside a double-quoted string

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What escape sequence is used to embed a new line character within a string value?

\n

\t

%newline

\CR\

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?