Resource Library
Below you can find all of the different resources in the Guide: practice problems, former Google interview questions, online courses, videos, and more.
Back to all resources
Test your knowledge of strings!
Test your knowledge of strings with this short quiz. Even if you're not an expert, this quiz will give you immediate feedback to help you better understand the concepts.
Quiz
1. True or False: A String stores values in a specific order
Strings are an ordered sequence of characters. It has a beginning and an end unlike some other data types (e.g. sets)
2. If a string has the value "potato", what value is at index 3 of that strings?
Indexes in strings start a 0, so "a" is at index 3.
3. True or False: A string cannot contain numbers
Strings can contain all types of characters including letters, numbers, punctuation, and pretty much any other symbol you can view on a computer.