Данная работа выполнена студентом 4 курса специальности 09.02.05 Прикладная информатика. В работе содержится общая характеристика языков, программирования и более детальное описание языков JAVA, PYTHON, C#. Проект состоит из текстового документа и презентации в формате MS POWER POINT. Работа представлена на английском языке.
Вложение | Размер |
---|---|
Текстовый документ проекта | 31.78 КБ |
Презентация проекта | 310.68 КБ |
МИНИСТЕРСТВО ОБРАЗОВАНИЯ И НАУКИ АМУРСКОЙ ОБЛАСТИ
ГОСУДАРСТВЕННОЕ ПРОФЕССИОНАЛЬНОЕ
ОБРАЗОВАТЕЛЬНОЕ АВТОНОМНОЕ УЧРЕЖДЕНИЕ
АМУРСКОЙ ОБЛАСТИ
«АМУРСКИЙ ПЕДАГОГИЧЕСКИЙ КОЛЛЕДЖ»
Programming languages: comparison and analyses
Project
Выполнил:
Голубев Кирилл Эмильевич
Специальность «09.02.05 Прикладная
информатика (по отраслям)»
Курс IV, группа 344
Научный руководитель:
Коновалова Лариса Борисовна
Благовещенск 2020
СОДЕРЖАНИЕ
1. PROGRAMMING LANGUAGES | 3 |
2. SYNTAX AND SEMANTIC | 3 |
3. LANGUAGE PROCESSORS 4. CODING LANGUAGES 5. PROGRAM SAMPLES THE SOURCES | 3 4 4 5 |
1. PROGRAMMING LANGUAGES
A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human communication.
Most programming languages describe computation in an imperative style, i.e., as a sequence of commands, although some languages, such as those that support functional programming or logic programming, use alternative forms of description.
2. SYNTAX AND SEMANTIC
All programming languages have some primitive building blocks for the description of data and the processes or transformations applied to them. These primitives are defined by syntactic and semantic rules which describe their structure and meaning respectively.
The syntax of a language describes the possible combinations of symbols that form a syntactically correct program. The meaning given to a combination of symbols is handled by semantics (either formal or hard-coded in a reference implementation). Since most languages are textual, this article discusses textual syntax.
3. LANGUAGE PROCESSORS
Generally, computers do not understand high-level languages. To make computer understand the program written in high-level language a translator will be required to translate the program into its machine language equivalent. Such translators are called Language processors. Language processors are of three classes namely: Assembler, Interpreter and Compiler.
Assembler: it translate source program written in assembly code to machine code object programs.
Interpreter: it translates a high-level language one statement at a time and carries out the execution of the statement before proceeding to the next statement.
Compiler: it translates a program written in high-level language into its machine language equivalent.
4. CODING LANGUAGES
JAVA
Java could be a general-purpose computer programming language that’s synchronous, class-based, object-orientated and specially designed to possess as few implementation dependencies as potential. It is considered as the perfect language for the developers and programmers to learn. The run time for compiling the program is 1.89 sec and the memory used per second is 6.01mb. Currently, it’s the top-most programming language and has grabbed the very best position with Android OS yet again, though it was a bit down a few years ago. Java is used for mobile-based applications, enterprise-level purpose, for making desktop applications, and for establishing Android apps on tablets and Smartphone’s.
PYTHON
Python is an understood high-level programming language for general-purpose programming. It’s a style philosophy that emphasizes code readability, notable using significant white space. It constructs clear programming on each tiny and enormous scales. It is an object-oriented scripting language, the run time speed of this language is 71.90 secs and the memory utilized is 2.80mb/sec. For turning into good at all-in-one language, you ought to begin learning Python language that has the power to expand internet apps, information analysis, user interfaces, and for additional frameworks are also accessible for these tasks. Python is employed by larger firms principally which will appraise that can evaluate huge data sets.
C#
C# (pronounced as c-sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented and component oriented programming language. It is a relatively new programming language designed by Microsoft for a wide range of enterprises applications that run on the .Net frame works. The runtime speed for compelling is 3.14 secs and memory utilized by the compiler is2.85mb. An evolution of C and C++ the C# language is simple, modern, type safe and object orientate using System.
5. PROGRAM SAMPLES
A sample programs on Java, Python, C# to print “Hello World!”
THE SOURCES
Слайд 1
МИНИСТЕРСТВО ОБРАЗОВАНИЯ И НАУКИ АМУРСКОЙ ОБЛАСТИ ГОСУДАРСТВЕННОЕ ПРОФЕССИОНАЛЬНОЕ ОБРАЗОВАТЕЛЬНОЕ АВТОНОМНОЕ УЧРЕЖДЕНИЕ АМУРСКОЙ ОБЛАСТИ «АМУРСКИЙ ПЕДАГОГИЧЕСКИЙ КОЛЛЕДЖ» ОТДЕЛЕНИЕ № 3 Programming languages: comparison and analyses Выполнил: Голубев Кирилл Студент 3 4 4 группы Специальность: 09.02.05 Прикладная информатика (по отраслям) Преподаватель: Коновалова Лариса БорисовнаСлайд 2
Purpose & Tasks =) Purpose: Compare and analyze programming languages: Java, Python and C#. Tasks: Describe programming languages, find advantages and disadvantages. Learn the syntax and semantics of programming languages. Compare programming languages: Java, Python, C#.
Слайд 3
Content Programming languages Syntax and semantic Language processors Coding languages Java Python C# Program samples Thx u for attention The sources
Слайд 4
Programming languages imperative style – императивный стиль
Слайд 5
Syntax and semantic reference implementation – эталонная реализация
Слайд 6
Language processors machine language equivalent – эквивалент машинного языка
Слайд 7
Coding languages Java Advantages Disadvantages It was designed to be straightforward to use, write, compile, debug than alternative language. Considerably additional memory consumption than C or C++. To create standard program and reusable code. The default look and feel of GUI applications. It has ability to move simply from one automatic data Processing system to another. Single paradigm languages. synchronous - синхронный
Слайд 8
Coding languages Python Advantages Disadvantages Extensive libraries. Speed limitations. Improved productivity. Undeveloped data base access layer. Free and open source. Design restrictions. code readability – читаемость кода
Слайд 9
Coding languages C# Advantages Disadvantages The .net class library will allows for rapid prototype development ,it will do a ton of things for you. C# is less flexible than C++.C# depends greatly on .NET Frame works. Automatic garbage collection. C# is slower to run. Strong memory backup. .NET application needs a window platform to execute. component oriented – компонентно-ориентированный
Слайд 10
Program samples Java/Python\C# Java Python C# A sample program on Java to print Hello World! class helloworld app { public static void main(String[ ] args ) { System.out.println ("Hello World!"); } } Output Hello World! A simple program on Python to print Hello World! print("Hello World!") Output Hello World! A simple program on C sharp to print Hello World! class Program { static void Main(string[] args ) { Console.writeLine ("Hello world!"); } } Output Hello World!
Слайд 11
Thank you for attention
Слайд 12
The sources https://www.translationdirectory.com/articles/article1924.php http://csjournals.com/IJCSC/PDF9-2/18.%20Reddy.pdf http://www.tjournal.org/tjst_june_2012/8.pdf https://www.quora.com/What-is-the-Python-programming-language https://www.researchgate.net/post/What_are_the_advantages_of_C_over_C_in_numerical_Computations2 https://www.researchgate.net/publication/326672199_Comparison_of_Programming_Languages_Review
А. Усачев. Что значит выражение "Белые мухи"?
Рисуем осень: поле после сбора урожая
Снежная зима. Рисуем акварелью и гуашью
Весёлые польки для детей
Никто меня не любит