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.
Homework Statement
Hi. So I'm stuck on a few things right now, but the main one is that Python is telling me that one of my variables is not defined. I have stressed over this for about an hour now trying everything to change it, and I cannot seem to find issue.
Homework Equations...
hello every1,
i was able to find this book "Object-Oriented Programming in C++ (4th Edition) by Robert Lafore" in a local library. I am thinking of self-learning c++.. do u have any information on this text...is it easy...im totally blank in this area of programming and computers in...
For semidefinite programming (SDP), we have the primal and dual forms as:
primal
min <C,X>
s.t. <A_i,X> = b_i, i=1,...,m
X>=0
dual
max <b,y>
s.t. y_1*A_1 + ... + y_m*A_m <=C
where the data A_i and C are assumed to be real symmetric matrices in many textbooks and online...
hello,
i have tried to read wikipedia and wisegeek articles on _objected oritented programming_ but didn't learn a bit. I'm simply trying to learn the basics and know almost nothing abt programming so far. can u give me some basic understanding of this oop, please? wut r these objects? i...
Hello , I'm in a very sticky situation this semester I have to take computer programming courses and much to my dismay I have no interest at all, there are only 2 options that I can take : take the semester off or continue and "hope" to get a decent mark?
What do you think I should do, the...
Hello,
I was wondering what programming languages are essential to a physicist/mathematician. In the courses I am in, I have encountered programming homework assignments that I did not anticipate(differential equations and classical mechanics). Needless to say, I have had very little...
Homework Statement
An investment group has $250,000 to invest. At least 20% must be in municipal bonds, at least 40% in a combination of (electronic firms, aerospace firms, & drug manufacturers), & finally no more than 50% in municipal bonds should be placed in a high-risk, high yield...
Hey all!
So I recently purchased a PIC16F690 for a project and I've been trying to learn the assembly language for it and it's turning into a somewhat daunting task. I've programmed in assembly before but it was with an ATMEL chip. This was about two years ago, so everything is kinda fuzzy...
I was just wondering if there is any valid relevance of BASIC programming to a physicist.
How much of Physics can we put in BASIC?
If there is, can I hear you?
Please.
Was just wondering if anyone here has tried 3D programming. If you have, what language did you write in, what difficulties did you have, and what did you find interesting about it?
As of now I know of Direct3D and OpenGL, but, if I'm not mistaken, you can use different languages to write...
Hey,
I was wondering, since mechatronics deals with control system and computer programming, what sort of programming language would be beneficial for me to start learning now before my university starts?
since i have around 6 months i though i would be good idea to start learning some...
Hello. I am a third year physics major (technically, although I am still taking 200 level classes) and understand that programming is a must. I do not know anything about programming.
I initially planned on taking a summer programming course (if not, then next fall) but it seems as though I'd...
Hi,
I have a general question related to the mechanical engineering profession.
I am a second year mechanical engineering student and I also have a college degree in computer science, my skills are mainly C/C++ programming and networking/Linux environment (system administration).
I love...
An is a particular set of rules and specifications that a software program can follow to access and make use of the services and resources provided by another particular software program that implements that API. It serves as an interface between different software programs and facilitates...
I am writing a program in C (vanilla, non-C++/C#) and I am having trouble figuring out why my initialization of my array of structures isn't working. I have tried a number of things without any luck. I still get a compiler error: "conflicting types for 'cardInfo' "
I am writing a simple...
Hello! I'm studying graphics programming right now, and in the end of this one semester long course we are going to make a project in which we will program an application that displays some nice graphics. I want to take this as an opportunity to show that I have a talent for programming (having...
Homework Statement
I am given the binary equivalent of ASCII codes and I am asked to decode a particular binary message (ASCII binary to actual ASCII character).
I am required to write it in C. Where can I get a text file of the ASCII code so I may create a look up table?
I googled...
Is it? I don't any languages. I don't really care to learn them, but I know I'll be at a great disadvantage in the job market. Are there computational jobs that allow you to learn/acquire skills on the job?
If I don't learn any languages, generally speaking, what careers would be open for...
I would like to know what to review for tests given by employers for programming jobs most problem solving techniques algorithims i recently took one and was caught off guard by how to find the abs min of a set was
As computers become each time more important to do computations in physics, it is important to know which programming language would be the most important for a physicist. What do you think?
Hello, so I am a junior in college right now...I am double majored in mathematics and computer science. I was curious, I know C++ pretty well and was interested in starting web development languages. I know I will have to learn html and SQL as they are pretty much standard for web...
Hi I am trying to use MATLAB for some data analysis. I start by getting user input for a variable called exptno, Then I want to access a location in a structure, but to do this I need to append the variable exptno to the name of the structure. Ill try and give an example to hopefully make it...
I'd like to start our middle child (age 11) learning some programming. It's been a long time since I've learned a new language, so I was wondering if anyone had any suggestions, including some texts to get for him (we restrict his online access, so I want his help to come from a book, not...
Hi, Matlab noob here.
I need your help to simplify this Matlab source code. Here the code that i currently use
for k=1:1:gg
k1=gains(k,1);
k2=gains(k,2);
k3=gains(k,3);
.
.
kn=pidgains(k,n)
[T,X,Y]=sim('Evaporator_PID',[Tstart Tfinal],opt);
end...
The following question pertains to programming, but I have posted it here because I want the views of mathematicians (also of physicists and engineers), not those of computer scientists (which i already know) and I do not know how many of the former category care to look into programming...
Hi all,
(1.) Can someone tell me the difference between a compact valued and single valued correspondence?
(2.) I have been seeing repeating themes of "continuity on a compact set". Does that imply boundedness and thus possible to attain maximum?
(3.) What's the difference between...
Howdy All!
I have been lurking in the shadows of physicsforums for a few months now, but this is my first official post here.
A bit of background about me. I'm technically in my second year of university, but I say "technically" because I more or less squandered away my first year. I'm...
University has finished for me this year until late February of next year, so i currently have plenty of spare time (and loving it) :smile: Normally over the summer holidays i like to just have a break from uni study, but i am still always keen to learn something--something that i want to learn...
The question is
What will be the output?
#include<stdio.h>
int main(void)
{float y=6/4;
printf("%.1f\n",y);}
The answer is
1.0
I got that right by trusting my senses:biggrin:; but I want to understand why.
Homework Statement
http://www.engr.mun.ca/~markevans/engr1020/Eng1020Labs/Assignments/Entries/2010/11/16_Assignment_8__Computers!_Science!.htmlThe Attempt at a Solution
I'm not sure how to use array in this assignment, and I'm not sure where to use switch statement...
My Code
#include...
So I am taking an intro to programming class and am doing pretty well. I am getting high 90s on all assignments and end up helping others during lab time (used to practice programming). However, on our last exam I got a B on the test (about average). Not too bad, but I know I can do better. Now...
I am in a class where we are studying concepts and design of programming languages. For a project we are suppose to design our own programming language or come up with some alternative project idea to do for the class.
So, my question is... do ya'll have any ideas for an interesting and...
I was wondering whether anyone has experience in astronomy simulations. If so, what language do you use and recommend? I've done Haskell and a very small bit of C++... I've been told Python is good, what are your thoughts?
Also are there any good websites that may get me started?
Thanks
I'm currently in a computer science class in my senior year of high school and we're learning java. I was wondering if this is going to be the language I would be using in the workforce after college if I graduate with an interactive media degree. I've heard multiple people say that java is a...
Hi!
I'd like to do a PhD in theoretical particle physics, but I have the following problem. I found an advertisement, where I should work on numerical algorithms for the calculation of
some certain integrals. Furthermore, I should work on Monte Carlo simulations.
During my master thesis...
Ok, so apart from my desire to become a Physicist or Engineer I've also considered going into a more computer related career in either networking or programming. Yea, let's face it I haven't really been able to decide. One way or the other I'd like to be prepared or at least know what I'm...
I am in the early stages of learning Intel assembly coding, is there a free development tool available that I can use to test out an assembly program. Any other recommend sites or materials that I might use?
Thanks
Hello all,
I am new to programming and fortran, I have Intel Fortran 9.1 and using this via Microsoft Visual Studio 2005. To start with I have found a simple exmaple from the a Intel Fortran 90 book. I seem to be able to run a debug, but can't seem to create an executable? Its my first time...
Hello,
I just started taking a computer science course involving the program language c. I was wondering if anyone know the command that enables the user to type in a numerical input into the program.
For example:
1. The user runs the program "Math Wizard."
2. The program displays...
In my computer science class my prof rambled off into examples, one of which was atoms. He said that atoms were just a model for something that we really can't understand yet. Is this correct or is he under some kind of influence or a complete idiot (likely, he teaches programming 'backwards').
Object: Write a program that read digits and composes them into integers. For example, when you read 123( in characters) the program should print: "123(in integers) is 1 hundred and 2 tens and 3 ones".
My first attempt is first read the number as a string then convert its characters to...
I've been looking for a free download of a programming language that is easy to use and handles large numbers for a number theory problem I'm working on. I will report my results here after I use it. My TI isn't powerful enough and my other programmable calculator that I downloaded, graphcalc...
Writing a function problem
If m different species share the same habitat the model becomes a system of recurrent equations:
Ni+1 [1] = Ni [1] + r [1] Ni [1] ( 1 - Ni [1] / K [1] ),
Ni+1 [2] = Ni [2] + r [2] Ni [2] ( 1 - Ni [2] / K [2] ),
……………………………………………………, i = 0, 1, …, i , i + 1, … (2)...