Download presentation
Presentation is loading. Please wait.
Published byEugene Whitehead Modified over 9 years ago
1
ME 142 Engineering Computation I Exam 2 Review VBA
2
Exam 2 2 Part Exam In-Class Portion Testing Center Portion Equally weighted
3
Exam 2- Testing Center Portion Testing Center Opens:Monday, June 15 th Closes:Thursday, June 18 th Test Format 25 multiple choice problems
4
Exam 2- Testing Center Portion Similar to quiz and review questions Knowledge of terms Knowledge of function syntax Knowledge of function usage All problems are equally weighted 4 points per problem Allowable Resources 1 sheet of notes (1-side, 8.5” x 11”)
5
Exam 2 – In-Class Portion Wednesday, June 17 th – during class Test Format Electronic file posted at beginning of class You will need to download and work inside this file 5 problems (no “dropped” problems) Each problem on a separate worksheet
6
Exam 2 – In-Class Portion Instructions for each problem given on the worksheet Follow carefully – Exam will be computer graded Exam Submittal Due at the end of the class period Submit electronically through I-Learn as with other labs Allowable Resources Open book and notes Closed neighbor
7
Exam 2 – In-Class Portion Follow instructions precisely!! Place answers in cells as directed. In general, yellow represents input and green output. DO NOT RENAME the Worksheets (sheet1…sheet5). Be sure to NAME EACH PROGRAM as instructed!!.
8
Exam 2 – In-Class Portion You may omit comments on all programs. Please note at time of grading, your programs will be run with a different set of input values: Submit in I-Learn Exam Dropbox at end of the period.
9
Exam 2 – In-Class Portion Functions Pass input through parameter list Do NOT read directly from cells Return output through function Do NOT write directly through cells Example: Develop a VBA FUNCTION to calculate y=x a
10
Exam 2 – In-Class Portion Subs Read input values directly from specified spreadsheet cells Write output values directly to specified spreadsheet cells Example: Develop a VBA SUB to calculate volume of a box
11
Exam 2 – In-Class Portion General Do NOT “hard code” “variables” in your program Input will be changed for grading purposes Do NOT use MsgBox or InputBox with Functions/Subs unless instructed to do so “Sample input/output is shown to the right.”
12
Topics Fundamentals of Procedural Computer Programming, Flowcharts Variables & Equations Introduction to “basic” Documentation, Input, Output, VBA Fundamentals Interacting with Spreadsheets Condition Statements Debugging Techniques Loops Arrays Loops & Arrays continued Macros, Using Controls Custom Dialog Boxes Using Subroutines Effectively Using Excel Arrays in Functions
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.