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

    Fortran Program that reads data from a file and calculates the mean?

    Hi everyone. I'm trying to write a program that reads data from 2 files and then calculates the mean, standard deviation and standard error of both files (separate values for each). I'm struggling to get my head around simple I/O, so excuse the poor attempt, but this is what I have so far: (I'm...
  2. Isaac0427

    I Program to help calculate an integral

    Hi, I have this integral that I really want to calculate for a personal project (not for school), so I typed it into WolframAlpha and it said that the it took too long to compute and to get it computed I would have to pay money. Is there any free software that may be able to calculate this...
  3. Y

    Running compatibility to install old program in Win10

    Hi I failed to install an old Avery label maker program in my Win 10 laptop. The same CD was used to install in a few other computers with XP and Win 7. When I tried to install, the computer said the program is not compatible with the computer. I did try right click the installation .exe and...
  4. Q

    Master in theoretical/mathematical physics. Guidance.

    Hello, I was wondering if you could give me some advice on what master’s degree or which specific master courses I should take. I am a physics student and I am going to finish my bachelor in physics next year. I plan to do a master in theoretical physics or in mathematical physics. However I...
  5. majormuss

    Admissions Can I choose to withdraw from a program after deferring

    Hi all, After accepting an offer from a university I am not too thrilled about, I have alerted them that I will like to defer my admission to Spring 2018 (for legitimate reasons). I was thinking: what if I only keep that school as my back up and then actually apply again to other...
  6. hsdrop

    B Looking for a Gyroscopic Simulator program

    I'm looking for a gyroscope simulator to see how a gyroscope would react in different situations and forces put on it. I have had an idea in my head for weeks now. It's starting to drive me a little crazy bouncing around in my head. I would like to see if the concept would work before I try...
  7. W

    How to get Output from this Program into Excel?

    Hi All, I have been trying to teach myself programming recently (Python, mostly). I obviously still have a good way to go. User MarneMath was nice-enough to help me in this post a while back: : https://www.physicsforums.com/threads/classification-valuation-problem-baseball.893418/#post-5630986...
  8. A

    Programs Finding the Right Master Program: Advice for a Physics Grad Student

    I got admitted into three different Master programs in my country, and I would really appreciate if you give me some advises. I have been working with a really productive professor since the beginning of the second year of my BS. The project we have been working with is to develop spectroscopy...
  9. Ahmed Adly

    Srctp missing (MCNPX program error)

    Hi, I have a problem with MCNPX when running the file, a fatal error ( srctp missing: inpn1o ).
  10. D

    Starting a C program with a command

    Homework Statement Analyze the code below and figure out what it outputs if it's started with this command: The correct solution is given so i can better understand the parts of the problem. Homework Equations 3. The Attempt at a Solution [/B] I had typed it out and tried to get the same...
  11. D

    What is the output of this C program with int pointers?

    Homework Statement I am supposed to analyze the code and find it's output without running it. Some things were unclear so i did run it and i have some things that puzzle me. Homework Equations 3. The Attempt at a Solution [/B] #include <stdio.h> #include <stdlib.h> #include <string.h> enum e...
  12. J

    Programs Dual Major Undergraduate program vs. Extra year

    Hello. So due to some life circumstances i was not able to finish all my coursework of my 3-year BS.c program last year. Thus i have about 24 credits I will take next year. My plan was to finish those courses, and then along that take courses in another university, in biochem on the side. That...
  13. D

    Other Considering a Physics Graduate Program: Pros & Cons

    So I just finished up a masters in math (my undergrad was in physics) and I was considering applying for physics graduate school next year. However, I recently got accepted to a physics masters program. My question is whether I should accept the offer, or apply for a doctorate program next year...
  14. Const@ntine

    Comp Sci C++ Cylinder Area Homework: Find & Program Solution

    Homework Statement Find the are of the cylinder, by creating a program in C++. 2. The attempt at a solution So far I have: #include <iostream> using namespace std; const double PI = 3.14159; class point { protected: int x; int y; public: point() { } point (int xvalue...
  15. X

    Schools Survived First Year of Physics Ph.D Program Now What

    I just successfully completed my first year for a Ph.D program in a top 10 Ivy league school and I must say it was the hardest year of my life. I would work 12 hours a day and on average spend 8 hours on a single problem in my problem sets. Luckily I am done with all of my classes and quals and...
  16. Acceptablyvegi

    Admissions What are my odds of getting into a PhD program?

    What I want: to get into an okay-average Environmental Engineering, Materials Science, or Physics PhD program. My resume: Chemical and Biomolecular Engineering Major 8 months experience with an extremely reputable food and beverage company as a process engineer sort of role. I'm leaving by...
  17. majormuss

    Attend an average PhD program or wait a year to retake the GRE?

    Hi all, I got accepted to 2 Astrophysics phd programs ( University of Connecticut and the University of Cincinnati). To be honest, I am not thrilled by the prospect of attending either school but my only other option is to retake the GREs again and wait another year to attend graduate...
  18. D

    Assistance needed writing a C program

    Homework Statement My task is to write a program that reads from the .txt file into a list which contains two parts, the part of the text from the file and a pointer to the next element. Here are the specifications of the problem: When reading from the file you should separate the letters from...
  19. The_Inventor

    C/C++ Creating a simple password program in C++

    So I'm trying to teach myself C++ programming and I'm having trouble writing a password program. Essentially I want to program to ask the user to input a password, and then compare that input with the correct password. If the user input matches the password I want the program to output a message...
  20. Israr Ahmad

    Can anyone teach me how to debug a program?

    I want to know what kind of programs can be debugged and how to do this?
  21. S

    Programs CERN Summer Program: Acceptance Rate?

    Hello! Does anyone know what is (approximately) the acceptance rate for the CERN Summer Student Program? Thank you!
  22. doktorwho

    Help with pointers and strings in C

    Homework Statement I have to create a program that dynamically allocates a string and uses up no extra space (The string takes up as much space as it needs to),checks if entered string is 'please stop this', if it is then the prgogram exits and if it isn't then it continues, it makes a copy of...
  23. S

    Testing Is the Math GRE Necessary for a Physics Program?

    Hello! I took my physics GRE and I got a good score on it. I am thinking to take the Math one, too (I looked over the problems and they seem ok). Do you think it worths? Like, if i apply to a physics program, would math GRE have any impact or they would completely ignore it? Thank you!
  24. D

    Schools How good is the cosmology program at OSU? (Ohio State University)

    I might be accepted to the OSU physics PhD program and I have mainly an interest in cosmology / early universe stuff. How is OSU's program in cosmology? I hear their astronomy program is very good, but how is their cosmology especially?
  25. Q

    How to Use the Linux wait Command for a Program Process

    I want to know how to implement a wait(linux) command for my program. Our professor allowed us to generate any command with system to generate a process. However, when I attempt to do this, I can see the processes that are kids on my terminal, however I can't make them wait.
  26. doktorwho

    Help writing a program (crossword puzzle)

    Homework Statement I am supposed to write a program in C that does the following: It creates a 2d array from your specifications and as inputs takes only letters 'a' to 'z', 'A' to 'Z' and '*' and nothing else. It should immediately exit if something else is inputed. This array represents a...
  27. pitbull

    Programs What do you think of this master program?

    "Msc in Earth and Space Physics and Engineering", at DTU (Denmark). I love the courses it offers, and I would like to work for NASA in the future. Do you think this program is a good idea? Any opinions? (Click here to access the website)Thank you for your help, guys :)
  28. O

    Check writing program (type double variable value converted into English words)

    1. Homework Statement First, if you want to skip my explanation, I believe the error is somewhere in the last 15 lines of code or so. Heres some background on test cases: Use stating member variables to use a class that helps you convert a double number into english words. For example, if a...
  29. Leonardo Machado

    Why Isn't My Bisection Program Updating Variables Correctly?

    Hello guys ! May you help me with this little bisection program ? For some reason it is not changing the value of the variables x0 and x1 after every loop :c #include <iostream> #include <cmath> #include <fstream> using namespace std; int main () { double x, x0, x1, f, f0, f1...
  30. Feeble Wonk

    Anti-Gerrymandering Program

    I've got a challenge for you programming guys, if this wouldn't be more appropriate for a different forum. In the current environment of pathologically polarized politics, an obvious positive move to address this problem would be to undo the congressional redistricting through gerrymandering...
  31. I

    Programs Medical Physics Internship Program for Students

    Currently I've enrolled in the master program of medical physics, particularly I'm interested in the field of nuclear medicine. Does anybody have the information about an internship or a short international school program for student of medical physics, especially for master student ? Thanks...
  32. C

    Programs Optics Program or Physics Program (w/ optics concentration)

    My main goal is optics. I love it. I did an internship having to study and learn about optics and I've had my sights set on it sense then. It's also easier for me to learn. I've applied to graduate schools, but I need to know: Are there any advantages or disadvantages of going to an optics...
  33. toforfiltum

    A C program to determine the most common birthday

    Homework Statement Write a program that opens a file of the users choice that contains a list of birthdays. Extract from this file two things: (1) the date with the most common birthday (all of them) and (2) the month with the most people born. We will not test for a tie in either of these...
  34. jamalkoiyess

    Admissions Can I get into a graduate physics program without a Bsc degr

    I am a physics sophomore. I have been told by some of the graduates that most of the courses can be self-studied through the books that are demanded. I want to know if a masters or Ph.D. program would accept me if I self-studied everything. It's going to save me a lot of money.
  35. Quantum Aravinth

    Programs Graduate degree program in Physics [from UG in India]

    I am from India, doing third year undergraduate Physics. This is a three year degree program and I am completing it in another 2 weeks. I would like to move abroad for my graduate studies. But I am not sure how to start, which universities would accept three year degree program, general criteria...
  36. Z

    MHB 3.15 Program: Text message expander (Java)

    I'm having issues with this code, here are the parameters and results. Create a program using conditional logic and string operations that does the following using your NetBeans IDE and upload it here: (1) Use scnr.nextLine(); to get a line of user input into a string. Output that line. (1...
  37. B

    Schools Medical Physics Program: Duke or Georgia Tech

    I am trying to decided between attending Duke or Georgia Tech for a Master's in Medical Physics. I would be very grateful for any opinions on the matter. Thanks!
  38. toforfiltum

    Simple C program involving arrays which cannot execute

    < Mentor Note -- thread moved to HH from the technical Computer forum, so no HH Template is shown > I have a homework problem which requires me to convert a word a user entered to Pig Latin by moving the first letter of the word to the end and adding an ay to it. For example, Tuesday becomes...
  39. B

    Schools Duke Medical Physics Program -- how was your experience?

    I would like to know more about Duke's Master of Medical Physics program. Do any of you know about the clinical experience you can receive while attending? Also I am curious about the student to student experience that is most common during the program. To clarify, are students typically...
  40. D

    Where can i learn to build circuits?

    At my school we have started a program where we have one class a week on building circuits and playing eith the applications of circuit parametres. I would like you to tell me if there is a program, website or an app that can provide me with lessons or ability to build circuits of my own and...
  41. Skyline-7

    Programs How good is this applied math program?

    Hi, I am wondering how good or better to say competent this program from applied math is that I would like to join this year? Here it is: Applied Mathematics ====== Year I ====== Semester 1 ----------- - Analysis 1 Real numbers. Sequences. Real functions of real variable. Continuity...
  42. toforfiltum

    Program to find combination of letters associated with phone

    So here is the question: On a phone keypad, many of the numbers have letters associated with them. For instance, the letters A, B, and C are associated with the number 2. Write a program that accepts a number as input and prints all of the possible letter combinations associated with that...
  43. M

    Programs Physics or Astronomy undergraduate program?

    I got a guaranteed slot in a university that offers a physics program but I'm doubtful if that is the right choice. I could take this physics program or I could maybe move to another city and study astronomy there. I'm interested in particle physics, mechanics, astrophysics and...
  44. A

    C/C++ C++ program for give equations and error rectifier give program.

    #include<iostream.h> #include<math.h> #include<conio.h> void main() { int n,fact(); float LAM, MU=3, RO, C=0.1, N=10, F1=0, EXX, EWQ; clrscr(); for (LAM=0.1;LAM<=1.1;LAM=LAM+0.1) { RO=LAM/MU; EXX=2/(MU*MU); for(n=1;n<N-1;n=n+1) F1=F1+(N-n)*pow(LAM*C,n-1)*exp(-LAM*C)/fact(n-1)...
  45. P

    A Basic program -- missing array index?

    If someone can help me with this I'd be grateful. I've asked this question on other forums, gotten lots of views but no answer. It's no big deal but maybe someone has a solution. I've have a program written in BASIC. I did not write the program and I have no way to contact the original...
  46. FallenApple

    Don't understand tower of Hanoi Program Stack

    1)I have two questions. I don't know why pegs[0].push(i); is used inside the for loop in the first void function. It makes sense that the program needs rings to be placed on a stack. But why pegs[0]? why not pegs[i]? Mod note: Edited pegs[ i] above to prevent the following text to be rendered...
  47. risp

    Schools Which of these 4 colleges has better a better physics program?

    I got accepted for the 3-2 course in the following colleges: Knox Earlham Suny Geneseo Ohio Wesleyan University I want to do B.A in physics.So which school is better?
  48. T

    Thoughts on rejecting a program after their deadline

    I was fortunately accepted to a strong graduate program today. It really is a great program (e.g. top 25 ranking in Physics/Astronomy) but was largely a secondary plan. I will call this option Program B. My main goal has always been to pursue a career in a very different field and I am still...
  49. doktorwho

    Help Writing a Program: Solving Encryption with Matrix and Key Sequence Method

    Homework Statement For our final test preparation we were given a few problems to write and this is one of them: I would be very grateful if you could help me find the easiest way to solve it. Homework Equations 3. The Attempt at a Solution [/B] First let me tell you my plan for writing this...
Back
Top