Section 1 - Instruction

You've learned how to work with floating-point numbers, create Boolean values, and use comparison operators. Now let's practice combining these skills together.

Engagement Message

Ready to test your understanding?

Section 2 - Practice

Type

Multiple Choice

Practice Question

What type of value will be stored in result after this code runs?

A. f64 (floating-point number)
B. bool (Boolean)
C. i32 (integer)
D. String

Suggested Answers

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

Type

Sort Into Boxes

Practice Question

Sort these expressions based on their result type:

Labels

  • First Box Label: Boolean Results
  • Second Box Label: Float Results

First Box Items

  • 10.0 != 5.0
  • 7.5 >= 7.5
  • price < 100.0

Second Box Items

  • 3.14 + 2.86
  • 15.0 / 3.0
  • 2.5 * 4.0
Section 4 - Practice

Type

Fill In The Blanks

Markdown With Blanks

Complete this temperature conversion calculation:

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