Reference no: EM133538427
Object-Oriented Software Development
This checks your understanding about object-oriented software development.
This assessment covers the following LOs.
LO1 Demonstrate understanding of classes, constructors, objects, data types and instantiation; Convert data types using wrapper methods and objects.
LO2 Independently analyse customer requirements and design object-oriented programs using scope, inheritance, and other design techniques; Create classes and objects that access variables and modifier keywords. Develop methods using parameters and return values.
LO3 Demonstrate adaptability in building control and loop structures in an object-oriented environment; Demonstrate use of user defined data structures and array manipulation.
Tank Circuit Program
Print your Student Name and Student Number.
1. Calculate the Capacitor with the input E, permittivity, A, cross-sectional area, d, separated distance.
2. Calculate the resonant frequency, f, of a tank circuit with the above C and input L.
Questions:
1. Did you store temporary values? Where and why?
2. How did you deal with errors? (Refer to the code/code snippet in your answer)
3. If the value E, permittivity was changed regularly, how would you change your code?
1. Submit this Word document with the following:
a. Copy of your code (screenshot - includes comments in your code)
b. Screenshot of the output of your code (3 times with expected values, 2 times with non-expected values - such as a zero as an input)
c. Your written response to the questions (Q1-3)