-
0
-
Neil Barnby answered on 3 Jul 2024:
The simple answer is – they don’t. To computers code is a set of instructions that they follow. They only understand these instructions as they are converted to binary which is then used to turn switches on or off. Computers are made of billions of switches and outputs come from combinations of those switches being turned on or off. so, computers do not ‘understand’ code.
If you were meaning ‘how does AI understand code?’, then the answer is still that they don’t. AI that creates code does not understand it, it only recognises patterns and so recognises patterns in code already written and it is this code the AI is trained on. so once that AI has learned the pattern of how a pice of code is structured, it can attempt to write its own by using all the common factors. this is why AI appears to write code, but it often writes code that does not work or does not work properly or even is insecure. AI that hasn’t been trained on any code cannot write it.
-
Related Questions
What is AI?
How do you get computers to understand code?
What's the worst attack you've defended against?
what is big data analytics
do you know anything about computer cyber security
What is computing?
Do you find that within your job, you’re spending continuously draining hours in-front of a computer ?
can you fix computers?
who made computers
Latest Questions
-
How do you make new drugs
-
how many plants do you study normally?
-
what happens when a person whos sick gets a DNA while the person is sick what do you do
-
What are polysaccharides?
-
how many nuclear explosions happen in the world
-
how does your job effect your daily life ? (2 Comments)
-
why does nuclear waste glow in the dark? (1 Comment)
-
how to you deal with problems you come across when doing your research? (2 Comments)
-
If you have been emotionally invested (focusing on anxiety if you suffer with it, dementia etc) do you find it
-
what motivates you to carry out your research? (1 Comment)
Latest Comments
-
how does your job effect your daily life ? (2 comments)
-
why does nuclear waste glow in the dark? (1 comment)
-
what motivates you to carry out your research? (1 comment)
-
how to you deal with problems you come across when doing your research? (2 comments)
-
How long have you been a scientist for (2 comments)
Comments