Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Coding: First Steps

Coding: First Steps

A practical introductory class to programming for one of the CAD design teams at the Nigeria Space Research and Development Agency

Jekayin-Oluwa Olabemiwo

June 17, 2019
Tweet

More Decks by Jekayin-Oluwa Olabemiwo

Other Decks in Programming

Transcript

  1. 5 The blue/black screen Text editors, IDEs terminals Movies' excitement

    Not a bad thing you understand Don’t be scared or think it's mysterious 7
  2. 5 The blue/black screen Text editors, IDEs terminals Movies' excitement

    Not a bad thing you understand Don’t be scared or think it's mysterious Just like English Language, you can only read if you understand. 8
  3. 9

  4. 12 • Truth about coding, like any other venture •

    It’s hard, won't get at first, • You won't LIKELY make a million $$ first month Truth
  5. 16 Programming : telling the computer what to do. Say

    it and you have it! Code it and you have it! Introduction
  6. 1 When you wanna tell your son to do anything,

    you have to talk to him in a language C, C++, Python, JavaScript, Java, PHP, Visual Basic, Fortran, Ruby, MATLAB, Arduino Introduction
  7. 18 What if your colleague in office doesn't understand English.

    You need an interpreter right? Introduction
  8. 19 What if your colleague in office doesn't understand English.

    You need an interpreter right? The computer doesn't understand the C, C++,Python, etc. They are called High level languages. Introduction
  9. 20 What if your colleague in office doesn't understand English.

    You need an interpreter right? The computer doesn't understand the C, C++,Python, etc. They are called High level languages. We need interpreter/compilers to interpret/compile te codes we write into Low Level Language aka Machine language Introduction
  10. 21 What if your colleague in office doesn't understand English.

    You need an interpreter right? The computer doesn't understand the C, C++,Python, etc. They are called High level languages. We need interpreter/compilers to interpret/compile te codes we write into Low Level Language aka Machine language Machine Language is just 0s and 1s. Introduction
  11. 24 == comparison operator Checking if LHS is the same

    as RHS = assignment operator Storing RHS value into the variable on LHS comparison operators /= assignment operator
  12. Write a program to cook Indomie Can you? Yes, you

    can. • Take in your inputs into variables, the water, the seasoning, the number of indomie packs, etc • Write the recipe procedurally • Make sure to comment your codes 31 Let’s try something
  13. Look out for keyword when thinking about naming your variables.

    Keywords are reserved words in a language. E.g., for, while, def (function in Python), const (variable in Javascript), do, in, true, false, if, else, elif 35 Keywords
  14. # relax, sit back, inhale, exhale, # you're coding already.

    # Congratulations! # Buy yourself chilled kunu! Finally
  15. Additional Resources 1. FreeCodeCamp for Software Engineering: https://www.freecodecamp.org/ 2. Harvard’s

    CS50 Introduction to Computer Science: https://www.edx.org/course/cs50s-introduction-to-computer-science 3. https://www.freecodecamp.org/news/how-i-landed-a-full-stack-developer-jo b-without-a-tech-degree-or-work-experience-6add97be2051/ 4. Chemical Engineer learnt software development in 9months: https://www.freecodecamp.org/news/how-i-went-from-newbie-to-software-e ngineer-in-9-months-while-working-full-time-460bd8485847/