What is Program: Definition and 1000 Discussions

A computer program is a collection of instructions that can be executed by a computer to perform a specific task.
A computer program is usually written by a computer programmer in a programming language. From the program in its human-readable form of source code, a compiler or assembler can derive machine code—a form consisting of instructions that the computer can directly execute. Alternatively, a computer program may be executed with the aid of an interpreter.
A collection of computer programs, libraries, and related data are referred to as software. Computer programs may be categorized along functional lines, such as application software and system software. The underlying method used for some calculation or manipulation is known as an algorithm.

View More On Wikipedia.org
  1. J

    Visualizing Physics: Looking for a simple 3D drawing program

    Hi guys, I am looking for a simple 3D drawing program, where I could draw a bunch of balls of different colors and maybe some bulky arrows. If I could make a small movie (or a GIF) by making the balls move, that would be a nice extra. What would be the simplest solution? Mathematica...
  2. R

    Modifying Program to Control Current at Maximum Duty Cycle

    Hi, I want to modify a program that was written long ago. I would like to give the output from hardware as user input. Here, user input deals with current at maximum duty cycle allways. My task is to control the current according to the user input. Let say, if user wants 2kA as O/P and i...
  3. T

    Comp Sci C++ compare strings program using pointers

    Homework Statement Create a function called isEqual(). isEqual() takes two strings and determines if the strings are identical. isEqual (s1, s2) should be the same as s1 = = s2 #include "stdafx.h" #include <iostream> using namespace std; bool isEqual(int *s, int *st, int x); int...
  4. T

    MATLAB Matlab program using implicit Finite Difference

    Hello, I need help writing a MATLAB program to solve a heat transfer problem implicitly. For some reason this is very confusing to me. The problem is stated below. Any help is greatly appriciated. Let me know if you need a little more info. I need to write a program to solve this...
  5. P

    Undergraduate summer research program?

    im currently studying civil engineering at your typical technical college. right now I am taking a course in differential equations and i guess you can say I'm relatively interested in it. I've been toying with the idea of minoring in applied mathematics but i guess that's another story...
  6. G

    Program Switch Comp Eng - Comp Sci

    Hello, I am currently in my Second year of Computer Engineering, but I often find myself not enjoying the electrical engineering courses that we have to take (Electromagnetics, Microelectronics, Circuits and Systems) but I immensely enjoy the programming courses and the Computer Engineering...
  7. D

    Comp Sci Fortran 90 Description in program how to continue it)

    Fortran 90:(Description in program how to continue it) Homework Statement Write a program in Fortran 90 (not fortran 77) that reads from the user 4 integers a, b, c, d. The program should first check if applicable inequality a ≤ b, c ≤ d. If not then it should asking again numbers from the...
  8. S

    C Program Help: Input Name & Print A/B or Error

    GIVE A program of c to input a name and print the name if the first char of name is a or b else print error message.
  9. H

    How can I make setup files install specific folders in different drives?

    Hello computer geniuses. I am learning to develop visual basic program. For just now I have developed the project of student database through text base mode. I know how to publish the application to make set up files. My main problem is that I need to make setup files install the folders...
  10. L

    Schools Which REU program/ grad school application

    Hello, I am a sophomore physics and mathematics double major, and I plan to attend graduate school for physics with a concentration in biophysics, or just biophysics. However, this is subject to change, as I find a lot of areas of physics interesting. I was recently accepted to two REU...
  11. K

    Graduate plasma physics program in Princeton and Univ of Michiganadvice needed

    I am looking forward to apply for Plasma Physics program in PPPL(Princeton) and Univ of Michigan. But I am not sure about what sort of recommendation letters I should send. I have one strong recomendation from my undergrad project supervisor(the project is plasma diagnostics in Hall Effect...
  12. K

    LaTeX Searching for Real-Time LaTeX Program

    I am sorry guys - I don't have privileges to post in other sections of this forum. I am looking for a Latex program that shows the result of the code in real time so that I don't have to create a pdf every time I need to see if my code was correct. Any suggestions? Thanks.
  13. R

    MATLAB MATLAB program for B-spline surface

    As a class assignment, we were required to write a program that calculated the basis functions and also plot the resulting b-spline given a set of x, y, z points. I have done this and the program works. I would, however, like to develop this further for b-spline surface generation (not a...
  14. A

    Java Java program to communicate with a USB port

    Hi, I want to write a java program to get information from a USB communications port. I have downloaded the javax-usb-r1 package but I don't know where I should place this folder / package. Can anyone give some advice? Thanks
  15. S

    Calculators Help with newly installed program on TI-89

    Is anyone familiar with the program "LM v1.0". It simplifies expressions via minterms. I have downloaded it and installed it on the TI-89, and I can find the program on the calculator. However, when I type in, exactly as the instructions say to, I get no output; that is, it merely displays what...
  16. C

    Fortran Creating a Program to Copy & Generate Coordinates in .inp File

    The issue I am having is that I want to create a program which reads a .txt file and copies it exactly to a .inp file followed by some coordinates which I am generating. the . txt file is being used as a header file which can be changed outside the program but once the program is read in the new...
  17. T

    BS E-Physics to a graduate program in EE?

    Hello PF, I did a quick google and couldn't find exactly what I was looking for so here it is: I am an undergrad graduating next year with a bachelors in Engineering Physics. So far my concentration has been in physics. I took one Intro to EE course which I liked, and I am taking a circuits...
  18. G

    Mathematica Mathematica: I made a program, but can't manipulate it. Please help

    The program I wrote accepts a certain number between 3 and 18. Then it returns the ways this number can be obtained by throwing three dice simultaneously and adding the face values. I want to manipulate this number, :biggrin: but can't achieve it using the ordinary code of manipulation...
  19. K

    Comp Sci How to Write a Fortran Program to Sum Numbers in Multiple Result Files?

    Homework Statement Hello. A student came to me by yesterday with a question like this: Here is a sample file (sample.dat), 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 and also with many result files, such as result_1.dat: 1 0.1 2...
  20. S

    Needing a simple microcontroller to program ADC0831

    Hi all, I am building a LED tomography system (think of it as a simple transmitter and receiver). I would like to do signal processing on the received data, so I am needing to convert my analog, received signal to a digital signal. The ADC I have chosen is the ADC0831 (DIP package). The...
  21. Square1

    The Subject of Iranian Nuclear Program (yes, physics related)

    Ok, so the latest headline from RussiaToday has prompted me to finally inquire about the the nuclear program issue. We've all heard about how Iran claims their nuclear program is for the alleged peaceful purposes. A recent report has stated that Iran officially has "enough radioactive material...
  22. G

    Calculators Is there a better slope field program for the TI 83 calculator?

    Hi I was searching for a slope field program for my calculator and found this one http://www.math.lsa.umich.edu/courses/116/Calculator/TI83/TI83-SF.html for some reason I can't get it to work. When I run it I only get one line row of lines at the bottom of my window when it graphs it. I...
  23. M

    Mysterious Equations in Childrens TV Program

    I'm sorry if this is the wrong forum for this. But I was watching a cartoon with my niece the other day. And I saw that in the background one of the characters was doing some mathematical equations on a black board. And I noticed some jargen that didn't make sense. I thought nothing of...
  24. A

    C/C++ What program do you use to program using C++ or website design or anything

    So I want to learn C++ & website making as a side hobby since I have some free time in my days. What programs do you all use and would suggest for C++, Visual C++ ? LOL. And for website design or making; what program? Sorry I don't know the correct terms.
  25. Char. Limit

    News Iran Sentences Canadian Programmer to Death for Writing Program

    http://nakedsecurity.sophos.com/2012/01/24/canadian-resident-sentenced-to-death-for-writing-a-computer-program/ I just can't believe this. If anyone wanted proof that Iran's leadership is not in any way civilized, this is it. I feel that something should be done, but I just am not sure what yet.
  26. fluidistic

    Efficient Approximation of Pi in C: A Comparison with Fortran | Help Needed

    So this isn't for homework. Basically I have a program in fortran 90 that computes an approximation of pi using a very non efficient method. So that it can do about 10^8 operations and still doesn't converge that much which is what I'm looking for. I want to write this program in C too, but...
  27. C

    Program Verification - Translation rule

    Hi I am doing a course on Program verification and am having trouble with the properties of summation, more specifically the rule of translation: "Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose...
  28. L

    Python program to verify primes

    Homework Statement I'm supposed to write a program which asks for an integer input, then determines if the input is a prime or not. I wrote a program but I have 2 issues: 1) It works well for primes up to around the size of 30000~, then above that (I just tried 65537, for a weak upper bound)...
  29. T

    Fortran Help with a very simple fortran program.

    Hey, been 6 semesters since I took a fortran class and it's come up again. I'm and engineering major so I don't know what about programming and what not. Anyways, I need a program that multiplies an NxN matrix by an N dimensional vector. This is what I have so far: Program Matrix IMPLICIT...
  30. C

    Simple program to fill an array

    #include <stdio.h> int main() { double sum, theta[100]; int i; sum = 0.0; i = 0; while (i < 100) { sum = sum + theta[i]; i = i + 1; } printf("The sum of the array is %lf\n", sum); } when i run it i get a wrong answer...i don't know how to initialize the array
  31. P

    Will a MSC computer science conversion program prepare me for PhD

    hello my fellow physicists. I have a degree in industrial engineering but my true passion is computer science. I want to apply to a MSc conversion program in computer science in the UK. Will this prepare me for a PhD? is this a bad idea? will not having an undergraduate degree in CS be a problem...
  32. A

    What Does the SendByte Function Do in This MCU Program?

    Very simple MCU program,the purpose would be sending strings to the computer, but no footnotes, so I have to guess the intention: void SendStr(unsigned char *s) { while(*s!='\0') { SendByte(*s); s++; } } /*Question No.1: How does SendByte interact with SendStr? Here is the SendByte...
  33. G

    University Honors Program Yes or No

    Hi, When I was in high school I took a lot of hard courses and was also involved extra curricular activities with a full 12 seasons of sports, I was also in a couple of clubs. As a result however I was absolutely miserable and hated high school, due to a lack of sleep among other things. All...
  34. R

    Plate bending program (Help to spot the problem)

    hi all, I've created the small program which deals with the calculation of plate bending with quadrilateral finite element, program is written with Fortran. I've included all the source files that need to compile the program ,I've even added the executable file (along with input file...
  35. L

    Testing Do I need to take the Physics GRE for a Ph.D program if I have a Master's?

    Hi all, So, I'm finishing up my master's degree in applied physics (not much different from a master's in physics if you choose your courses correctly) and am looking into Ph.D programs. One thing I haven't seen much information about is the requirements if you are coming into the program...
  36. W

    Looking for free animation program

    I have a bit of a dilemma. I'm designing a game in PHP (been designing it for several months now.) And want to release a trailer. Right now, the game isn't very pretty, and won't be until I get someone to do some artwork for me, but I haven't gotten much interest anywhere I've posted looking...
  37. B

    Research / Internship Opportunities for folks with BS, not in Grad Program?

    This is the second year of grad applications for me and although I've done what I could afford to improve my application (paying for and A-minus-ing a semester of grad level QM), I'm feeling pretty pessimistic about my odds of acceptance again. Frankly, I'm almost 26 and I'm not sure if I can...
  38. D

    Road to Nuclear Engineering Graduate Program

    Hello all, I'm currently a junior in the Mechanical Engineering program at the University of Utah. I'd like to go into either the MS or PhD program in Nuclear Engineering there. There is no BS in Nuclear Engineering offered there, but there is an NE minor for undergraduates, which would allow...
  39. T

    Simulating Impacts of an Iron Man Suit: Free Program?

    I want to see what type of impacts a certain suit, say for example, an iron man suit, can handle with different materials. for example, what would happen if you where to make it out of iron compared to titanium or nitinal, what would happen if you shot it with a 9mm or even 105mm tank cannon...
  40. P

    Do i have a shot a graduate program in electrical engineering?

    Hi, i am currently studying Industrial engineering in Peru, i will graduate in 2 months. (i will get the equivalent of a BS in industrial engineer) All my life i have been into technology, computers, math, science, etc. Anyways i was wondering if i have a chance of getting into an electrical...
  41. O

    Fortran How to run Fortran program on the website? Please help

    I have a simple command-line based Fortran 95 program. I would like my clients to be able to run it straight on the website. So that it can be executed on the server without downloading it. I have found out that most of the hosting packages and web browsers do not allow running .exe files...
  42. A

    Troubleshooting a Roulette Game Program in Python

    Hi guys I'm trying to program a Roulette game on Python My programs asks for inputs and I gave names to these inputs. The point is, since I didn't assign these names before, the following error occurs: UnboundLocalError: local variable 'color' referenced before assignment I tried to get...
  43. L

    Getting into a Master of Science Program

    I am a third year EE undergraduate and I am thinking of getting a Master of Science degree in EE after my undergraduate studies. There are a lot of information here regarding PhD admissions, but I couldn't find any that specifically states the factors that can affect a Master's program...
  44. K

    Admissions Applying for physics REU program, resume help?

    I'm a junior undergrad who is applying for a REU (Research Experience for Undergraduates) program at FSU's High Magnetic Field Laboratory, and in my application it requires a resume. I've never made a resume before, not even for my job, so I'm unsure of what to do. I've looked at resumes for...
  45. J

    Need program for operating on 200-digited numbers

    Hey guys! I desperately need a software for performing operations on large numbers (some 200-digits), and as I have no knowledge of programming, I think a complete software package is what I'm looking for. I think I am onto something regarding the integer factorization problem, but I have no...
  46. G

    Should I drop out of my MSEE program?

    Hi. I'm currently a first-year Master's student in EE. I just wrapped up my first quarter and, in all likelihood, my GPA is going to be below a 3.0. In my school, that means that I'll be put on academic probation for the next quarter. If I don't get a 3.0 or above in the next quarter, I'll be...
  47. R

    Troubleshooting Prime Factors Program

    I'm trying to write a program that will find and then display the prime factor of a number. I have written this in C# but it works for some numbers but doesn't work for others? using System; class primefactors { public static void Main() { int number; bool...
  48. D

    Trying to make a program to take and print the natural log of a number input

    I'm relatively new to C programming and I am trying to make a program to take and print the natural log of a number input by the user but for some reason my program always returns incorrect answers. For example I entered 1 as my number, and the answer came back as some ridiculously big value...
  49. D

    Comp Sci Help with Java program calculation

    Question: Write a program to convert 22 square metres into square kilometres. Note: divide square metres by 1 million to produce square kilometres. Note also that the answer is not zero! I know the note says the answer is not zero but shouldn't it have some value other than 0 ? My code...
  50. J

    Help Needed: Writing a MIPS Program w/ 2 Instructions

    I need to write a MIPS program (using only 2 true-ops) to take in 1 signed integer argument into register $a0, and return (into $v0) a 1 if the input was negative, and a 0 (into $v0) otherwise. Can anyone offer help. I'm not sure since I can only use 2 instructions.
Back
Top