Showing posts with label Programming Languages. Show all posts
Showing posts with label Programming Languages. Show all posts

Tuesday, October 31, 2023

Programming where to start !!

So, you’ve made the choice to start learning how to write code. That's awesome! At first, it might seem a bit confusing. You might wonder where to start or what things you should learn first. The options can feel overwhelming, like standing in front of many different paths and not knowing which one to take. But that's totally normal!



Learning to code is like setting out on a new adventure. It's a journey with many possibilities, just waiting for you to explore. Even if you feel a little lost right now, remember, every expert in coding was once a beginner, just like you. So, you're in good company!

Imagine it's like looking at a map with lots of roads. You’re trying to figure out the right one, but there are so many choices. It's okay if it seems confusing. The important thing is to take that first step.

This journey is a lot like exploring a new place. It might seem vast and a bit scary at first, but it's also incredibly exciting. You get to decide where to go and what to learn along the way. It's all about discovering and having fun while you're doing it.

Let’s start this journey together. In this guide, we’re here to help you find that starting point for your programming adventure. We want to make things easy and clear, like following simple directions on a map. So, you can begin learning and enjoy this fantastic world of programming! 

1. Grasping the Fundamentals

Understanding the core basics of programming is like learning the ABCs before reading a book. It’s the first step to build your coding skills. Start by getting to know the main ideas – like variables, loops, conditional statements, and functions. Think of these as the building blocks for your coding journey.

There are many places you can learn these basics. Websites like Coursera, Udemy, or even free tutorials on YouTube are great. They offer courses made for beginners, so it’s not too hard to understand. These lessons often use games or interactive exercises to help you learn in a fun way. You can practice what you're learning while having a good time.

Take your time with these lessons. It’s okay to go slow and make sure you understand everything. Learning the basics really well will make everything else easier later on. Think of it like learning the rules of a game before you start playing. It might take a bit of time, but it’s super important. So, be patient and enjoy the process!

stay tuned for future posts with detailed list of courses to start with.

2. Choosing Your Path



Once you've gotten a good grip on the basics, it's time to choose your direction in the world of programming.

  • Selecting Your Language: Think about what you want to do with your coding skills. If you’re interested in making websites, you might focus on languages like HTML, CSS, and JavaScript. If you want to work with data or artificial intelligence, Python could be a great choice. There are also languages like Java, C# or C++ which are used in many different kinds of software.
  • Exploring Further Learning: After choosing a direction, you can find more specialized courses or tutorials. Websites like CodecademyKhan Academy, or even official documentation for your chosen language can help. These resources can take you deeper into the language you're learning and show you how to use it for different things.
  • Practice Makes Perfect: As you start learning more, try putting your knowledge into action. You can work on small projects. Build a personal website, create a simple game, or make a program that solves a problem you care about. This is where you really start to understand how to use what you've learned.
  • Joining a Community: There are lots of forums and groups online where people talk about coding. Joining these can help you when you’re stuck or have questions. Platforms like Stack Overflow or Reddit’s programming communities can be great places to learn from others' experiences and share your own.

Remember, every step you take is progress. The most important thing is to keep moving forward, even if it’s just a little bit at a time. Enjoy the journey and the things you create along the way!

3. The Quest Begins

Once you’ve got a good hold on a language and built some projects, consider trying new things. Explore different types of projects or learn a new language. This will broaden your skills and understanding.

  • Open-Source Contribution: Engaging in open-source projects on platforms like GitHub is a great way to learn and collaborate. You can work on real projects with other developers, which is an excellent way to gain practical experience.

  • Staying Updated: Programming is always changing and evolving. Keep an eye on the latest trends and updates. Follow tech blogs, join relevant communities, and explore new tools or frameworks. This will keep your skills fresh and updated.

  • Consistency is Key: Remember, learning to code is a journey, not a race. Be consistent in your practice. Even if it’s just a little bit each day, regular practice can make a big difference in your progress.

  • Reflect and Improve: Take some time to reflect on your work. See where you can improve and what you’ve learned. Mistakes are a natural part of the process. Embrace them as learning opportunities.

  • Celebrate Your Wins: Acknowledge your achievements, no matter how small they seem. Completing a project or solving a problem is a big deal and worth celebrating!

  • Teach and Share: Once you feel more confident, consider sharing your knowledge. Teaching others is a fantastic way to reinforce your own understanding. It could be through blogging, making tutorials, or even helping someone who's just starting out.

Remember, the journey of learning to code is an ongoing adventure. It's not just about reaching an end goal but about the continuous learning and the joy of creating something new. So, stay curious, be persistent, and enjoy the incredible ride through the world of programming!


Tuesday, April 28, 2020

The Chinese 🇨🇳 invented the first binary code ' 0 1 '


The Chinese 🇨🇳 invented the first 

binary code ' 0 1 '



In 1789 Gottfried Leibniz published a paper announcing his invention of the binary code. Twenty-four year later, after a Jesuit in Beijing sent him illustrations of the Chinese trigram and hexagrams, Leibniz published a second paper crediting the Chinese with inventing the first binary code.
The explanation for Leibniz’s remarkable claim had to await the advent of the digital revolution in the 20th century. In the 1920s, the so-called father of the information age, Claude Shannon, realized the binary code was ideal for the design of electronic circuits, the precursors to electronic chips. He used the binary number 1 to mean positive (on, an electric current) and the binary number 0 to mean negative (off, no electrical current).
Moreover, Shannon realized we can assign “arbitrary” values to the binary code. A string of binary numbers can represent data, sound, still and moving images, or any symbol. If we agree on the given attributes, he reasoned, it becomes a standard. One of the first such standards was the ASCII code for computer keyboards. The binary number for the capital letter A is 01000001.
The Chinese binary code also uses “arbitrary” attributes. The whole and broken lines, equivalent to 1 and 0, denote positive and negative, as well as a wide range of other generic concepts that can be classified as either positive or negative: day-night, male-female, growth-decay, etc. The trigram and hexagram, combinations of whole and broken lines, are “gradations” of these two generic values in discrete, binary steps.
The ancient Chinese conceived the binary code after realizing that nature itself is a binary phenomenon, a constant interaction between mutually dependent opposites — growth-decay, advancing-retreating, ruler-ruled, action-inaction, etc. All aspects of Chinese civilization, from Confucianism to martial arts and health to aesthetics, were based on harmonizing binary opposites.
In the 1940s, Leibniz’s claim came full circle. The scientist Norbert Wiener developed cybernetics, the basis for the automatic pilot and many other computerized systems. Cybernetics is derived from the Greek word meaning “steersman.”
The cybernetic logic in autopilots “steers” an aircraft to its programmed destination. It does so by navigating between various binary parameters — left-right, high-low, fast-slow — to fly the shortest route from A to B. If side-winds take the aircraft off course, the autopilot takes corrective action to restore the “golden mean” between the binary boundaries set by the navigator.
Finding the golden mean between binary opposites is also at the heart of the I Ching, the ancient “manual” to the Chinese binary system. China’s rulers routinely consulted the I Ching to set the course for the ship of state. And people consult the I Ching before making key decisions by weighing a sequence of binary choices.
No doubt the binary world view of the Chinese will reveal itself in the next (very) big thing in the computer sciences, artificial intelligence. And like the AI community elsewhere, the Chinese will face one of the biggest challenges confronting AI today — harmonizing analog and binary. The binary roots of Chinese culture have been obscured by recent modernization, but they are not lost. Having grown for 3,000 years, they permeate the subconscious of all people raised in a Confucian environment.
Source : here 

Friday, May 17, 2019

Compiler & Interpreter

Compiler & Interpreter

Compilers and interpreters are used to convert the code of high level language into machine language. The high level program is known as source program and the corresponding machine level program is known as object program. Although both compilers and interpreters perform the same task but there is a difference in their working


Compiler

          A compiler searches all the errors of a program and lists them. If the program is error free then it converts the code of program into machine code and then the program can be executed by separate commands.

Interpreter

         An interpreter checks the errors of a program statement by statement. After checking one statement, it converts that statement into machine code and then executes that  statement. The process continues until the last statement of program occurs.


Static & Dynamic Linking

C Program’s Life Cycle !!

C Program’s Life Cycle !!



What are C libraries?

Pre-compiled functions that come with the C compiler.
The functions are grouped in different packages called libraries.
To use functions included in a library, include the header file specified for that library in your program.
Exemples:
#include <math.h>
#include <conio.h>
#include <stdio.h>



Why C Programming Language? Features !!

Why C !!:


¨ C is a widely used portable high level programming language
¨ High level, but also let’s your program closer to the metal.
¨ Used for embedded programming
¨ Many language have a c pedigree
¨ it can manipulate bits of computer memory. 
¨ can run on different platforms with very little modification. 

Features of C Language:


There are many features of c language are given below:
1)   Simple
2)   Machine Independent or Portable
3)   Mid-level programming language
4)   structured programming language
5)   Rich Library
6)   Memory Management
7)   Fast Speed
8)   Pointers
9)   Recursion
10) Extensible

Monday, March 18, 2019

The Difference Between Block And In-line Element !!


The Difference Between Block And In-line Element !!

We have many markup to use like <br> add line (break line) or <p> separator a piece of text for other but there is difference between them not in the using  but in the function to use :
  so you might have noticed that we have two different ways in HTML of breaking our text into multiple lines
we have < br > empty element and <p> element which is an not empty element

so <p> create a little invisible box around the text .this box called a block and block are heavily involved in how the browser lays out text on the screen
the block has height and width and it also have margin above and below and that's what provide the space around the paragraph this <p> element we called a block and <br> we called in-line element like <em> <mark> <a>(the hypertext element )
it can seem bit abstract trying to imagine these invisible box that the browser constructs around the element.

How To Write HTML Code !!


What is the HTML !!!


It’s the language that provide the structure and the text of web pages, actually HTML based on the Hypertext Markup Language and the text that the user will actually read in their browser.
Hyper text is the text that can have link of references and the references to include other document and files like images video.
Markup code tell the browser how the text should look like ,how it managed.


How To Write HTML Code !!


  - Markup 
Markup is a symbol or tag  that you insert at certain place in a text file. This represents how the file should look when it is printed in your browser.
like  < br >    < em >
when we went to insert images we use  < img  src = " " >
or when add break line we can use  < br > the empty element or < p > the element by the way even <img src="">is empty element 

 Difference between empty element and element!!


the empty element don't need closing tag like <p>  </p> or  <div> </div>
 because it doesn't have any continent
so we have many empty element and element in HTML Language.