Skip to main content
Engineering LibreTexts

26.20: Quiz Question Answers - Chapter 20

  • Page ID
    54438
  • \( \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}}\)

    Quiz question answers for chapter 20 are as follows:

    1. Yes, the date alone be obtained (i.e., without obtaining the time) using the get_date_time() system service.
    2. The answers are as follows:
      1. 2.
      2. 5.
      3. 1.
    3. The hours can obtained from the minutes by dividing by 60 and the minutes obtained by mod(hours,60).
    4. The statement is as follows:
      call get_date_time(date=dStr)
    5. The statement is as follows:
      call get_date_time(time=timeStr, zone=zoneStr)
    6. The statement is as follows:
      call get_date_time(values=valuesArr)
    7. If there are no arguments entered on the command line, the get_command_argument() system service call will return a 0.
    8. The statement is as follows:
      call get_command_argument(number=3, value=arg3,    &
              length=arg3length, status=arg3stat)

    This page titled 26.20: Quiz Question Answers - Chapter 20 is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Ed Jorgensen via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.