GithubHelp home page GithubHelp logo

programming-fundmentals's Introduction

Programming fundmentals

Black Box!

Represent numbers

  • unary 0 , 1
  • 0 0 0 => 0
  • 0 0 1 => 1
  • 0 1 0 => 2
  • 0 1 1 => 3
  • 1 0 0 => 4
  • 0 0 0 0 0 0 0 1

Processor Transistors! Transistor => on off true false

Represent text - letters (A, b , C ...)

  • ASCII every letter represented by a number H I ! 72 73 33 01001001 0011001 011011100

Algorithms خطوات حل المشكله

  • codes [XX]
  • pseudocode
    • problem is => call a person from phone book
  • قبل ما اكتب اى اكواد , يجب علينا التفكير فى خطوات حل المشكلة باللغة العادية

(verb) فعل = function [conditional] = if & else {Boolean} = true & false

steps

  1. (pick up) phone book
  2. (open to) middle of the phone book
  3. (look) at the page
  4. [if] {person => variable-- is on the page}
  5. (call) the person
  6. [else if ]{ person is in the left middle of the book}
  7. ( go back) to line 3 => loop
  8. [else if] {person is in the right middle of the book}
  9. (go back) to line 3 => loop
  10. [else]
  11. (Quit)

programming-fundmentals's People

Contributors

hossam-khalaf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.