Free Essay

Cs 102 Hands on Lab

In:

Submitted By mooshoo
Words 723
Pages 3
CMIS 102 Hands-On Lab
// Week 3
Overview:
This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design (using both flow chart and pseudocode visualization), and implementation with C code. The example provided uses sequential and selection statements.
Program Description:
This program will calculate the area of a right triangle. The program will ask the user to enter the base and height and then use these values to calculate and then print the area of the triangle. If the area of the triangle is greater than 100 square units, an additional message is printed stating the triangle is too large for the specification. However; if the triangle is less than or equal to 100 square units, the additional message will state the triangle is within specifications. The design step will include both pseudocode and flow chart visualization.
Analysis:
I will use sequential and selection programming statements.
I will define two float numbers for the base and height: base, height.
Float numbers were selected as opposed to integers to make sure triangles of all dimensions are possible and not just whole numbers.
Float number will store the area: area
The area will be calculated by this formula: Area = ½ * (base * height)
For example if the base was 4.2 and the height was 5.3 the area would be calculated as:
Area = ½ * (4.2 * 5.3) = ½ * (22.26) = 11.13
The additional selection statement will be of this form:
If area > 100 then print "Triangle is not within specifications"
Else
print "Triangle is within specifications"
End If

Test Plan:
To verify this program is working properly the following base and height values could be used for testing: Test Case | Input | Expected Output | 1 | Base=10.1 Height = 12.2 | Area = 61.61Triangle is within specifications. | 2 | Base=2.67 Height = 3.23 | Area = 4.31Triangle is within specifications. | 3 | Base=100.0 Height = 400.0 | Area =20000.0Triangle is not within specifications. |

Pseudocode:
// This program will calculate the area of a right triangle.
// Declare variables
Declare base, height, area as Float

// Ask User for Inputs
Write “Enter triangle base:”
Input base
Write “Enter triangle height:”
Input height
// Set value of area
Set area=1/2*(base * height)
// Print area
Print “Area of triangle is “ + area
// Selection statement if area > 100 Print “Triangle is not within specifications.” else Print “Triangle is within specifications.”

Flow Chart:

C Code
The following is the C Code that will compile in execute in the online compilers.
// C code
// This program will calculate the area of a right triangle.
// Developer: Faculty CMIS102
// Date: Jan 31, 2014
#include
int main ()
{
/* variable definition: */ float base, height, area;
/* Prompt user for base */ printf("Enter the base of the triangle: \n");
// Input the base scanf("%f", &base);
/* Prompt user for height */ printf("Enter the height of the triangle: \n");
// Input the base scanf("%f", &height);
// Calculate the Area area= 0.5 * (base * height);
// Print the result printf("Area is : %f\n", area);
// Selection logic if (area > 100) printf("Triangle is not within specifications.\n"); else printf ("Triangle is within specifications.\n"); return 0;
}

Setting up the code and the input parameters in ideone.com:
Note the base and height (4.0 and 8.0) are entered in the enter input (stdin) field. You can change these values to any valid float values to match your test cases.

Results from running the programming at ideone.com:

Learning Exercises for you to try: 1. How would you change all the steps if you wanted to output the area of a rectangle as opposed to the area of a triangle? (Hint: What is the formula for the area of a rectangle?) 2. What is the line of code doing?

scanf("%f", &height);

How would you change this line if you wanted to input an Integer as opposed to a float?

3. Try at least 3 different test cases and check the output. How did you change the input values?

4. Can you see any advantages to asking the user for input as opposed to having it “hard-coded” in the C code?

5. Experiment with the C code to try variations and changes that interest you. Playing with the code is one of the best ways to learn.

Similar Documents

Free Essay

Intro Bio

...Lab Manual Introductory Biology (Version 1.4) © 2013 eScience Labs, LLC All rights reserved www.esciencelabs.com • 888.375.5487 2 Table of Contents: Introduc on: Lab 1: Lab 2: Lab 3: Lab 4: The Scien fic Method Wri ng a Lab Report Data Measurement Introduc on to the Microscope Biological Processes: Lab 5: Lab 6: Lab 7: Lab 8: Lab 9: The Chemistry of Life Diffusion Osmosis Respira on Enzymes The Cell: Lab 10: Lab 11: Lab 12: Lab 13: Lab 14: Lab 15: Cell Structure & Func on Mitosis Meiosis DNA & RNA Mendelian Gene cs Popula on Gene cs 3 4 Lab Safety Always follow the instruc ons in your laboratory manual and these general rules: eScience Labs, LLC. designs every kit with safety as our top priority. Nonetheless, these are science kits and contain items which must be handled with care. Safety in the laboratory always comes first! Lab Prepara on • • Please thoroughly read the lab exercise before star ng! If you have any doubt as to what you are supposed to be doing and how to do it safely, please STOP and then: Double-check the manual instruc ons. Check www.esciencelabs.com for updates and ps. Contact us for technical support by phone at 1-888-ESL-Kits (1-888-375-5487) or by email at Help@esciencelabs.com. • Read and understand all labels on chemicals. If you have any ques ons or concerns, refer to the Material Safely Data Sheets (MSDS) available at www.esciencelabs.com. The MSDS lists the dangers, storage requirements, exposure treatment...

Words: 26048 - Pages: 105

Premium Essay

Student Handbook

...Berkeley Master of Engineering Program Student Handbook 2014-2015 edited 6/17/14 ld 1 Table of Contents MASTER OF ENGINEERING PROGRAM CONTACT INFORMATION ........................................................ 4   FUNG INSTITUTE FACULTY & STAFF .......................................................................................................................... 4   DEPARTMENT STAFF .................................................................................................................................................. 5   ADDITIONAL RESOURCES CONTACT INFORMATION ................................................................................ 6   MASTER OF ENGINEERING HONOR CODE ..................................................................................................... 7   ACADEMIC INTEGRITY................................................................................................................................................ 7   ACADEMIC AFFAIRS ............................................................................................................................................. 10   THE ACADEMIC PROGRAM ....................................................................................................................................... 10   ADVANCEMENT TO CANDIDACY .............................................................................................................................. 10   REGISTRATION...

Words: 9633 - Pages: 39

Free Essay

Nit-Silchar B.Tech Syllabus

...Chemistry/Physics Basic Electrical Engineering Mathematics-I Engineering Graphics Communication Skills Chemistry/Physics Laboratory Workshop Physical Training-I NCC/NSO/NSS L 3 3 3 1 3 0 0 0 0 13 T 1 0 1 0 0 0 0 0 0 2 1 1 1 1 0 0 0 0 4 1 1 0 0 0 0 0 0 2 0 0 0 0 P 0 0 0 3 0 2 3 2 2 8 0 0 0 0 0 2 2 2 2 0 0 0 0 0 2 2 2 6 0 0 8 2 C 8 6 8 5 6 2 3 0 0 38 8 8 8 8 6 2 0 0 40 8 8 6 6 6 2 2 2 40 6 6 8 2 Course No EC-1101 CS-1101 MA-1102 ME-1101 PH-1101/ CH-1101 CS-1111 EE-1111 PH-1111/ CH-1111 Course Name Semester-2 Basic Electronics Introduction to Computing Mathematics-II Engineering Mechanics Physics/Chemistry Computing Laboratory Electrical Science Laboratory Physics/Chemistry Laboratory Physical Training –II NCC/NSO/NSS Semester-4 Structural Analysis-I Hydraulics Environmental Engg-I Structural Design-I Managerial Economics Engg. Geology Laboratory Hydraulics Laboratory Physical Training-IV NCC/NSO/NSS Semester-6 Structural Design-II Structural Analysis-III Foundation Engineering Transportation Engineering-II Hydrology &Flood Control Concrete Lab Structural Engineering Lab L 3 3 3 3 3 0 0 0 0 0 15 3 3 3 3 3 0 0 0 0 15 3 3 3 3 3 0 0 T 0 0 1 1 1 0 0 0 0 0 3 1 1 0 1 0 0 0 0 0 3 1 1 1 0 0 0 0 P 0 0 0 0 0 2 2 2 2 2 6 0 0 0 0 0 2 2 2 2 4 0 0 0 0 0 2 2 C 6 6 8 8 8 2 2 2 0 0 42 8 8 6 8 6 2 2 0 0 40 8 8 8 6 6 2 2 MA-1201 CE- 1201 CE -1202 CE -1203 CE-1204 CE-1211 Semester-3 Mathematics-III Building Materials and...

Words: 126345 - Pages: 506

Premium Essay

Cataolog

...ork2012 - 2013 Catalog A Message from the President “Sullivan University is truly a unique and student success focused institution.” I have shared that statement with numerous groups and it simply summarizes my basic philosophy of what Sullivan is all about. When I say that Sullivan is “student success focused,” I feel as President that I owe a definition of this statement to all who are considering Sullivan University. First, Sullivan is unique among institutions of higher education with its innovative, career-first curriculum. You can earn a career diploma or certificate in a year or less and then accept employment while still being able to complete your associate, bachelor’s, master’s or doctoral degree by attending during the day, evenings, weekends, or online. Business and industry do not expand or hire new employees only in May or June each year. Yet most institutions of higher education operate on a nine-month school year with almost everyone graduating in May. We remained focused on your success and education, and continue to offer our students the opportunity to begin classes or to graduate four times a year with our flexible, year-round full-time schedule of classes. If you really want to attend a school where your needs (your real needs) come first, consider Sullivan University. I believe we can help you exceed your expectations. Since words cannot fully describe the atmosphere at Sullivan University, please accept my personal invitation to visit and experience...

Words: 103133 - Pages: 413

Free Essay

Doc, Pdf

...REVIEW ARTICLE H e p a t i t i s M o n t h l y 2 0 0 7 ; 7 ( 3 ) : 1 5 3 -1 6 2 1 Hepatitis C among Hemodialysis Patients: A Review on Epidemiologic, Diagnostic, and Therapeutic Features Seyed-Moayed Alavian 1, Seyed Mohammad-Mehdi Hosseini-Moghaddam 2*, Mohammad Rahnavardi 2 M M M 1 Baqiyatallah Research Center for Gastroenterology and Liver Diseases, Baqiyatallah University of Medical Sciences & Tehran Hepatitis Center, Tehran, Iran 2 Urology and Nephrology Research Center (UNRC), Shaheed Beheshti University of Medical Sciences, Tehran, Iran Hepatitis C virus (HCV) is a major public health problem and is the most common liver disease among hemodialysis (HD) patients. The seroprevalence of HCV infection among HD ranged from 1.9% to 80% in reports published since 1999. The main risk factor for HCV acquisition in HD patients seems the length of time on HD. Phylogenetic analysis of HCV viral isolates has suggested nosocomial patient-to-patient transmission of HCV infection among HD patients. Lack of strict adherence to universal precautions by staff and sharing of articles such as multidose drugs might be the main mode of nosocomial HCV spread among HD patients. Currently, there are several dilemmas on the management of these patients: should HCV-RNA testing be included in the routine screening of HD population for HCV infection?; does periodic serum alanine aminotransferase testing have a role in screening HD patients for HCV infection?; can dialysis really 'save'...

Words: 9560 - Pages: 39

Free Essay

Analytical Chem

...Chemistry Modern Analytical Chemistry David Harvey DePauw University Boston Burr Ridge, IL Dubuque, IA Madison, WI New York San Francisco St. Louis Bangkok Bogotá Caracas Lisbon London Madrid Mexico City Milan New Delhi Seoul Singapore Sydney Taipei Toronto McGraw-Hill Higher Education A Division of The McGraw-Hill Companies MODERN ANALYTICAL CHEMISTRY Copyright © 2000 by The McGraw-Hill Companies, Inc. All rights reserved. Printed in the United States of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a data base or retrieval system, without the prior written permission of the publisher. This book is printed on acid-free paper. 1 2 3 4 5 6 7 8 9 0 KGP/KGP 0 9 8 7 6 5 4 3 2 1 0 ISBN 0–07–237547–7 Vice president and editorial director: Kevin T. Kane Publisher: James M. Smith Sponsoring editor: Kent A. Peterson Editorial assistant: Jennifer L. Bensink Developmental editor: Shirley R. Oberbroeckling Senior marketing manager: Martin J. Lange Senior project manager: Jayne Klein Production supervisor: Laura Fuller Coordinator of freelance design: Michelle D. Whitaker Senior photo research coordinator: Lori Hancock Senior supplement coordinator: Audrey A. Reiter Compositor: Shepherd, Inc. Typeface: 10/12 Minion Printer: Quebecor Printing Book Group/Kingsport Freelance cover/interior designer: Elise Lansdon Cover image: © George Diebold/The...

Words: 88362 - Pages: 354

Free Essay

Apple

...Internet Technologies Book Series Series Editor: Yanchun Zhang, Victoria University, Australia Editorial Board: Robin Chen, AT&T Umeshwar Dayal, HP Arun Iyengar, IBM Keith Jeffery, Rutherford Appleton Lab Xiaohua Jia, City University of Hong Kong Yahiko Kambayashi† Kyoto University Masaru Kitsuregawa, Tokyo University Qing Li, City University of Hong Kong Philip Yu, IBM Hongjun Lu, HKUST John Mylopoulos, University of Toronto Erich Neuhold, IPSI Tamer Ozsu, Waterloo University Maria Orlowska, DSTC Gultekin Ozsoyoglu, Case Western Reserve University Michael Papazoglou, Tilburg University Marek Rusinkiewicz, Telcordia Technology Stefano Spaccapietra, EPFL Vijay Varadharajan, Macquarie University Marianne Winslett, University of Illinois at Urbana-Champaign Xiaofang Zhou, University of Queensland Other Books in the Series: Semistructured Database Design by Tok Wang Ling, Mong Li Lee, Gillian Dobbie ISBN 0-378-23567-1 Web Content Delivery edited by Xueyan Tang, Jianliang Xu and Samuel T. Chanson ISBN 978-0-387-24356-6 Web Information Extraction and Integration by Marek Kowalkiewicz, Maria E. Orlowska, Tomasz Kaczmarek and Witold Abramowicz ISBN 978-0-387-72769-1 FORTHCOMING The Web Resource Space Model Hai Zhuge Chinese Academy of Sciences Hai Zhuge Key Lab of Intelligent Information Processing Institute of Computing Technology Chinese Academy of Sciences P.O. Box 2704-28 No. 6 Science South Road Zhong Guan Cun, Beijing, China 100080 zhuge@ict.ac.cn Library...

Words: 42490 - Pages: 170

Premium Essay

Unnecessary Care

...Introduction: The U.S. spends more per capita, and the highest percentage of GDP, on healthcare than any other Organisation for Economic Co-operation and Development (OECD) country as reported in the March 2009, “Trends in Healthcare Costs and Spending” by Kaiser Family Foundation. Given the unusual relationships in healthcare between consumers, payers, and providers, the ethical implications involved in healthcare decisions, it is nearly impossible to define the “right” amount to be spend in healthcare. As our nation is debating what the appropriate amount to be spend on healthcare is, this project aims on understanding the drivers for this high cost and possible ways to control them. One of the important drivers for this high healthcare cost that we identified and will discuss in this paper is unnecessary care. Although there are number of factors contributing to unnecessary care, this paper focuses on four key issues mainly sterilization, hospital acquired infections, medical errors and hospital readmissions. Sterilization: Background of the issue Hospitals are hygienic paradoxes. It is where patients are cured from diseases and acquire a new one. Hospital hygiene is difficult to achieve. According to the World Health Organization estimates, “more than 1.4 million people worldwide are affected by infections acquired in hospitals” (Cleanhospitals.net). Why are there so many unclean hospitals and what body of people holds them accountable for medical negligence...

Words: 5308 - Pages: 22

Premium Essay

Statistical Databases

...Statistical Databases Jaideep Srivastava and Hung Q. Ngo, Department of Computer Science, University of Minnesota, 200 Union street, EE/CS Building, room 4-192, Minneapolis, MN 55455 e-mail: srivasta, hngo @cs.umn.edu, ¡   1 Introduction A statistical database management system (SDBMS) is a database management system that can model, store and manipulate data in a manner well suited to the needs of users who want to perform statistical analyses on the data. Statistical databases have some special characteristics and requirements that are not supported by existing commercial database management systems. For example, while basic aggregation operations like SUM and AVG are part of SQL, there is no support for other commonly used operations like variance and co-variance. Such computations, as well as more advanced ones like regression and principal component analysis, are usually performed using statistical packages and libraries, such as SAS [1] and SPSS [2]. From the end user’s perspective, whether the statistical calculations are being performed in the database or in a statistical package can be quite transparent, especially from a functionality viewpoint. However, once the datasets to be analyzed grow beyond a certain size, the statistical package approach becomes infeasible, either due to its inability to handle large volumes of data, or the unacceptable computation times which make interactive analysis impossible. With the increasing sophistication of data collection instrumentation...

Words: 11702 - Pages: 47

Free Essay

Labs

...INSTRUCTOR GUIDE Human Anatomy & Physiology Laboratory Manual MAIN VERSION, Eighth Edition Update CAT VERSION, Ninth Edition Update FETAL PIG VERSION, Ninth Edition Update ELAINE N. MARIEB, R.N., Ph.D Holyoke Community College SUSAN T. BAXLEY, M.A. Troy University, Montgomery Campus NANCY G. KINCAID, Ph.D Troy University, Montgomery Campus PhysioEx™ Exercises authored by Peter Z. Zao, North Idaho College Timothy Stabler, Indiana University Northwest Lori Smith, American River College Greta Peterson, Middlesex Community College Andrew Lokuta, University of Wisconsin—Madison San Francisco • Boston • New York Cape Town • Hong Kong • London • Madrid • Mexico City Montreal • Munich • Paris • Singapore • Sydney • Tokyo • Toronto Editor-in-Chief: Serina Beauparlant Project Editor: Sabrina Larson PhysioEx Project Editor: Erik Fortier Editorial Assistant: Nicole Graziano Managing Editor: Wendy Earl Production Editor: Leslie Austin Composition: Cecelia G. Morales Cover Design: Riezebos Holzbaur Design Group Senior Manufacturing Buyer: Stacey Weinberger Marketing Manager: Gordon Lee Copyright © 2009 Pearson Education, Inc., publishing as Pearson Benjamin Cummings, 1301 Sansome St., San Francisco, CA 94111. All rights reserved. Manufactured in the United States of America. This publication is protected by Copyright and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means...

Words: 120457 - Pages: 482

Premium Essay

Automated Cash Registers, Scanners, or Other Digital Devices.

...National ICT Strategy and Plan NICI - 2015 © No part of this document can be reproduced, stored in a retrieval system, or transmitted in any form or by any means - electronic, mechanical, photocopying, recording, or otherwise - without the permission of the Rwanda Ministry in charge of ICT in the Office of the President.   List of Acronyms AGAGE AISI AMIS ARTEL BNR BPO CD CERT COMESA CNS-ATM CS CSIRT CTC FWG DCRS EAPP EASSy EDPRS e-GOV EMIS EMR EQMS ERMS FMS FY GDP GIS GNI GNP GoR G2B G2C G2G HIV HLSC HRMS ICT ICT4D IDS IPAR IPS ISP ISPA ITU IXP JICA Advanced Global Atmospheric Gases Experiment African Information Society Initiative Agriculture management Information System Africa Rural Telecommunication Banque National du Rwanda Business Processing Outsourcing Community Development Computer Emergency Response Team Common Market for Eastern and Southern Africa Communication Navigation Surveillance /Air Management Cyber Security Computer Security Incident Response Team Coordination Technical Committee Focus area Working Group Develop a Digital Court Recording System East African Power Pool Eastern Africa Submarine Cable System Economic Development & Poverty Reduction Strategy (2008-2012) e-Government Education Management Information System Electronic Medical Records Electronic Queue Management System Electronic Records Management System Financial Management Systems Fiscal Year Gross Domestic...

Words: 28160 - Pages: 113

Free Essay

Electrical Engineering

...A Pragmatic Introduction to the Art of Electrical Engineering Paul H. Dietz Version 1.0 - ©1998 Paul Henry Dietz - All rights reserved. A Pragmatic Introduction to the Art of Electrical Engineering i L ICENSE Rights and Obligations vii How it Works vii A Disclaimer viii C REDITS How Did We Get Here? ix A Book is Born ix And I Want to Thank All the Little People... x P ROLOGUE Electrical Engineering for Fun and Profit xi Cold Sandwiches, again? xi Electrical Engineering as Programming and Interfacing xii The Basic Stamp 2 xiii About This Book xiv C HAPTER 1 Getting Started with the BASIC Stamp 21 The Problem 1 What You Need to Know 1 What is a BASIC Stamp 2? 2 How Do I Wire it Up? 2 How Do I Get to the Software? 5 A First Example Program 5 A Second Example Program 6 ii A Pragmatic Introduction to the Art of Electrical Engineering C HAPTER 2 Lights and Switches 8 The Problem 8 What You Need to Know 8 What is Voltage? 9 What is Current? 10 What is an LED? 12 How Do I Interface a Switch? 16 What is a Seven Segment Display? 18 Where Do We Go Next? 20 C HAPTER 3 Maybe 21 The Problem 21 What You Need to Know 22 What is a Voltage Divider? 22 How Do I Solve More Complex Resistive Circuits? 24 Are There Any Tricks That Can Make This Easier? 27 What is an Independent Source and What is Superposition? 30 What is a Digital to Analog Convertor? 32 What’s Next? 33 C HAPTER 4 Guess the Number 34 The...

Words: 37923 - Pages: 152

Free Essay

Capstone

...WeMakeConnections TTI Multi Campus Network Executive Summary: WeMakeConnections is an up-and-coming networking and infrastructure company; we offer network solutions that are customized to each client, and their specific financial and technical needs. We provide a le82vel of service you would expect from a close friend, not a company. We service all network sizes, large and small, and have worked extensively with existing network upgrades, as well as total network creation. WeMakeConnections offers personalized services to match any budget. In this day and age competition is fierce, and money is tight. That is why we only hire people who love networking; they know what works, what doesn't, and where we can cut waste. That is why WeMakeConnections is the only company that offers a complimentary follow up, one month after your network is complete. We want to make sure you love your network. Each of our eight core employee's graduated from the prestigious ITT Tech, San Diego. Each has a passion for networking, and genuine love for problem solving. From the cabling in the walls to workstations on the desks, a trained professional will be on the job. Based on the request for proposal from TTI, we have created what may be, our masterpiece work. The following pages detail our plan of action for TTI's success, and subsequent expansions. We are confident that our network provides the best return on investment for TTI's four additional campuses, and will be easily scaled to...

Words: 18593 - Pages: 75

Free Essay

An Experimental Comparison of Er and Uml Class Diagrams for Data Modelling

...Empir Software Eng (2010) 15:455–492 DOI 10.1007/s10664-009-9127-7 An experimental comparison of ER and UML class diagrams for data modelling Andrea De Lucia · Carmine Gravino · Rocco Oliveto · Genoveffa Tortora Published online: 11 December 2009 © Springer Science+Business Media, LLC 2009 Editor: Erik Arisholm Abstract We present the results of three sets of controlled experiments aimed at analysing whether UML class diagrams are more comprehensible than ER diagrams during data models maintenance. In particular, we considered the support given by the two notations in the comprehension and interpretation of data models, comprehension of the change to perform to meet a change request, and detection of defects contained in a data model. The experiments involved university students with different levels of ability and experience. The results demonstrate that using UML class diagrams subjects achieved better comprehension levels. With regard to the support given by the two notations during maintenance activities the results demonstrate that the two notations give the same support, while in general UML class diagrams provide a better support with respect to ER diagrams during verification activities. Keywords Controlled experiments · Entity-relation diagrams · UML class diagrams · Design notations · Comprehension · Maintenance · Verification The work described in this paper is supported by the project METAMORPHOS (MEthods and Tools for migrAting software systeMs towards...

Words: 16567 - Pages: 67

Free Essay

Academic Writing

...Mathematical Writing by Donald E. Knuth, Tracy Larrabee, and Paul M. Roberts This report is based on a course of the same name given at Stanford University during autumn quarter, 1987. Here’s the catalog description: CS 209. Mathematical Writing—Issues of technical writing and the effective presentation of mathematics and computer science. Preparation of theses, papers, books, and “literate” computer programs. A term paper on a topic of your choice; this paper may be used for credit in another course. The first three lectures were a “minicourse” that summarized the basics. About two hundred people attended those three sessions, which were devoted primarily to a discussion of the points in §1 of this report. An exercise (§2) and a suggested solution (§3) were also part of the minicourse. The remaining 28 lectures covered these and other issues in depth. We saw many examples of “before” and “after” from manuscripts in progress. We learned how to avoid excessive subscripts and superscripts. We discussed the documentation of algorithms, computer programs, and user manuals. We considered the process of refereeing and editing. We studied how to make effective diagrams and tables, and how to find appropriate quotations to spice up a text. Some of the material duplicated some of what would be discussed in writing classes offered by the English department, but the vast majority of the lectures were devoted to issues that are specific to mathematics and/or computer science. Guest lectures by...

Words: 48549 - Pages: 195