Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Computational Tools
April 8, 2014
Matthew C. Valenti, Ph.D., P.E.
Lane Dept. Comp. Sci. &
Elect. Eng.
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
About Me
B.S.E.E., Virginia Tech, 1992.
Electronics Engineer, U.S. Naval Research Lab,
1992-1995.
M.S.E.E., Johns Hopkins, 1995.
Ph.D., Virginia Tech, 1999.
Assistant Professor, WVU, 1999-2005.
Associate Professor, WVU, 2005-2010.
Full Professor, WVU, 2010-present.
Passed FE Exam, Oct. 2010.
Passed PE Exam, Oct. 2011.
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
What is a Spreadsheet?
Relative Addressing
Absolute Addressing
Question #1
In a typical spreadsheet, the reference H$8
is typed into cell T5. If this reference is
copied into cell AA8, which cell will it refer
to?
(a) AA5
(b) O8
(c) O11
(d) T8
Question #1
In a typical spreadsheet, the reference H$8
is typed into cell T5. If this reference is
copied into cell AA8, which cell will it refer
to?
(a) AA5
(b) O8
HIJKLMNO
(c) O11
TUVWXYZAA
(d) T8
The answer is (b)
Question #2
Question #2
Question #3
Question #3
Question #4
Question #4
4
16
Question #5
Question #5
Question #6
Question #6
Question #7
A partial spreadsheet is shown below:
Question #7
Question #7
Question #8
Question #8
Question #9
Question #9
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
Structured Programming
You will be given several lines of pseudocode, and
asked to determine the final values of variables.
Syntax similar to Matlab or Fortran.
Question #10
A computer structured programming segment contains the following
program segment. What is the value of Y after the segment is
executed?
Y=4
B=4
Y=3*B6
IFY>BTHENY=B2
IFY<BTHENY=Y+2
IFY=BTHENY=B+2
(a) 2
(b) 6
(c) 8
(d) 12
Question #10
A computer structured programming segment contains the following
program segment. What is the value of Y after the segment is
executed?
Y=4
B=4
Y=3*B6Y=3(4)6=6
IFY>BTHENY=B2TRUE,SOY=B2=42=2
IFY<BTHENY=Y+2TRUE,SOY=Y+2=2+2=4
IFY=BTHENY=B+2TRUE,SOY=B+2=4+2=6
(a) 2
(b) 6
(c) 8
(d) 12
Question #11
Question #11
Question #12
Question #12
Question #13
Question #13
Question #14
Question #14
RESULT = TRUE
implies A.AND.B = TRUE
which requires that both
A and B be TRUE.
So A must be TRUE.
Question #15
The following code segment is an example
of what programming technique?
b=cube(a)
cube(a)
{
b=a*a*a
returnb
}
(a)branching
(b)function call
(c) looping
(d)subroutine
Question #15
The following code segment is an example
of what programming technique?
b=cube(a)
cube(a)
{
b=a*a*a
returnb
}
(a)branching
(b)function call
(c) looping
(d)subroutine
Outline
Introduction
Overview of Computational Tools
Section
Spreadsheet Computations
Structured Programming
Exam Tips
Its a Marathon
The exam is long:
6 hours total.
Includes tutorial and 25 minute scheduled break.
5 hours and 20 minutes exam time (320 minutes).
Passing Scores
Passing Scores
1 2 1 1
3 3 4 2
Time Management
Work the Exam in Three Passes.
1. Ones you know for sure, and can solve quickly.
Passing Rates
Conclusion
Approach the exam as if it were a
marathon.
Know the Reference Manual.
Know your calculator.
Answer the easy questions first.
The computational tools section is one of
the easiest.
You can pass!