Your SlideShare is downloading. ×
0
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
01 computer programming
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

01 computer programming

83

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
83
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. KATHMANDU ENGINEERING COLLEGE COMPUTER PROGRAMMING11/26/2012
  • 2. Computer ProgrammingDescription: Basic programming-in-the-small abilities and concepts. Highlights include procedural and functional abstraction with simple built-in data type manipulation. Basic abilities of writing, executing and debugging programs. 11/26/2012
  • 3. So What is Programming Like?It’s really hard to describe!Many similarities to solving “word problems”In math Translate a “problem description“ into a ”formal solution Symbol ”Some people describe it as “puzzle solving”Some people describe it as “problem solving” A mix of high-level creativity and low-level picky details 11/26/2012
  • 4. Stages of Problem Solving Ultimate goal: use a computer to solve a problemTypical stages of building a solution: Clearly specify the problem Analyze the problem Design an algorithm to solve the problem Implement the algorithm (write the program) Test and verify the completed program Maintain and update the program 11/26/2012
  • 5. Focus All stages are important.In this course, we ignore none of them But we focus on:Algorithm developmentWriting a program to implement the algorithm 11/26/2012
  • 6. CT 401: COURSE STRUCTURE100 Marks courseCourse Organization: Lecture: 4 periods a week Tutorial: 1 period a week 10 minutes of Quiz session during each lecture 5 Programming projects (To be done by you outside of class, on your own time) Two midterm exams Final exam 11/26/2012
  • 7. CT 401: GoalsWe will learn Read: Understand programs written in C language Write: Design and implement programs using C language Compile: Use compiler to convert C code into executable file Execute: Run corresponding code to get results Debug: Identify and fix syntax and semantic errors in C code. Prepare: Have Base for learning other high level languages like C++, JAVA, etc. 11/26/2012
  • 8. Using the BOOKNot everything in the course will be covered in theslides…. So you are required to refer the BOOKSNot everything, instructor says, from the slides willbe correct and complete…. So you need to verifythe contents using the BOOK and submit thesummary report in the NEXT CLASSYou need both! And then some... 11/26/2012
  • 9. Beyond the BOOKS/SLIDESYou won’t learn programming by reading the BOOKS asmight you read the other theoretical subjectsYou won’t learn programming by watching the lecturesslides as might you watch a TV programWhat you need in addition is: The ability to ask questions and get them answered And most important: hands-on practice 11/26/2012
  • 10. The Importance of PracticeYou wouldn’t expect to learn to SING/DANCE just bywatching a TV series on it There is no substitute for practice. And no one can do it for you. The same holds for learning to program. 11/26/2012
  • 11. Tips for SuccessTake the material in order With rare exceptions: you can’t skip any lecture but I won’t take attendance you can’t take material out of order Seek help if you get behind Practice, Practice ….. And MORE PRACTICE! 11/26/2012
  • 12. Where Do You Go From Here?The next course is “Object Oriented Programming (OOP)“ in the third semester A direct continuation of Computer Programming OOP introduces the C++ programming languageOn the fourth-semester course called "Data Structures“ continues with the application of C/C++ programming Languages 11/26/2012
  • 13. What is OOP like?100 marks; 4-5 projects 15-30 files in later projects (you don’t write all)Students say: "intense", "time-consuming"Language: C++ Initially just like C Learn programming concepts to support writing larger programs Eventually objects + classes (“object-oriented”) 11/26/2012
  • 14. What is Covered in a 2nd and 3rd Courses?Lots of programming practice but less class discussion of itData structures many involving pointers abstract data types (ADTs)Algorithms many recursiveProblem-solving & designFoundation for later CS courses 11/26/2012
  • 15. Going on in CThere is much about the C language we wont coverYou will have a foundation to master more advanced Cprogramming features at the end of the courseLearning more C may or may not be useful but you arerequired to PASS the EXAMS for completing your degree 11/26/2012
  • 16. Programming ConceptsWe will use C, but the concepts go beyond the C language Variables; data types; values Conditions: conditional statements and conditional execution Loops Recursion Functions: parameters (including pointers), call/return Data structuring: arrays; structures; 11/26/2012 Input/Output
  • 17. Beyond Programming…Compiler concepts syntax vs semantics; compilation steps; libraries; debuggingWhat is a computer? Visualize memory, CPU, I/O operation Instruction execution, data movementProblem solving Abstraction Functional decomposition, Data decompositionAlgorithms 11/26/2012
  • 18. Building and Understanding Software Software give computer its personality Computers are booming I.e., software is. Programs are complex things Compare to a bridge or a novel Whats the effect of a small error? Humanizing complexity Analysis, design, testing, communicating 11/26/2012
  • 19. Next ClassProblems, Algorithms, and Programs 11/26/2012
  • 20. Who am I?Manish Aryal Head, Department of Computer EngineeringB.E. Computer (KEC, 2003)M.S. Information and Communication Engineering (Pulchowk Campus,2005)Working @ KEC for last EIGHT Years9841285747manish@keckist.edu.nphttps://www.facebook.com/aryalmanish7:00 AM – 4:30 PM, Monday- Friday 11/26/2012
  • 21. Is Programming Hard or is Programming Fun? Advanced Programming is HARD but Your FUN ... Programming Course is also HARD Best of Luck for the Course. See You in the Next Class. 11/26/2012

×