1/28/2016 1R. Smith - University of St Thomas - Minnesota CISC 130: Today’s Class Assignments 7 and 8Assignments 7 and 8 ExamExam History Paper AssignmentHistory Paper Assignment
Assignments 7 and 8 Most people got it – check plusMost people got it – check plus Some got checksSome got checks –Usually for problems with comments, formatting –A few minor computational errors Some check minusesSome check minuses –Omitting required functions –Failing to actually USE the array length in the functions 1/28/2016 2R. Smith - University of St Thomas - Minnesota
Exam Problem 1 X=2X=2 Y=4Y=4 Y=22Y=22 a[2]=2a[2]=2 Y=18Y=18 Y=0Y=0 a[2] = 4 = a[0]a[2] = 4 = a[0] 1/28/2016 3R. Smith - University of St Thomas - Minnesota
Problems 2 – 5 2 –> sum(vec)./ length(vec)2 –> sum(vec)./ length(vec) 3 -> Double result; integer argument3 -> Double result; integer argument –2 variables: 1 int, 1 double –A for loop to collect the sum –Divide to calculate average 4 -> sum((0:N).^ 2)4 -> sum((0:N).^ 2) –No “dot” for multiply, it’s a “*” 5 -> Int argument for “N”, int result5 -> Int argument for “N”, int result –2 INT variables, a for loop to collect the sum of products 1/28/2016 4R. Smith - University of St Thomas - Minnesota
Problems 6 – 9 6 -> <= Age & Age <= 21 –no ≤ in Matlab 7 -> <= X & X <= > argument integer x; no special return8 -> argument integer x; no special return –If (10 <= x && x <= 20) –no ≤ in C 9 – Be sure to ‘cast’ the divide somehow9 – Be sure to ‘cast’ the divide somehow –Use ‘getint() as requested; don’t just do it all with doubles 1/28/2016 5R. Smith - University of St Thomas - Minnesota
The History Paper Assignment A “short research paper”A “short research paper” –I’m expecting about 2 pages (1 is too short, 3 may be too long) –Do RESEARCH. In other words, LOOK FOR INFORMATION You will report on a dispute in computer historyYou will report on a dispute in computer history –The field is new enough that people don’t agree on what happened, who was first, or what people did. –Find a dispute, document both sides of it, and write it up A good grade = doing the assignmentA good grade = doing the assignment 1/28/2016 6R. Smith - University of St Thomas - Minnesota
Paper Outline OutlineOutline –Introduction –Describe the concept or technology in dispute and how it relates to today's computing –Explain one side of the dispute: give the background story - who did what and when, and how it relates to today's computers –Explain the other side of the dispute: again, give the background story. –Based on your sources, draw a conclusion as to which one may be correct. Explain why you think that one is correct. You MUST include a list of sources.You MUST include a list of sources. –Wikipedia is NOT an acceptable source! 1/28/2016 7R. Smith - University of St Thomas - Minnesota
Now, the movie Pay attention – it’s less reading you’ll have to do for the paper.Pay attention – it’s less reading you’ll have to do for the paper. The MovieThe Movie –It’s from 1995 – so it misses some modern things 1/28/2016 8R. Smith - University of St Thomas - Minnesota
1/28/2016 9R. Smith - University of St Thomas - Minnesota Creative Commons License This work is licensed under the Creative Commons Attribution-Share Alike 3.0 United States License. To view a copy of this license, visit sa/3.0/us/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.