1. Home
  2. Explore
  3. Mathematics
  4. Left-to-Right Arithmetic

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Left-to-Right Arithmetic

  • 59Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Evaluation Rules

How is an expression evaluated when operations are performed strictly from left to right without a priority of operations?

59 questions

  1. 1

    How is an expression evaluated when operations are performed strictly from left to right without a priority of operations?

    Model answer

    Each operation is performed in sequence from the leftmost part of the expression to the rightmost part, so the result can differ from standard arithmetic evaluation.

    Explanation

    The lecture contrasts ordinary expectations, such as obtaining −15-15−15, with left-to-right evaluation, which produced 161616 in the example discussed.

  2. 2

    How does APL evaluate expressions by default?

    Model answer

    APL evaluates expressions from right to left.

    Explanation

    Right-to-left evaluation allows some expressions to be written with fewer parentheses.

  3. 3

    What result does right-to-left evaluation produce for the expression described as involving 222, 555, 888, and 555?

    Model answer

    The operations produce −1-1−1 when evaluated from right to left.

    Explanation

    The speaker explains that 222 times 555 gives 101010, subtracting it from 888 gives −2-2−2, and continuing right to left produces −1-1−1.

  4. 4

    What practical advantage does APL's right-to-left convention provide?

    Model answer

    It can reduce the need for parentheses or other explicit bracketing.

    Explanation

    The convention provides a consistent order of evaluation that can make some expressions more compact.

  5. 5

    What is APL?

    Model answer

    APL is a programming language that used special symbols and provided immediate computational feedback through interactive terminals.

    Explanation

    The lecture identifies APL as an important early programming language and a predecessor of S, S-PLUS, and R.

  6. 6

    Which statistical programming environments were identified as successors or descendants of APL?

    Model answer

    S, S-PLUS, and R were identified as later systems related to APL.

    Explanation

    APL was described as a precursor to these statistical computing environments.

  7. 7

    How did punch-card computing affect the programming workflow?

    Model answer

    Programs were submitted on cards, returned after processing, and often had to be resubmitted from the beginning if an early error was discovered.

    Explanation

    The process produced delayed feedback and made even a mistake in the first line costly to correct.

  8. 8

    What advantage did APL terminals provide over batch processing with cards?

    Model answer

    APL terminals provided immediate feedback and allowed programs to be submitted and run more flexibly.

    Explanation

    The terminals used IBM Selectric typewriter balls and represented a major improvement in interaction and response time.

  9. 9

    What limitation of early computing made computer science seem unattractive to the speaker as an undergraduate?

    Model answer

    Punch cards, delayed program output, and the inconvenience of waiting for mistakes to be revealed made computing seem painful.

    Explanation

    The speaker recognized that early students lacked a clear vision of what computing would eventually become.

  10. 10

    What type of calculator was used for numerical work when the speaker began university?

    Model answer

    Students used Monroe electronic calculators for calculations.

    Explanation

    These calculators reduced the need for purely manual arithmetic but were still part of a much less automated workflow than modern computing.

  11. 11

    Why was the University of Waterloo attractive to strong mathematics students?

    Model answer

    It offered scholarships, strong recruitment from high schools, and a promising mathematics department led by Ralph Stanton.

    Explanation

    Although the university was still developing physically, its outreach and scholarship program attracted talented students from across Canada.

  12. 12

    What role did Ralph Stanton play at the University of Waterloo?

    Model answer

    He headed the mathematics department and helped recruit talented mathematics students through high-school visits and scholarships.

    Explanation

    His recruitment efforts helped build a strong student body and mathematics program.

  13. 13

    What was the speaker's initial academic interest before majoring in statistics?

    Model answer

    The speaker initially studied chemistry and physics but became tired of both chemistry and physics-related mathematics before choosing statistics.

    Explanation

    The eventual choice of statistics emerged from first-year experience rather than from an original plan to study computing.

  14. 14

    What was distinctive about the speaker's undergraduate mathematics cohort?

    Model answer

    It included a highly selective scholarship section whose students later became university faculty members, statisticians, or leaders in computing and business.

    Explanation

    More than half of the students in that section eventually obtained faculty appointments at universities in Canada, the United States, or the United Kingdom.

  15. 15

    What kinds of careers did several of the speaker's undergraduate classmates pursue?

    Model answer

    Many became university faculty members, while others entered computing, founded companies, and achieved substantial financial success.

    Explanation

    The cohort produced people who followed both academic and entrepreneurial paths.

  16. 16

    How did undergraduate teaching and research experiences influence the speaker's later career?

    Model answer

    Early courses, research with David Spratt, and contact with mentors led naturally to graduate study and later work in statistics.

    Explanation

    The speaker began a paper with Spratt during the fourth year and continued into a master's and doctoral program at Waterloo.

  17. 17

    What was the structure of graduate coursework described in the lecture?

    Model answer

    Graduate courses had no examinations, few assignments, and generally required a course project and an oral presentation.

    Explanation

    Students were expected to reach a sufficient level of understanding rather than master every detail of every course.

  18. 18

    What did the speaker learn from teaching undergraduate courses during graduate school?

    Model answer

    Teaching first-year mathematics and third-year statistics provided valuable experience and improved the speaker's understanding of the material.

    Explanation

    Although teaching reduced available research time, the experience was described as highly useful.

  19. 19

    Who supervised the speaker's doctoral work?

    Model answer

    David Spratt supervised the speaker's doctoral work.

    Explanation

    Spratt had already collaborated with the speaker on an earlier paper and continued as the doctoral supervisor.

  20. 20

    What statistical tradition strongly influenced David Spratt's work?

    Model answer

    He strongly favored Fisherian methods and statistical approaches based on likelihood and fiducial probability.

    Explanation

    The speaker's early research was shaped by this Fisherian orientation.

  21. 21

    Why was fiducial probability considered controversial at the time?

    Model answer

    It had previously been dismissed as unacceptable, although it later experienced a resurgence of interest.

    Explanation

    The speaker's first paper addressed likelihood and fiducial probability even though the topic had been treated as a forbidden area by many statisticians.

  22. 22

    What was the subject of the speaker's first paper?

    Model answer

    The first paper concerned likelihood in fiducial probability and survey sampling.

    Explanation

    The work used a population model of survey sampling and was connected to the speaker's doctoral research.

  23. 23

    What distinction was made between the speaker's survey-sampling work and related work by Erickson?

    Model answer

    The speaker's approach incorporated randomization, whereas Erickson's approach did not.

    Explanation

    The two approaches were described as closely similar except for their treatment of randomization.

  24. 24

    What are the three principles associated with the speaker's work on inferential principles?

    Model answer

    They are sufficiency, conditionality, and likelihood.

    Explanation

    The speaker discussed these principles in relation to the foundations of statistical inference.

  25. 25

    What is the central difference between frequentist and subjective Bayesian interpretations of probability described in the lecture?

    Model answer

    The subjective Bayesian view interprets probability as a measure of belief, whereas the frequentist view seeks an interpretation based more on repeated sampling or long-run behavior.

    Explanation

    The speaker found Bayesian methods important but retained a preference for a frequentist perspective.

  26. 26

    What does the subjective Bayesian framework use to update beliefs?

    Model answer

    It uses an axiomatic system in which probability represents belief and is updated according to the rules of probability.

    Explanation

    The lecture connects this framework with the work of de Finetti and other subjective Bayesians.

  27. 27

    How did the speaker characterize the relationship between Bayesian methods and likelihood?

    Model answer

    The speaker regarded Bayesian methods as important and viewed them, in one sense, as a form of generalized likelihood.

    Explanation

    This position accepts the practical value of Bayesian methods without adopting a fully subjective interpretation of probability.

  28. 28

    What was the intellectual significance of the speaker's postdoctoral year in England?

    Model answer

    It provided exposure to influential Bayesian statisticians and introduced the speaker to subjective Bayesian ideas that had not previously been studied in depth.

    Explanation

    The speaker worked at University College with Dennis Lindley, Philip David, and Adrian Smith.

  29. 29

    What were Dennis Lindley's statistical views?

    Model answer

    Lindley was a prominent proponent of the subjective Bayesian approach.

    Explanation

    He assigned readings on subjective Bayesian work, which the speaker found intellectually fascinating.

  30. 30

    What kinds of models were Adrian Smith and Philip David studying in England?

    Model answer

    They were studying Bayesian hyperparameter models, including applications to linear regression.

    Explanation

    Their work represented an early stage of research in Bayesian hierarchical or hyperparameter modeling.

  31. 31

    What was the Cox model important for in statistical research?

    Model answer

    The Cox proportional hazards model became a revolutionary tool for survival analysis.

    Explanation

    The speaker encountered the model through proofs discussed at Snowbird and later pursued related research for many years.

  32. 32

    What did the speaker and Ross Prentice do after encountering the Cox model proofs?

    Model answer

    They studied the paper extensively, developed a discussion of it, and pursued related research over the following decades.

    Explanation

    The encounter at Snowbird became an important turning point in the speaker's research direction.

  33. 33

    What is the purpose of a Cox proportional hazards model?

    Model answer

    It models the relationship between covariates and the hazard or risk of an event over time.

    Explanation

    The lecture places the model within survival analysis and describes later work extending its computational use.

  34. 34

    What extensions did the speaker develop for Cox-model software?

    Model answer

    The software allowed time-dependent covariates and stratification.

    Explanation

    These extensions made the software useful for more complex survival-analysis models.

  35. 35

    In what programming language was the Cox-model software written?

    Model answer

    It was written in Fortran.

    Explanation

    The software was used for a long period and was regarded as a significant practical contribution.

  36. 36

    What kinds of applications motivated the speaker's research on multistate processes?

    Model answer

    Applications included AIDS research, case-cohort studies, two-stage sampling, and the analysis of warranty data.

    Explanation

    These applications involve tracking transitions among states or learning about outcomes from incomplete or staged observations.

  37. 37

    What is the purpose of analyzing warranty data in quality research?

    Model answer

    The goal is to use information from products after manufacture, such as warranty claims, to learn about quality and performance in the field.

    Explanation

    Warranty data provide feedback about how manufactured components behave after they enter real-world use.

  38. 38

    Why are warranty-data problems related to some AIDS research problems?

    Model answer

    Both involve analyzing information about transitions or outcomes observed over time, often through incomplete or indirect data.

    Explanation

    The lecture identifies methodological similarities between quality monitoring and AIDS-related statistical applications.

  39. 39

    What role did cooperative groups play in the speaker's work at Buffalo?

    Model answer

    Cooperative oncology groups conducted large collaborative clinical-trial research projects that required statistical analysis.

    Explanation

    The speaker worked with the Eastern Oncology Group and the Radiation Therapy Oncology Group.

  40. 40

    Why was clinical-trials work at Buffalo professionally valuable?

    Model answer

    It exposed the speaker to major medical research collaborations, practical statistical problems, and investigators across many locations.

    Explanation

    The work involved frequent meetings with doctors and participation in large oncology research networks.

  41. 41

    What is a mixture model used to represent?

    Model answer

    A mixture model represents data as arising from a combination of different underlying component distributions or populations.

    Explanation

    The speaker worked on both applications of mixture models and the theory needed to analyze them.

  42. 42

    What statistical topics were studied during the speaker's work at UCSF and Berkeley?

    Model answer

    The work included AIDS-related statistical methods and both theoretical and applied analysis of mixture models.

    Explanation

    The sabbatical involved collaboration with researchers working in health sciences and biostatistics.

  43. 43

    What was the purpose of the Institute for Productivity at Waterloo?

    Model answer

    It applied statistical methods, especially statistical process control, to industrial quality and productivity problems.

    Explanation

    The institute was established with support from General Motors of Canada and other industries.

  44. 44

    What does statistical process control seek to accomplish?

    Model answer

    It uses statistical methods to monitor and control production processes so that quality can be maintained.

    Explanation

    At the time described, statistical process control was understood as a way of controlling quality.

  45. 45

    Why was industrial collaboration important to the development of Waterloo's productivity institute?

    Model answer

    Industrial support supplied resources and real-world problems that enabled the institute to conduct applied statistical research.

    Explanation

    General Motors and other industries provided substantial support for the institute.

  46. 46

    What research centers and grants were established during the speaker's leadership at Waterloo?

    Model answer

    The department established centers in productivity and insurance and pension research and obtained an NIH grant on statistical methods for AIDS research.

    Explanation

    These initiatives expanded the department's research beyond its traditional activities.

  47. 47

    What challenge did the University of Waterloo face when the Ontario government reduced university budgets?

    Model answer

    The university faced an across-the-board budget cut of 101010 percent, forcing departments to distribute substantially diminished resources.

    Explanation

    The financial crisis made it necessary to consider new sources of revenue and funding.

  48. 48

    How did the international program and English-as-a-second-language program help Waterloo?

    Model answer

    They created additional revenue streams beyond the usual government funding and eventually became highly successful.

    Explanation

    The programs attracted international students and generated substantial income for the department.

  49. 49

    What is one reason external funding is valuable to an academic faculty?

    Model answer

    External funding can provide financial support when government or institutional budgets are reduced.

    Explanation

    The speaker drew this lesson from managing a department during a major budget cut.

  50. 50

    How did the speaker describe the difference between being a department chair and being a dean?

    Model answer

    A chair leads a department with a relatively direct academic community, whereas a dean oversees a much larger faculty with broader and more complex responsibilities.

    Explanation

    The speaker emphasized that a dean does not have the same kind of departmental family or structure as a chair.

  51. 51

    What made the dean's role difficult to evaluate?

    Model answer

    The schedule was filled with constantly changing meetings and administrative tasks, making progress difficult to measure.

    Explanation

    The speaker compared the experience to running on a treadmill: intense activity without obvious movement.

  52. 52

    What high-school outreach activities did the mathematics faculty expand?

    Model answer

    It broadened outreach beyond mathematics to computer science and developed computer-science competitions.

    Explanation

    The goal was to strengthen connections with high schools and attract students to additional areas of study.

  53. 53

    What benefits of academic sabbaticals did the speaker identify?

    Model answer

    Sabbaticals provide time to think differently about research, develop new collaborations, and bring families together through shared experiences.

    Explanation

    The speaker described sabbaticals as an important benefit of university employment and a productive period for research and family life.

  54. 54

    What research activities did the speaker pursue during later sabbaticals?

    Model answer

    The work included bootstrap methods, estimating equations, mixture models, and rewriting a book on survival analysis.

    Explanation

    The speaker also developed new collaborations with postdoctoral researchers and colleagues in several countries.

  55. 55

    What is the main professional trade-off between administration and research described in the lecture?

    Model answer

    Administrative leadership may reduce the amount of research one can complete, but it can strengthen departments, institutions, and academic communities.

    Explanation

    The speaker valued both research and the development of strong academic structures.

  56. 56

    Why did the speaker move from Waterloo to the University of Michigan?

    Model answer

    The University of Michigan offered an opportunity to work in health sciences and biostatistics within a growing department with substantial potential.

    Explanation

    The move occurred in 2002 after the speaker developed a positive impression of the department and its direction.

  57. 57

    What factors contributed to the growth of the University of Michigan biostatistics department?

    Model answer

    Earlier leadership established a growth model, and later faculty recruitment expanded the department's scope and stature.

    Explanation

    The speaker described the department as having developed from a small unit into a major biostatistics department.

  58. 58

    What did the speaker's work with the Keck Foundation involve?

    Model answer

    The speaker became a director and spent roughly half of the working time on projects associated with Keck.

    Explanation

    The role began after Bob Wolf left the university and continued as a substantial part of the speaker's professional activity.

  59. 59

    What was unusual about the timing of the speaker's first NIH R01 grant?

    Model answer

    The speaker received the first R01 grant while retiring, in 2012.

    Explanation

    The grant was later renewed through 2021 in collaboration with Peter Song.

1 of 59
Question 1 of 59

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent