Highlights
Pseudocode
Event New Entry
Method save ()
Call DiaryFile in append mode
Add diary entry text from txtBxEntry, add a new line and entry separator tag,
Save it into a file with name /diaryEntries.txt
Call DiaryFile again in append mode
Add current date and username separated by element separator tag
Save it into a file with name /entryDetails.txt
If passwordProtect switch is on
Append “PROTECTED” to the end of the entry
End if
Else
Append “OPEN” to the end of the entry
End else
Display a success message
Return to home screen
End method
Event View Previous Entry
Method initialize ()
Call DiaryFile’s ReadFrom method on file “/entryDetails”
Split the obtained text by entry separator tag and add them to a list
When clicked on a list item,
Start single entry view screen and pass the index of the selected value form this
screen to the target screen.
Call intitialize () method of the single entry view screen.
End method
Method initialize() // of single entry view screen
Call DiaryFile’s ReadFrom method on file “/entryDetails”
Split the obtained text by entry separator tag and add them to a list
For each item in the list
Split the item text by element separator tag and add them to another list
If item index equals the selected index value sent from previous screen
Display splitItem in index 1 of the list as Author
Display splitItem in index 2 as Written date
If item in index 3 contains “PROTECTED”
Request Password from the user to view the entry
Call DiaryFile’s ReadFrom method on file “/diaryEntries”
Split the obtained text by entry separator tag and add them to a
new list
For each item in the list
If item index equals the selected index value sent from
previous screen
Display item text as Entry
End if
End for
End if
Else
Call DiaryFile’s Readfrom method on file “/diaryEntries”
Split the obtained text by entry separator tag and add them to a
new list
For each item in the list
If item index equals the selected index value sent from
previous screen
Display item text as Entry
End if
End for
End else
End if
End for
End method
Event Edit Profile
Method initialize ()
If user profile already set
Display username as text obtained from calling database for the value of the tag
“username”
End if
End method
Method save ()
If user profile not set already
Store text written in Username textbox to database under “username” tag
Store text written in Password textbox to database under “password” tag
Display success message
End if
Else
Request password from the user
If password matches that stored in database under tag “password”
Store text written in Username textbox to database under “username”
tag
Store text written in Password textbox to database under “password” tag
Display success message
End if
Else
Display password mismatch message
End else
End else
End method
Design elements/blocks usage details
1. Notifier – Notifier has been used in multiple instances. One use was to provide a general message feedback to the user. Another instance was to ask password input from the user when editing their profile or viewing password protected diary entry.
2. ListView – ListView has been used only once in View Previous Entries screen where it is used to display the journal entries’ details made by the user over time.
3. Switch- (used instead of Checkbox) – Switch was used in New Entry screen to get information from the user for whether the entry is to be password protected.
This ITECH 2000 IT/Computer Science Assignment has been solved by our IT/Computer Science Experts at onlineassignmentbank. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.