CodeHS 2.15 Strings

CodeHS 2.15 Strings

9th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

Programming - Basic String Manipulation

Programming - Basic String Manipulation

2nd - 10th Grade

10 Qs

Python Expressions and Types

Python Expressions and Types

9th - 12th Grade

11 Qs

Quiz 1

Quiz 1

9th - 12th Grade

11 Qs

Python Data Types Quiz

Python Data Types Quiz

10th Grade - University

11 Qs

Python Quiz for 10s

Python Quiz for 10s

10th Grade

10 Qs

CodeHS Python

CodeHS Python

7th - 12th Grade

10 Qs

String Methods Review

String Methods Review

9th Grade - University

10 Qs

Kooltech+Captaincode3

Kooltech+Captaincode3

5th - 10th Grade

10 Qs

CodeHS 2.15 Strings

CodeHS 2.15 Strings

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Aaron Pavao

Used 10+ times

FREE Resource

6 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What class is a sequence of characters?

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all of the primitive data types.

System

String

int

double

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line of code concatenates two Strings?

String foo = "Hello " + "World";

String foo = "Hello " & "World";

String foo = "Hello " && "World";

String foo = String.concatenate("Hello", "World");

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select all of the types that we can concatenate with Strings.

String

int

double

boolean

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is printed to the screen?

foo

bar

foobar

foo

bar

There's no way to tell because Java stores strings weirdly.

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select this lesson's learning targets.

I can explain Strings

I can create and assign values to String variables

I can concatenate Strings

I can compare Strings correctly

I can avoid comparing Strings with the equals operator