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

IP assignment one

The document is an assignment from the University of Gondar's Department of Computer Engineering discussing scripting and programming languages. It defines both types of languages, highlights their differences, and provides examples and application areas for languages like JavaScript, Python, PHP, C++, SQL, and Java. The assignment emphasizes the characteristics, uses, and advantages of these languages in various fields.

Uploaded by

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

IP assignment one

The document is an assignment from the University of Gondar's Department of Computer Engineering discussing scripting and programming languages. It defines both types of languages, highlights their differences, and provides examples and application areas for languages like JavaScript, Python, PHP, C++, SQL, and Java. The assignment emphasizes the characteristics, uses, and advantages of these languages in various fields.

Uploaded by

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

University of Gondar

Institution of Technology
Department of Computer Engineering
Internet Programing Assignment One
.

• NAME ID

Samuel Teshale 03077/14

Submitted to:Matiwos .G

Submitted date: 28/01/2025


What is Scripting language ?
• scripting language is a type of programming language where
instructions are interpreted line-by-line at runtime, meaning the code
is executed directly without needing to be compiled beforehand,
allowing for quick development and flexibility, often used to
automate tasks within existing applications or to integrate different
systems; examples include JavaScript, Python, and PHP.
What is Programing language ?
• programming language is a set of instructions that a programmer
writes to communicate with a computer, allowing them to control the
machine's behavior by giving it specific commands to perform tasks,
essentially acting as a way to "speak" to a computer in a structured
format that it can understand; it's like a language used to write
computer programs.
Difference Between Scripting and Programming
Languages.
•.
Aspect Scripting Language Programming Language

A scripting language is designed to automate tasks or control A programming language is used to create standalone
Definition
applications. applications or software.
Execution Interpreted line-by-line during runtime. Compiled into machine code before execution.
Best suited for automating repetitive tasks, web
Used for building large-scale applications, system software,
Use Case development, or extending functionalities of an existing
or platforms.
application.
Speed Slower execution due to interpretation. Faster execution due to prior compilation.
Often depends on a host environment (e.g., browser or
Dependencies Can function independently after compilation.
server).
Easier to learn and use due to simpler syntax and focus on More complex and versatile, requiring deeper knowledge of
Ease of Use
specific tasks. computer science.

C, C++, Java, Python (when used for application


Examples Python (when used for scripting), JavaScript, PHP, Ruby.
development).
Examples of scripting languages includes
• 1, avaScript is a versatile, high-level programming language primarily used for creating interactive and dynamic elements on
websites. It is one of the core technologies of the web, alongside HTML (HyperText Markup Language) and CSS (Cascading Style
Sheets). Here's an overview of JavaScript:

• Key Features:
• Client-Side Scripting: JavaScript runs directly in the user's web browser, allowing for dynamic changes to the content, layout, or
interactions on a webpage without requiring a page reload.

• Event-Driven: JavaScript responds to user actions like clicks, keystrokes, or mouse movements, making websites more interactive.

• Lightweight and Flexible: Its syntax is simple and easy to learn, making it accessible for both beginners and experienced developers.

• Cross-Browser Compatibility: Modern browsers (like Chrome, Firefox, Safari, and Edge) include JavaScript engines to execute
JavaScript code.

• Full-Stack Capabilities: With the advent of tools like Node.js, JavaScript is no longer limited to the browser; it can also be used for
backend development, allowing developers to create server-side applications.
continue...
Application area javascript includes:
• of Web Development. JavaScript is a scripting language used to develop web
pages. ...
• Web Applications. ...
• Presentations. ...
• Server Applications. ...
• Web Servers. ...
• Games. ...
• Art. ...
• Smartwatch Apps.
continue...
• 2,"Python"! Python is a popular, versatile, and beginner-friendly programming language.
It's widely used in many fields such as web development, data analysis, artificial
intelligence, machine learning, scientific computing, automation, and more.

• Here are a few key points about Python:

• Simple Syntax: It's easy to learn and read, making it great for beginners.
• Versatility: It works for small scripts as well as large applications.
• Libraries and Frameworks: Python has a vast ecosystem of libraries and frameworks (like
Django, Flask, NumPy, and TensorFlow) to support almost any kind of development.
• Community Support: It has a large and active developer community, so finding help and
resources is easy.
continue...
• Key application areas of Python:
• Data Science.
• Machine Learning:
• Creating machine learning algorithms, training models, and deploying them in applications with libraries like TensorFlow, Keras, and
PyTorch.
• Web Development:
• Building web applications quickly with frameworks like Django and Flask, handling backend logic, and managing databases.
• Data Visualization:
• Creating interactive and informative visualizations using libraries like Matplotlib and Seaborn to present data insights effectively.
• Scientific Computing:
• Performing complex mathematical calculations and simulations in scientific fields with libraries like SciPy.
• System Administration:
• Automating repetitive tasks, managing systems, and scripting for system administration.
• Game Development:
• Text Processing:
continue...
• 3,PHP (Hypertext Preprocessor) is a widely-used, open-source server-side scripting language primarily
designed for web development. It is especially suited for creating dynamic and interactive web pages.
PHP can be embedded within HTML, making it easy to mix code and content.

• Key Features of PHP:


• Server-Side Execution: PHP scripts are executed on the server, and the result is sent to the user's
browser as plain HTML.
• Open Source: It is free to use and has a large developer community.
• Cross-Platform: PHP runs on various operating systems like Windows, Linux, macOS, etc.
• Database Integration: PHP supports numerous databases like MySQL, PostgreSQL, SQLite, and more,
making it great for database-driven applications.
• Easy to Learn: It has a straightforward syntax, making it beginner-friendly.
• Versatile: PHP is used for building websites, APIs, content management systems (like WordPress), and
more.
continue...
• Key application areas of PHP include:
• Dynamic web pages: Generating content based on user input or other conditions on the server.
• Content Management Systems (CMS): Building platforms like WordPress where users can easily
manage website content
• E-commerce platforms: Developing online stores with features like product listings, shopping carts,
and payment processing
• Web applications: Creating interactive features for websites like user forums, social media logins, and
customer relationship management (CRM) systems
• API development: Building application programming interfaces to connect web applications with other
systems
• Data handling: Interacting with databases to store and retrieve information
• Email functionality: Sending and receiving emails through web applications
• Form processing: Collecting and processing data submitted through web forms
Examples of Programing language includes
• 1,C++ is a high-performance, general-purpose programming language created by Bjarne Stroustrup in 1983 as an extension of the C programming language. It adds object-
oriented programming (OOP) and other features to C, making it suitable for building complex applications.

• Key Features of C++:


• Object-Oriented Programming:

• Supports classes, objects, inheritance, polymorphism, and encapsulation.


• Performance:

• Provides fine control over hardware and memory, making it ideal for performance-critical applications like gaming, real-time systems, and embedded programming.
• Flexibility:

• Can be used for both high- and low-level programming (e.g., writing system-level code or applications).
• Standard Template Library (STL):

• Offers ready-to-use components like vectors, maps, and algorithms, which help in faster development.
• Portability:

• Code written in C++ can run on various platforms with minimal changes.
continue...
• Common Applications of C++:
• Operating systems (e.g., Windows, Linux components)
• Game engines and games (e.g., Unreal Engine)
• Desktop applications (e.g., Adobe software)
• Real-time systems and embedded devices
• Databases (e.g., MySQL)
• Scientific computing and simulations
• C++ is widely used because of its combination of speed, efficiency, and flexibility,
making it a popular choice for both system-level and application-level
development.
continue...
• 2,SQL (Structured Query Language) is a standardized programming language used to manage and manipulate databases. It allows
users to create, read, update, and delete data stored in relational database management systems (RDBMS), such as MySQL,
PostgreSQL, SQL Server, and Oracle Database. SQL is widely used for managing structured data, which is organized into tables with
rows and columns.

• Key Features of SQL:


• Data Definition (DDL):
• Commands like CREATE, ALTER, and DROP are used to define or modify the structure of database objects like tables, indexes, and
schemas.
• Data Manipulation (DML):
• Commands like INSERT, UPDATE, DELETE, and SELECT are used to manipulate and retrieve data from the database.
• Data Querying:
• The SELECT statement is the most commonly used SQL command, allowing users to query data based on specific criteria.
• Data Control (DCL):
• Commands like GRANT and REVOKE are used to manage access permissions.
• Transaction Control (TCL):
• Commands like COMMIT, ROLLBACK, and SAVEPOINT are used to manage database transactions and ensure data integrity.
continue...
• Industries That Use SQL
• SQL Uses in Marketing. Marketing teams often target customers and release
promotions based on user data collected by the organization. ...
• SQL Uses in Finance. ...
• SQL Uses in Healthcare. ...
• SQL For Mobile and Web Development. ...
• SQL For Data Analytics. ...
• SQL For Business Analytics. ...
• SQL For Data Science.
continue...
• 3,Java is a high-level, object-oriented programming language developed by Sun Microsystems (now owned by
Oracle Corporation) and released in 1995. It is widely used for building a variety of applications, from mobile
apps and web applications to enterprise-level systems and backend services.

• Here are some key characteristics of Java:

• 1. Platform Independence
• Java applications are compiled into bytecode, which can run on any device with a Java Virtual Machine (JVM).
This makes Java "write once, run anywhere" (WORA).
• 2. Object-Oriented
• Java follows the principles of object-oriented programming (OOP), such as encapsulation, inheritance, and
polymorphism, making it modular, flexible, and easier to maintain.
• 3. Robust and Secure
• Java has built-in mechanisms for error handling and memory management (like garbage collection), which make
it less prone to crashes.
• It provides strong security features like runtime checks, secure APIs, and a sandboxing environment for running
untrusted code.
continue...
• 4. Multithreading
• Java supports multithreading, enabling the simultaneous execution of two or more parts of a program
for better performance, especially on multi-core processors.
• 5. Popular Uses
• Web Applications: Frameworks like Spring and Hibernate are used to build robust web applications.
• Android Development: Java is one of the primary languages for Android app development (alongside
Kotlin).
• Enterprise Applications: Java powers large-scale systems such as banking and financial services
platforms.
• Scientific Applications: Its portability and reliability make it a good choice for scientific and research-
oriented applications.
• 6. Syntax
• Java's syntax is similar to C++, making it familiar to developers from a C/C++ background but simpler
and with fewer low-level features.
continue...
• Java is primarily used for developing enterprise-level web applications, mobile
apps (especially Android), big data processing, cloud computing, embedded
systems, and various other applications across different industries, including
financial systems, scientific computing, and gaming, due to its platform-
independent nature and robust features.

• Thank You !

You might also like