Return to Video

Try an Example - Intro to Computer Science

  • 0:00 - 0:04
    So let's try an example. Suppose we wanted to find the days between dates. 2013
  • 0:04 - 0:09
    Janurary 24, and 2013 June 29th. If we were going to do this as a human we might
  • 0:09 - 0:13
    look at a calendar. I happen to have a calendar handy and thanks to my auntie in
  • 0:13 - 0:17
    Belfast for sending me the calendar and we could count the days using the
  • 0:17 - 0:22
    calendar so let's look at the calendar. We have our starting day is January 24
  • 0:22 - 0:28
    and we might count the days between January 24. How many do we have left in
  • 0:28 - 0:33
    January. So there would be 1,2, 3, 4, 5, 6, 7 days left in January. So there'd
  • 0:33 - 0:38
    be seven days in January. Then we have, have all of February, all of February is
  • 0:38 - 0:46
    28 days. Then we have all of March, 31 days. All of April, 30 days. All of May,
  • 0:46 - 0:52
    31 days. And then we have June. We don't want to count all of June because we
  • 0:52 - 0:58
    are stopping on June 29th, so we are going to add 29 days. From June, and if we
  • 0:58 - 1:03
    sum all those up we should get our answer. And as a human we know how to compute
  • 1:03 - 1:07
    sums by entering sums into Google, and we get 156.
タイトル:
Try an Example - Intro to Computer Science
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
CS101 - Intro to Computer Science
Duration:
01:08
Udacity Robot edited 英語(米国) subtitles for 10-17 Try an Example
Udacity Robot edited 英語(米国) subtitles for 10-17 Try an Example
Udacity Robot edited 英語(米国) subtitles for 10-17 Try an Example
Udacity Robot edited 英語(米国) subtitles for 10-17 Try an Example
Cogi-Admin edited 英語(米国) subtitles for 10-17 Try an Example
Cogi-Admin added a translation

English subtitles

改訂 Compare revisions