SlideShare a Scribd company logo
Introduction to
Software
Engineering
CONTENTS OF THIS COURSE
Here’s what you’ll find in this LECTURE1:
 Functions
 Data type.
 Numeral System.
 Variables.
 Visualize code using Visualizer.
Lecture 1
“Let’s make the world a
better place”
Functions
• You can think of function as a black box take an input and
produce an output and it’s not important to know what is
the algorithm inside of it , just enough to know how you can
use and what is their function.
Hello,World
Functions
Data types
• Fixed values such as numbers, letters, and strings are called
“constants”
• String constants use single quotes (') or double quotes (")
Data types
• Numerical Data int, float, double.
• Textual Data string, char.
• Bolean Data true, false.
Some common Compiler errors
• Forgetting the semicolon ;
• Forgetting to one the curly braces of the main function { }
• Forgetting the “ “ in a string.
Some common Compiler errors
 performs calculations
a billion calculations per second! two operations in same
time light travels 1 foot.
 Remembers results
100s of gigabytes of storage!
typical machine could hold 1.5M books of standard size
Variables
Variables
• You can think of variable as a little box or a container to
store data in the memory of the computer and later
retrieve the data using the variable “name”
• Programmers get to choose the names of the variables
• You can change the contents of a variable in a later
statement
Variables
Rules for naming variables in C++
 The first character of the name must be a letter or an underscore.
 Only letters, digits, or underscores can follow the first letter. Blank
spaces aren’t allowed; separate words in a multiple-word identifier
are indicated by capitalizing the first letter of one or more of the
words. (Although underscores can also be used for this purpose,
they are increasingly being used only for compiler-dependent
identifiers.)
 An identifier name can’t be one of the keywords listed in Table 1.1.
(A keyword is a word the language sets aside for a special purpose
and can be used only in a specified manner. 4 )
 The maximum number of characters in an identifier is 1024.
Rules for naming variables in C++
Wrong Naming examples
 3number ●
 total salary ●
 private
Variables
Variables
Variables
Variables
Variables
Arian 5 the worst bug disaster
On June 4th, 1996, the very first Ariane 5 rocket ignited its
engines and began speeding away from the coast of French
Guiana. 37 seconds later, the rocket flipped 90 degrees in
the wrong direction, and less than two seconds later,
aerodynamic forces ripped the boosters apart from the
main stage at a height of 4km.
Arian 5 the worst bug disaster
On June 4th, 1996, the very first Ariane 5 rocket ignited its
engines and began speeding away from the coast of French
Guiana. 37 seconds later, the rocket flipped 90 degrees in
the wrong direction, and less than two seconds later,
aerodynamic forces ripped the boosters apart from the
main stage at a height of 4km.
More Variables
Comments in C++
Comments in C++ begin with // character and continue to the end of the line.
Because comments do not execute, when you run a program you will not see
any indication of the comment there. Comments are in the source code for
humans to read, not for computers to execute.
More Variables
Constant Value
● Constant values can not be overwritten.
● You must assign a value to it.
Numeric Expressions
Operation
Operator
Addition
+
Subtraction
-
Multiplication
*
Division
/
Remainder
%
Escape Sequence
User Input
C++ has an input function which lets you ask
a user for some text input
Input / Output in C++
cout (Console Output)
cin (Console Input)
Conditions
C++ uses boolean logic to evaluate conditions. The boolean
values True and False are returned when an expression is
compared or evaluated.
Conditions
Conditions
C++ uses boolean logic to evaluate conditions. The boolean
values True and False are returned when an expression is
compared or evaluated.
Conditions
C++ uses boolean logic to evaluate conditions. The boolean
values True and False are returned when an expression is
compared or evaluated.
Conditions-Logic Gates
A Logic gate is a kind of the basic building block of a digital
circuit having two inputs and one output. ... Logic gates are
used to carry out the logical operations on single or
multiple binary inputs and result in one binary output. In
simple words, logic gates are the electronic circuits in a
digital system.
Conditions-Logic Gates
Bitwise Operator
Precision in floating point in CPP
 floor(), ceil(), round(), setprecision()
Loop
Python has two primitive loop commands:
1.while loops
2.for loops
Loop
 C++ has two primitive loop commands:
while loops
Loop
 C++ has two primitive loop commands:
for loops
Break and continue
Do- while
Function
How can we create a glass box.

More Related Content

What's hot

Fundamentals of Python Programming
Fundamentals of Python ProgrammingFundamentals of Python Programming
Fundamentals of Python Programming
Kamal Acharya
 
Learn Python The Hard Way Presentation
Learn Python The Hard Way PresentationLearn Python The Hard Way Presentation
Learn Python The Hard Way Presentation
Amira ElSharkawy
 
Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)
IoT Code Lab
 
Python-01| Fundamentals
Python-01| FundamentalsPython-01| Fundamentals
Python-01| Fundamentals
Mohd Sajjad
 
Introduction To Programming with Python
Introduction To Programming with PythonIntroduction To Programming with Python
Introduction To Programming with Python
Sushant Mane
 
Python
PythonPython
Python by Rj
Python by RjPython by Rj
Python programming msc(cs)
Python programming msc(cs)Python programming msc(cs)
Python programming msc(cs)
KALAISELVI P
 
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYAChapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Maulik Borsaniya
 
Python revision tour i
Python revision tour iPython revision tour i
Python revision tour i
Mr. Vikram Singh Slathia
 
Chapter 9 python fundamentals
Chapter 9 python fundamentalsChapter 9 python fundamentals
Chapter 9 python fundamentals
Praveen M Jigajinni
 
Python second ppt
Python second pptPython second ppt
Python second ppt
RaginiJain21
 
What is Python? An overview of Python for science.
What is Python? An overview of Python for science.What is Python? An overview of Python for science.
What is Python? An overview of Python for science.
Nicholas Pringle
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
MaheshPandit16
 
Python training
Python trainingPython training
Python training
Kunalchauhan76
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
Srinivas Narasegouda
 
Python Tutorial
Python TutorialPython Tutorial
Python Tutorial
AkramWaseem
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning
ParrotAI
 
Let’s Learn Python An introduction to Python
Let’s Learn Python An introduction to Python Let’s Learn Python An introduction to Python
Let’s Learn Python An introduction to Python
Jaganadh Gopinadhan
 
python.ppt
python.pptpython.ppt
python.ppt
shreyas_test_1234
 

What's hot (20)

Fundamentals of Python Programming
Fundamentals of Python ProgrammingFundamentals of Python Programming
Fundamentals of Python Programming
 
Learn Python The Hard Way Presentation
Learn Python The Hard Way PresentationLearn Python The Hard Way Presentation
Learn Python The Hard Way Presentation
 
Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)Chapter 0 Python Overview (Python Programming Lecture)
Chapter 0 Python Overview (Python Programming Lecture)
 
Python-01| Fundamentals
Python-01| FundamentalsPython-01| Fundamentals
Python-01| Fundamentals
 
Introduction To Programming with Python
Introduction To Programming with PythonIntroduction To Programming with Python
Introduction To Programming with Python
 
Python
PythonPython
Python
 
Python by Rj
Python by RjPython by Rj
Python by Rj
 
Python programming msc(cs)
Python programming msc(cs)Python programming msc(cs)
Python programming msc(cs)
 
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYAChapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
Chapter 1 - INTRODUCTION TO PYTHON -MAULIK BORSANIYA
 
Python revision tour i
Python revision tour iPython revision tour i
Python revision tour i
 
Chapter 9 python fundamentals
Chapter 9 python fundamentalsChapter 9 python fundamentals
Chapter 9 python fundamentals
 
Python second ppt
Python second pptPython second ppt
Python second ppt
 
What is Python? An overview of Python for science.
What is Python? An overview of Python for science.What is Python? An overview of Python for science.
What is Python? An overview of Python for science.
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Python training
Python trainingPython training
Python training
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Python Tutorial
Python TutorialPython Tutorial
Python Tutorial
 
Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning Introduction to Python for Data Science and Machine Learning
Introduction to Python for Data Science and Machine Learning
 
Let’s Learn Python An introduction to Python
Let’s Learn Python An introduction to Python Let’s Learn Python An introduction to Python
Let’s Learn Python An introduction to Python
 
python.ppt
python.pptpython.ppt
python.ppt
 

Similar to Introduction to Structure Programming with C++

Introduction to Software Engineering with C++
Introduction to Software Engineering  with C++Introduction to Software Engineering  with C++
Introduction to Software Engineering with C++
Mohamed Essam
 
C++ Made simple .pptx
C++ Made simple .pptxC++ Made simple .pptx
C++ Made simple .pptx
Mohamed Essam
 
C++ lecture 01
C++   lecture 01C++   lecture 01
C++ lecture 01
HNDE Labuduwa Galle
 
Unit 1 c - all topics
Unit 1   c - all topicsUnit 1   c - all topics
Unit 1 c - all topics
veningstonk
 
The GO programming language
The GO programming languageThe GO programming language
The GO programming language
Marco Sabatini
 
#Code2 create c++ for beginners
#Code2 create  c++ for beginners #Code2 create  c++ for beginners
#Code2 create c++ for beginners
GDGKuwaitGoogleDevel
 
Chap 2 c++
Chap 2 c++Chap 2 c++
Chap 2 c++
Widad Jamaluddin
 
Aspdot
AspdotAspdot
C program
C programC program
C program
AJAL A J
 
(4) cpp automatic arrays_pointers_c-strings_exercises
(4) cpp automatic arrays_pointers_c-strings_exercises(4) cpp automatic arrays_pointers_c-strings_exercises
(4) cpp automatic arrays_pointers_c-strings_exercises
Nico Ludwig
 
CSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdfCSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdf
ssusera0bb35
 
Clean Code
Clean CodeClean Code
Clean Code
Dmytro Turskyi
 
C –FAQ:
C –FAQ:C –FAQ:
Lec-1c.pdf
Lec-1c.pdfLec-1c.pdf
Lec-1c.pdf
Ritikchaudhary72
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
Sangharsh agarwal
 
Glimpses of C++0x
Glimpses of C++0xGlimpses of C++0x
Glimpses of C++0x
ppd1961
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2
Tekendra Nath Yogi
 
Lecture 2 variables
Lecture 2 variablesLecture 2 variables
Lecture 2 variables
Tony Apreku
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
AhsanAli64749
 
The smartpath information systems c pro
The smartpath information systems c proThe smartpath information systems c pro
The smartpath information systems c pro
The Smartpath Information Systems,Bhilai,Durg,Chhattisgarh.
 

Similar to Introduction to Structure Programming with C++ (20)

Introduction to Software Engineering with C++
Introduction to Software Engineering  with C++Introduction to Software Engineering  with C++
Introduction to Software Engineering with C++
 
C++ Made simple .pptx
C++ Made simple .pptxC++ Made simple .pptx
C++ Made simple .pptx
 
C++ lecture 01
C++   lecture 01C++   lecture 01
C++ lecture 01
 
Unit 1 c - all topics
Unit 1   c - all topicsUnit 1   c - all topics
Unit 1 c - all topics
 
The GO programming language
The GO programming languageThe GO programming language
The GO programming language
 
#Code2 create c++ for beginners
#Code2 create  c++ for beginners #Code2 create  c++ for beginners
#Code2 create c++ for beginners
 
Chap 2 c++
Chap 2 c++Chap 2 c++
Chap 2 c++
 
Aspdot
AspdotAspdot
Aspdot
 
C program
C programC program
C program
 
(4) cpp automatic arrays_pointers_c-strings_exercises
(4) cpp automatic arrays_pointers_c-strings_exercises(4) cpp automatic arrays_pointers_c-strings_exercises
(4) cpp automatic arrays_pointers_c-strings_exercises
 
CSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdfCSharpCheatSheetV1.pdf
CSharpCheatSheetV1.pdf
 
Clean Code
Clean CodeClean Code
Clean Code
 
C –FAQ:
C –FAQ:C –FAQ:
C –FAQ:
 
Lec-1c.pdf
Lec-1c.pdfLec-1c.pdf
Lec-1c.pdf
 
Introduction Of C++
Introduction Of C++Introduction Of C++
Introduction Of C++
 
Glimpses of C++0x
Glimpses of C++0xGlimpses of C++0x
Glimpses of C++0x
 
B.sc CSIT 2nd semester C++ Unit2
B.sc CSIT  2nd semester C++ Unit2B.sc CSIT  2nd semester C++ Unit2
B.sc CSIT 2nd semester C++ Unit2
 
Lecture 2 variables
Lecture 2 variablesLecture 2 variables
Lecture 2 variables
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
 
The smartpath information systems c pro
The smartpath information systems c proThe smartpath information systems c pro
The smartpath information systems c pro
 

More from Mohamed Essam

Data Science Crash course
Data Science Crash courseData Science Crash course
Data Science Crash course
Mohamed Essam
 
2.Feature Extraction
2.Feature Extraction2.Feature Extraction
2.Feature Extraction
Mohamed Essam
 
Data Science
Data ScienceData Science
Data Science
Mohamed Essam
 
Introduction to Robotics.pptx
Introduction to Robotics.pptxIntroduction to Robotics.pptx
Introduction to Robotics.pptx
Mohamed Essam
 
Introduction_to_Gui_with_tkinter.pptx
Introduction_to_Gui_with_tkinter.pptxIntroduction_to_Gui_with_tkinter.pptx
Introduction_to_Gui_with_tkinter.pptx
Mohamed Essam
 
Getting_Started_with_DL_in_Keras.pptx
Getting_Started_with_DL_in_Keras.pptxGetting_Started_with_DL_in_Keras.pptx
Getting_Started_with_DL_in_Keras.pptx
Mohamed Essam
 
Linear_algebra.pptx
Linear_algebra.pptxLinear_algebra.pptx
Linear_algebra.pptx
Mohamed Essam
 
Let_s_Dive_to_Deep_Learning.pptx
Let_s_Dive_to_Deep_Learning.pptxLet_s_Dive_to_Deep_Learning.pptx
Let_s_Dive_to_Deep_Learning.pptx
Mohamed Essam
 
OOP-Advanced_Programming.pptx
OOP-Advanced_Programming.pptxOOP-Advanced_Programming.pptx
OOP-Advanced_Programming.pptx
Mohamed Essam
 
1.Basic_Syntax
1.Basic_Syntax1.Basic_Syntax
1.Basic_Syntax
Mohamed Essam
 
KNN.pptx
KNN.pptxKNN.pptx
KNN.pptx
Mohamed Essam
 
Regularization_BY_MOHAMED_ESSAM.pptx
Regularization_BY_MOHAMED_ESSAM.pptxRegularization_BY_MOHAMED_ESSAM.pptx
Regularization_BY_MOHAMED_ESSAM.pptx
Mohamed Essam
 
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
Mohamed Essam
 
Clean_Code
Clean_CodeClean_Code
Clean_Code
Mohamed Essam
 
Linear_Regression
Linear_RegressionLinear_Regression
Linear_Regression
Mohamed Essam
 
2.Data_Strucures_and_modules.pptx
2.Data_Strucures_and_modules.pptx2.Data_Strucures_and_modules.pptx
2.Data_Strucures_and_modules.pptx
Mohamed Essam
 
Naieve_Bayee.pptx
Naieve_Bayee.pptxNaieve_Bayee.pptx
Naieve_Bayee.pptx
Mohamed Essam
 
Activation_function.pptx
Activation_function.pptxActivation_function.pptx
Activation_function.pptx
Mohamed Essam
 
Deep_Learning_Frameworks
Deep_Learning_FrameworksDeep_Learning_Frameworks
Deep_Learning_Frameworks
Mohamed Essam
 
Neural_Network
Neural_NetworkNeural_Network
Neural_Network
Mohamed Essam
 

More from Mohamed Essam (20)

Data Science Crash course
Data Science Crash courseData Science Crash course
Data Science Crash course
 
2.Feature Extraction
2.Feature Extraction2.Feature Extraction
2.Feature Extraction
 
Data Science
Data ScienceData Science
Data Science
 
Introduction to Robotics.pptx
Introduction to Robotics.pptxIntroduction to Robotics.pptx
Introduction to Robotics.pptx
 
Introduction_to_Gui_with_tkinter.pptx
Introduction_to_Gui_with_tkinter.pptxIntroduction_to_Gui_with_tkinter.pptx
Introduction_to_Gui_with_tkinter.pptx
 
Getting_Started_with_DL_in_Keras.pptx
Getting_Started_with_DL_in_Keras.pptxGetting_Started_with_DL_in_Keras.pptx
Getting_Started_with_DL_in_Keras.pptx
 
Linear_algebra.pptx
Linear_algebra.pptxLinear_algebra.pptx
Linear_algebra.pptx
 
Let_s_Dive_to_Deep_Learning.pptx
Let_s_Dive_to_Deep_Learning.pptxLet_s_Dive_to_Deep_Learning.pptx
Let_s_Dive_to_Deep_Learning.pptx
 
OOP-Advanced_Programming.pptx
OOP-Advanced_Programming.pptxOOP-Advanced_Programming.pptx
OOP-Advanced_Programming.pptx
 
1.Basic_Syntax
1.Basic_Syntax1.Basic_Syntax
1.Basic_Syntax
 
KNN.pptx
KNN.pptxKNN.pptx
KNN.pptx
 
Regularization_BY_MOHAMED_ESSAM.pptx
Regularization_BY_MOHAMED_ESSAM.pptxRegularization_BY_MOHAMED_ESSAM.pptx
Regularization_BY_MOHAMED_ESSAM.pptx
 
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
1.What_if_Adham_Nour_tried_to_make_a_Machine_Learning_Model_at_Home.pptx
 
Clean_Code
Clean_CodeClean_Code
Clean_Code
 
Linear_Regression
Linear_RegressionLinear_Regression
Linear_Regression
 
2.Data_Strucures_and_modules.pptx
2.Data_Strucures_and_modules.pptx2.Data_Strucures_and_modules.pptx
2.Data_Strucures_and_modules.pptx
 
Naieve_Bayee.pptx
Naieve_Bayee.pptxNaieve_Bayee.pptx
Naieve_Bayee.pptx
 
Activation_function.pptx
Activation_function.pptxActivation_function.pptx
Activation_function.pptx
 
Deep_Learning_Frameworks
Deep_Learning_FrameworksDeep_Learning_Frameworks
Deep_Learning_Frameworks
 
Neural_Network
Neural_NetworkNeural_Network
Neural_Network
 

Recently uploaded

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 

Recently uploaded (20)

TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 

Introduction to Structure Programming with C++

  • 2. CONTENTS OF THIS COURSE Here’s what you’ll find in this LECTURE1:  Functions  Data type.  Numeral System.  Variables.  Visualize code using Visualizer.
  • 4. “Let’s make the world a better place”
  • 5. Functions • You can think of function as a black box take an input and produce an output and it’s not important to know what is the algorithm inside of it , just enough to know how you can use and what is their function. Hello,World
  • 7. Data types • Fixed values such as numbers, letters, and strings are called “constants” • String constants use single quotes (') or double quotes (")
  • 8. Data types • Numerical Data int, float, double. • Textual Data string, char. • Bolean Data true, false.
  • 9. Some common Compiler errors • Forgetting the semicolon ; • Forgetting to one the curly braces of the main function { } • Forgetting the “ “ in a string.
  • 10. Some common Compiler errors  performs calculations a billion calculations per second! two operations in same time light travels 1 foot.  Remembers results 100s of gigabytes of storage! typical machine could hold 1.5M books of standard size
  • 12. Variables • You can think of variable as a little box or a container to store data in the memory of the computer and later retrieve the data using the variable “name” • Programmers get to choose the names of the variables • You can change the contents of a variable in a later statement
  • 14. Rules for naming variables in C++  The first character of the name must be a letter or an underscore.  Only letters, digits, or underscores can follow the first letter. Blank spaces aren’t allowed; separate words in a multiple-word identifier are indicated by capitalizing the first letter of one or more of the words. (Although underscores can also be used for this purpose, they are increasingly being used only for compiler-dependent identifiers.)  An identifier name can’t be one of the keywords listed in Table 1.1. (A keyword is a word the language sets aside for a special purpose and can be used only in a specified manner. 4 )  The maximum number of characters in an identifier is 1024.
  • 15. Rules for naming variables in C++
  • 16. Wrong Naming examples  3number ●  total salary ●  private
  • 22. Arian 5 the worst bug disaster On June 4th, 1996, the very first Ariane 5 rocket ignited its engines and began speeding away from the coast of French Guiana. 37 seconds later, the rocket flipped 90 degrees in the wrong direction, and less than two seconds later, aerodynamic forces ripped the boosters apart from the main stage at a height of 4km.
  • 23. Arian 5 the worst bug disaster On June 4th, 1996, the very first Ariane 5 rocket ignited its engines and began speeding away from the coast of French Guiana. 37 seconds later, the rocket flipped 90 degrees in the wrong direction, and less than two seconds later, aerodynamic forces ripped the boosters apart from the main stage at a height of 4km.
  • 25. Comments in C++ Comments in C++ begin with // character and continue to the end of the line. Because comments do not execute, when you run a program you will not see any indication of the comment there. Comments are in the source code for humans to read, not for computers to execute.
  • 27. Constant Value ● Constant values can not be overwritten. ● You must assign a value to it.
  • 30. User Input C++ has an input function which lets you ask a user for some text input
  • 31. Input / Output in C++ cout (Console Output) cin (Console Input)
  • 32. Conditions C++ uses boolean logic to evaluate conditions. The boolean values True and False are returned when an expression is compared or evaluated.
  • 34. Conditions C++ uses boolean logic to evaluate conditions. The boolean values True and False are returned when an expression is compared or evaluated.
  • 35. Conditions C++ uses boolean logic to evaluate conditions. The boolean values True and False are returned when an expression is compared or evaluated.
  • 36. Conditions-Logic Gates A Logic gate is a kind of the basic building block of a digital circuit having two inputs and one output. ... Logic gates are used to carry out the logical operations on single or multiple binary inputs and result in one binary output. In simple words, logic gates are the electronic circuits in a digital system.
  • 39. Precision in floating point in CPP  floor(), ceil(), round(), setprecision()
  • 40. Loop Python has two primitive loop commands: 1.while loops 2.for loops
  • 41. Loop  C++ has two primitive loop commands: while loops
  • 42. Loop  C++ has two primitive loop commands: for loops
  • 45. Function How can we create a glass box.

Editor's Notes

  1. Example of the doctors that has no idea about problem solving.
  2. Example of the doctors that has no idea about problem solving.
  3. Example of the doctors that has no idea about problem solving.
  4. Example of the doctors that has no idea about problem solving.
  5. Example of the doctors that has no idea about problem solving.
  6. Example of the doctors that has no idea about problem solving.
  7. Example of the doctors that has no idea about problem solving.
  8. Example of the doctors that has no idea about problem solving.
  9. Example of the doctors that has no idea about problem solving.
  10. Example of the doctors that has no idea about problem solving.
  11. Example of the doctors that has no idea about problem solving.
  12. Example of the doctors that has no idea about problem solving.
  13. Example of the doctors that has no idea about problem solving.
  14. Example of the doctors that has no idea about problem solving.
  15. Example of the doctors that has no idea about problem solving.
  16. Example of the doctors that has no idea about problem solving.
  17. Example of the doctors that has no idea about problem solving.
  18. Example of the doctors that has no idea about problem solving.
  19. Example of the doctors that has no idea about problem solving.
  20. Example of the doctors that has no idea about problem solving.
  21. Example of the doctors that has no idea about problem solving.
  22. Example of the doctors that has no idea about problem solving.
  23. Example of the doctors that has no idea about problem solving.
  24. Example of the doctors that has no idea about problem solving.
  25. Example of the doctors that has no idea about problem solving.
  26. Example of the doctors that has no idea about problem solving.
  27. Example of the doctors that has no idea about problem solving.
  28. Example of the doctors that has no idea about problem solving.
  29. Example of the doctors that has no idea about problem solving.
  30. Example of the doctors that has no idea about problem solving.
  31. Example of the doctors that has no idea about problem solving.
  32. Example of the doctors that has no idea about problem solving.
  33. Example of the doctors that has no idea about problem solving.
  34. Example of the doctors that has no idea about problem solving.
  35. Example of the doctors that has no idea about problem solving.
  36. Example of the doctors that has no idea about problem solving.
  37. Example of the doctors that has no idea about problem solving.
  38. Example of the doctors that has no idea about problem solving.
  39. Example of the doctors that has no idea about problem solving.
  40. Example of the doctors that has no idea about problem solving.
  41. Example of the doctors that has no idea about problem solving.