stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. IC10 academy
  3. Day 287

Day 287 of 365 · Expert · Month 10: Bits and data

Review week 41: data

Ten questions on data week: packing values, STR and text displays, hashes at run time, enum values and floating-point precision.

Review 12 min Week 41

What you learn today

  • Quiz on packing, STR and hashes

This week was about everything a number can hold. For review:

  • Packing: plan fields (n bits hold 0 to 2^n − 1), limit with clamp, set with ins, read with ext. Shift negative values beforehand.
  • STR: up to six ASCII characters, first character on top. Display with Mode = DisplayMode.String (10). Umlauts and more than six characters cannot be loaded.
  • Hashes at run time: PrefabHash is the type, NameHash the name, ReferenceId the single device. Skip empty pins with bdns first.
  • Enum values: names with a prefix are numbers. Translate back with a table in the stack.
  • Precision: 53-bit mantissa, 0.1 is not exact, whole numbers up to 2^53 are. Compare decimals with sap.

You pass from 60 %.

Weekly quiz

10 questions. You pass from 60 % – the server does the grading.

Complete the day

  • Passed the quiz with at least 60 %

Without an account progress is saved in this browser only.

Report a mistake in this lesson

Please sign in to report. Sign in

Esc
↑ ↓ selectEnter open/ opens search anywhere