Skip to main content

Variables, Input/Output, and Arithmetic

  • Chapter
  • First Online:
  • 7822 Accesses

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

Abstract

In addition to an introduction to hardware and software concepts, including the concept of compiling, interpreting, and executing a program, this chapter provides an initial skeleton program from which to create subsequent programs. An introduction to variables, constants, assignment statements, arithmetic operations, and simple input/output using the keyboard and monitor is also provided. Further, there is a discussion concerning errors, comments, and program design. A simple complete program is included at the end of the chapter.

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

Buying options

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 EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Reference

  1. Streib JT (2011) Guide to assembly language: a concise introduction. Springer, London

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag London

About this chapter

Cite this chapter

Streib, J.T., Soma, T. (2014). Variables, Input/Output, and Arithmetic. In: Guide to Java. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-1-4471-6317-6_1

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-6317-6_1

  • Published:

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-6316-9

  • Online ISBN: 978-1-4471-6317-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics