Instruction
Prepare!
Make sure you have your notes slide set study guide printed out (or on another screen such as a phone or tablet)!
You will need to compare the examples in the slide sets with the statements found in this program. I promise, there is an example there. Please take time to find it! :)
What you will produce:
You will create a handwritten Mini Program
MP4 Adds a little bit more to MP3. Write everything you see in grey (commented) and non-bold letters on a piece of paper. Make sure you replace blanks ____ with information you know. Do not add any of the bold numbered headings like "1. General Declaration Section". 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 mJAndersonMP4(){
//τ - 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__________;
strJAFullName = _____________ + " " + _____________ + " " + _____________;
// Δ - Outputs
// τ - Assign processed values to output variables (make things pretty and output to the screen)
// [Type variable output statements below this line]
strJAOutput = _____________ + " is " + _____________ + _____________;
4.Return Statement
return _____________;
5.Function Footer Statement
//function footer statement
}
6.Function Call Statement
//The function call
mJAndersonMP4();
READ THE ENTIRE DOCUMENT BEFORE BEGINNING! :)