What is Programming: Definition and 1000 Discussions

Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result or to perform a specific task. Programming involves tasks such as: analysis, generating algorithms, profiling algorithms' accuracy and resource consumption, and the implementation of algorithms in a chosen programming language (commonly referred to as coding). The source code of a program is written in one or more languages that are intelligible to programmers, rather than machine code, which is directly executed by the central processing unit. The purpose of programming is to find a sequence of instructions that will automate the performance of a task (which can be as complex as an operating system) on a computer, often for solving a given problem. Proficient programming thus often requires expertise in several different subjects, including knowledge of the application domain, specialized algorithms, and formal logic.
Tasks accompanying and related to programming include: testing, debugging, source code maintenance, implementation of build systems, and management of derived artifacts, such as the machine code of computer programs. These might be considered part of the programming process, but often the term software development is used for this larger process with the term programming, implementation, or coding reserved for the actual writing of code. Software engineering combines engineering techniques with software development practices. Reverse engineering is a related process used by designers, analysts and programmers to understand and re-create/re-implement.

View More On Wikipedia.org
  1. I

    Comp Sci First time programming ever and my first project has 1-21 errors in c++

    Homework Statement #include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second...
  2. P

    Programming GPIB Instruments in Labview: Need Help!

    Hello all, I am trying to program a GPIB instrument (voltmeter and oscilloscope) in labview. I already have all the drivers set up, but I am having trouble finding easy to understand documentation on how to program these instruments. Does you know of any? Right now I am stuck on trying to...
  3. S

    Understand the Output of 1000*1000 in C Programming

    Hello, I want to know the answer of following program and the reason behind it...as soon as possible void main() { float j; j=1000*1000; printf("%f",j); }
  4. V

    How Can a Coffee Company Maximize Profit Using Linear Programming?

    Homework Statement Question (to be solved graphically) ------- A coffee company sells coffee under a "Best blend" label and an "Economy blend" label. Both are blended from three basic grades of coffee: Best blend = 40% A + 40% B + 20 % C Economy = 20% A + 40% B + 40% C The market...
  5. C

    C Programming for Mechanical Engineers: Benefits & Applications

    Is C programming language necessary for Mechanical Engineers? Why? And where we use it?
  6. R

    Matlab/c++ programming question

    Matlab/c++ programming question please help:) Homework Statement Look up Simpson’s Rule and explore the effect on this integration method of changing the strip size on the error. Also, explore the effect of changing the strip size in the left-hand and right-hand rules for integration...
  7. D

    MATLAB Will I Become Fluent in C++ and MATLAB After Taking Engineering 101?

    This fall I will be taking the class "Engineering 101: Introduction to Computers and Programming". The general course description can be found http://www.engin.umich.edu/courses/eng101/" . It says that we will be learning C++ and MATLAB. I am just wondering how well I will actually know these...
  8. A

    What Makes a Good Blog About Physics and Programming?

    Just kidding. Introduction thread. I'm Archeleus and I'm just generally interested in Physics and Programming. Yes I do my studies in these fields as well. Blog : http://archeleus.com/blog It doesn't have a topic, but just random stuff I find interesting. Cheers.
  9. S

    Electric Engineering Curriculum no programming class?

    Electric Engineering Curriculum no programming class? http://www2.eng.usf.edu/studentServices/docs/guides/Curriculum20092010.pdf So if you open that pdf and go to page 8 "Bachelor of Science in Electrical Engineering" i don't need to take any programming class? how come??
  10. R

    Operating system and programming language

    I understand that you can write a complete operating system in a high-level language like C++, compile it into machine code, and then write it to storage, and then sell it or give it away. But is this historically what was done? Did the compiler come first, or the operating system? When you...
  11. E

    PHP PHP programming, image processing

    Hello! So this is minimally image processing, but I didn't know what else to name this thread. I'm working on a project and basically, I have this image (see attached file) that's provided to me. That's all I have to work with. The first column of colored pads represents my test pad...
  12. R

    Multiplying Columns of Numbers in C Programming

    Hello all, I wrote a C program to multiply a column of numbers (for eg., number will look like this 10.45618) with some constant... after multiplication i get the correct value (i tested using calculator). Now the output is 0.00005672 (i use %14.9lf) ..but i want them to display like this...
  13. B

    Programming languages used by physicists?

    It is suggested that I learn a computation oriented programming language for an physics internship which I hope to apply for soon. I'm curious; what is the most commonly used programming language in the physics community? I've heard that Fortran has been used extensively for a some time, but...
  14. W

    Calculators Where Can I Find Resources for Programming HP35s Calculators?

    Hi, Any good primers for programming some simple programs on the HP35s? I have some inputs but am unsure how to do so exactly. Also if a good quadratic formula editor in algebraic mode is available that would be nice too. thanks, Whalstib
  15. O

    Question about the programming you learn during Theoretical Physics

    I was reading that while you study a Bsc in Theoretical Physics, you learn how to do quite a lot of programming. I am quite unfamiliar with programming but I was wondering how transferable are the programming skills you learn? Are they applicable to things like web design etc? Or are they only...
  16. S

    Do electrical engineers need to know programming?

    do electrical engineers need to know programming? specifically C language
  17. J

    Fortran Programming in FORTRAN - Begginer

    I've to do a program which read "N" pairs of points and print the points which are contained in a two dimensions quadrilateral domain with vertices on (2,2), (2,5), (7,5) and (5,2), Can anyone help me? Thanks for the atention and patience.
  18. C

    Is programming a good fit for me?

    I just completed my undergrad in physics and applied math, but I liked the applied math more partly because the physics got too abstract for me - I liked classical mechanics more than quantum mechanics. As a result, I had been strongly considering getting my MS or phD in mechanical/aerospace...
  19. G

    Help with programming a Keithley 220 Current Source in C++

    Hello guys, I want to program a Keithley 220 Current Source using C++. (C++ is m only option). (My task is to find out the V-I relation of a certain sample for which I want to program the current source). I am having problems getting the device into remote operation mode. I try to...
  20. H

    The Next Step in Learning C Programming: Suggestions & Resources

    Hello every body! I have read "The C Programming Language" and i want to know if i want to go further what is the next book you suggest?
  21. Q

    Comp Sci Fixing HashMap Values Issue in Java Programming

    import java.util.*; import java.io.*; public class Friend { private static int id; private static double lat; private static double lon; public Friend(int id, double lat, double lon) { this.id = id; this.lat = lat; this.lon = lon; } . . . . public void...
  22. J

    C Programming: Printing Prime Numbers from 1 to 20

    Homework Statement Hello, i want to calculate and print prime numbers from 1 to 20. I've provided my code below, and the program compiles but its just printing all numbers from 1 to 20, why? also have i used the continue statement correctly, since if it is found that a number is not prime then...
  23. A

    Integer Programming help please T__T

    Homework Statement Paulette Smith and Maureen Becker are senior in engineering and business, respectively, at State University. They have set up a company, PM Computer Services, to assemble and see their own brand of personal computers. They buy component parts on the open market from a variety...
  24. M

    Want to be in computer graphics/game programming please guide

    hi Freinds I want to be in computer graphics or game programming.Please guide me what should I learn to be in computer graphics field. Please guide on:- Math and Physics I should learn?
  25. A

    Using Linear Programming to Optimize a New Restaurant

    Linear Programming "Possibility Restaurant" Homework Statement Angela Fox and Zooey Caulfield were food and nutrition majors at State University, as well as close friends and roommates. Upon graduation Angela and Zooey decided to open a French restaurant in Draperton, the small town where the...
  26. J

    Physics Cosmology/Physics and programming

    Hello everyone, I currently have a Master (M2) in computer science and been working as a C++ programmer in the video games industry for 3 years, in Paris, France. However, I don't really enjoy it anymore as I don't feel like it's being much "useful" and the place is not that friendly...
  27. rcgldr

    What kind of programming jobs are common these days?

    I'm wondering what kind of work is out there these days. My recent work has been with computer peripherals, mostly C, and some assembly, in an event driven, multi-tasking environments, but lately, there's not a lot of new development in this area. Going back to 1973, most of my work was with...
  28. M

    Programming pic microcontrollers using assembly language

    i need a good reference or book that teaches programming pic microcontrollers using assembly language, any help?
  29. D

    Should i go to programming class?

    hey,guys,i want to choose Aerospace engineering as my career field in two years ,i want to know do i need to go to any programming class or overall which class would you recommend me to go ? thanks:approve:
  30. rcgldr

    The first programming language you learned?

    In my case, it was quikomp, on a Monroe Monrobot XI. 1K of 32 bit words on a drum memory. Paper tape reader, paper tape punch, and a type writer console. http://jeffareid.net/misc/monrobot.jpg http://jeffareid.net/misc/quikomp.jpg Link to text of the first program I wrote (note comments...
  31. G

    How do I start to learn programming?

    My high school does not offer computer programming, because we are a, ah, *small* high school. But I want to learn how to do it. I really want to go into programming, or CE. I read bits and pieces, learn a bit here and there, but I really want to actually learn how. So, where do I actually...
  32. L

    Comp Sci Programming an interface in Java

    For my final project I need to code a program to handle a bookstore. Because the Java console isn't meant for stuff like this I decided to make my own UI. The inventory, reports, and cashier section each get their own tab. Each tab has a console output screen, a box showing what you just...
  33. P

    The Benefits of Programming for Theoretical Physics

    Hello, I am a physics student and I am currently writing my Bachelor thesis in theoretical Physics. A thing which has sometimes crossed my mind over the past months is this: I have always loved computers and programming. I always find it fun to solve some programing related problem. E.g...
  34. T

    Programming Binary Addition with a Turing Machine

    hello, One can wonder what is the relation between the title of this thread and the subject of quantum mechanics, well, i was reading in a book about quantum computation and information and it was talking about computer science in some chapter where it shows a basic understanding of Turing...
  35. S

    Mathematical programming (simplex method)

    Homework Statement This question is about simplex method A full time staff works seven hrs which includes an hour break in the middle (he is paid for his break). A part time staff works four hrs. The no of staff needed is shown below Time No of staff needed 9-10am 6...
  36. R

    Recommend books on Python/ C++ Programming

    idk if some of you remember Recommend a book on Python Programming thread i created a while back. As some of you suggested, i bought Lutz's book. I've looked into (or at least skimmed through) most of the book...i really liked it. I'm currently working on GUI Tkinter, it seems interesting...
  37. M

    Simplex Method - Programming Problem

    Simplex Method --- Programming Problem Homework Statement Here's the question - Conside the linear programming problem: maximise P = -3x + y, subject to 3x + 2y =< 24, 4x + 9y =< 36, -2x + y =< 1, and...
  38. D

    Discover the Best Programming Language for Beginners | MechE Student's Journey

    I've recently decided to really try and learn a computer language for the first time. I've had a standard computer science course that covered C material but I found that language to be overly tedious and absolutely miserable. Matlab was interesting, and I enjoy using it for dynamics and other...
  39. H

    GPU Programming: Exploring Benefits of Faster Computing

    I've seen references to using the graphics processing unit (GPU) of computers instead of the CPU for scientific / general purpose computing: http://groups.google.com/group/sci.math.num-analysis/browse_thread/thread/76eac4d19d044096/0c46d5c5e04deeb3?lnk=gst&q=GPU#0c46d5c5e04deeb3 but can't...
  40. D

    Programming Advice for Physics BSc Student

    Ok, let me introduce you to my problem. I am very interested in and am actively applying to many summer research positions but I find myself somewhat limited towards what I can apply for. My issue is that most of the positions, if not all, want programming experience and I have only done 1...
  41. T

    Comp Sci Borland C++ programming quistion, what's wrong with my program

    This program is supposed to add 2 integers ,according to the compiler, there are 2 warnings and 1 error ,the error is (undefined symbol' end') the warnings are 'sum' and 'y' are declared but never used here is the program : # include <iostream> # include <conio.h> intmain() { int x; int...
  42. B

    What language is best for programming a MUD/online game bot?

    My goal is just a simple bot that could "play" or do basic functions without human aid, on a online game of some sort, for example facebook's farmville or something similar.
  43. P

    Programming a 7 segment display timer

    Hi, I was wondering if anyone could help me, I am studying industrial design at Loughborough and as part of my coursework I am re-designing a stopwatch. Along with this coursework I need to submit a simulation of the electronics that would be involved. We have all ben given a basic circuit...
  44. S

    3 Variable Linear Programming Question

    Homework Statement Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling...
  45. S

    Maximize Profit w/ Linear Programming: Omega Mfg Co

    Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling Machine: 550...
  46. G

    Codelab excercise 2- computer programming part 1

    Homework Statement 1) Given three already declared int variables, i , j , and temp , write some code that swaps the values in i and j . Use temp to hold the value of i and then assign j 's value to i . The original value of i , which was saved in temp , can now be assigned to j . 2)...
  47. G

    Codelab excercise 2- computer programming

    Homework Statement 1) Given an integer variable strawsOnCamel , write a statement that uses the auto-increment operator to increase the value of that variable by 1. 2) Given an integer variable timer , write a statement that uses the auto-decrement operator to decrease the value of that...
  48. E

    Learning parallel programming

    Hello folks. I just finished my phd in theoretical chemistry and my work thus far hasn't involved any parallel programming. In the future I'm sure I'll be expected to know and use parallel methods, so I'm trying to learn it now. The books that I'm reading from begin by describing the different...
  49. R

    Fortran Learn Fortran Programming: Tips & Resources

    Hi , i need help in writing fortran code.? can any suggest me best site or where to approach?
  50. K

    Linear Programming Constraints

    I'm trying to minimize a function over a rather complicated surface. I'm using an algorithm that takes an initial guess, finds the tangent plane at that point, minimizes using a linear programming algorithm, then (tries to) project back onto the complicated surface. More specifically, if \xi...
Back
Top