CodeHS 3.8 String Processing

CodeHS 3.8 String Processing

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Code.org APCSA Unit

Code.org APCSA Unit

9th - 12th Grade

10 Qs

AP CSA Review Unit 2

AP CSA Review Unit 2

9th - 12th Grade

10 Qs

AP CSA Classes

AP CSA Classes

9th - 12th Grade

10 Qs

AP Computer Science A Year Review

AP Computer Science A Year Review

9th - 12th Grade

10 Qs

แบบทดสอบเรื่องการรับค่าในภาษาไพทอน (รายบุคคล)

แบบทดสอบเรื่องการรับค่าในภาษาไพทอน (รายบุคคล)

9th - 12th Grade

10 Qs

Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

10th Grade

10 Qs

Программирование тест №2

Программирование тест №2

10th Grade

10 Qs

Delphi Revision Part 2

Delphi Revision Part 2

8th - 10th Grade

7 Qs

CodeHS 3.8 String Processing

CodeHS 3.8 String Processing

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Aaron Pavao

Used 8+ times

FREE Resource

5 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A String is a collection of ...

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is pseudocode?

a description in English that describes what the program does

code that has one or more syntax errors in it

code that has one or more runtime errors in it

code that has one or more general bugs in it

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is equivalent to for every character in String str from start to finish?

for(int i = 0; i < str.length(); i++)

for(int i = 0; i < str.length; i++)

for(int i = str.length() - 1; i > 0; i--)

for(int i = str.length(); i > 0; i--)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which String method do we use to see if two Strings are equal?

.compare(String s)

.equals(String s)

.isEqualTo(String s)

trick question, we use the == operator

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What will Rick Astley never do?

Check all that apply.

give you up

let you down

run around

desert you