Interface Design Description

advertisement
Interface Design Description
Andrew Hoos
Derek Swager
Overview
•
•
•
•
•
Server Interface
Client Interface
Question File
CSV Export File
Data Packet Format
Server interface
Configure
Export
Export
requested
Server
Launched
Clients
connect
Send
Questions
Question
loaded
Loading
Connecting
Ready
Done
Viewing
Results
Select
Single
mode
Done
Sending
Questions
Remove
Requested
Display
result
Send
Question
Crash or quit
Remove
Remove
Finished
Waiting
(Single)
Displaying
(Single)
Displaying
(Quiz)
Remove
Finished
Remove
Requested
Single
Waiting
(Quiz)
All clients
responded
Load
Requested
Attempt
Question
load
Server cycles
Question
Export
Receive
Answer
Server State Diagram
*######################### * #########################*
Server IP address: 10.31.200.10
?######################### ? #########################?
Please enter the number of clients:
>|
Connecting Screen
*######################### * #########################*
Server IP address: 10.31.200.10
?######################### ? #########################?
Please enter the number of clients:
>13
!######################### ! #########################!
I am sorry, but that is not a valid number of clients.
Possible issue: the server is not configured to handle that
many clients
Would you like to exit(Y/N):
>|
Connecting Screen
*######################### * #########################*
Server IP address: 10.31.200.10
?######################### ? #########################?
Please enter the number of clients:
>13
!######################### ! #########################!
I am sorry, but that is not a valid number of clients.
Possible issue: the server is not configured to handle that
many clients
Would you like to exit(Y/N):
N
?######################### ? #########################?
Please enter the number of clients:
>|
Connecting Screen
?######################### ? #########################?
Please enter the number of clients:
>13
!######################### ! #########################!
I am sorry, but that is not a valid number of clients.
Possible issue: the server is not configured to handle that
many clients
Would you like to exit(Y/N):
>N
?######################### ? #########################?
Please enter the number of clients:
>7
*######################### * #########################*
127.0.0.1 Client connected
127.0.0.2 Clients connected
127.0.0.3 Clients connected
…
Connecting Screen
*######################### * #########################*
127.0.0.1 Client connected
127.0.0.2 Clients connected
127.0.0.3 Clients connected
…
127.0.0.7 Clients connected
*######################### * #########################*
All clients connected
Connecting Screen
?######################### ? #########################?
Please enter the name of the question File:
>|
Loading Screen
?######################### ? #########################?
Please enter the name of the question File:
>Questions.doc
!######################### ! #########################!
I am sorry, but that is not a valid question File.
Possible issue: question file must be plain text
Would you like to exit(Y/N):
>|
Loading Screen
?######################### ? #########################?
Please enter the name of the question File:
>Questions.doc
!######################### ! #########################!
I am sorry, but that is not a valid question File.
Possible issue: question file must be plain text
Would you like to exit(Y/N):
>N
?######################### ? #########################?
Please enter the name of the question File:
>NewQuestions.txt
Loading Screen
?######################### ? #########################?
Please enter the name of the question File:
Questions.doc
!######################### ! #########################!
I am sorry, but that is not a valid question File.
Possible issue: question file must be plain text
Would you like to exit(Y/N):
>N
?######################### ? #########################?
Please enter the name of the question File:
>NewQuestions.txt
*######################### * #########################*
Question File accepted
Loading Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>|
Ready Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>E
?######################### ? #########################?
Please enter the file name of the exported file:
>|
Configure Export Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>E
?######################### ? #########################?
Please enter the file name of the exported file:
>classResults
*######################### * #########################*
Results Exported
Configure Export Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>B
?######################### ? #########################?
Please select the question mode (single/quiz):
>|
Ready Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>B
?######################### ? #########################?
Please select the question mode (single/quiz):
Quiz
*######################### * #########################*
Quiz Mode entered
Ready Screen
*######################### * #########################*
Quiz Mode entered
*######################### * #########################*
Questions sent
*######################### * #########################*
7 more responses
6 more responses
…
0 more responses
*######################### * #########################*
All clients responded
?######################### ? #########################?
Would you like to display quiz results (Y/N):
>|
Quiz Waiting Screen
?######################### ? #########################?
Would you like to display quiz results (Y/N):
>Y
*######################### * #########################*
Hardest Question:
?######################### ? #########################?
What is the framework for modern Physics?
a. String Theory
b. Standard model
c. Quantum Gravity
d. Relativistic Quantum Mechanics
*######################### * #########################*
Correct Answer: b
*######################### * #########################*
Number of correct answers: 2
Percentage of correct answers: 28%
Quiz Display Screen
*######################### * #########################*
Most correct answers: 7 100%
?######################### ? #########################?
What year was the war of 1812?
a. 1492
b. 1776
c. 1812
d. 1945
*######################### * #########################*
Correct Answer: c
*######################### * #########################*
Average number of correct answers: 3.5
Average percent of correct answers: 50%
Quiz Display Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>B
?######################### ? #########################?
Please select the question mode (single/quiz):
>Super
*######################### * #########################*
Single Mode entered
Ready Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>|
Single Screen
?######################### ? #########################?
Menu:
B. Begin sending questions
E. Export Results
L. Load new set of questions
R. Remove Client(s)
Q. Quit
Please select from the menu:
>V
!######################### ! #########################!
Client view:
?######################### ? #########################?
In which year did the war of 1812 occur?
a. 1492
b. 1776
c. 1812
d. 1945
?######################### ? #########################?
Press enter to continue:
Single Screen
>|
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>|
Single Screen
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>p
*######################### * #########################*
Previous question unavailable
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>|
Single Screen
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>|
Single Screen
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>n
*######################### * #########################*
Next question loaded
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>|
Single Screen
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>S
*######################### * #########################*
Question sent
*######################### * #########################*
7 more responses
6 more responses
…
0 more responses
*######################### * #########################*
All clients responded
Single Waiting Screen
?######################### ? #########################?
Would you like to display quiz results (Y/N):
>Y
*######################### * #########################*
Most common incorrect response: a
Question:
?######################### ? #########################?
What is the framework for modern Physics?
a. String Theory
b. Standard model
c. Quantum Gravity
d. Relativistic Quantum Mechanics
*######################### * #########################*
Correct response: b
Single Display Screen
*######################### * #########################*
Correct response: b
*######################### * #########################*
Number of incorrect responses: 4
*######################### * #########################*
Number of a responses: 4 57%
Number of b responses: 1 14%
Number of c responses: 2 29%
Number of d responses: 0 0%
Single Display Screen
?######################### ? #########################?
Please select from the following list:
V. View Current Question
N. Select next Question
P. Select Previous Question
S. Send Current Question
R. Remove Client(s)
>R
?######################### ? #########################?
Remove which client:
1. 127.0.0.1
2. 127.0.0.2
3. 127.0.0.3
4. 127.0.0.4
A. All
C. Cancel
>|
Single Screen
?######################### ? #########################?
Remove which client:
1. 127.0.0.1
2. 127.0.0.2
3. 127.0.0.3
4. 127.0.0.4
A. All
>|
Remove Screen
?######################### ? #########################?
Remove which client:
1. 127.0.0.1
2. 127.0.0.2
3. 127.0.0.3
4. 127.0.0.4
A. All
>1
*######################### * #########################*
Client 127.0.0.1 removed
Remove Screen
Client interface
Client
connected to
server
Client
launched
Ready
Connected
Return
answers
Quit or
removed by
server
Receive
Question(s)
Answering
Client selects
question
Client State Diagram
Client selects
answers
?######################### ? #########################?
Please enter the IP of the server:
>|
Ready Screen
?######################### ? #########################?
Please enter the IP of the server:
192.168.0.2
?######################### ? #########################?
Please select from the following list:
W. Wait for more questions
D. Disconnect
>|
Connected Screen
?######################### ? #########################?
Please enter the IP of the server:
192.168.0.2
?######################### ? #########################?
Please select from the following list:
W. Wait for more questions
D. Disconnect
>W
*######################### * #########################*
2 question(s) received.
Connected Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>A
?######################### ? #########################?
Current answer: none
1.
In which year did the war of 1812 occur?
a. 1492
b. 1776
c. 1812
d. 1945
Please select answer a-d:
>|
Answering Screen
?######################### ? #########################?
Current answer: none
1.
a.
b.
c.
d.
In which year did the war of 1812 occur?
1492
1776
1812
1945
Please select answer a-d:
>C
*######################### * #########################*
Answer C selected
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>A
?######################### ? #########################?
Current answer: c
1.
In which year did the war of 1812 occur?
a. 1492
b. 1776
c. 1812
d. 1945
Please select answer a-d:
>|
Answering Screen
?######################### ? #########################?
Current answer: c
1.
a.
b.
c.
d.
In which year did the war of 1812 occur?
1492
1776
1812
1945
Please select answer a-d:
>C
*######################### * #########################*
Answer C selected
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>P
*######################### * #########################*
Previous question not available
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>N
*######################### * #########################*
Next question selected
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>A
?######################### ? #########################?
How many slides are in this powerpoint presentation?
a. 5
b. 8
c. 10
d. Who cares
Please select answer a-d:
>|
Answering Screen
?######################### ? #########################?
How many slides are in this powerpoint presentation?
a. 5
b. 8
c. 10
d. Who cares
Please select answer a-d:
>|
Answering Screen
?######################### ? #########################?
How many slides are in this powerpoint presentation?
a. 5
b. 8
c. 10
d. Who cares
Please select answer a-d:
>P
!######################### ! #########################!
Sorry that response is not valid.
Please input a value a-d:
>|
Answering Screen
?######################### ? #########################?
How many slides are in this powerpoint presentation?
a. 5
b. 8
c. 10
d. Who cares
Please select answer a-d:
>P
!######################### ! #########################!
Sorry that response is not valid.
Please input a value a-d:
>D
*######################### * #########################*
Answer D selected
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>|
Answering Screen
?######################### ? #########################?
Menu:
A. Answer Current Question
N. Select next Question
P. Select Previous Question
S. Submit answers
Please select from the Menu:
>S
*######################### * #########################*
Answers submitted
?######################### ? #########################?
Please select from the following list:
W. Wait for more questions
D. Disconnect
>|
Answering Screen
Question File
In which year did the war of 1812 occur?
1492
1776
*1812
1945
How many slides are in this powerpoint presentation?
5
8
10
*Who cares
END
Question File
CSV Export File
Each row represents a question
The first column is the correct response
The second through the fifth column are the number of each
response (a-d)
3,1,0,5,1
4,0,1,0,6
CSV Export File
Data Packet Format
TBD
Download