Skip to main content
Chemistry LibreTexts

2: Data Types and Operators (week 2)

  • Page ID
    430734
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

     

    Learning Objectives
    • Data Types
      • Familiarize yourself with the different ways data types are represented on computers
      • We will focus on strings, floats and integers
        • sections 2.1-2.6
      • We will cover other data types latter this semester and reference back to this material.
    • Operators
      • Become aware of the types of operators
      • We will focus on arithmetic operators (for numbers and strings) this week and the basic assignment operator.
        • Sections 2.11-2.13 and 2.14.1
      • We will cover other operators latter this semester and reference back to this material.

     


    This page titled 2: Data Types and Operators (week 2) is shared under a not declared license and was authored, remixed, and/or curated by Robert Belford.

    • Was this article helpful?