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.
Not necessarily for JAVA, but in any beginning computer programming course at a college or university:
What will the school, or department, or the teacher require of the students?
Need the student use their own personal computer for this?
Can student do the work using JAVA without having an IDE...
It has been over 15 years since I completed a Masters of Science in Electrical Engineering. However that alone does not really date me much. So far I have yet to find a source of employment that lasts long enough or is of enough compensation to pay off student loans before I can even begin to...
I'm trying to code a script for a character in my game. This will tell the character if the player is in front or behind them.
Basically I know the coordinates of the character and their angle of rotation (if rotated 45 deg, that is where they are looking)
Perpendicular to their angle is a...
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...
Hey, this is my first time posting and I've been looking everywhere but can't find a decent water model. I hacked a program together to decently simulate water physics, but it's not nearly robust enough for what I need.
So, in this world, everything is based on a grid. Any non-wall tile can...
Where can I learn to break the habit of using time steps and instead use mathematical frameworks to preserve time symmetry when programming simulations?
I recently visited a site ( bugman123.com ). He's got a lot of STEM experience. He's written simulations and programs for a lot of things...
I was having a morning look into assembly language videos and stuff and I was wondering:
how much faster is assembly compared to some higher-level programming languages (like C or C++ or python)? And also why is it faster than those languages?
I mean a general C++ source code should be...
A little question about the appropriateness of a certain research subject...
Would it be useful to make a study of the computational effectiveness of equivalent codes written with Matlab, Mathematica, R Code, Julia, Python, etc. in a set of typical computational engineering problems like...
I'm looking for some non-big project related to physics or/and abstract math.
It firstly should be a good programming task(since its my programming credit)
Bachelor student in theoretical physics. Not bad at C and Python, a bit of C++ and Haskell. Interested in field theory, quantum stuff, diff...
I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools?
Thanks
Homework Statement
Okay, I'm going to "cheat" a bit and add two programs here, but I don't want to clutter the board by making two threads. Anyways, here goes:
(1) The value of the sine of an angle, measured in rads, can be found using the following formula:
sin(x) = x - x3/3! + x5/5! - ...
Hi, i wrote a code and annotated it but i have few problems with it. First it won't run on Visual Studio but it runs fine on repl.it online site which uses a C ide. Second, it seems wrong when i input
5
45 6 -4 8 3
It should print out 8 3 but for some reason it misses out on 3. Could you see...
Hi
I have a bachelor in mathematics with a minor in physics, and my plan for the future is to move on to computational science and robotics. However, before I can do that, I need to work a few years due to bad personal finance.
In my city, the easiest route is programming. I already knew...
Bacterial cells have previously been programmed with human logic.
Mammalian cells are now being programmed by molecular biologists.
Among other things, they are using recombinases as parts of switch mechanisms to remove particular bits of DNA in response to an input.
These changes would have...
Hello everyone,
I am a senior in high school and am very very interested in robots and artificial intelligence. In summer i will be going to an electrical engineering college and i want your advice as to what further steps should i make and what knowledge to accumulate over the 4 years at...
Hi, I'm a high school student in a STEM program, and as of now my primary interests have been in Computer Science, Math, and Robotics. Currently, as I research colleges, my intent is to double major in either Math and Computer Science, or in Computer Science and Electrical Engineering. However...
I am studying physics. I have concluded that since ancient time, physics have been understood with the help of philosophy, now iI am seeing that the physics is turning into more mathematical seems like nature is a matrix composed mathematically.
And computer is running as best candidate for the...
Hello everyone,
I am new to the forum. Programing was never an interest of mine but it’s an unfortunate requirement for classes I am taking I could really some help. I have tried fixing the code the best I can, but when I run this through Netbeans, no matter what numbers I put in for Wall...
I am just curious about this. Must one of these be taught before the other, or does the order not really matter? Should a student be taught beginning computer programming AFTER being taught introductory algebra 1? Or can the reverse order be done? My guess is that learning Algebra 1 first is...
Hi guys.
I am reading several papers about financial market and authors show the possibility to represent this market as a graph in which nodes correspond to traders and edges represent trading relationships.
Which programming software could be a powerful tool to write a such code?
I am...
Hey everyone,
I was wondering if you were completely new to programming when you went to University, how did you learn to program? I spend a lot of time reading the books my University requires, but it all feels very dense and difficult to follow. I retain little to nothing.
I started out with...
Hi i have exam next week and would like any to help me review by giving programming problems to solve. From simple, medium and hard or have a website that i can practice this.
Hear me out on this. I am an absolute beginner to C, i know some Python and i just finihed a month course on Pascal (school currciulum) and we're starting C by the end of February. Even though I am a beginner I am a fast learner and i want a book that is escalating moderatly or even fast.
Also...
I should rephrase the title slightly.
My question is: which physics PhD makes a student most qualified for a job in Google or Facebook?
In other words, which physics PhD uses the most comprehensive set of programming tools and theoretical computer science techniques?
Certainly, a PhD in...
Hi all,
I am a sophomore physics and math major who has realized the importance of being able to code, so I decided to start learning. My question is, what languages should a young physicist learn? I was going to start with C but would like to know where to go from there.
Thanks for the help!
I'm basically looking to find out how I could code a program to read the textual contents of a website (in either batch, dev c++ or powershell script - or a combination) and then search for a specific word, which when found, will trigger a set of commands. It's basically like the findstr command...
Hey guys. I got a project in which I'm working on right now and I got to use a microcontroller in it. The microcontroller is a PIC 18F2550 and I have to receive data whenever I send the 'a' character via the serial port(RS232). The data I'm suposed to receive is generated with the ADC from the...
Homework Statement
I just started learning pascal (school curricuulum) and am finding it quite boring compared to python. After skipping a few lessons i came today and we had this code shown. I know it creates a matrix and then transposes it but am misunderstanding the details of the code and...
I would be really thankful if you could check out them because I'm kinda indecisive about everything and i want your opinion on this. I was looking for a website that would have programming problem sets set in order so i could solve them and also have fun. I'm a python newbie and this is what i...
I try to find out how to minimize functions i R by using nlm function:
> f<-function(x,y){x^2+y^2+10-5*x-y}
> nlm(f,0.1,0.1)
That only gives me an estimate for x. How would write the code to get x and y?
Since i don't know how to write code here on forums i will upload a picture and explain what's it about.
In the picture there are three codes that define the same procedure of finding the biggest number out of three given. The first code in the picture is defining a procedure called...
when I try to compile the MIPS instruction in order to compute the factorial of n number? i get the following error in the console as:
Enter the factorial number: 20
factorial of given number: -2102132736
The output which I am getting as negative integer of a given factorial instead of...
I'd like to build my own reliable alarm clock, but I don't have any knowledge in electronics and no fancy equipment, only some humble C programming experience. What do I need and what do I need to know to build one myself.
Thanks very much.
Hi, I am looking to buy a code editor for my iphone so i can code on it. I don't know any of these but they are most if not all paid and i was thinking of asking for your help in choosing one of them. I would like it to be a python editor but it should also support other languages. It is also...
I'm just a casual/academic programmer. The last major revolution in programming (that I know of) was object oriented programming. But some of the latest developments (in C++) that can actually be used by everyday programmers that I can think of are things like smart pointers which were only...
I am having trouble removing the same cards from my hand in my game of oldMaid. this is my source:
Mod note: Added code tags to preserve indentation, and modified code slightly (replacing index i in arrays with j.
deck=[]
suits = ['\u2660', '\u2661', '\u2662', '\u2663']
ranks =...
I'm trying to solve https://www.hackerrank.com/challenges/summing-pieces and I think I have come up with an O(n) solution although the numbers aren't coming out exactly right. The problem is essentially to find a sum like
ABCD
---> All sets of sets of contiguous subarrays spanning ABCD is
{...
Hello everyone,
To start, I found this forum incredibly helpful throughout my college education thus far. This forum has helped me pick my major in undergrad back in 2011, helped me narrow down which graduate program to gravitate toward upon graduation in 2015, and now I have a continued...
How much importance do pure mathematics graduate schools give to programming ? Like how much programming knowledge do they expect a successful applicant to have ?
Hello everybody! Long-time lurker and second-time posting. I'm working on a project for my math class, and I'm trying to plot the orbits of the planets using vectors. I've chosen to use MATLAB because I am decently familiar with it. I've used the formulas described in this post here to get my...
I'm not sure what to do, I keep on struggling with the MATLAB assigments and I'm a physics major. Any ideas on how to cope with this? Didn't really expect to be doing this much programming, and I do not like it.
Hello everyone, i hate that i can't figure this out and I'm just looking for good direction on how to figure out the last bit of my code. I'm first time user of C programming and haven't fully grasp the concepts and tools available to me so be patient if you offer any help. My task is to write a...
Hi
So, I know programming in Python. However, I am considering learning Java and C++. I know it's easier to learn a new language if you already know a programming language. However, how similar are the different languages?
The impression I get from skimming through online resources is that they...
Hi,
I am running a fortran 90 program and I have some problems when getting an average. It happens that at some point the value of suma2 is not updated, even when the value of the term s(fixed2(j))/real(nfixed) is not zero. Below is the output of fort.32. The problem dissapears when suma2 is...
I'm thinking about learning ARM programming with C\C++(I think C is a better choice though). But I don't know what tools I can use on linux(ubuntu). I prefer to use open source software. Is there any suggestion?
Thanks
An Applied physics BS in Italy (a lot of C programming, analog and digital electronics with arduino and assembly and digital design) plus as many CS exams as i can (i'm thinking about OOP in Java 8, algorithms analisys and design, database theory and SQL and Multicore programming in Java and...
well hello everyone! I have just started my college and i have in mind to find books that are beneficial to certain subject I am studying and i asking for your help. I'm not an English native so I am going to help you help me by providing a subject description so you can tell me your...