2017-08-30

Aug 30 In-Class Exercise Thread.

Post your solutions to the Aug 30 In-Class Exercise here.
Best, Chris
Post your solutions to the Aug 30 In-Class Exercise here. Best, Chris

-- Aug 30 In-Class Exercise Thread
Oindril Dutta - Exercise 1

States: Hours, Minutes, AM/PM
Initial States: 12 Hours, 00 Minutes, AM
Successor Function: Set a time group to the right time, advance time group, repeat
Goal Test: The states are now 3 Hours, 15 Minutes, PM
Cost: Clicking a button is 1 cost, Long Clicking a button is 1.5.
(Edited: 2017-08-30)
Oindril Dutta - Exercise 1 ---- States: Hours, Minutes, AM/PM Initial States: 12 Hours, 00 Minutes, AM Successor Function: Set a time group to the right time, advance time group, repeat Goal Test: The states are now 3 Hours, 15 Minutes, PM Cost: Clicking a button is 1 cost, Long Clicking a button is 1.5.

-- Aug 30 In-Class Exercise Thread
 Initial state: Watch set to 12:00am with 12 blinking
 Set of possible actions: Clicking advance time button, long-clicking the advance time button
 Successor function: advance the time in hours mins Am/Pm
 Goal to test: Time is set to current time
 Cost associated with performing button: 0.5 secs per click, 2 secs per long-click
(Edited: 2017-08-30)
Initial state: Watch set to 12:00am with 12 blinking Set of possible actions: Clicking advance time button, long-clicking the advance time button Successor function: advance the time in hours mins Am/Pm Goal to test: Time is set to current time Cost associated with performing button: 0.5 secs per click, 2 secs per long-click

-- Aug 30 In-Class Exercise Thread
States: any time
Initial state: 12:00am, 12 is blinking
The successor function: Set correct time by clicking advance-time button
Goal test: set time to 3:15pm
Path cost: 1 for click and 2 for long click
Archana Yadawa
(Edited: 2017-08-30)
States: any time Initial state: 12:00am, 12 is blinking The successor function: Set correct time by clicking advance-time button Goal test: set time to 3:15pm Path cost: 1 for click and 2 for long click Archana Yadawa

-- Aug 30 In-Class Exercise Thread
States: The visual display with a value between 1:00am to 12:59am and 1:00pm to 12:59pm.
The Initial State: The current time, 12:00am with the 12 blinking.
The successor function: Increment the hours or minute by a value of 1 or 2 and changing the time group from am to pm.
Goal Test: Time is set to 3:15pm.
Click Cost: 1 for every form of time increment, 1 for cycling through the time groups and 1 for setting the time.
States: The visual display with a value between 1:00am to 12:59am and 1:00pm to 12:59pm. The Initial State: The current time, 12:00am with the 12 blinking. The successor function: Increment the hours or minute by a value of 1 or 2 and changing the time group from am to pm. Goal Test: Time is set to 3:15pm. Click Cost: 1 for every form of time increment, 1 for cycling through the time groups and 1 for setting the time.

-- Aug 30 In-Class Exercise Thread
  • States -- 1-12 for hours and 0-59 for minutes. These are possible times that can be displayed on the clock.
  • Initial State -- 12:00 AM in configuration mode
  • Successor Function -- Increment the number (cycle through) for hours or minutes
  • Goal Test -- The clock reads 3:15 PM and it is not in configuration mode
  • Cost -- 1 for each click on button
  • Path Cost -- 7 long-click advance time + 1 click advance time + 1 change time group click + 7 long-click advance time + 1 click advance time + 1 long click change time = 18
(Edited: 2017-08-30)
*States -- 1-12 for hours and 0-59 for minutes. These are possible times that can be displayed on the clock. *Initial State -- 12:00 AM in configuration mode *Successor Function -- Increment the number (cycle through) for hours or minutes *Goal Test -- The clock reads 3:15 PM and it is not in configuration mode *Cost -- 1 for each click on button *Path Cost -- 7 long-click advance time + 1 click advance time + 1 change time group click + 7 long-click advance time + 1 click advance time + 1 long click change time = 18

-- Aug 30 In-Class Exercise Thread
 States - Any time stamp from 12:00 am to 11:59 pm
 Initial State - 12:00 am
 Possible actions - double-click, single-click, long-click
 Successor function - change the time from a minimum 1 minute to maximum 12 hours
 Goal Test - the time is set at 3:15 pm
 Cost - avarage time for 1 click and/or 1 long-click
(Edited: 2017-08-30)
States - Any time stamp from 12:00 am to 11:59 pm Initial State - 12:00 am Possible actions - double-click, single-click, long-click Successor function - change the time from a minimum 1 minute to maximum 12 hours Goal Test - the time is set at 3:15 pm Cost - avarage time for 1 click and/or 1 long-click

-- Aug 30 In-Class Exercise Thread
State: any time on the watch
Initial State: time is set at 12:00AM
Successor function: using the two buttons to increment time
Goal Test: Setting your digital clock to 3:15PM
Cost: 1 click for increment of time and 2 for a long click for setting time
Name: Daniel Vu
(Edited: 2017-08-30)
State: any time on the watch Initial State: time is set at 12:00AM Successor function: using the two buttons to increment time Goal Test: Setting your digital clock to 3:15PM Cost: 1 click for increment of time and 2 for a long click for setting time Name: Daniel Vu

-- Aug 30 In-Class Exercise Thread
       Name: Harita Shroff
       States: Any possible time on the digital watch.
       The initial States: The current time on the watch is 12:00 am and the number 12 is 
       blinking.
       The successor function: 1. Click the advance-to-next-time-group button
                               2.Long click the advance-to-next-time-group button
                               3.Click the advance-time button
                               4.Long click the advance-time button
       Goal Test: To set the time to 3:15 pm.
       Path Test: 1 for each button click and 2 for each long button click
 
(Edited: 2017-08-30)
Name: Harita Shroff States: Any possible time on the digital watch. The initial States: The current time on the watch is 12:00 am and the number 12 is blinking. The successor function: 1. Click the advance-to-next-time-group button 2.Long click the advance-to-next-time-group button 3.Click the advance-time button 4.Long click the advance-time button Goal Test: To set the time to 3:15 pm. Path Test: 1 for each button click and 2 for each long button click

-- Aug 30 In-Class Exercise Thread
In class exercise 1 Name : Yecheng Liang State: Number on the watch (12, 0, 0, am) and the blinking number(12) Sucessor function: click advance-time button until number is correct, then press advance-to-next-time-group Goal Test : Time displays as 13:15 pm cost : 1 click every number difference
(Edited: 2017-08-30)
In class exercise 1 Name : Yecheng Liang State: Number on the watch (12, 0, 0, am) and the blinking number(12) Sucessor function: click advance-time button until number is correct, then press advance-to-next-time-group Goal Test : Time displays as 13:15 pm cost : 1 click every number difference
[ Next ]
X