VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » Crash Course
Programming Basics: Statements & Functions: Crash Course Computer Science #12

Programming Basics: Statements & Functions: Crash Course Computer Science #12

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Today, Carrie Anne is going to start our overview of the fundamental building blocks of programming languages. We-ll start by creating small programs for our very own video game to show how statements and functions work. We aren-t going to code in a specific language, but we-ll show you how conditional statements like IF and ELSE statements, WHILE loops, and FOR loops control the flow of programs in nearly all languages, and then we-ll finish by packaging up these instructions into functions that can be called by our game to perform more and more complex actions
Date: 2022-04-04

Comments and reviews: 10


Before I always avoided computer science topics. I always felt overwhelmed even though I belong to the hard sciences. Didn't bother me, I mean, my career should be totally independent from this. But lately at work, I'm dealing with so much data gathering and excel won't cut out--it's an inefficient nightmare. After that, I just knew I had to do something. I'm so happy to at least consider making myself literate and in this journey, this crash course series has been so enjoyable, my younger self would be so surprised. Kudos to you miss and your whole team. The effect is surely exponential. To be honest, i think that education for computer literacy should be as important and free as reading and writing in the future.
reply

1: 51 this is probably my wrong understanding about programming below
the program starts at the first statement and runs down one at a time until it hits the end.
this maybe not absolutely execute of all programming. I saw so many program if there are some special symbols calls the specific statement the specific statement will executes immediately, not following the up down sequence executing rule.
so good describes of this case is: if condition have been turned on then program starts and runs down until it hits the end
I don't know, this understanding may comes from illusion completely.

reply

a function equals to a conditional abstracted variable symbol that hidden procedural program sort of as a word hidden definition. we call you create a function successfully by package program into a function as define function. it will receives value gives to specific named variable from where calls it then processes, gets the result variable value and returns the result value to function, but send value into function and function returns value isn't always an absolutely necessary needed for every function.
reply

i would like to say something about 3: 36 an if statement does not use English to work. i think she meant the if statement as this if (energy < 20) - tea = true ) or if you wanted something else to happen when tea = false you could use an else statement which does not have a true or false condition instead it goes like this
if (energy < 20) -tea = true-
else -water = true-

reply

a = 5
-a- is variable name
-5- is variable value
-=- is assignment that assign variable value to variable name to create variable symbol, or assign any to any.
you can use any symbol to represent any thing or symbol

reply

Pretty sure this is the female version of David Mitchell. Clearly the best series ever created on comp sci and should be shown in all schools. No other material out there compares to this when it comes to learning.
reply

The first 11 episodes were full of completely new knowledge for me, but I already knew everything in this one, as I've been programming for a while. what a good showcase for the power of abstraction. ;-)
reply

As someone who already knows the basics of statements and functions, I feel like she teaches WAY too fast. My university took a 3 days to teach what a method is, and Carrie Anne took 10 minutes.
reply

3: 07 if tired is false DOES NOT IMPLY you don't get tea, a very common logical error. If Q then P dies not imply if notQ then notP which is logically equalvalent to if if P then Q
reply

Hi. can anyone please explain me if if the -levelfinished- function needed additional information passed in the brackets. -highscore- and -playername-
reply
Add a review, comment






Other channel videos