Get Start
Before leaning to programming language, you should know the answer to the following some basic questions,
- What is language?
- Why language is very important?
- what is the use of language?
- Without language how communicate with each other?
- Understanding of programming language & Software
- Grammar (Programming Language Rules)
- Poem (Programs)
What is Language?
Language is a set of rules and regulations. It helps to communicate the emotions, feelings, thoughts of humans to other humans.
What is a programming language?
Programming language is a set of rules and regulations design by humans. Its helps to communicate any kind of data in the format of binary from one machine to other machines. lot of programming languages are there in the real world like BASIC, FOTRAN, COBOL, C, C++, HTML, Java, JavaScript so on.
Interpreted language: Lua, python, PHP, and ruby.
What interpreted language?
- Interpreted language does not need to compile, before its run.
Top programming language & its salaries
- 2018 (These lists are the top-most programming language in 2018 and average salary)
- Python Average Salary – $116,028
- JavaScript Average Salary – $110,542
- Swift Average Salary – $80,417
- Ruby on rails Average Salary- $74,799
- Java Average Salary- $74,217
Some Common keywords in a programming language
while
- Repeat execute your program based on the while condition expression if true.
- Mostly while keyword and function combined with if loops
- while condition false it’s not executed he statement, only execute if the expression is true.
- Every time check the while condition while true, it will exit from when false.
- While will execute inside the statements may be a single line or block of code.
Flow Diagram
Infinite Loop
- The infinite loop will very useful for continuously run something.
Functions in a Programming language
- A function is a block of organized, reusable code that is used to perform a single related action or A function is a piece of code, capable of performing a similar task repeatedly. (it is defined using the def keyword in python.
Software Development Life Cycle
- Methods:- Water Fall method, V Method, and Agile Development Method
Tools
- IBM ClearQuest
- PTC integrity
- IBM Rational Doors
- Reference
Software
Software is calling different names like firmware, program, code, os and etc.
- Piece of Code
- Software
- firmware
- Program
- code
- os
- Languages
- java
- C
- Lua
- Python
- . net
- C#
- C++
- JavaScript
- Operating System
- Mongoose OS
- Lua RTOS
- Store Data
- database
- server
- Webserver
- local server
where to start an Old software code?
First, we need to find out the main() function program file. Most of the software code file name itself “main.c”, but sometimes they may put the main() function in the application file name eg: if the application is voltage monitor then main() may be in “voltage. c” file
Linux Commands
- open the file *vim test.c*
- *ipcs* – Interprocess communication system
- *cd.. * back to directory
JSON Format
- JSON- JavaScript Object-Oriented Notation.
- Specified by Douglas Crockford
- Easy to read and write
- interchanged format
- Language independent
How to install Git?
For windows
- Download git software
- Run the git software .exe file
- Click Next
- Choose Destination Location and click Next
- Select Components and click Next
- Click Start Menu Folder and click Next
- Adjusting your PATH environment and click Next
- Choosing HTTPS Transport backend and click Next
- Configuring the line ending conversions and click Next
- Configuring the terminal emulator to use with Git Bash and Click Next
- Configure extra options and click Install
- Done
Repository management
Github
GitHub is a web-based hosting service for version control using git. It is mostly used for computer code. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. Wikipedia
- Founder:Â Tom Preston-Werne
- Founded:Â 2008
- Headquarters:Â San Francisco, California, United States
Bitbucket
Its is a web-based version control repository hosting service owned by Atlassian, for source code and development projects that use either Mercurial or Git revision control systems. Bitbucket offers both commercial plans and free accounts. Wikipedia
- Registration:Â Required with optional OpenID
- Slogan(s):Â The Git solution for professional teams
- Written in:Â Python
- Created by:Â Jesper Noehr
- Available in: English language, Russian Language, MORE
- Owner:Â Atlassian
How do I subtract 5 minutes from a Unix timestamp?
- fiveminutesbefore=$((timestamp – 5 * 60 * 1000))
- Reference : https://unix.stackexchange.com/questions/56749/how-do-i-substract-5-minutes-from-a-unix-timestamp?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_q
