What are for loops and when would you decide to use them in code (instead of while loops)? Describe the three parts that make a for loop “run” and how they work.
for-loop is a programming language control statement for specifying iteration, which allows code to be executed repeatedly.The three parts of loop is the start point,end point,and number.They tell you when to start, end and what number to count by.
Friday, February 26, 2016
Thursday, February 25, 2016
Robots taking over
What did you think and feel about the video, Humans Need Not Apply? Do you have any critiques- things the the author didn’t mention or might have gotten wrong? How can society address the concerns he brought up in the video?
I feel open minded about the robots or AI taking the little jobs.Society can think of new ways to receive energy.
Thursday, February 4, 2016
Wednesday, February 3, 2016
Compare and contrast
Compare and contrast if, if-else, and switch statements. What do they have in common and how are they different? When would you use each?
I dont know
Subscribe to:
Posts (Atom)