Instruction
What you will produce:
You will create a handwriten adaptation to MP2 as MP3. Write everything you see in BOLD letters on a piece of paper. Make sure you replace blanks ____ with information you know. You will notice most of it is the same but there are new lines to be added.
1. General Declarations Section
//Course Concepts Legend
//τ - Tooling -- Defining tools that will solve a problem
//Δ - Dividing -- Use tooling to break down complex things into smaller less-complex things to solve the problem
//τ - Compiler Option Directives
'use _________'
//Δ - Submission Information
// [Fill in assignment information below this line]
// Name:
// Assignment/Purpose:
// Due Date:
// Version:
// [Type Class/Module Scope-Level variable var statements below this line]
const _______________________;
2. Function header statement
function mJAndersonMP3(){
//τ - Events (Event Sub Procedures)
//Δ - Get Business Rules/Requirements (Fetch it)
// [Type/Paste commented business rules below this line]
//Δ - Local or Procedure-level variables (work everywhere inside this event)
3.Function body
//τ - Declaration Statements
//[Type Procedure-Level variable var statements below this line]
//τ - Input variables
var strJALastName;
var _____________;
var _____________;
var _____________;
//τ - Processing variables
var numJAAge;
//fill in the rest
var _____________;
var _____________;
//τ - Output variables
var _____________;
//Δ - Algorithms Section
// Δ - Inputs
// τ - Assign input values to variables (defined in Algorithms)
// [Type input variable assignment statements below this line]
strJAFirstName = "Julia";
//fill in the rest
strJAMiddleName = _____________;
strJALastName = _____________;
blnJAGender = _____________;
// Δ - Processing Section
// τ - do something with the variables, (add, subtract, concatenate etc...)
// [Type variable operations and processing statements below this line]
numJAAge = numJACurrentYear - _____________;
//Convert Age to a String
strJAAge = numJAAge__________;
// Δ - Outputs
// τ - Assign processed values to output variables (make things pretty and output to the screen)
// [Type variable output statements below this line]
strJAOutput = _____________ ;
4. Return Statement
return _____________;
5.Function Footer Statement
//function footer statement
}
6.Function Call Statement
//The function call
mJAndersonMP3();
READ THE ENTIRE DOCUMENT BEFORE BEGINNING! :)