2022-08-24

Aug 24 In-Class Exercise Thread.

Please post your solutions to the Aug 24 In-Class Exercise to this thread.
Best,
Chris
Please post your solutions to the Aug 24 In-Class Exercise to this thread. Best, Chris

-- Aug 24 In-Class Exercise Thread
State: A time and the current time group state of the watch (ie hours, minutes, finished)
Initial State: Time set to 12:00AM, time group state is set to hours
Successor Function: Press or long press a button and have the watch react accordingly
Goal Test: Time is set to 4:30PM and not time group is selected.
Path Cost: 1 for each button press.
 asf
 gf fhnfgkj
    ghklfgjh
(Edited: 2022-08-24)
State: A time and the current time group state of the watch (ie hours, minutes, finished) Initial State: Time set to 12:00AM, time group state is set to hours Successor Function: Press or long press a button and have the watch react accordingly Goal Test: Time is set to 4:30PM and not time group is selected. Path Cost: 1 for each button press. asf gf fhnfgkj ghklfgjh

-- Aug 24 In-Class Exercise Thread
States -- the time on the clock and the selected time group (if any)
The initial state -- the current time (12:00am, with 12 selected)
The successor function -- clicking the advance-to-next-time-group button, long clicking the advance-to-next-time-group button, Clicking the advance-time button, long clicking the advance-time button
Goal Test -- is the time 4:30pm?
Path Cost -- cost 1sec to simply click either button, cost 2sec (for holding the button long enough to start the long click) + x sec, where x is how many seconds you held the button for
(Edited: 2022-08-24)
'''States''' -- the time on the clock and the selected time group (if any) '''The initial state''' -- the current time (12:00am, with 12 selected) '''The successor function''' -- clicking the advance-to-next-time-group button, long clicking the advance-to-next-time-group button, Clicking the advance-time button, long clicking the advance-time button '''Goal Test''' -- is the time 4:30pm? '''Path Cost''' -- cost 1sec to simply click either button, cost 2sec (for holding the button long enough to start the long click) + x sec, where x is how many seconds you held the button for

-- Aug 24 In-Class Exercise Thread
States: The time displayed on the clock and what numbers are blinking.
The Initial State: 12:00 am with the "12" blinking.
The Successor Function: Clicking or long clicking the advance-to-next-time-group button or the advance-time button to set the time.
Goal Test: Does the watch say 4:30 pm with nothing blinking?
Path Cost: 1 for each click.
(Edited: 2022-08-24)
States: The time displayed on the clock and what numbers are blinking. The Initial State: 12:00 am with the "12" blinking. The Successor Function: Clicking or long clicking the advance-to-next-time-group button or the advance-time button to set the time. Goal Test: Does the watch say 4:30 pm with nothing blinking? Path Cost: 1 for each click.

-- Aug 24 In-Class Exercise Thread
States: Any arrangement of four digits and an am/pm setting on a digital watch.
Initial State : The watch displays 12:00pm with the number 12 blinking
Successor Function : Says what happens when the advance time button and the advance to next time group button are clicked
Goal: The digital watch displaying 4:30pm without any digits blinking
(Edited: 2022-08-24)
States: Any arrangement of four digits and an am/pm setting on a digital watch. '''Initial State''': The watch displays 12:00pm with the number 12 blinking '''Successor Function''': Says what happens when the advance time button and the advance to next time group button are clicked Goal: The digital watch displaying 4:30pm without any digits blinking

-- Aug 24 In-Class Exercise Thread
Initial state: Clock is currently at 12:00 AM and the number 12 is blinking. Possible actions: Click or long click the advance-to-next-time-group button, click or long click the advance-time button. Successor function: Click the advance-to-next-time-group button. Goal test: Clock is set to 4:30pm. Path: 1 press per action
(Edited: 2022-08-24)
Initial state: Clock is currently at 12:00 AM and the number 12 is blinking. Possible actions: Click or long click the advance-to-next-time-group button, click or long click the advance-time button. Successor function: Click the advance-to-next-time-group button. Goal test: Clock is set to 4:30pm. Path: 1 press per action

-- Aug 24 In-Class Exercise Thread
States: times on clock
Initial state: 12:00 AM (12 blinking)
Successor function: different variations of clicking and long clicking button. Change blinking number. If number is good lock in and move on to the next one. Repeat.
Goal test: check if time is 4:30 pm
Path cost: button press, finger fatigue
(Edited: 2022-08-24)
States: times on clock Initial state: 12:00 AM (12 blinking) Successor function: different variations of clicking and long clicking button. Change blinking number. If number is good lock in and move on to the next one. Repeat. Goal test: check if time is 4:30 pm Path cost: button press, finger fatigue

-- Aug 24 In-Class Exercise Thread
States- different times on the digital watch
Initial state - Set the time to 12:00 am
Successor function - change the time by clicking two buttons: advance-to-next-time-group and advance-time. You can either one click or long click these buttons for different actions.
Goal Test - Set the time to 4:30 pm
(Edited: 2022-08-24)
States- different times on the digital watch Initial state - Set the time to 12:00 am Successor function - change the time by clicking two buttons: advance-to-next-time-group and advance-time. You can either one click or long click these buttons for different actions. Goal Test - Set the time to 4:30 pm

-- Aug 24 In-Class Exercise Thread
states : Any arrangement of 1-12:00-59 am or pm blinking or non-blicking
initial state : 12:00 am with 12 blinking
successor function : short click or long click on the advance-to-next-time-group or advance-time button. Short click on the advance-to-next-time button will cycle the time type (hours, minutes, seconds) and long click will end the selection. Short clicking advance-time will cycle 1 value. Long clicking it will cycle in increments of 2.
goal state : 4:30 pm with no numbers blinking
cost : 1 action for each click
(Edited: 2022-08-24)
'''states''': Any arrangement of 1-12:00-59 am or pm blinking or non-blicking '''initial state''': 12:00 am with 12 blinking '''successor function''': short click or long click on the advance-to-next-time-group or advance-time button. Short click on the advance-to-next-time button will cycle the time type (hours, minutes, seconds) and long click will end the selection. Short clicking advance-time will cycle 1 value. Long clicking it will cycle in increments of 2. '''goal state''': 4:30 pm with no numbers blinking '''cost''': 1 action for each click

-- Aug 24 In-Class Exercise Thread
States -- a standard digital watch that displays a time
Initial State -- The watch is in set time mode with 12:00am shown and the 12 is blinking
Successor function -- Press the advance time button on the watch to adjust the time
Goal Test -- The time on the watch reads 4:30 pm out of set time mode
Path Cost -- 1 for each button clicked
(Edited: 2022-08-24)
'''States -- '''a standard digital watch that displays a time '''Initial State -- '''The watch is in set time mode with 12:00am shown and the 12 is blinking '''Successor function --''' Press the advance time button on the watch to adjust the time '''Goal Test --''' The time on the watch reads 4:30 pm out of set time mode '''Path Cost --''' 1 for each button clicked
[ Next ]
X