0:00:13.010,0:00:15.680 This lesson is called songwriting with parameters. 0:00:15.680,0:00:18.350 We're going to be writing some songs here. 0:00:18.350,0:00:21.960 Sometimes the chorus is just a little bit[br]different each time you sing it. 0:00:21.960,0:00:25.230 Do you remember Old Macdonald Had a Farm? 0:00:25.230,0:00:27.350 The chorus is slightly different for each[br]animal. 0:00:27.350,0:00:32.870 And on that farm, he had a cow, e-i-e-i-o. 0:00:32.870,0:00:40.190 The small change in each chorus can be shown[br]using something we call parameters. 0:00:40.190,0:00:42.280 Sometimes a function needs a parameter. 0:00:42.280,0:00:46.900 A parameter is an extra piece of information[br]you can pass to a function to customize it 0:00:46.900,0:00:48.590 for a special need. 0:00:48.590,0:00:53.760 When you make ice cream sundaes with your[br]friends, you are using a process similar to 0:00:53.760,0:00:56.550 parameters in a computer program. 0:00:56.550,0:01:00.800 The disk of vanilla ice cream might be the[br]same for every sundae but when you ask your 0:01:00.800,0:01:06.290 friends which two toppings they'd like, you[br]could get lots of different combinations. 0:01:06.290,0:01:10.760 Topping is the function name but each type[br]of topping is a parameter. 0:01:10.760,0:01:15.780 Functions and parameters work together to[br]make great computer programs and great sundaes 0:01:15.780,0:01:15.940 too.