Week01 Intro to Programming Language 2025
Week01 Intro to Programming Language 2025
Compiled Executable
Programmer file (*.exe)
writes program & debug
Introduction to Computer
Understanding Software Programming
• Some tasks are complex
• Requires creative thought
• Requires human touch
• Some tasks are candidates for
automation
• Works with electronic information
• Repetitive
• Follows a series of clear steps
Introduction to Computer
The importance of Programming
• A career in programming offers
• Plentiful jobs
• Strong salaries
• Telecommuting is often easy to arrange
• Computer programs exist for many
tasks
• Programming necessary when no
existing software for task
Introduction to Computer
The importance of Programming
Add features
that support
personal
needs
Successfully Create
complete miniprograms
projects (macros)
Basic
knowledge of
programming
• Assembly language
LOAD rate
MULT hour
STOR salary
The Output
Programming Language: The Need of Programming
Language
• A computer understands a program only if the program is
coded in its machine language.
• Thus, programming language need to be converted to
machine language (executable file)
Programming Language: Running a C++ File
From High Level Program to Executable Code
1) Programmer create and edit text file containing
the program (source code) with a text editor and
save it into file (source file)
2) Run
o preprocessor to process the preprocessor
directives (begin with #).
o compiler to:
• Check that the program obeys the rules
• Translate into machine language (object code)
o linker to connect hardware-specific code to
machine instructions, producing an executable
code.
3) Loader : Loads executable file into main memory
4) Execution : Execute the program
Programming Language: Running a C++ File
From High Level Program to Executable Code
Programming Language: Running a C++ File
Flow of Information During Program Execution
Programming Application: Integrated Development
Environment (IDE)
• Programming application refers to a software tool or
environment used to write, test, debug, and manage
programs or applications.
• An integrated development environment, or IDE, combine all
the tools needed to write, compile, and debug a program
into a single software application.
• Examples are Code Blocks, Microsoft Visual C, Borland C
Builder, CodeWarrior, BloodShed DevC++, etc.
IDE: Code Blocks
IDE: Online (programiz)
IDE: Online (onlinegdb)
REFERENCES
1) Aminatul Solehah Idris, Jasrul Nizam Ghazali, Mohamad Norzamani Sahroni, Muhd Eizan
Shafiq Abdul Aziz, Noorazida Mohd Idris, Norzaidah Md Noh, Nurhilyana Anuar, Raudzatul
Fathiyah Mohd Said, Teh Faradilla Abdul Rahman, Zakiah Noh, Zamri Abu Bakar,
Practical C++ for Beginners, 1st, Djuta Dallek Enterprise, 2025, ISBN: 978-629-95317
2) Paul Dietel, Harvey Dietel, C How to Program, 7, Pearson, 2013, ISBN: 9780273776840
3) H. H. Tan, T.B D'Orazio, S.H Or, & Marian M.Y. Choy, C Programming, McGraw Hill, 2012,
ISBN: 9780071311168
4) E. Balagurusamy, Programming in Ansi C, 6, Tata McGraw-Hill Education, 2012, ISBN:
9781259004612
5) D. S. Malik, C++ Programming, 5, Cengage Learning, 2011, ISBN: 9780538798136
6) Jeri R. Hanly,Elliot B. Koffman, Problem Solving and Program Design in C, 6, Prentice Hall,
2010, ISBN: 9780321601513
7) Alan Evans, Kendall Martin, Mary Anne Poasty, Technology in Action, 11, Pearson, 2015,
ISBN: 129208235