Section 1 - Instruction

You've learned that strings are text in quotes like "Hello" and integers are whole numbers like 42. Now let's practice identifying these types in different contexts.

Engagement Message

Ready to strengthen your type recognition skills?

Section 2 - Practice

Type

Multiple Choice

Practice Question

Which of these values is a string in Rust?

A. 100
B. "100"
C. 3.14
D. true

Suggested Answers

  • A
  • B - Correct
  • C
  • D
Section 3 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Fill in the blanks to identify the data types:

Suggested Answers

  • integer
  • string
Section 4 - Practice

Type

Sort Into Boxes

Practice Question

Sort these variable declarations based on the type of data they store:

Labels

  • First Box Label: String
  • Second Box Label: Integer

First Box Items

  • let message = "Hi";
  • let title = "Game";

Second Box Items

  • let score = 95;
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal