Elementary Data Analysis with MS Excel_Day-5Redwan Ferdous
This event took place on 16th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-5, Hypothesis, Statistics, Regression Analysis, T-Test, Z-test, P-Test, ANOVA, Goal Seek, Pivot Chart, Dashboard, Slicer, Solver, Data Analysis Toolpak, and peripheral items were discussed.
Elementary Data Analysis with MS Excel_Day-4Redwan Ferdous
This event took place on 12th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-4, the MS Excel Data Tab, View and Review tab as well as Developer Tab of Horizontal top ribbon was discussed. As well as different Quick analysis tools, What-if Analysis, Data Table, Scenario Manager, Pareto Chart was also discussed.
Elementary Data Analysis with MS Excel_Day-2Redwan Ferdous
This event took place on 5th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-2, MS Excel Options, Ribbon, Home, Insert, Pivot, Page Break, Slicer, Spider Chart, Histogram, Conditional Formating, Flash Fill, Sorting, Filtering, Inter Sheet Data Fetching etc. were discussed. The trainer was Redwan Ferdous.
Elementary Data Analysis with MS Excel_Day-3Redwan Ferdous
This event took place on 9th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-3, MS Excel formula and functions were covered. Almost 20+ Functions were practiced live with the class along with troubleshooting and different logical explanation. Also Error Handling, Data Validation and Macro were taught in the same class.
Elementary Data Analysis with MS Excel_Day-6Redwan Ferdous
This event took place on 21st September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-6, Creating and controlling Database of MS Access using MS Excel and within the Access was discussed. As well as Form creation, report creation, pulling MS Access data into MS Excel, and pivoting for chart and analysis were also discussed.
Google Public Data and recap of previous classes and Quiz answers were discussed.
It was the last class of the total 06 days session.
Elementary Data Analysis with MS Excel_Day-5Redwan Ferdous
This event took place on 16th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-5, Hypothesis, Statistics, Regression Analysis, T-Test, Z-test, P-Test, ANOVA, Goal Seek, Pivot Chart, Dashboard, Slicer, Solver, Data Analysis Toolpak, and peripheral items were discussed.
Elementary Data Analysis with MS Excel_Day-4Redwan Ferdous
This event took place on 12th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-4, the MS Excel Data Tab, View and Review tab as well as Developer Tab of Horizontal top ribbon was discussed. As well as different Quick analysis tools, What-if Analysis, Data Table, Scenario Manager, Pareto Chart was also discussed.
Elementary Data Analysis with MS Excel_Day-2Redwan Ferdous
This event took place on 5th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-2, MS Excel Options, Ribbon, Home, Insert, Pivot, Page Break, Slicer, Spider Chart, Histogram, Conditional Formating, Flash Fill, Sorting, Filtering, Inter Sheet Data Fetching etc. were discussed. The trainer was Redwan Ferdous.
Elementary Data Analysis with MS Excel_Day-3Redwan Ferdous
This event took place on 9th September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-3, MS Excel formula and functions were covered. Almost 20+ Functions were practiced live with the class along with troubleshooting and different logical explanation. Also Error Handling, Data Validation and Macro were taught in the same class.
Elementary Data Analysis with MS Excel_Day-6Redwan Ferdous
This event took place on 21st September 2020. This was arranged by EMK Center (Makerlab). The title was 'Elementary Data Analysis with MS Excel', where very basic data analysis with MS excel was discussed.
In Day-6, Creating and controlling Database of MS Access using MS Excel and within the Access was discussed. As well as Form creation, report creation, pulling MS Access data into MS Excel, and pivoting for chart and analysis were also discussed.
Google Public Data and recap of previous classes and Quiz answers were discussed.
It was the last class of the total 06 days session.
1. Algorithm and characteristics of an algorithm.
2. Rules to be followed for design and analysis of an algorithm.
3. The differentiation of data structures, file structures, and storage structures.
4. Top-down and bottom-up design approaches through examples.
5. Rules to be followed while writing the pseudo code of an algorithm.
6. Abstract data type and its necessity in a program.
Presented by: Joseph Rickert, Data Scientist Community Manager, Revolution Analytics, Sep 25 2014.
Whenever data scientists are asked about what software they use R always comes up at the top of the list. In one recent survey, only SQL was rated higher than R. In this webinar we will explore what makes R so popular and useful. Starting with the big picture, we describe how R is organized and how to find your way around the R world. Then we will work through some examples highlighting features of R that make it attractive for data science work including:
Acquiring data
Data manipulation
Exploratory data analysis
Model building
Machine learning
Recommendation Systems in banking and Financial ServicesAndrea Gigli
Robot advisory is a hot topic in Banking and Finance nowadays. The quality of any Robot relies on its ability to anticipate the choices of customers and engage them toward action. For this reason, recommendation systems are gaining ground in the banking sector as an alternative or supplementary approach to classical Portfolio Selection models. In this talk, I show how to build recommendation systems in Python using two different ideas, one inspired by graph theory, and the other by word embedding
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...Edureka!
This Edureka "What Is SAS" tutorial will help you get started with SAS. This tutorial will also introduce you to Data Analytics and SAS Programming concepts. Below are the topics covered in this tutorial:
1. Data Analytics
2. Data Analytical Tools
3. Why SAS?
4. What Is SAS?
5. SAS Framework
6. SAS Programming Concepts
7. SAS Applications
Relational Database to Apache Spark (and sometimes back again)Ed Thewlis
We've spent a lot of time using SQL Server. However, we started to struggle against it when we were building our SaaS Product.
This is an overview of where we started from, where we struggled, and some of our conclusions.
Headache from using mathematical softwarePVS-Studio
It so happened that during some period of time I was discussing on the Internet, one would think, different topics: free alternatives of Matlab for universities and students, and finding errors in algorithms with the help of static code analysis. All these discussions were brought together by the terrible quality of the code of modern programs. In particular, it is about quality of software for mathematicians and scientists. Immediately there arises the question of the credibility to the calculations and studies conducted with the help of such programs. We will try to reflect on this topic and look for the errors.
1. Algorithm and characteristics of an algorithm.
2. Rules to be followed for design and analysis of an algorithm.
3. The differentiation of data structures, file structures, and storage structures.
4. Top-down and bottom-up design approaches through examples.
5. Rules to be followed while writing the pseudo code of an algorithm.
6. Abstract data type and its necessity in a program.
Presented by: Joseph Rickert, Data Scientist Community Manager, Revolution Analytics, Sep 25 2014.
Whenever data scientists are asked about what software they use R always comes up at the top of the list. In one recent survey, only SQL was rated higher than R. In this webinar we will explore what makes R so popular and useful. Starting with the big picture, we describe how R is organized and how to find your way around the R world. Then we will work through some examples highlighting features of R that make it attractive for data science work including:
Acquiring data
Data manipulation
Exploratory data analysis
Model building
Machine learning
Recommendation Systems in banking and Financial ServicesAndrea Gigli
Robot advisory is a hot topic in Banking and Finance nowadays. The quality of any Robot relies on its ability to anticipate the choices of customers and engage them toward action. For this reason, recommendation systems are gaining ground in the banking sector as an alternative or supplementary approach to classical Portfolio Selection models. In this talk, I show how to build recommendation systems in Python using two different ideas, one inspired by graph theory, and the other by word embedding
What Is SAS | SAS Tutorial For Beginners | SAS Training | SAS Programming | E...Edureka!
This Edureka "What Is SAS" tutorial will help you get started with SAS. This tutorial will also introduce you to Data Analytics and SAS Programming concepts. Below are the topics covered in this tutorial:
1. Data Analytics
2. Data Analytical Tools
3. Why SAS?
4. What Is SAS?
5. SAS Framework
6. SAS Programming Concepts
7. SAS Applications
Relational Database to Apache Spark (and sometimes back again)Ed Thewlis
We've spent a lot of time using SQL Server. However, we started to struggle against it when we were building our SaaS Product.
This is an overview of where we started from, where we struggled, and some of our conclusions.
Headache from using mathematical softwarePVS-Studio
It so happened that during some period of time I was discussing on the Internet, one would think, different topics: free alternatives of Matlab for universities and students, and finding errors in algorithms with the help of static code analysis. All these discussions were brought together by the terrible quality of the code of modern programs. In particular, it is about quality of software for mathematicians and scientists. Immediately there arises the question of the credibility to the calculations and studies conducted with the help of such programs. We will try to reflect on this topic and look for the errors.
Similar to Lecture13 ie321 dr_atifshahzad -algorithmic thinking (20)
In the ever-evolving landscape of technology, enterprise software development is undergoing a significant transformation. Traditional coding methods are being challenged by innovative no-code solutions, which promise to streamline and democratize the software development process.
This shift is particularly impactful for enterprises, which require robust, scalable, and efficient software to manage their operations. In this article, we will explore the various facets of enterprise software development with no-code solutions, examining their benefits, challenges, and the future potential they hold.
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I didn't get rich from it but it did have 63K downloads (powered possible tens of thousands of websites).
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Enterprise Resource Planning System includes various modules that reduce any business's workload. Additionally, it organizes the workflows, which drives towards enhancing productivity. Here are a detailed explanation of the ERP modules. Going through the points will help you understand how the software is changing the work dynamics.
To know more details here: https://blogs.nyggs.com/nyggs/enterprise-resource-planning-erp-system-modules/
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
GraphSummit Paris - The art of the possible with Graph TechnologyNeo4j
Sudhir Hasbe, Chief Product Officer, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
Launch Your Streaming Platforms in MinutesRoshan Dwivedi
The claim of launching a streaming platform in minutes might be a bit of an exaggeration, but there are services that can significantly streamline the process. Here's a breakdown:
Pros of Speedy Streaming Platform Launch Services:
No coding required: These services often use drag-and-drop interfaces or pre-built templates, eliminating the need for programming knowledge.
Faster setup: Compared to building from scratch, these platforms can get you up and running much quicker.
All-in-one solutions: Many services offer features like content management systems (CMS), video players, and monetization tools, reducing the need for multiple integrations.
Things to Consider:
Limited customization: These platforms may offer less flexibility in design and functionality compared to custom-built solutions.
Scalability: As your audience grows, you might need to upgrade to a more robust platform or encounter limitations with the "quick launch" option.
Features: Carefully evaluate which features are included and if they meet your specific needs (e.g., live streaming, subscription options).
Examples of Services for Launching Streaming Platforms:
Muvi [muvi com]
Uscreen [usencreen tv]
Alternatives to Consider:
Existing Streaming platforms: Platforms like YouTube or Twitch might be suitable for basic streaming needs, though monetization options might be limited.
Custom Development: While more time-consuming, custom development offers the most control and flexibility for your platform.
Overall, launching a streaming platform in minutes might not be entirely realistic, but these services can significantly speed up the process compared to building from scratch. Carefully consider your needs and budget when choosing the best option for you.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
2. 9/27/2018 2
Dr.AtifShahzad
WhatWe have seenLogic
Logical variables
Conditional, Negation, Contrapositive,Biconditional
AND, OR,NOT,XOR
Logic gates
TruthTables
BooleanAlgebra
Examples
Q&A
MicrosoftVisio
Microsoft Project
Spreadsheet Concepts:
Using Microsoft Excel
Creating Charts in Microsoft Excel
Debugging Concepts Using Microsoft Excel
Presentation Concepts Using Microsoft PowerPoint
Image Concepts
Memory
Memory Cell
CPU
Register
Program Counter
Fetch-Execute Cycle
Q&A
File Management
Word Processing Basics Using MicrosoftWord
MicrosoftWord Layout and Graphics Features
Making and using compressed Files
WinZip, 7Zip
Notepad++
Wordpad
Adobe acrobat
Sumatra PDF
MathType
Database
Flat & Relational
Database
DBMS
Tables & Fields
Creating Tables in
Access
Design view and Data
Sheet View
Primary Key &
Foreign key
Relationships & ER
Diagram
Queries &Simple SQL
Cyber Security
Security Problems
Interception
Spoofing
Falsification
Repudiation
Security Technologies
Encryption
MAC
5. 9/27/2018 5
Dr.AtifShahzad
Data Processor Model
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.
~Anon
17. 9/27/2018 17
Dr.AtifShahzad
How is algorithm organized?
Title
Ingredients
Steps
Exceptions
When to stop
Servings
D.A. Clements, UW Inform
ation School
17
20. 9/27/2018 20
Dr.AtifShahzad
Five Ingredients of Algorithm
• Data to be transformed during the computation to produce the output
• Must specify type, amount, and form of dataInput specified
• Data resulting from the computation—intended result
• It is possible to have no outputOutput specified
• Specify the sequence of events
• Details of each step, including how to handle errorsDefiniteness
• The operations are do-ableEffectiveness
• Must eventually stopFiniteness
22. 9/27/2018 22
Dr.AtifShahzad
Computational Problem: Exps
Example 1:
Input: A list of names of people
Output: The same list sorted alphabetically
Example 2:
Input: A picture in digital format
Output: An English description of what the
picture shows
24. 9/27/2018 24
Dr.AtifShahzad
Designing Algorithm
There is no single
recipe for inventing
algorithms
Understand your
problem well – may
require much
mathematical analysis!
Use existing
algorithms
(reduction) or
algorithmic ideas
33. 9/27/2018 33
Dr.AtifShahzad
Task: Complete the worksheet
using the algorithm.Fundamentals of Computer –IE321
Name:Student Name KAUID:########
Complete the table using the algorithm. The first one is done for you.
n sum count Output Time taken
20 0 0
20 20 1
20 40 2
20 60 3 60 1 minute
2
24
2.5
1
0
500
15
34. 9/27/2018 34
Dr.AtifShahzad
aka Structured English is an internal design
that uses
A limited set of words consistently throughout the
design
Indentation to indicate selection and iteration
• More on those later
Goes into greater detail than the algorithm
Pseudo Code
35. 9/27/2018 35
Dr.AtifShahzad
Notice several standards within the pseudo code
Commands (Display, Input) begin with a capital letter
Makes them easy to distinguish
Same commands used consistently
We don’t use:Show msg or Print msg we always use Display
Static text enclosed in double quotes
Pseudo Code
36. 9/27/2018 36
Dr.AtifShahzad
By following standards, the pseudocode is
Easier to understand
Consistency makes things easier to recognize
In real world, traffic light always has
Red light on top
Green light on bottom
Created faster
Designer doesn’t have to think up
words/commands to use
Pseudo Code
37. 9/27/2018 37
Dr.AtifShahzad
Are internal design diagrams that use
Symbols/Shapes to represent the type of
operation to be preformed
Sequential process
Input/output
Decision
Text that further defines the exact operation to be
performed
Arrows to show the order in which the
operations must be performed
Flow Charts (FC)
39. 9/27/2018 39
Dr.AtifShahzad
Input and output operations indicated
with a parallelogram
Sequential processes indicated with a
rectangle
Display
“What’s your
name?”
msg = “Hi ”, name
Flow Charts (FC)
40. 9/27/2018 40
Dr.AtifShahzad
So the FC to define the
program would be:
Display
“What’s your
name?”
Input name
msg = “Hi ”, name
Display msg
Start
Stop
Flow Charts (FC)
41. 9/27/2018 41
Dr.AtifShahzad
Flowchart Symbols
Basic
Oval
Parallelogram
Rectangle
Diamond
Hybrid
Name Symbol Use in Flowchart
Denotes the beginning or end of the program
Denotes an input operation
Denotes an output operation
Denotes a decision (or branch) to be made.
The program should continue along one of
two routes. (e.g. IF/THEN/ELSE)
Denotes a process to be carried out
e.g. addition, subtraction, division etc.
Flow line Denotes the direction of logic flow in the program
48. 9/27/2018 48
Dr.AtifShahzad
Example
PRINT
“PASS”
Step 1: Input M1,M2,M3,M4
Step 2: GRADE ← (M1+M2+M3+M4)/4
Step 3: if (GRADE <50) then
Print “FAIL”
else
Print “PASS”
endif
START
Input
M1,M2,M3,M4
GRADE←(M1+M2+M3+M4)/4
IS
GRADE<50
PRINT
“FAIL”
STOP
YN
49. 9/27/2018 49
Dr.AtifShahzad
Example 2
Write an algorithm and draw a flowchart to
convert the length in feet to centimeter.
Pseudocode:
Input the length in feet (Lft)
Calculate the length in cm (Lcm) by multiplying
LFT with 30
Print length in cm (LCM)
51. 9/27/2018 51
Dr.AtifShahzad
Example 3
Write an algorithm and draw a flowchart that
will read the two sides of a rectangle and
calculate its area.
Pseudocode
Input the width (W) and Length (L) of a rectangle
Calculate the area (A) by multiplying L with W
Print A
53. 9/27/2018 53
Dr.AtifShahzad
Example 4
Write an algorithm and draw a flowchart that will
calculate the roots of a quadratic equation
Hint: d = sqrt ( ),
and the roots are:
x1 = (–b + d)/2a and
x2 = (–b – d)/2a
2
0ax bx c+ + =
2
4b ac−
55. 9/27/2018 55
Dr.AtifShahzad
Example 4
Algorithm:
Step 1: Input a, b, c
Step 2: d ← sqrt ( )
Step 3: x1 ← (–b + d) / (2 x a)
Step 4: x2 ← (–b – d) / (2 x a)
Step 5: Print x1, x2
START
Input
a, b, c
d ← sqrt(b x b – 4 x a x c)
Print
x1 ,x2
STOP
x1 ←(–b + d) / (2 x a)
X2 ← (–b – d) / (2 x a)
4b b a c× − × ×
56. 9/27/2018 56
Dr.AtifShahzad
DECISION STRUCTURES
The expression A>B is a logical expression
it describes a condition we want to test
if A>B is true (if A is greater than B)we take the
action on left
print the value of A
if A>B is false (if A is not greater than B)we take
the action on right
print the value of B
61. 9/27/2018 61
Dr.AtifShahzad
Example 5
Write an algorithm that reads two values, determines the
largest value and prints the largest value with an identifying
message.
ALGORITHM
Step 1: InputVALUE1,VALUE2
Step 2: if (VALUE1 >VALUE2) then
MAX ←VALUE1
else
MAX ←VALUE2
endif
Step 3: Print“The largest value is”,MAX
65. 9/27/2018 65
Dr.AtifShahzad
Example 6
Step 1: Input N1, N2, N3
Step 2: if (N1>N2) then
if (N1>N3) then
MAX ← N1 [N1>N2, N1>N3]
else
MAX ← N3 [N3>N1>N2]
endif
else
if (N2>N3) then
MAX ← N2 [N2>N1, N2>N3]
else
MAX ← N3 [N3>N2>N1]
endif
endif
Step 3: Print“The largest number is”,MAX
67. 9/27/2018 67
Dr.AtifShahzad
Example 7
Write and algorithm and draw a flowchart to
a) read an employee name (NAME), overtime hours
worked (OVERTIME), hours absent (ABSENT)
and
b) determine the bonus payment (PAYMENT).
68. 9/27/2018 68
Dr.AtifShahzad
Example 7
Bonus Schedule
OVERTIME – (2/3)*ABSENT Bonus Paid
>40 hours
>30 but ≤ 40 hours
>20 but ≤ 30 hours
>10 but ≤ 20 hours
≤ 10 hours
$50
$40
$30
$20
$10
69. 9/27/2018 69
Dr.AtifShahzad
Step 1: Input NAME,OVERTIME,ABSENT
Step 2: if (OVERTIME–(2/3)*ABSENT > 40) then
PAYMENT ← 50
else if (OVERTIME–(2/3)*ABSENT > 30) then
PAYMENT ← 40
else if (OVERTIME–(2/3)*ABSENT > 20) then
PAYMENT ← 30
else if (OVERTIME–(2/3)*ABSENT > 10) then
PAYMENT ←20
else
PAYMENT ← 10
endif
Step 3: Print “Bonus for”, NAME “is $”, PAYMENT
73. 9/27/2018 73
Dr.AtifShahzad
Help the designer generate the diagrams
GUI to drag and drop symbols
Automatically generate start/stop symbols
Based on FC, may create pseudo code or
source code
Flow Charts Tools
74. 9/27/2018 74
Dr.AtifShahzad
Structured Flow Chart
editor (SFC) is free
software to create and
modify flow charts
Flowgorithm and
Raptor are flow chart
editors and executers
Flow Charts Tools
80. 9/27/2018 80
Dr.AtifShahzad
Here’s a link to a video (6 mins) on using SFC
http://web.fscj.edu/Janson/COP1000/FirstProgram.mov
Often further options
You must be consistent!
81. 9/27/2018 81
Dr.AtifShahzad
Flowgorithm Flowcharts
Doesn't have modules, has functions
Creating the main method is standard
Create new flow chart (File, New)
Flowgorithm puts “”Main” text in Start oval and
"End" text in the Finish oval
Add I/O symbols and text to display
then double click on arrow between I/O
symbols…
81
90. 9/27/2018 90
Dr.AtifShahzad90
Flowgorithm Method Definition
showCustAddress FC
created and displayed
Simply add symbols to
showCustAddress
To display Functions cl
ick drop down arrow a
nd select
93. 9/27/2018 93
Dr.AtifShahzad
Sample 1: Write a program that calculates the
sum of two input numbers and display the result.
Sample 2: Write a program to calculate the area
of a circle and display the result. Use the
formula:A=πr 2 where Pi is approximately equal
to 3.1416.
Sample 3: Write a program that computes the
average of three input quizzes, and then display
the result.
Flow Charts (FC)
94. 9/27/2018 94
Dr.AtifShahzad
Sample 4: Write a program that converts the
input Fahrenheit degree into its Celsius degree
equivalent. Use the formula: C= (5/9)*F-32.
Sample 5: Create a program to compute the
volume of a sphere. Use the formula:V= (4/3)*
πr 3 where is pi equal to 3.1416 approximately.
The r 3 is the radius. Display result.
Sample 6: Write a program that converts the
input Celsius degree into its
equivalent Fahrenheit degree. Use the formula:
F= (9/5) * C+32.
Flow Charts (FC)
95. 9/27/2018 95
Dr.AtifShahzad
Graphical User Interfaces (GUI)
• Which you are all familiar with
• Use mouse to tell program what to do
• Click buttons, choose list options, enter data
into text boxes
Command Line Interface (CLI)
• Enter English-like commands and data to tell
the computer to do stuff
User Interface
96. 9/27/2018 96
Dr.AtifShahzad
Run the application program (java OilCalc)
Enter info at command prompt (250), press the Enter key
Program displays the result
Windows Command Prompt
103. 9/27/2018 103
Dr.AtifShahzad
LetterGrade
Input: One number
1. if (the number is between 90 and 100, inclusiv
e)
then
1.1 Set the grade to “A”
End if
2. if (the number is between 80 and 89, inclusive)
then
2.1 Set the grade to “B”
End if Continues on the next slide
Solution
104. 9/27/2018 104
Dr.AtifShahzad
3. if (the number is between 70 and 79, inclusive)
then
3.1 Set the grade to “C”
End if
4. if (the number is between 60 and 69, inclusive)
then
4.1 Set the grade to “D”
End if
Letter grade (continued)
Continues on the next slide
105. 9/27/2018 105
Dr.AtifShahzad
5. If (the number is less than 60)
then
5.1 Set the grade to “F”
End if
6. Return the grade
End
Letter grade (continued)
107. 9/27/2018 107
Dr.AtifShahzad
FindLargest
Input: A list of positive integers
1. Set Largest to 0
2. while (more integers)
2.1 if (the integer is greater than Largest)
then
2.1.1 Set largest to the value of the integer
End if
End while
3. Return Largest
End
Find largestSolution
109. 9/27/2018 109
Dr.AtifShahzad
FindLargest
Input: 1000 positive integers
1. Set Largest to 0
2. Set Counter to 0
3. while (Counter less than 1000)
3.1 if (the integer is greater than Largest)
then
3.1.1 Set Largest to the value of the integer
End if
3.2 Increment Counter
End while
4. Return Largest
End
Algorithm 8.5: Find largest of 1000 numbers
113. 9/27/2018 113
Dr.AtifShahzad
FindLargest
Input: A list of positive integers
1. Set Largest to 0
2. while (more integers)
2.1 FindLarger
End while
3. Return Largest
End
Algorithm 8.6: Find largest
136. 9/27/2018 136
Dr.AtifShahzad
Factorial
Input: A positive integer num
1. Set FactN to 1
2. Set i to 1
3. while (i is less than or equal to num)
3.1 Set FactN to FactN x I
3.2 Increment i
End while
4. Return FactN
End
Algorithm 8.7: Iterative factorial
137. 9/27/2018 137
Dr.AtifShahzad
Factorial
Input: A positive integer num
1. if (num is equal to 0)
then
1.1 return 1
else
1.2 return num x Factorial (num – 1)
End if
End
Algorithm 8.8: Recursive factorial
140. 9/27/2018 140
Dr.AtifShahzad
Have a vision of computer language evolution.
Distinguish between machine, assembly, and high-level
languages.
Understand the process of creating and running a program.
After reading this chapter,the reader should
be able to:
OBJECTIVES
Distinguish between the different categories of languages:
procedural, object-oriented, functional, declarative, and special.
Become familiar with elements of the procedural language C.
146. 9/27/2018 146
Dr.AtifShahzad
/* This program reads two integer numbers from the
keyboard and prints their product.
*/
#include <iostream.h>
int main (void)
{
// Local Declarations
int number1;
int number2;
int result;
// Statements
cin >> number1;
cin >> number2;
result = number1 * number2;
cout << result;
return 0;
} // main
Program 9.3 Program in C++ language
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
160. 9/27/2018 160
Dr.AtifShahzad
Table 9.3 Relational operators
Example
----------------------
Num1 < 5
Num1 <= 5
Num2 > 3
Num2 >= 3
Num1 == Num2
Num1 != Num2
Operator
----------------
<
<=
>
>=
==
!=
Definition
----------------
Less than
Less than or equal to
Greater than
Greater than or equal to
Equal to
Not equal to
162. 9/27/2018 162
Dr.AtifShahzad
Table 9.5 Assignment operators
Meaning
----------------------
Store 5 in Num
Num = Num + 5
Num = Num − 5
Num = Num * 5
Num = Num / 5
Num = Num % 5
Operator
----------------
==
+=
−=
*=
/=
%=
Example
----------------
Num = 5
Num += 5
Num −= 5
Num *= 5
Num /= 5
Num %= 5