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. jedishrfu

    New Book from OReilly: Programming Quantum Computers

    OReilly published a new book, Programming Quantum Computers. From my brief scan of it, the book looks pretty comprehensive. They use circle notation for the Qubit states and have a simulator (QCengine) to go along with the examples on github. The programming language for their algorithm...
  2. B

    Second programming language to get under the belt: python vs C

    Hello everybody, I am a master student in Theoretical Chemistry and I am working in the DFT realm. Both TDDFT and DFT applied to extended systems (eg. using QUANTUM ESPRESSO). Of course I work with these softwares from a end-user point of view, not as a developer. But anyway, even if some of...
  3. George Young

    Can I Build a Robot with Just a Blue Thing and a USB Cord?

    https://www.amazon.com/dp/B00KM6ZA9I/?tag=pfamazon01-20 So I have the blue thing and the usb cord from a long time ago when I wanted to build a robot, but I don't have the bottom three (unless the bottom left hand corner one is the one attached to the blue thing). I still have the cd as well...
  4. sa1988

    C# Open Source C# Physics Library

    TL:DR; I've started an open source C# physics library: University Physics The Long Version So it turns out there's relatively little in the way of full physics libraries written in C# (the best I can find is bepuphysics which seems to be focused only on classical mechanics). With this...
  5. S

    Programming language for p-bits?

    Is there yet a programming language for implementing processes that use probabilistic bits (p-bits)?
  6. anorlunda

    Security Versus Programming Language

    The following quote caught my eye. I presume that buffer overflow, heap management, and pointer validation are the shortcomings of C that lead to insecurity. But the broader implications make me curious. What other features of a programming language directly aid security of the products...
  7. Emmo Amaranth

    Learn Programming: Linux, PowerShell & Python

    Hey folks, thought I'd ask the experts for some help here. I know that there are LOTS of online resources to learn Linux Terminal, Microsoft PowerShell, and Python, but I was hoping some of you had some favorites that might make the learning process more efficient (in your opinion, of course)...
  8. bagasme

    B Solving a Linear Programming Problem which Requires Integer Solutions

    Hello, In grade 11 of high school, I encountered this linear programming problem on my textbook: The "alternative solution" described in the textbook as follows: Let: - ##x## : amount of plant A - ##y## : amount of plant S - ##L## : garden area - ##L_x## : area of garden for one plant A -...
  9. Martin Scholtz

    What Research Does Martin Scholtz Conduct in Gravitational Physics?

    My name is Martin Scholtz and I am a postdoc researcher at the Institute of Theoretical Physics, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. I'm working mainly in the area of gravitational physics, but I am interested in different topics as well, see tags...
  10. FactChecker

    Thoughts on using the Scratch language as an intro to programming

    I recently encountered the Scratch programming language. I wonder what people think of it considering some notable (IMHO) shortfalls. I do not like the way it handles comments, the lack of returned values from "functions", and some other aspects that I think should be basic. But it does seem to...
  11. CLINTON

    C/C++ Computer programming -- Help with upcoming C++ exam

    Hi, I am an undergraduate Physics student and i have an exam on c++ programming next monday, what are the basic things I have to know in order to perform well in the exam? And how is c++ applied in physics?
  12. E

    MHB Linear programming - Simplex Method - Stuck with picking the right 'generator'

    Dear All, Thank you for reading my post. I'm stuck with picking the correct 'generator' element in the attached example (Simplex method). As you can see, the solution keeps picking the yellow elements as 'generators', but I don’t understand why we can't choose the purple ones. Can somebody...
  13. R

    Example illustraing Quantum programming

    I'm interested in quantum programming. So far I've managed to use Java and Python inside Datamelt computation project for physics simulations and for various statistical plots. Now I want to make a simple code that illustates quantum computing, and maybe even to visualize its principles (for...
  14. user366312

    Kindly, help me to understand the given MIPS programming problem

    I don't think I understood the problem clearly. What I understood is this: 1. Each food item has a specific major color-component (and, hence, a fixed mode-value of that specific color component). First, I need to calculate all mode values, and use them as constants in my program. 2...
  15. J

    Should Physics Majors Learn Object-Oriented Programming?

    Would physics majors benefit from learning how to do Object Oriented programming?
  16. astroman707

    B How prevalent is the R language in astronomy research?

    I’ve heard that C++, python, and IDL are most commonly used in observational astronomy research, but how common is R in the field?
  17. PainterGuy

    Programming determines how well memory hierarchy is utilized

    Hi, Please have a look on the attachment. It says, "In a computer system, the overall processing speed is usually limited by the memory, not the processor. Programming determines how well a particular memory hierarchy is utilized. The goal is to process data at the fastest rate possible." I...
  18. E

    Job Skills Leaving a 2nd Master's degree to accept an offer abroad

    This is my first post so don't be too harsh. I was just looking to get additional opinions in order to make a more informed decision. Since I always had the idea of becoming an astrophysicist I enrolled in Bsc in physics engineering (5 years) here, and due to being the top student I was invited...
  19. kolleamm

    Are programming interviews effective these days?

    From what I've come to understand is that, in order to get a programming position, you have to be able to answer white board questions. Basically random things such as Fibonacci sequence methods etc... My question is : is this really the best way to asses whether someone is a good programmer or...
  20. M

    Dynamic Programming - Restoring white space between words in a file

    All the white space among words in a text file was lost. Write a C++ program which using dynamic programming to get all of the possible original text files (i.e. with white spaces between words) and rank them in order of likelihood with the best possible runtime. You have a text file of...
  21. Abimbola1987

    FPGA/CPLD advice appreciated

    Dear Sirs, I'm using Microchip PIC's as programmable laboratory timer among other things, but the 100ns instruction cycles are not adequate anymore. So I thought of beefing it up with a 5M40Z MAX-V CPLD which has 5ns end-to-end delay, bought the programmer and downloaded the Quartus Prime Lite...
  22. Mark44

    Insights AVX-512 Programming: Extracting Column Subtotals from a Table

    Greg Bernhardt submitted a new blog post AVX-512 Programming: Extracting Column Subtotals from a Table Continue reading the Original Blog Post.
  23. Avatrin

    Programming to learn kinematics

    Hi I am learning kinematics. Topics include inertia tensors, cosine matrices, quaternions, Euler angles etc... To learn these topics well, I want to try working on something a bit more difficult than just the underlying math. That will probably keep me more motivated. So, I am looking for...
  24. F

    Object Oriented Programming vs Structural Programming

    Hello, I am trying to get my head around the important difference between these two different styles (paradigms) of programming. I am familiar with traditional structural programming: data, variables, functions, structures. The functions are blocks of instructions that can process data, etc...
  25. Mark44

    Insights What is the relevance of Assembler programming in modern technology?

    Greg Bernhardt submitted a new blog post AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic Conclusion Continue reading the Original Blog Post.
  26. Mark44

    Insights AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic - Comments

    Greg Bernhardt submitted a new blog post AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic Continue reading the Original Blog Post.
  27. L

    Looking for ideas for a physics related application

    Hi! I am a computer science student and I want to program an application to improve my programming skills. I am interested in physics and have taken 3 physics courses at University, and would like to look deeper into a specific area during this project. It can be an extensive project, as I have...
  28. Mark44

    Insights An Intro to AVX-512 Assembly Programming - Comments

    Greg Bernhardt submitted a new blog post An Intro to AVX-512 Assembly Programming Continue reading the Original Blog Post.
  29. scottdave

    Sites for some practice programming

    This is not a question, but a note, which I thought could help students. I thought I would share this here, as people may be looking for practice problems. My professor in the Python course I just finished recommended https://projecteuler.net/ as a site to practice using programming skills...
  30. grandpa2390

    Job Skills Best Programming Language to Learn for Employability

    It looks like Javascript is the way things are heading. But I've also seen C++ and Python recommended. I don't want to waste time and energy; I've done enough of that. Any job I get will probably be based on my having a 4 year degree (STEM preferred and no gpa requirement) and programming...
  31. S

    A change in the dielectric constant changes the current or voltage?

    hi everyone! i am not into physics, but need it now,i am a programmer workin on an IOT project...so kinda need help. i want to use a capacitor to see what passed between two plates...knowing, it is the change in dielectric after certain intervals...how do i measure the change at the other...
  32. Ottodomus

    Fortran Need to do a multitask program in Fortran 95

    Hi everyone, I am new programming in Fortran and Inhave done about three or four programs that solves different problems in trigonometry, one is the basic one it gives you hypotenuse upon two sides, the other finds the theta angle by giving hypotenuse and opposite side, other find hypotenuse by...
  33. S

    Is the use of null an anti-pattern?

    I remember a while back someone told me that there exist programmers who don't believe in null. I thought that was a crazy idea. Until recently, as I've gotten better at OOP and have figure out that if my object has a property that is allowed to be set to null, it usually means that I am not...
  34. E

    Programming algorithm expressed in math notation

    Hey everyone, I wasn't sure if this belonged in the general math forum or not, so I posted it here instead (mods - feel free to move if it belongs elsewhere). What I want to know is how to properly write out a computer algorithm in proper math notation. Take this code for example: Height...
  35. S

    Event-driven system and subscribers missing events

    Let's say I have a service that publishes events, like eo ("Bought 100 shares of AAPL") e1 ("Bought 100 shares of T") e2 ("Sold 500 shares of TSLA") and there exist stateful services subscribing to the events and whose state depends on the events being processed successfully and in the correct...
  36. L

    Job Skills IT/computer programming Certifications that I can earn online

    Hi, My question is if there are any computer programming or front-end web development certifications that I can earn online for free or cheap. I already completed FreeCodeCamp and a few other coding bootcamps online. I also signed up for my bachelor's degree equivalent on Open Source Society...
  37. QuantumQuest

    Insights Intro to Data Structures for Programming - Comments

    Greg Bernhardt submitted a new blog post Intro to Data Structures for Programming Continue reading the Original Blog Post.
  38. Chris Miller

    Unusual Bug: 40 Years of Programming and a Read() Failure

    Been tracking down the most unusual bug I've seen in 40 years of programming (mostly in assemlber and C). It manifests in the test suite for an object oriented XBase language implementation that's been ported everywhere from Palm Pilot to OS/2 to the Blackberry tablet to Windows to, now, Qnx7...
  39. astroman707

    Programs Is a 2nd major in comp sci useful in computational physics?

    I'm majoring in physics and I'm planning on pursuing computational astrophysics in graduate school. Will a second major in computer science/programming look good to graduate schools, and/or will it give me great advantages in the field of computational astrophysics or astronomy?
  40. Jozefina Gramatikova

    Python Simulating Gravitational Interactions in a Particle System

    I have a project to make the solar system. I am trying to start from somwhere. On the notes it says that we need to start by creating a System of Particles Two-body simulation (Circular motion) Implement Gravitational acceleration Each particle (planet) could have its own field. I.e. Each...
  41. Quantum_Arcanium

    Physics Want to become Theoretical Physicist but don't know Coding

    Hi, I am an aspiring Theoretical Physicist. I've heard that you need to know many programming languages to become a Physicist, but I have never learned a single programming language in my life and I am 16-17 years old now. Is there any chance of me still becoming one? Is there anything I can do...
  42. astroman707

    Other How to transition from school teacher to programmer?

    I’ve been a school teacher for 6 years, and I want to get into coding. I’ve been told by a CS professor I know that my background is very sought after in the tech industry, and I would be very competitive if I got into coding. Is this true? What’s the best route, bootcamp, nanodegree, etc.? What...
  43. G

    APDL Programming buckling FEA C Section Cold Formed Steel

    Hi, I am facing issues with my program. Listed below. This is form my masters project. Also in what way can I connect the filleted surfaces shown in fig by a weld or just load or stress transfer connection. fini /clear /title,C160T2B70-1L /prep7 et,1,shell181 r,1,2 mp,ex,1,1.85e5...
  44. astroman707

    Programs Should my second major to physics be programming or math?

    I’m planning on attending graduate school for physics. My interest is currently in cosmology and astrophysics, but I’m keeping an open mind. I’d like to be prepared in case I choose another field, or go into private sector instead of academia. I’ve decided I want to double major in my...
  45. Aleoa

    Stuck on an Integer Programming problem

    Homework Statement I've tried hours and hours to model this problem but i didn't succeed. Can you help me ? We want to realize n projects in the next T years. For each project, a profitability index pi is known, which expresses the expected final gain (in Euro) and a cost profile ai =...
  46. S

    Do programming trends just go in circles?

    Latest buzzwords include "functional programming" and "stateless." What's funny is these are not new, just a reversion from OOP back to procedural programming the way you write code in C. Create objects that are just value bags with no behavior and write functions that modify the values. Or...
  47. W

    The coming revolution in physics education

    Classical physics is difficult because it is based on differential equations, and the differential equations of interest are usually unsolvable. The student must invest a lot of time in learning difficult math, and still can only analyze very simple systems. This difficulty arises in the first...
Back
Top