52119.docx - Compiler software that translates a high-level language program into a machine language Source file File containing a program written in a

52119.docx - Compiler software that translates a high-level...

This preview shows page 1 - 3 out of 8 pages.

Compiler- software that translates a high-level language program into a machine language Source file File containing a program written in a high level language; the input for a computer Text file Naming convention .c ending Syntax grammar rules of a programing language ------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------- Software Development Method 1) Specify the problem requirements 2)Analyze the problem (inputs, outputs)-abstraction 3)Design the algorithm to solve the problem (top-down) 4)Implement the algorithm)-> write source code 5)Test and verify the completed program->test frequently while writing the program 6)Maintain and update the program a)what is given? what is asked? what tools do I use? “algorithm” for a program that greets a user: Get the nae of the user Display Hello
Image of page 1

Subscribe to view the full document.

Ingreits/inputs Output Example: Input: 1)read the nuber of gallons filled during the month 2)Input, read the number of miles traveled 3)to get mpg divide the miles traveled by the number of gallons 4)output: display the result of step 3 _____________________________________________________________________________________ _____________________________________________________________________________________ debugging
Image of page 2
Image of page 3
  • Spring '10
  • TAMIWSORGENTE
  • scanf

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes