TINFO200/StudentDB/Testing Run.txt
2022-03-15 21:16:45 -07:00

1064 lines
25 KiB
Plaintext

Microsoft Windows [Version 10.0.18363.657]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\devl\StudentDB\bin\Debug>dir
Volume in drive C is Windows-SSD
Volume Serial Number is 2489-AFAA
Directory of C:\devl\StudentDB\bin\Debug
02/29/2020 09:30 PM <DIR> .
02/29/2020 09:30 PM <DIR> ..
02/29/2020 09:23 PM 19,456 StudentDB.exe
02/11/2020 08:10 AM 189 StudentDB.exe.config
02/29/2020 09:23 PM 48,640 StudentDB.pdb
3 File(s) 68,285 bytes
2 Dir(s) 47,760,515,072 bytes free
C:\devl\StudentDB\bin\Debug>StudentDB.exe
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: p
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: l
*************************
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: i
Test student data has been added if it was not present.
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: p
***************************
First: Hulk
Last: Hogan
GPA: 4.0
Email: hhogan@uw.edu
Credit: $45,000.99
Fac: Dr. Hulkamaiac
***************************
First: Randy
Last: Savage
GPA: 2.8
Email: rsavage@uw.edu
Credit: $42,350.99
Fac: Dr. Hurtzalot
***************************
First: Rick
Last: Flair
GPA: 1.2
Email: rflair@uw.edu
Credit: $23,000.99
Fac: Dr. Dirtyplayer
***************************
First: Bret
Last: Hart
GPA: 1.2
Email: bhart@uw.edu
Credit: $32,975.98
Fac: Dr. Hart
***************************
First: Tom
Last: Brady
GPA: 3.4
Email: tbrady@uw.edu
Year: Freshman
Degree: BS-Deflategate
***************************
First: Michael
Last: Vick
GPA: 2.5
Email: mvick@uw.edu
Year: Sophmore
Degree: BS-Dogfighting
***************************
First: Russel
Last: Wilson
GPA: 1.2
Email: rwilson@uw.edu
Year: Junior
Degree: BS-PaidTooMuch
***************************
First: Joe
Last: Montana
GPA: 3.9
Email: jmontana@uw.edu
Year: Senior
Degree: BS-BeingTheMan
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: q
Thank you for using the Student Database Application.
Your work has been saved. Good bye!
C:\devl\StudentDB\bin\Debug>dir
Volume in drive C is Windows-SSD
Volume Serial Number is 2489-AFAA
Directory of C:\devl\StudentDB\bin\Debug
02/29/2020 09:32 PM <DIR> .
02/29/2020 09:32 PM <DIR> ..
02/29/2020 09:23 PM 19,456 StudentDB.exe
02/11/2020 08:10 AM 189 StudentDB.exe.config
02/29/2020 09:23 PM 48,640 StudentDB.pdb
02/29/2020 09:32 PM 508 STUDENT_DB_DATA_FILE.txt
4 File(s) 68,793 bytes
2 Dir(s) 47,759,388,672 bytes free
C:\devl\StudentDB\bin\Debug>StudentDB.exe
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: p
***************************
First: Hulk
Last: Hogan
GPA: 4.0
Email: hhogan@uw.edu
Credit: $45,000.99
Fac: Dr. Hulkamaiac
***************************
First: Randy
Last: Savage
GPA: 2.8
Email: rsavage@uw.edu
Credit: $42,350.99
Fac: Dr. Hurtzalot
***************************
First: Rick
Last: Flair
GPA: 1.2
Email: rflair@uw.edu
Credit: $23,000.99
Fac: Dr. Dirtyplayer
***************************
First: Bret
Last: Hart
GPA: 1.2
Email: bhart@uw.edu
Credit: $32,975.98
Fac: Dr. Hart
***************************
First: Tom
Last: Brady
GPA: 3.4
Email: tbrady@uw.edu
Year: Freshman
Degree: BS-Deflategate
***************************
First: Michael
Last: Vick
GPA: 2.5
Email: mvick@uw.edu
Year: Sophmore
Degree: BS-Dogfighting
***************************
First: Russel
Last: Wilson
GPA: 1.2
Email: rwilson@uw.edu
Year: Junior
Degree: BS-PaidTooMuch
***************************
First: Joe
Last: Montana
GPA: 3.9
Email: jmontana@uw.edu
Year: Senior
Degree: BS-BeingTheMan
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: f
Enter email ID to search for: hhogan@uw.edu
***************************
First: Hulk
Last: Hogan
GPA: 4.0
Email: hhogan@uw.edu
Credit: $45,000.99
Fac: Dr. Hulkamaiac
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: f
Enter email ID to search for: notvalid@uw.edu
notvalid@uw.edu not currently in the database.
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: l
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: a
Desired email address: hhogan@uw.edu
Sorry, another student with that email address is already in the database.
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: a
Desired email address: rramon@uw.edu
First Name:Razor
Last Name: Ramon
GPA: 2.3
Graduate student[y/n]? y
Total amount of tuition credit: 23412.34
Name of faculty advisor: Dr. Gillete
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: f
Enter email ID to search for: rramon@uw.edu
***************************
First: Razor
Last: Ramon
GPA: 2.3
Email: rramon@uw.edu
Credit: $23,412.34
Fac: Dr. Gillete
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: d
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
9: rramon@uw.edu
END of email list
Your selection: 9
Are you sure you want to delete rramon@uw.edu [y/n]? y
After delete, now the list is:
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: d
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
Your selection: 8
Are you sure you want to delete jmontana@uw.edu [y/n]? n
Record NOT deleted.
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: l
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: n
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: i
Test student data has been added if it was not present.
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: l
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: q
Thank you for using the Student Database Application.
Your work has been saved. Good bye!
C:\devl\StudentDB\bin\Debug>StudentDB.exe
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: m
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
Your selection: 4
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.2
[E]mail: bhart@uw.edu
[T]uition Credit: 32975.98
[A]dvisor (Faculty): Dr. Hart
[Q]uit editing this student.
User selection: g
Enter new GPA between 0 and 4.0 inclusive: 1.3
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.3
[E]mail: bhart@uw.edu
[T]uition Credit: 32975.98
[A]dvisor (Faculty): Dr. Hart
[Q]uit editing this student.
User selection: t
Enter the amount of the tuition credit without the dollar sign: 35000.99
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.3
[E]mail: bhart@uw.edu
[T]uition Credit: 35000.99
[A]dvisor (Faculty): Dr. Hart
[Q]uit editing this student.
User selection: a
Enter the name of the faculty advisor: Dr. Eggman
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.3
[E]mail: bhart@uw.edu
[T]uition Credit: 35000.99
[A]dvisor (Faculty): Dr. Eggman
[Q]uit editing this student.
User selection: q
Here is the new record of that student after modification:
***************************
First: Bret
Last: Hart
GPA: 1.3
Email: bhart@uw.edu
Credit: $35,000.99
Fac: Dr. Eggman
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: l
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: f
Enter email ID to search for: bhart@uw.edu
***************************
First: Bret
Last: Hart
GPA: 1.3
Email: bhart@uw.edu
Credit: $35,000.99
Fac: Dr. Eggman
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: m
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
Your selection: 4
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.3
[E]mail: bhart@uw.edu
[T]uition Credit: 35000.99
[A]dvisor (Faculty): Dr. Eggman
[Q]uit editing this student.
User selection: e
Enter the new valid email address with @ symbol: hhogan@uw.edu
Sorry, another student has that email. Try again.
********************************
******* Edit Student Menu ******
********************************
This is a Grad Student.
What data for this student would you like to change?
[F]irst name: Bret
[L]ast name: Hart
[G]PA: 1.3
[E]mail: bhart@uw.edu
[T]uition Credit: 35000.99
[A]dvisor (Faculty): Dr. Eggman
[Q]uit editing this student.
User selection: q
Here is the new record of that student after modification:
***************************
First: Bret
Last: Hart
GPA: 1.3
Email: bhart@uw.edu
Credit: $35,000.99
Fac: Dr. Eggman
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: m
*************************
1: hhogan@uw.edu
2: rsavage@uw.edu
3: rflair@uw.edu
4: bhart@uw.edu
5: tbrady@uw.edu
6: mvick@uw.edu
7: rwilson@uw.edu
8: jmontana@uw.edu
END of email list
Your selection: 5
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 3.4
[E]mail: tbrady@uw.edu
[Y]ear Rank: Freshman
[D]egree Major: BS-Deflategate
[Q]uit editing this student.
User selection: g
Enter new GPA between 0 and 4.0 inclusive: 1.0
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 1
[E]mail: tbrady@uw.edu
[Y]ear Rank: Freshman
[D]egree Major: BS-Deflategate
[Q]uit editing this student.
User selection:
...Sorry, that was an invalid choice.
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 1
[E]mail: tbrady@uw.edu
[Y]ear Rank: Freshman
[D]egree Major: BS-Deflategate
[Q]uit editing this student.
User selection: y
Enter the year in school as Freshman, Sophmore, Junior, or Senior: NOT VALID
Sorry, that was invalid year, please try again.
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 1
[E]mail: tbrady@uw.edu
[Y]ear Rank: Freshman
[D]egree Major: BS-Deflategate
[Q]uit editing this student.
User selection: y
Enter the year in school as Freshman, Sophmore, Junior, or Senior: Junior
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 1
[E]mail: tbrady@uw.edu
[Y]ear Rank: Junior
[D]egree Major: BS-Deflategate
[Q]uit editing this student.
User selection: D
Enter the student's Degree Major: BS-Referee Bribery
********************************
******* Edit Student Menu ******
********************************
This is an Undergrad Student.
What data for this student would you like to change?
[F]irst name: Tom
[L]ast name: Brady
[G]PA: 1
[E]mail: tbrady@uw.edu
[Y]ear Rank: Junior
[D]egree Major: BS-Referee Bribery
[Q]uit editing this student.
User selection: q
Here is the new record of that student after modification:
***************************
First: Tom
Last: Brady
GPA: 1.0
Email: tbrady@uw.edu
Year: Junior
Degree: BS-Referee Bribery
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: s
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: q
Thank you for using the Student Database Application.
Your work has been saved. Good bye!
C:\devl\StudentDB\bin\Debug>STUDENT_DB_DATA_FILE.txt
C:\devl\StudentDB\bin\Debug>StudentDB.exe
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: p
***************************
First: Hulk
Last: Hogan
GPA: 4.0
Email: hhogan@uw.edu
Credit: $45,000.99
Fac: Dr. Hulkamaiac
***************************
First: Randy
Last: Savage
GPA: 2.8
Email: rsavage@uw.edu
Credit: $42,350.99
Fac: Dr. Hurtzalot
***************************
First: Rick
Last: Flair
GPA: 1.2
Email: rflair@uw.edu
Credit: $23,000.99
Fac: Dr. Dirtyplayer
***************************
First: Bret
Last: Hart
GPA: 1.3
Email: bhart@uw.edu
Credit: $35,000.99
Fac: Dr. Eggman
***************************
First: Tom
Last: Brady
GPA: 1.0
Email: tbrady@uw.edu
Year: Junior
Degree: BS-Referee Bribery
***************************
First: Michael
Last: Vick
GPA: 2.5
Email: mvick@uw.edu
Year: Sophmore
Degree: BS-Dogfighting
***************************
First: Russel
Last: Wilson
GPA: 1.2
Email: rwilson@uw.edu
Year: Junior
Degree: BS-PaidTooMuch
***************************
First: Joe
Last: Montana
GPA: 3.9
Email: jmontana@uw.edu
Year: Senior
Degree: BS-BeingTheMan
********************************
***** Student Database App *****
********************************
[P]rint all records
[F]ind a student record
[L]ist all email addresses
[A]dd a new student record
[D]elete a student record
[M]odify a student record
[N]otes utility
[I]nsert test driver student data into DB
[S]ave the records and continue
[Q]uit database app (includes save)
User selection: q
Thank you for using the Student Database Application.
Your work has been saved. Good bye!
C:\devl\StudentDB\bin\Debug>