Skip to main content

Making Decisions

  • Chapter
  • First Online:
Animated Problem Solving

Part of the book series: Texts in Computer Science ((TCS))

  • 832 Accesses

Abstract

This chapter introduces the design of compound functions using conditional expressions. An explicit connection is made between data definitions with varieties and compound functions. Function templates are introduced as a mechanism to manage the design of multiple functions for the same data definition.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 84.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Morazán, M. (2022). Making Decisions. In: Animated Problem Solving. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-85091-3_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-85091-3_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-85090-6

  • Online ISBN: 978-3-030-85091-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics