Giter Site home page Giter Site logo

fundamentals-of-programming's Introduction

Fundamentals-of-Programming

Week 1 - Fundamentals of Programming

Basic Requirments

1.Enter the below expressions into your console.

 1 + 2 
 3 * 5 
 5 / 4 - 13 
 5000 * 234 
 1073 / 57 + 200

2.Why are the values produced by the following two expressions different? What are they?

 3 + 2 * 4 - 1 
 (3 + 2) * (4 - 1)

3.Calculate your age in minutes using the console.

4.What is the percentage of people in the class with glasses? Use the console to find out.

5.Try the following expressions in the console:

 6 % 2 
 42 % 10 
 5 % 2 
 6 % 3 
 7 % 4 
 100 % 12

What is the significance of the result? How does the % (modulus) operator work?

6.Try the following:

 3 % 2 
 4 % 2 
 5 % 2 
 6 % 2

What do the results tell you about the first operand to the modulus operator?

7.Write a string that represents your full name.

8.Write a string that represents your favourite food.

9.Use the + operator to combine (known as concatenation) two or more strings, e.g:

 Your first and last names 
 'Abbas' + ' ' + 'Al-Nouri'

Your first and last names (as shown above), your parents' full names, and your home town and state

10.Try the following in your console. What happens? Fix the errors:

 'hmm something is not right 
 ' Do other ' * 'operators work with string concatenation?

Where are all the quotes?

Advanced

1.Read and Learn about the following KeyWords in detail and make sure your partner understands them !

List of Keywords: - complied vs. interpreted language - high-level language - weakly typed - v8 engine - Javascript - Why Javascript - Functional based language - object Oriented language

fundamentals-of-programming's People

Contributors

abdelsalamshahlol avatar

Watchers

 avatar  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.