{"words":[["0",""],["491",""],["982",""],["1473",""],["1964",""],["2455",""],["2946",""],["3437",""],["3928",""],["4419",""],["4910",""],["5410","DOUG LLOYD: All"],["5500","right,"],["5700","so"],["5790","let's"],["5950","talk"],["6130","about"],["6370","loops."],["6800",""],["7220",""],["7640","So"],["7770","loops"],["7960","are kind of cool"],["8380","because"],["8560","they"],["8680","allow"],["8860","your"],["9010","program"],["9280","to"],["9370","execute"],["9800","lines"],["10030","of"],["10120","code"],["10550","over"],["10960","and"],["11120","over"],["11490","and"],["11600","over."],["12050","Repeatedly,"],["12470","without"],["12770","having"],["12990","to"],["13100","copy"],["13440","and"],["13560","paste"],["13910","or"],["14010","otherwise"],["14330","repeat"],["14660","them."],["15040",""],["15320",""],["15600","There"],["15730","are"],["15770","three"],["16160","major"],["16470","kinds"],["16800","of"],["16940","loops"],["17200","you'll"],["17300","see."],["17630","You'll"],["17680","probably"],["17960","have"],["18090","occasion"],["18490","to use"],["18860","each"],["19090","one"],["19340","as"],["19490","you progress through"],["19870","CS50."],["20220",""],["20570",""],["21010","Some"],["21250","of these"],["21400","loops are"],["21650","pretty"],["21860","familiar"],["22220","to"],["22310","you"],["22420","from"],["22550","Scratch,"],["22940","so"],["23100","again,"],["23520","as"],["23620","we"],["23680","did"],["23780","with"],["23880","conditionals,"],["24230",""],["24580","we'll"],["24750","put them"],["24980","up"],["25060","side"],["25270","by"],["25370","side"],["25710","if"],["25810","there"],["26130","is"],["26220","an"],["26300","analogy"],["26750","we"],["26880","can"],["26990","draw."],["27290",""],["27700",""],["28110",""],["28520",""],["28930","First"],["29310","is"],["29510","forever"],["29790",""],["30070","from"],["30230","Scratch,"],["30530",""],["30830","which"],["30980","compares"],["31370","to"],["31800","while"],["32270","(true)."],["32545",""],["32820",""],["33210",""],["33600","This"],["33730","is"],["33770","what"],["33880","we"],["33980","call"],["34210","an"],["34430","infinite"],["34920","loop."],["35390","The"],["35490","lines"],["35740","of"],["35820","code"],["36090","between"],["36350","the"],["36440","curly"],["36730","braces,"],["37140","much"],["37440","like"],["37630","the"],["37730",""],["37940","puzzle"],["38250","pieces"],["38560","that"],["38720","fit"],["39070","inside"],["39520","the"],["39590","C"],["40050","of"],["40140","the"],["40220","forever"],["40570","block,"],["40910",""],["41190","will"],["41420","execute"],["41900","repeatedly"],["42185",""],["42470","from"],["42610","top"],["42860","to"],["42940","bottom,"],["43260",""],["43580","over"],["43970","and"],["44120","over"],["44440","and"],["44530","over,"],["44910",""],["45290","forever."],["45770",""],["46160","After"],["46490","all,"],["46590","if"],["46640","you"],["46730","recall"],["47130","our"],["47220","discussion"],["47580","of"],["47640","Boolean"],["47950","expressions,"],["48330",""],["48710","true"],["49140","is"],["49490",""],["49750",""],["50010","always"],["50380","true."],["50760",""],["51060","So"],["51290","if"],["51500","we're"],["51770","doing"],["52040","something"],["52350","so"],["52540","long"],["52760","as"],["52940","true"],["53250","is"],["53740","true--"],["54065","it"],["54390","seems"],["54640","a"],["54690","little"],["54820","silly--"],["55270",""],["55730",""],["56190",""],["56580",""],["56640","true"],["56930","is always"],["57170","true,"],["57340","so"],["57480","it'll"],["57660","always"],["57980","run."],["58255","It'll run"],["58530","forever"],["58950","and"],["59010","ever"],["59180","and"],["59250","ever"],["59440","until"],["59690","we"],["60060","find"],["60300","a"],["60340","way"],["60460","to"],["60540","break"],["60940","out"],["61140","of"],["61250","it"],["61440","with"],["61570","a"],["61640","break"],["62000","statement,"],["62430","which"],["62590","again,"],["62900","we"],["63000","saw"],["63130","a"],["63190","little"],["63580","while"],["63850","ago"],["64019","we"],["64129","were"],["64250","talking"],["64620","about"],["64879","switch."],["65164",""],["65450",""],["65900",""],["66350","Or"],["66570","otherwise"],["66870","just"],["67080","kill"],["67420","our"],["67570","program,"],["67950",""],["68330","which"],["68450","incidentally,"],["68725","if you"],["69000","ever"],["69190","find"],["69350","yourself"],["69580","in"],["69650","a"],["69690","situation"],["69995",""],["70300","with"],["70480","an"],["70580","infinite"],["70910","loop"],["71110","and"],["71190","you"],["71260",""],["71460","don't"],["71610","know"],["71690","how"],["71760","to"],["71830","stop your"],["72070","program from"],["72480","running."],["72940","Just hit"],["73060",""],["73260","control"],["73590",""],["73920","and"],["74110","C"],["74400",""],["74690","and"],["74870","that'll"],["75010","kill"],["75130","your"],["75230","program"],["75560","for"],["75720","you."],["75900",""],["76395",""],["76890","But"],["76970","this,"],["77120","again,"],["77330","is"],["77410","called"],["77590","an"],["77740","infinite"],["78170","loop."],["78360","It"],["78450","is"],["78540","a"],["78580","loop"],["78750","that"],["78850","will"],["78970","run"],["79230",""],["79490","forever."],["79750",""],["80010",""],["80436",""],["80862",""],["81288",""],["81714",""],["82140",""],["82570","Now,"],["82970","while"],["83240","loops"],["83560","are not"],["83850","always"],["84115",""],["84380","infinite,"],["84715","because"],["85050",""],["85200","also"],["85610","we"],["85780","can"],["85920",""],["86200","replace"],["86570","the"],["86650","Boolean"],["86930","expression"],["87185",""],["87440","with"],["87600","something"],["87880","a"],["87950","little"],["88080","more"],["88270","useful"],["88660","than"],["88810","just"],["89210","true."],["89580",""],["89860",""],["90140","So"],["90230","here's"],["90410","another"],["90580","example."],["90950","While"],["91265",""],["91580",""],["91890","and"],["92130","some"],["92290","Boolean"],["92520","expression"],["92835","and"],["93150","then"],["93405",""],["93660","curly"],["93890","braces."],["94320",""],["94600","That's"],["94870","pretty"],["95340","much"],["95490","analogous"],["95980","to"],["96210","repeat"],["96680","until,"],["97055",""],["97430",""],["97640","from"],["97840","scratch."],["98310","Although"],["98660","in"],["98740","a"],["98780","second,"],["99050","I'll"],["99260","explain"],["99630","the"],["99700","difference."],["100170",""],["100435",""],["100700","So"],["101020","in"],["101160","C,"],["101520",""],["101880","if"],["102020","the"],["102090","Boolean"],["102380","expression"],["102805",""],["103230","inside"],["103580","of"],["103660","the"],["103740","while"],["104040","loop"],["104310","evaluates"],["104605",""],["104900","to"],["105040","true,"],["105315",""],["105590",""],["105865",""],["106140","the"],["106160","lines"],["106510","of"],["106600","code"],["106910","between"],["107280","the"],["107370","curly"],["107650","braces"],["107980","will"],["108150","execute"],["108610","repeatedly"],["109015",""],["109420","over"],["109760","and"],["109830","over"],["110030","and"],["110100","over"],["110520",""],["110720","until"],["111140","Boolean"],["111440","expression"],["111900","evaluates"],["112240",""],["112580","to"],["113000",""],["113230","false."],["113550",""],["113870",""],["114280",""],["114690",""],["115100",""],["115510","So"],["115560","for"],["115640","example,"],["116000","you"],["116010","might"],["116170","have"],["116410","some"],["116550","sort"],["116700","of"],["116820","counter."],["117080",""],["117340","So"],["117520","say"],["117710","you"],["117880","at"],["118010","the"],["118070","beginning"],["118430","of"],["118540","this"],["118620","loop"],["118960","say"],["119230","int"],["119470","x"],["119740","equals"],["120070","zero."],["120570",""],["121005",""],["121440","While"],["121695",""],["121950","x"],["122220","is"],["122380","less"],["122600","than"],["122740","100,"],["123160",""],["123580",""],["123923",""],["124266",""],["124610","do"],["124790","a"],["124830","couple"],["125080","things"],["125320","inside"],["125610","that"],["125820","curly"],["126040","braces,"],["126370","then in"],["126480","the"],["126670","end"],["126860","of"],["126920","your"],["127040","loop,"],["127260","you"],["127340","say"],["127620",""],["127900","x"],["128169","plus"],["128574","plus,"],["128979",""],["129259",""],["129539","you're"],["129729","incrementing"],["129984",""],["130240","x."],["130570","Eventually"],["130850",""],["131130","x will"],["131470","get"],["131700","to"],["131820","100"],["132175",""],["132530",""],["132910","and"],["133050","you"],["133150","will"],["133360","stop"],["133790","because"],["133950","the"],["134030","condition"],["134420",""],["134810","x"],["135050","is"],["135140","less"],["135310","than"],["135400","100"],["135760","will"],["135910","no"],["136120","longer"],["136430","be"],["136570","true"],["136970",""],["137190","as"],["137360","soon"],["137560","as"],["137710","x"],["137940","is"],["138130","equal"],["138460","to"],["138590","100."],["139003",""],["139416","100"],["139830","is"],["139940","not"],["140150","less"],["140430","than"],["140700","100."],["141200",""],["141510",""],["141820","Now"],["142120","somewhat"],["142490","confusingly,"],["142800",""],["143110","the"],["143200","behavior"],["143620","of"],["143690","the"],["143760","scratch"],["144250","block"],["144580","is"],["144760","reversed."],["145130",""],["145500",""],["145870","So"],["145930","be"],["146080","really"],["146270","careful"],["146740","if this"],["146820","is"],["146910","your"],["147050","first"],["147370","foray"],["147750","into"],["147900","using"],["148220","loops."],["148680",""],["149110","Basically,"],["149530",""],["149660",""],["149940",""],["150220",""],["150650",""],["150760",""],["150930","the"],["151130","repeat"],["151510","until"],["151840",""],["152170",""],["152450","block"],["152770","in"],["152890","Scratch"],["153155",""],["153420",""],["153630","will"],["153900","repeat"],["154380","something"],["154700","over"],["155010","and"],["155070","over"],["155310","and"],["155370","over,"],["155670",""],["155970","until"],["156340",""],["156710","the"],["156930","expression,"],["157210",""],["157490","the"],["157570","Boolean"],["157820","expression"],["158310","in the"],["158610","hexagon"],["158910",""],["159190","is"],["159540","true."],["159835",""],["160130",""],["160460","So"],["160590","it will"],["160730","keep"],["161050","doing"],["161440","it"],["161660",""],["161900","until"],["162165",""],["162430","it"],["162500","is"],["162670","true."],["163050",""],["163455",""],["163860","Meanwhile,"],["164310","the"],["164390","while"],["164810","loop"],["165080","will"],["165200","continue"],["165660","to"],["165780","do"],["165950","it"],["166330","until"],["166770","it"],["166850","is"],["167170","false."],["167560",""],["167950",""],["168296",""],["168642",""],["168990","So"],["169000","they're"],["169150","quite"],["169460","similar,"],["169760",""],["170060",""],["170270","but"],["170430","there's"],["170710","that"],["170890","little"],["171090","distinction"],["171480","just"],["171630","to"],["171690","be"],["171780","careful"],["172160","of"],["172270","especially"],["172640","as"],["172740","you"],["173110","make"],["173330","your"],["173420","first"],["173780","foray"],["174210","from"],["174530","transitioning"],["174835",""],["175140","to"],["175260","Scratch"],["175555",""],["175850",""],["176090","into"],["176310","c."],["176650",""],["177090",""],["177530",""],["177970",""],["178410","The"],["178490","next"],["178680","kind"],["178860","of"],["178950","loop"],["179150","is"],["179260","actually"],["179530","pretty"],["179750","similar."],["180190","It's"],["180240","called"],["180380","the"],["180490","do"],["180850","while"],["181280","loop."],["181650",""],["182053",""],["182456",""],["182860","This"],["183200","loop"],["183420","will"],["183540","execute"],["183980","all"],["184270","the"],["184330","lines"],["184590","of"],["184640","code"],["184820","between"],["185050","the"],["185130","curly"],["185360","braces"],["185720",""],["185950","once,"],["186320",""],["186690",""],["187060","and"],["187530","then"],["187820","it"],["187890","will"],["188050","check"],["188270","the"],["188350","Boolean"],["188680","expression."],["188980",""],["189280",""],["189530","If"],["189700","the"],["189770","Boolean"],["189990","expression"],["190350","evaluates"],["190820","to"],["190920","true,"],["191310",""],["191700","it'll"],["191810","go"],["191990","back"],["192490","and"],["192710","repeat"],["192940","that"],["193090","process"],["193425",""],["193760","over"],["194080","and"],["194150","over"],["194340","and"],["194410","over"],["194790",""],["194990","until"],["195280","the"],["195340","Boolean"],["195600","expression"],["195970","evaluates"],["196450","to"],["196540","false."],["196865",""],["197190",""],["197690","So"],["197720","this"],["198060","loop,"],["198350","unlike"],["198670","a"],["198750","while"],["199070","loop,"],["199270","is"],["199430","guaranteed"],["199705",""],["199980","to"],["200150","run"],["200455",""],["200760","at"],["200940","least"],["201235",""],["201530","one"],["201855",""],["202180","time."],["202660",""],["203015",""],["203370","This can"],["203490","be"],["203560","pretty"],["203750","useful."],["204160",""],["204640",""],["205120",""],["205600",""],["206080","Lastly,"],["206530","we"],["206550","have"],["207050","a"],["207120","for"],["207490","loop."],["207840",""],["208180","For loops"],["208610","are"],["208700","kind"],["209020","of"],["209090","syntactically"],["209415",""],["209740","unattractive"],["210010","and"],["210280","there's"],["210440","a"],["210530","lot"],["210980","going"],["211210","on"],["211400","here,"],["211580","so"],["211730","bear"],["211980","with"],["212190","me"],["212330","as"],["212420","we"],["212520","try"],["212700","and"],["212800","break"],["213020","these"],["213180","pieces"],["213490","apart."],["213770",""],["214050",""],["214345",""],["214640","Generally,"],["214920",""],["215200","the"],["215330","use"],["215630","case"],["215910","of"],["216000","a"],["216050","for"],["216320","loop"],["216550","is"],["216700","you"],["216810","want"],["217010","to"],["217100","repeat"],["217480","something"],["217880","a"],["217950","specific"],["218280",""],["218610","number"],["219000","of"],["219130","times."],["219510",""],["219890",""],["220150","In"],["220260","this"],["220390","example"],["220780","here,"],["221180","I"],["221280","have"],["221380","the"],["221480","repeat"],["221750","block"],["222010","from"],["222110","Scratch,"],["222530","which"],["222670","is"],["222740","analogous"],["223160","to"],["223250","the"],["223310","for"],["223520","loop"],["223700","in"],["223830","C,"],["224150",""],["224380","repeating"],["224790","something"],["225055",""],["225320","10"],["225710","times."],["226005",""],["226300",""],["226646",""],["226992",""],["227340","And"],["227530","the"],["227600","for"],["227850","loop"],["228040","on"],["228130","the"],["228210","left"],["228480","there,"],["228770",""],["229060","which"],["229250","is"],["229750",""],["230240",""],["230540","a"],["230660","four loop that"],["230730","would"],["230870","do"],["230960","the"],["231050","same"],["231230","thing."],["231410","This"],["231520","would"],["231590","go"],["231830","10"],["232150","times."],["232570","Counting"],["232870","from"],["232990","zero,"],["233300",""],["233610",""],["233950","we"],["234100","increment"],["234500",""],["234630",""],["234850",""],["235330","each"],["235730",""],["235950","pass"],["236200","of the"],["236370","loop."],["236720","And"],["236930","we"],["237070","keep"],["237240","doing"],["237400","that"],["237570","until"],["237810","i is"],["238070","less"],["238260","than"],["238380","10."],["238640",""],["238930",""],["239220","So"],["239380","what"],["239640","happens?"],["240010",""],["240380","There's"],["240520","a"],["240570","whole"],["240890","lot"],["241030","of"],["241110","code"],["241380","there."],["241550","Let's"],["241750","break"],["241940","it"],["242020","down"],["242250","to"],["242350","what"],["242550","is"],["242640","happening"],["243000","step"],["243310","by"],["243430","step"],["243700",""],["243970","as"],["244280","we"],["244420","dig"],["244630","through"],["244780","a"],["244830","for"],["245050","loop."],["245320",""],["245600",""],["245880","The"],["245980","first"],["246260","thing"],["246380","that"],["246450","happened"],["246810","is"],["246940","the"],["247060","counter"],["247470","variable"],["247860","is"],["247920","center."],["248350","Everything"],["248720","to"],["248830","the"],["248950","left"],["249310","of"],["249370","that"],["249600","first"],["249945","semicolon"],["250290",""],["250630","inside"],["250880","the"],["250960","parentheses"],["251305",""],["251650",""],["251970","is"],["252110","executed."],["252415",""],["252720",""],["252970","In"],["253110","this"],["253230","case,"],["253510","we"],["253540","are"],["253610","saying"],["254080","int"],["254410","i"],["254630","equals"],["254880","0."],["255180","Declaring"],["255620","a"],["255640","new"],["255750","variable"],["256080",""],["256410","called"],["256690","i,"],["257000",""],["257339","that"],["257519","variables"],["257920","is a"],["258010","type"],["258300","integer"],["258709","and"],["258769","we're"],["258870","saying"],["259110","the"],["259170","value"],["259529","inside"],["259810","that"],["259970","variable"],["260350","is"],["260430","going"],["260610","to"],["260680","be"],["260950",""],["261200","zero."],["261690",""],["262130",""],["262570","The"],["262680","second"],["263050","thing"],["263200","we"],["263320","do"],["263620",""],["263860","is"],["263990","we"],["264110","then"],["264340","immediately"],["264625",""],["264910","evaluate"],["265195",""],["265480","the"],["265540","Boolean"],["265920","expression."],["266205",""],["266490",""],["266750","Boolean"],["267100","expression"],["267510","is"],["267620","in"],["267740","the"],["267810","middle"],["268180",""],["268550","of"],["268690","the"],["268780","two"],["268960","semicolons."],["269230",""],["269495",""],["269760",""],["270100","I"],["270280","is"],["270420","less"],["270630","than"],["270740","10."],["271060",""],["271360","That's"],["271640","true"],["271900","here,"],["272190","right?"],["272410","We"],["272500","just"],["272670","said"],["272850","i"],["273030","is"],["273130","equal"],["273380","to"],["273420","zero,"],["273780",""],["274140","and"],["274350","so"],["274470","0"],["274910","is"],["275040","less"],["275250","than"],["275380","10,"],["275760",""],["276030","and"],["276280","so"],["276390","that"],["276570","condition"],["276840","is"],["276980","true"],["277430","and"],["277560","we"],["277640","will"],["277780","now"],["278040","proceed"],["278400",""],["278760","to"],["278920","execute"],["279400","the"],["279480","body"],["279750","of"],["279820","the"],["279900","loop."],["280210",""],["280640","If"],["280860","it"],["280930","was"],["281080","false."],["281480","If,"],["281580","for"],["281680","example,"],["281970","I"],["282080","said"],["282430",""],["282695",""],["282960",""],["283110","instead"],["283370","of"],["283590","i"],["283830","equals"],["284140","0"],["284400","there"],["284580","I"],["284740","said"],["285050","i"],["285290","equals"],["285630","15,"],["286005",""],["286380","int"],["286560","i"],["286670","equals"],["286900","15."],["287360",""],["287820","Well 15"],["288280","is"],["288390","not"],["288590","less"],["288800","than"],["288940","10,"],["289430","so"],["289540","we"],["289580","would"],["289710","never"],["289960","enter"],["290220","the"],["290310","body"],["290560","of"],["290620","the"],["290710","loop"],["291020",""],["291450","because"],["291880","the"],["291970",""],["292245","Boolean"],["292520","expression"],["292930","there"],["293080","would"],["293180","evaluate"],["293455","to"],["293730","be"],["293830","false."],["294115",""],["294400",""],["294750",""],["295100",""],["295450","After"],["295800","we"],["295930","go"],["296110","through"],["296340","from"],["296490","top"],["296730","to"],["296810","bottom,"],["297100","we"],["297230","encounter"],["297590","that"],["297770","closing"],["298160","curly"],["298440","brace,"],["298810",""],["299060","a"],["299150","third"],["299600","thing"],["299770","happens."],["300090",""],["300410",""],["300830","The"],["300960","counter"],["301440","variable"],["301910","is"],["302070","incremented,"],["302570","or"],["302760","rather,"],["303060",""],["303360","the"],["303480","lines"],["303840","of"],["303970","code"],["304420","of"],["304550","a"],["304610","statement"],["304920",""],["305230","after"],["305650","the"],["305840","second"],["306120",""],["306400","semicolon"],["306785",""],["307170","inside"],["307600","of"],["307710","the"],["307790","for"],["308000","loops"],["308250","parentheses"],["308585",""],["308920",""],["309170","is"],["309320","executed."],["309615",""],["309910",""],["310205",""],["310500","So"],["310970","we"],["311080","start"],["311380","out"],["311490","by"],["311580","saying"],["311930","int"],["312130","i"],["312250","equals"],["312470","0."],["312830",""],["313250","Then"],["313480","we"],["313610","check"],["313900","whether"],["314190","or"],["314270","not"],["314580","the"],["314680","Boolean"],["314930","expression"],["315270","is"],["315360","true."],["315770","0"],["316120","is"],["316230","less"],["316440","than,"],["316570","10"],["316980",""],["317200","so"],["317350","it's"],["317480","true."],["317800","So"],["317890","we're"],["317960","going"],["318040","to"],["318090","proceed"],["318380","into"],["318480","the"],["318550","body"],["318760","the"],["318850","loop."],["319110",""],["319510","Things"],["319680","will"],["319760","happen"],["320050","inside"],["320310","the"],["320380","loop,"],["320650","and when"],["320770","we"],["320940","encounter"],["321180","that"],["321350","closing"],["321680","curly"],["321940","brace,"],["322250",""],["322560","the"],["322640","next"],["322950","thing"],["323090","we"],["323200","do"],["323430","is"],["323490","we"],["323600","say"],["323900",""],["324150","i"],["324527","plus,"],["324904","plus."],["325281",""],["325660","I"],["325830","was"],["326230","zero"],["326530",""],["326830",""],["327220","now"],["327500","i"],["327730","is"],["327880","one."],["328320",""],["328590",""],["328860","Then,"],["329200","we"],["329400","again"],["329690",""],["329980","check"],["330480",""],["330770","the"],["330860","value"],["331310","of"],["331480","the"],["331550","Boolean"],["331850","expression"],["332260","in"],["332320","the"],["332400","middle."],["332710",""],["333100","One"],["333580","is"],["333750","less"],["334020","than"],["334180","10."],["334530",""],["334900","So"],["335080","we'll"],["335190","go"],["335310","through"],["335400","this"],["335570","process"],["335920","again"],["336180","and"],["336270","again."],["336670",""],["337000",""],["337330",""],["337450",""],["337725",""],["338000",""],["338325","We'll get"],["338650",""],["338750",""],["339100",""],["339200",""],["339330",""],["339390","to the"],["339460","closing"],["339710","curly"],["339910","brace"],["340090","again."],["340590","We'll"],["340820","increment"],["341170","i"],["341390","from"],["341590","1"],["341780","to"],["341900","2"],["342360",""],["342710","and"],["342870","from"],["342990","2"],["343170","to"],["343240","3."],["343650",""],["344090","And"],["344220","so"],["344380","on"],["344470","and"],["344550","so"],["344680","on"],["344770","and"],["344860","so"],["345050","on,"],["345170","until"],["345380","eventually"],["345770",""],["346160","i's"],["346420","value"],["346680","becomes"],["346960",""],["347240",""],["347470","10."],["347950",""],["348290","Is"],["348450","10"],["348690","less"],["348890","than"],["349030","10?"],["349480",""],["349950","No."],["350270",""],["350735",""],["351200","Counting"],["351470","from"],["351590","0,"],["351950","we've"],["352080","gone"],["352300","through"],["352520","10"],["352910","iterations"],["353200","of"],["353490","loop."],["353800","We've"],["353960","repeated"],["354330",""],["354700","10"],["355010","times,"],["355420","just"],["355630","as"],["355720","we"],["355830","did"],["356020","in"],["356100","the"],["356170","Scratch"],["356500","block."],["356810",""],["357270","And"],["357430","so"],["357550","that's"],["357840","basically"],["358190","the"],["358280","process"],["358720","for"],["358860","a four"],["359115","loop."],["359370","Now"],["359600","taking"],["360000","away"],["360220","the"],["360540","actual"],["360950","code"],["361220","and"],["361330","putting"],["361560","it"],["361630","in"],["361750",""],["362020",""],["362240",""],["362570",""],["362900",""],["363270",""],["363640","just"],["363800","some"],["363970","basic"],["364440","general"],["364750","statements."],["365120","Here's"],["365340","what"],["365440","happens."],["365710",""],["365980",""],["366265",""],["366550","All"],["366810","the"],["366900","statements"],["367350","in"],["367470","start"],["367830",""],["368190","are"],["368310","executed"],["368580",""],["368850","first."],["369290","You"],["369410","might"],["369570","have"],["369690","more"],["369880","than"],["370030","one."],["370400",""],["370830",""],["371260","Then,"],["371730","the"],["371830","Boolean"],["372090","expression"],["372470","is"],["372590","checked."],["373020",""],["373440","If"],["373640","the"],["373840","expression"],["374230","evaluates"],["374650","to"],["374740","true,"],["375150",""],["375480","execute"],["375860","the"],["375930","body"],["376160","the"],["376260","loop"],["376540",""],["376780","one"],["377010","time."],["377390",""],["377850","If"],["378090",""],["378410",""],["378730",""],["378890","the"],["379000","expression"],["379390","evaluates"],["379820","to"],["379900","false,"],["380305",""],["380710","we're"],["380840","done."],["381060","We"],["381140","don't"],["381300","execute"],["381660","the"],["381760","body"],["381880","of the loop"],["382120","at"],["382170","all."],["382460",""],["382750",""],["383040","After we've"],["383460","executed"],["383880","the"],["383940","body"],["384160","the"],["384260","loop"],["384640","one"],["385000","time,"],["385265",""],["385530","we"],["385750","then"],["386080",""],["386580","do"],["386760","what is"],["387000",""],["387320","in"],["387510","the"],["387680","increment"],["387960",""],["388240",""],["388570","part"],["388830","there."],["389140",""],["389510",""],["389880","Which"],["390100","is"],["390150","usually"],["390500","going to be something"],["390720","like"],["391010","i"],["391415","plus, plus"],["391820","or"],["391880","something"],["392110","like"],["392280","that,"],["392610","that modifies"],["392870",""],["393130","a"],["393180","counter"],["393530","variable."],["393805",""],["394080",""],["394510","Then,"],["394970","after"],["395250","we"],["395390","increment,"],["395680",""],["395970","we"],["396130","check"],["396360","the"],["396440","expression"],["396850","again"],["397120",""],["397390","and"],["397670","repeat"],["398100","those"],["398320","steps"],["398750","over"],["399050","and"],["399110","over"],["399390","and"],["399470","over"],["399740",""],["400010","until"],["400420","the"],["400500","expression"],["400970","is"],["401120","no"],["401250","longer"],["401520","true."],["401730",""],["402116",""],["402502",""],["402890","So"],["402930","what"],["403040","are"],["403060","the"],["403200","use"],["403440","cases"],["403780","for"],["403960","a loop?"],["404310",""],["404750","Use"],["405070","you use a"],["405140","while"],["405540","loop"],["405750","when"],["405830","you"],["405910","want"],["406260","a loop to"],["406440","repeat"],["406760","an"],["406940","unknown"],["407200",""],["407460","number"],["407760","of"],["407840","times,"],["408165",""],["408490","but"],["408700","it"],["408800","possibly"],["409250","might"],["409500","not"],["409840","run"],["410110",""],["410360","all."],["410760",""],["411200","A"],["411320","really"],["411510","common"],["411850","example"],["412260","of"],["412350","a"],["412420","while"],["412840","looping"],["413310","being used"],["413680",""],["413940","is"],["414070","to"],["414190","run"],["414350","the"],["414430","control"],["414860","flow"],["415130","for"],["415330","a"],["415370","game."],["415645",""],["415920",""],["416200",""],["416480","You"],["416650","might"],["416810","not"],["416980","know"],["417120","how"],["417330","long"],["417610","the"],["417720","user"],["417910","is"],["417990","going"],["418180","to"],["418240","be"],["418370","playing,"],["418705",""],["419040","but you"],["419200","want"],["419350","to"],["419410","keep"],["419660","doing"],["419850","the"],["419950","same"],["420190","thing."],["420560",""],["421000",""],["421440","Updating"],["421890","the"],["422000","positions"],["422500","of"],["422610","various"],["423080","sprites"],["423335",""],["423590","on"],["423820","the"],["423900","board."],["424175",""],["424450",""],["424710",""],["424970","You"],["425130","want"],["425240","to"],["425280","keep"],["425480","things"],["425740","moving"],["426080",""],["426420",""],["426700","at"],["426840","all"],["427130","times,"],["427490","but"],["427600","you"],["427680","don't"],["427900","know"],["428010","when"],["428160","the"],["428330","user is"],["428450","going"],["428530","to"],["428580","stop"],["428820","playing"],["429110","or when"],["429210","they're"],["429340","going"],["429430","to"],["429500","run"],["429650","out"],["429740","of"],["429850","lives."],["430150",""],["430450","So"],["430660","a while"],["431120","loop"],["431310","is"],["431450","really"],["431750","good"],["431970","for"],["432060","something"],["432260","like"],["432420","that."],["432610","That's"],["432770","a"],["432810","good"],["432970","use"],["433170","case."],["433590",""],["433860",""],["434130","For"],["434330","a do"],["434650","while"],["434950","loop,"],["435120","it's"],["435230","pretty"],["435420","similar."],["435825",""],["436230","You"],["436280","want"],["436520","a loop to"],["436880","repeat"],["437160","an"],["437330","unknown"],["437730","number"],["437990","of"],["438060","times,"],["438530","but"],["438660","at"],["438760","least"],["439100","once."],["439375",""],["439650",""],["439900","You might use"],["439990",""],["440170","this"],["440310","for"],["440450","a"],["440490","game"],["440780","too,"],["440990","but"],["441120","a"],["441270","really"],["441540","common"],["441910","use"],["442100","case"],["442370","is"],["442500","prompting"],["442950","the"],["443090","user"],["443380","for"],["443530","input."],["444010",""],["444420","Generally,"],["444850","you"],["444940","might"],["445170","say"],["445330","something"],["445640","like,"],["446000",""],["446270","give"],["446430","me"],["446560","a"],["446620","positive"],["447070","integer,"],["447520",""],["447893",""],["448266",""],["448640","and"],["448720","you"],["448810","might"],["449020","put"],["449160","that"],["449350","inside"],["449580","of"],["449660","a"],["449690","do"],["449940","while"],["450230","loop."],["450650","So it will"],["450930","always"],["451180","ask"],["451370","them"],["451490","at"],["451570","least"],["451890","once"],["452340","for a"],["452540","positive"],["452890","integer."],["453160",""],["453430",""],["453900","If"],["454040","they"],["454150","give"],["454390","you"],["454480","a"],["454520","positive"],["454940","integer,"],["455305",""],["455670","you"],["455800","might"],["455980","break"],["456270","out"],["456430","of"],["456530","the"],["456630","loop."],["456850","You"],["456920","might"],["457060","be"],["457160","done."],["457520","The"],["457600","Boolean"],["457910","expression"],["458165","in"],["458420","the"],["458490","do"],["458630","while"],["458870","might"],["459050","be"],["459160","false."],["459530",""],["459900","And"],["460070","you"],["460180","won't"],["460410","ask"],["460690","them"],["460820","again."],["461250",""],["461670","If"],["461790","they"],["461870","give"],["461990","you"],["462080","a"],["462120","negative"],["462520","number"],["462780",""],["462950","where"],["463030","they"],["463140","type"],["463370","some"],["463530","word"],["463920","or"],["464010","something"],["464300","that's"],["464470","not"],["464730","really"],["464920","useful"],["465250","to"],["465360","you,"],["465710","you"],["466060","might"],["466300","use"],["466520","the"],["466630","do"],["466830","while"],["467170","loop"],["467380","to"],["467470","go"],["467650","back"],["468000","and"],["468160","do"],["468300","it"],["468370","again"],["468670","and"],["468790","again"],["469040","and"],["469120","again."],["469445",""],["469770","You"],["469920","definitely"],["470240","want"],["470360","to"],["470400","ask"],["470660","them"],["470750","to"],["470810","give"],["470930","you"],["471020","a"],["471060","number"],["471310","once,"],["471660",""],["472010",""],["472410","but"],["472530","you"],["472620","don't"],["472790","know"],["472890","how"],["472980","many"],["473120","times"],["473440",""],["473760",""],["474070","after"],["474380","that"],["474680","they"],["474760","might"],["475060","be"],["475420","pests."],["475740",""],["476060",""],["476350","And"],["476560","so"],["476840","a"],["476930","do"],["477120","while"],["477350","it's"],["477540","a"],["477590","great"],["477820","use"],["477990","case"],["478200","for"],["478320","prompting"],["478780","the"],["478910","user"],["479210","for"],["479410","input."],["479780",""],["480160",""],["480540","And"],["480720","a for"],["481140","loops"],["481420","use"],["481620","case"],["481900","typically"],["482175",""],["482450",""],["482740","is"],["482930","when"],["483060","you"],["483150","want"],["483290","to"],["483340","repeat"],["483655",""],["483970","a"],["484275","loop a"],["484580","discrete"],["484845",""],["485110","number"],["485400","of"],["485480","times,"],["485855",""],["486230","though"],["486380","you"],["486520","might"],["486750","not"],["486980","know"],["487420","the"],["487520","number"],["487790","of"],["487850","times"],["488230","the"],["488310","moment"],["488640","the"],["488720","program"],["488990","is"],["489090","compiled."],["489425",""],["489760",""],["490040","So"],["490170","for"],["490300","example,"],["490670","maybe"],["490925",""],["491180","you"],["491460","have"],["491735",""],["492010","a"],["492100","program"],["492480","where"],["492560","you"],["492660","prompt"],["493000","the"],["493090","user"],["493410","for"],["493910","a"],["493990","number."],["494470",""],["494725",""],["494980",""],["495245",""],["495510","And"],["495810","they"],["495970","enter"],["496250",""],["496530","100."],["496825",""],["497120",""],["497390",""],["497660","And"],["497840","then"],["497980","your"],["498090","for loop will"],["498550",""],["498700","in"],["498740","that"],["498900","case"],["499100","run"],["499510","100"],["499980","times."],["500245",""],["500510","Or"],["500530","maybe"],["500690","they"],["500760","enter"],["500990","1,000"],["501335",""],["501680",""],["501970","in"],["502080","your"],["502180","program"],["502480","and"],["502620","then"],["502760","run"],["502940","the"],["503030","loop"],["503300","1,000"],["503670",""],["504040","times."],["504305",""],["504570","It's"],["504750","a"],["504810","specific"],["505065",""],["505320","number"],["505790","of"],["505930","times."],["506280",""],["506630",""],["506940",""],["507250","They"],["507350","don't"],["507500","necessarily"],["507765",""],["508030","know"],["508230","what"],["508380","that"],["508510","number"],["508820","is"],["509105",""],["509390","the"],["509480","moment"],["509840","program"],["510060","is"],["510160","compiled."],["510425",""],["510690",""],["511010","It's"],["511210","not"],["511370","like"],["511480","a"],["511550","while"],["511980","loop"],["512200","where"],["512340","it"],["512409","could"],["512600","be"],["513059","infinite."],["513379",""],["513700",""],["514136",""],["514572",""],["515010","It's"],["515210","rather"],["515610",""],["515840","a"],["515940","number"],["516130","that you"],["516250","just"],["516409","don't"],["516590","know."],["516830",""],["517240","Now"],["517600","even"],["517780","though"],["517840","I've"],["518059","outlined"],["518409","all"],["518490","these"],["518659","use"],["518860","cases,"],["519210","you"],["519299","should"],["519549","know"],["519720","that"],["519880","in"],["519990","pretty"],["520230","much"],["520470","every"],["520780","circumstance,"],["521060",""],["521340","you"],["521510","can"],["521929","interchange"],["522324",""],["522720","all"],["523010","three"],["523230","of"],["523299","these"],["523500","loops."],["523890",""],["524110","You"],["524260","can"],["524400","use"],["524640","a"],["524700","for"],["524950","loop"],["525160","where"],["525380","you"],["525490","would"],["525590","otherwise"],["525900","use"],["526030","a"],["526120","while"],["526390","loop."],["526680",""],["526890","You"],["527010","can"],["527120","use"],["527280","a"],["527330","for"],["527580","loop"],["527770","wherever"],["527960","you'd"],["528180","use"],["528320","a"],["528400","do"],["528580","while"],["528850","loop"],["529030","and"],["529130","so"],["529320","on."],["529580",""],["529860","It"],["529960","can"],["530050","be"],["530150","a"],["530210","little"],["530430","tricky"],["530750","sometimes,"],["531025",""],["531300","so"],["531430","generally"],["531830","it's"],["532000",""],["532310",""],["532620",""],["532960","a"],["533170","good"],["533310","practice"],["533680","to"],["533790","adhere"],["534100","to"],["534270","a"],["534340","typical"],["534660","use"],["534880","case."],["535140","Use"],["535290","a"],["535340","do"],["535470","while"],["535670","loop"],["535810","if"],["535910","you"],["536000","wanted"],["536200","something"],["536420","once,"],["536730",""],["537040",""],["537300","at"],["537460","least."],["537930",""],["538280",""],["538380","Use"],["538520","a"],["538580","for"],["538850","loop"],["538930","if you"],["539230","want to"],["539370","do something a"],["539430","specific"],["539780","number"],["539940","of"],["540010","times."],["540500","After"],["540780","all,"],["540880","that's"],["541040","why"],["541190","there"],["541330","are"],["541540","three"],["541790","different"],["542040","kinds"],["542310","of"],["542410","loops."],["542665",""],["542920",""],["543325",""],["543730","So"],["543860","they"],["543980","can"],["544090","be"],["544200","used"],["544460",""],["544720",""],["545000","in"],["545110","the"],["545180","right"],["545340","context."],["545605",""],["545870",""],["546135",""],["546400","But"],["546520","you"],["546610","can"],["546940","interchange"],["547420","them"],["547530","if"],["547630","you"],["547730","want."],["547880","If you"],["547930","feel"],["548210","comfortable"],["548680","with"],["548780","while"],["548890","loops"],["549090","and you"],["549260","always"],["549490","want"],["549580","to"],["549620","use"],["549880","while"],["550120","loops."],["550420",""],["550790","It"],["550890","is"],["551030","something"],["551380","that"],["551490","you"],["551560","can"],["551830","do,"],["552095",""],["552360","although it"],["552500","might"],["552630","be"],["552700","a"],["552750","little"],["552890","syntactically"],["553190",""],["553490","tricky,"],["553940",""],["554310",""],["554680",""],["555050","where"],["555240","a for"],["555450","loop"],["555590","would"],["555660","be"],["555770","a"],["555830","lot"],["556010","more"],["556140","straightforward."],["556425",""],["556710",""],["557090",""],["557470",""],["557850","My"],["558000","name"],["558130","is"],["558230","Doug"],["558400","Lloyd"],["558690","and"],["558910","this"],["559400","is"],["559550","CS50."],["559850",""],["560150",""],["560450",""],["560750",""],["561050",""],["561350",""],["561650",""],["561950",""],["562250",""],["562550",""]],"paragraphs":[0,5410,28930,66350,76890,100700,141820,178410,206080,239220,262570,295450,359370,402890,434130,459900,490040,543730,557850],"speakers":{"5410":"DOUG LLOYD"}}