Chapter 1: Introduction to Computer Programming PDF
Document Details
![CheerfulOlive1598](https://quizgecko.com/images/avatars/avatar-20.webp)
Uploaded by CheerfulOlive1598
University of Southern Mindanao
2024
Clarence Dave G. Galas | Joseph C. Lorilla
Tags
Summary
This document is an introduction to computer programming, covering the history and key figures in the field. It explains programming concepts and good programming practices.
Full Transcript
Prepared by: 1 CL A RENCE DAVE G. GA L A S | JOSE PH C. L ORI L LA ICT 09 – 2nd Semester 2024-2025 Describe computer programmingterms Discuss the traits of a good programmer Discuss the good pr...
Prepared by: 1 CL A RENCE DAVE G. GA L A S | JOSE PH C. L ORI L LA ICT 09 – 2nd Semester 2024-2025 Describe computer programmingterms Discuss the traits of a good programmer Discuss the good programming practices Discuss the qualities of a good program ICT 09 – 2nd Semester 2024-2025 2 3 ICT 09 – 2nd Semester 2024-2025 Here are some men, women, and machines that were instrumental to the development of the computers that we know today. ICT 09 – 2nd Semester 2024-2025 4 Invented the Jacquard Loom A mechanical automated loom that creates different patterns using punched cards ICT 09 – 2nd Semester 2024-2025 5 Father of Computer Used punched cards, just like Jacquard, as method for storing programs for his Analytic Engine ICT 09 – 2nd Semester 2024-2025 6 First Computer Programmer Described the algorithm for Charles Babbage’s proposed Analytic Engine in 1843 ICT 09 – 2nd Semester 2024-2025 7 Founder of IBM in 1896 Used punched cards called Hollerith Cards in 1889 Also invented the tabular and keypunch machines along with the Hollerith cards that became basis for information processing Invented the plugboard or control panel in 1906 that allowed the machine to perform different tasks without being reconstructed ICT 09 – 2nd Semester 2024-2025 8 First Electronic Digital Computer in 1942 D esigned to solve linear equations Not programmable but used binary arithmetic ICT 09 – 2nd Semester 2024-2025 9 First Programmable Electronic Digital Computer Designed to break and read encrypted German messages during World War II By Tommy Flowers and his team ICT 09 – 2nd Semester 2024-2025 10 Grace Murray Hopper documented the first actual computer bug in 1947 A moth trapped in Mark II Alken Relay Calculator ICT 09 – 2nd Semester 2024-2025 11 Electronic Delay Storage Automatic Calculator First practical stored- program electronic computer Ran its first program: calculating a table of squares and a list of prime numbers in 1949 ICT 09 – 2nd Semester 2024-2025 12 First High Level Computer Programming Language Invented by John Backus in 1945 ICT 09 – 2nd Semester 2024-2025 13 First Computer Game Invented by Steve Russell in 1961 Took 200 hours to complete the game Nolan Bushnell of Stanford University programmed the first coin-operated arcade game after Russell introduced him thegame ICT 09 – 2nd Semester 2024-2025 14 First Computer Virus Programmer In 1983 he designed a hidden program that could infect a computer, copy itself, and then infect other computers through a floppy disk The virus was benign ICT 09 – 2nd Semester 2024-2025 15 ICT 09 – 2nd Semester 2024-2025 16 17 ICT 09 – 2nd Semester 2024-2025 A set of instructions written in a certain language, called a programming language, that can be understood by the computer in order for it to perform a particular function. ICT 09 – 2nd Semester 2024-2025 18 A person skilled in using constructs of programming languages to develop executable and acceptable computer programs. Can be as young as 5 or as old as 82 ICT 09 – 2nd Semester 2024-2025 19 An artificial language created to be used in preparing coded instruction for later execution by the computer. It is the way programmers communicate with computers to specify what programmers want the computer todo Top 10 Programming Languages 2017 ICT 09 – 2nd Semester 2024-2025 20 The art of developing computer programs using selected programming languages by a programmer to enable a computer to do a certaintask. ICT 09 – 2nd Semester 2024-2025 22 22 ICT 09 – 2nd Semester 2024-2025 ICT 09 – 2nd Semester 2024-2025 24 ICT 09 – 2nd Semester 2024-2025 25 1. To understand our world 2. To study and understand processes 3. To be able to ask questions about the influence on people’s lives 4. To use an important new form of literacy 5. To have a new way to learn science and mathematics 6. As a job skill 7. To use computers better 8. As a medium in which to learn problem solving ICT 09 – 2nd Semester 2024-2025 26 ICT 09 – 2nd Semester 2024-2025 27 27 ICT 09 – 2nd Semester 2024-2025 BYKATIE BOUWKAMP,A SR.COMMUNICATIONSMANAGERAT SMARTSHEET,IN 2017 1. Be well rounded 2. Enjoy solving puzzles 3. Love learning 4. Good Communication Skills 5. Confidence 6. Be Interested in the business 7. Be a team player 8. Understand the importanceof deadlines 9. Be adaptable 10. Own your own product ICT 09 – 2nd Semester 2024-2025 28 29 ICT 09 – 2nd Semester 2024-2025 1. Commenting and Documentation 2. Consistent Indentation 3. Avoid Obvious Comments 4. Code Grouping 5. Consistent Naming Scheme 6. DRY (Don’t Repeat Yourself) Principle 7. Avoid Deep Nesting 8. Limit Line Length 9. File and Folder Organization 10. Keep It Simple, Stupid (KISS Principle) ICT 09 – 2nd Semester 2024-2025 31 ICT 09 – 2nd Semester 2024-2025 32 32 ICT 09 – 2nd Semester 2024-2025 1. Readability – how well the code can be understood by others 2. Reliability – how often the results are correct 3. Robustness – how well the program anticipates problem due to errors 4. Usability – the ease with which a person can use the program 5. Portability – the range of devices on which the code can be compiled and run 6. Maintainability - the ease with which a program can be modified by present and future developers 7. Efficiency/Performance – measure of system resources a program consumes such as processor, memory, bandwidth, and user interaction: the less, the better. ICT 09 – 2nd Semester 2024-2025 34 Programming has continuously created a big impact in the lives of people It is necessary to learn computer programming It is a must to master the traits of a good programmer Follow good programmingpractices Keep in mind the qualities of a good program ICT 09 – 2nd Semester 2024-2025 35 IC T 09 Workbook Prepared and Compiled by: Galas, C.D. and Lorilla, J ICT 09 – 2nd Semester 2024-2025 36 36 Stay safe.#GreatUSM ICT 09 – 2nd Semester 2024-2025