Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
14 views

Guide To Programming Languages

The document discusses several popular programming languages including Python, C, Java, C++, SQL, and JavaScript. It provides brief descriptions of what each language is used for and some of its key features. The document then lists several concepts that are common across most programming languages such as syntax, variables, data types, functions, input/output, and object-oriented programming. It provides examples to illustrate these concepts in different languages. Finally, the document outlines additional similarities among programming languages like control structures, comments, operators, error handling, and modularization.

Uploaded by

gdwhhdhncdd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Guide To Programming Languages

The document discusses several popular programming languages including Python, C, Java, C++, SQL, and JavaScript. It provides brief descriptions of what each language is used for and some of its key features. The document then lists several concepts that are common across most programming languages such as syntax, variables, data types, functions, input/output, and object-oriented programming. It provides examples to illustrate these concepts in different languages. Finally, the document outlines additional similarities among programming languages like control structures, comments, operators, error handling, and modularization.

Uploaded by

gdwhhdhncdd
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Programming Languages

A
Programming languages
Python
Python is considered one of the best programming languages that
can be used for web and desktop applications, GUI-based desktop
applications, machine learning, data science, and network servers.

C
C is designed specifically for use with the Windows OS and is part
of the .Net framework. It is widely used by competitive
programmers owing to the fact that it is extremely fast and stable.

Java
Java is one of the languages that is popular in large organizations
thanks to it a number of use-cases and has long been the
preferred go-to language for coding on Android. It is widely used in
Android App Development.

C++
C++ is a general-purpose programming language that can be used
to develop operating systems, browsers, games, and more. It
supports different ways of programming like procedural, object-
oriented, functional, and so on. This makes C++ powerful as well
as flexible.

SQL
SQL is a standard language for storing, manipulating and
retrieving data in databases. All the Relational Database
Management Systems (RDMS) like MySQL, MS Access, Oracle,
Sybase, Informix, Postgres and SQL Server use SQL as their
standard database language

B
JavaScript
JavaScript is a core programming language for powering the World
Wide Web. Its effectiveness in front- and back-end development,
the ability to work well with other languages, versatility, and
updated annually make it a widely used language.

Now we are going to have a little information about some programming


languages
Programming languages are a lot but they have the same thoughts if we
focus the same logical programming but the syntax is different
They have lot of …. In common in fact they similar to each other .
If we search we will see that they have code to print the text

In c the of printing is but before the print code we must write the
library it is like this #include<stdio.h> after that we write main(){}

C
As this

Also there is a scan it is used to add by the user in the black screen up 👆 but we have to

Variable to work

I’ll add 4 and here it is

You are looking to (int) this is type of data

Variable is the name that hold value and value has types such as like here down 👇

So we just write the command and the computer execute it

All commands they turns to binary 1 and 0 so the computer can understand the command

Command turned into binary by compiler or interpreter

So when you want to learn programming language :

1-Commands of input and output

2- How to declare a variable

3- loops 4- array

5-functions 6- classes

7- OOP and practice

Similarities in all languages:


1. Syntax: Every programming language has its own syntax, which is a set of rules that
govern how code is written and structured. Syntax includes things like the use of
punctuation, keywords, and other symbols to create valid statements and expressions.

2. Variables: All programming languages allow for the use of variables, which are named
containers that can hold data values. Variables are used to store and manipulate data in a
program.

3. Control structures: Control structures are used to control the flow of a program's
execution. Common control structures include if/else statements, loops, and switch/case
statements.

D
4. Data types: Programming languages have built-in data types, such as integers, floating-
point numbers, characters, and strings, which are used to represent different kinds of data

Int: used for integer number for the data


Float: used for Decimal number
Char: used for Character
String: used for text
Double: used for Decimal with fractional
Boolean: has two values true or false

. 5. Functions: Functions are reusable blocks of code that perform a specific task. They allow
for the creation of modular, organized code that can be easily maintained and modified.

6. Input/output. To print whatever or to make user interact by input whatever

7. Libraries: Most programming languages provide libraries of pre-written code that can be
used to perform common tasks, such as reading and writing files, working with databases,
and performing mathematical calculations

8. Comments: Almost all programming languages allow developers to add comments to


their code, which are ignored by the computer when the code is executed. Comments are
used to explain what the code is doing, provide context, and make the code easier to read
and maintain.

9. Operators: Programming languages include various operators that can be used to perform
mathematical and logical operations on data. Common operators include addition,
subtraction, multiplication, division, comparison, and logical operators like "and", "or", and
"not".

10. Object-oriented programming: Many programming languages support object-oriented


programming, which is a programming paradigm that uses objects to represent and
manipulate data. Object-oriented programming allows for the creation of complex, modular
code that can be easily reused and maintained.

11. Error handling: All programming languages provide some mechanism for handling errors
and exceptions that occur during program execution. This can include throwing and catching
exceptions , and providing error messages to the user.

12. Memory management: Programming languages differ in how they handle memory
management, which is the process of allocating and deallocating memory for variables and
data structures. Some languages, like C and C++, require manual memory management using
techniques like pointers, while others, like Java and Python, use automatic memory
management.

13. Modularization: Many programming languages support modularization, which is the


practice of breaking down a program into smaller, more manageable parts. This can make
the code easier to read, maintain, and debug, and can allow for better code reuse.

14. Concurrency and parallelism: Many modern programming languages support


concurrency and parallelism, which are techniques for executing multiple tasks

E
simultaneously. This can be useful for improving performance, handling user input, and
managing complex processes.

15. Iterators and generators: Some programming languages support the use of iterators
and generators, which are mechanisms for generating sequences of values. These can be
useful for working with large datasets or for creating complex algorithms.

16. Type systems: Many programming languages use a type system to enforce rules about
the kinds of data that can be used in a program. Type systems can help catch errors early in
the development process and can make code more robust and reliable.

17. Libraries and frameworks: Many programming languages have extensive libraries and
frameworks available, which can provide pre-built code for common tasks like user
authentication, database access, and web development.

18. Debugging and profiling tools: Most programming languages have debugging and
profiling tools available, which can help developers identify and fix errors in their code, and
optimize its performance.

You might also like