CS1 Standard Demo Page

The following processes were done when WordList.java program was executed from IntelliJ.

1. >>> help
2. HELP - display a menu of commands
3. DISPLAY - display the list of words
4. PRINT - print a String (FIRST;LAST;nth)
5. SWAP - exchange two elements (nth;mth)
6. ADD - add a word to the list (FIRST;LAST)
7. CLEAR - clears the console
8. LS - lists file in data directory
9. EXIT - terminate execution of the program
10. >>> display 
11. id
12. like
13. to
14. interject
15. for
16. a
17. moment
18. What
19. youre
20. referring
21. to
22. as
23. Linux
24. is
25. GNU/Linux
26. >>> swap 1 15 
27. >>> display
28. GNU/Linux
29. like
30. to
31. interject
32. for
33. a
34. moment
35. What
36. youre
37. referring
38. to
39. as
40. Linux
41. is
42. id
43. >>> print first 
44. GNU/Linux
45. >>> print last 
46. id
47. >>> add first FIRST 
48. >>> add last LAST 
49. >>> print first 
50. FIRST
51. >>> print last 
52. LAST
53. >>> display
54. FIRST
55. GNU/Linux
56. like
57. to
58. interject
59. for
60. a
61. moment
62. What
63. youre
64. referring
65. to
66. as
67. Linux
68. is
69. id
70. LAST
71. >>> exit

Process finished with exit code 0