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.
Mods, I wasn't sure where to put this, so please move it if its not in the correct section. Thank you.
I am in a computer structural analysis class that utilizes MathCAD as the means for all computations throughout the semester. I've never used it before, so I am having some issues. I have...
Hello,
Lately I've been trying to gain an understanding of processors/cpu's and the very lowest possible code you can engineer. I decided I would do a thought experiment where I would distill the computer down to the most basic level I could conceive, and decided that such a computer would...
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...
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...
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);
}
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...
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...
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...
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.
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??
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...
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...
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...
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...
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
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...
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.
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...
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...
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...
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...
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?
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...
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...
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...
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:
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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)...
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...
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...