tokenizing-test-cases by Arshia

xlsx

School

Seneca College *

*We aren’t endorsed by this school

Course

101

Subject

Computer Science

Date

Dec 6, 2023

Type

xlsx

Pages

4

Uploaded by DrQuail3570

Report
tokenizing Save As tokenizin Version 1 Description Data Input Expected result (+) string :hello world (+) string:hello 1234567world trying \n nad \0 (+) string: hello\n world\0 (-) (+) string :hello world only numbers (+) string123 456 789 (+) string: It's O'clock Don't (+) string: hello world using tabs (+) string:hello world (-) string; error asking for a string (+) string: q end of program Version 2 Description Data Input Expected result Program or module: + / Purpose inserting a string to see if programme works Word #1 is 'hello' Word #2 is 'world' inserting a combined number and string Word #1 is 'hellow' Word #2 is '1234567world' Word #1 is 'hello\n' Word #2 is 'world\0' Word #3 is '123' inserting a really big input to see how programme handles it string: aaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaabbbbbbbbbbbbbbbbbbbbbbbb bbbbbbbbbbbbbbbbbddddddddddd dddddddddddddddddddddddddddd dddd error asking to input string within limit of the programme more than 1 white space Word #1 is 'hello' Word #2 is 'world' Word #1 is '123' Word #2 is '456' Word #3 is '789' Words with Apostrophes Word #1 is 'It's' Word #2 is 'O'clock' Word #3 is 'Don't' space at begening Word #1 is 'hello' Word #2 is 'world' Word #1 is 'hello' Word #2 is 'world' inserting a empty string to see if program notice it. inserting "q" to end program + / Purpose
Version 3 Description Data Input Expected result + / Purpose
ng_test_cases.xlsx Result Comments pass pass pass buffer overflow fail cant handle big inputs pass pass pass pass fail fail doesn’t check for empty string pass Result Comments Run by: Date: Arshia Keshavarzmotamedi 2023.11.25 Actual result if unexpected Word #1 is 'hello' Word #2 is 'world' Word #1 is 'hellow' Word #2 is '1234567world' Word #1 is 'hello\n' Word #2 is 'world\0' Word #3 is '123' Word #1 is 'hello' Word #2 is 'world' Word #1 is '123' Word #2 is '456' Word #3 is '789' Word #1 is 'It's' Word #2 is 'O'clock' Word #3 is 'Don't' Word #1 is 'hello' Word #2 is 'world' Word #1 is 'hello world' tab is not considerd as word seperator just asks for another string *** End of Tokenizing Words Demo *** Run by: Date: ????? Tester's Name ????? ????? Date ????? Actual result if unexpected
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Result Comments Run by: Date: ????? Tester's Name ????? ????? Date ????? Actual result if unexpected