+12 votes
895 views
in Technology by
by (590 points)
Robots and computers both use machine language. (Almost?) Every programming language (not JavaScript) compiles into assembly code that compiles into machine code. Machine code is the instructions for your computer to run. It basically modifies binary and stuff.

Anyways, robots are usually written in Python.

Computers are written in binary and machine code.
by
Corrections:

Robots can be written in any programming language, but AI is written in Python a lot. Robots are also written in binary and machine code like computers.

Computers are written in binary and machine code. But their programs can be written in any programming language. Because either way, every programming language compiles into machine code. Or make an .exe file converter like PyInstaller or Escript.



7 Answers

+2 votes
by
It's called binary language, which consists of 0 and 1. Computers can't understand our languages (like English, French, Spanish etc.). The computers need to convert them into binary before processing the data.
+2 votes
by (1.34m points)
Binary. The software uses C++ and C#

Websites use HTML, CSS, JavaScript. PYTHON, and PHP
by (284k points)
+1
BEST ANSWER! XD
by (1.34m points)
+1
lol
by
Binary and machine code. Software can use any language since they all compile into machine code.

Websites use HTML, CSS, and JavaScript. Python and PHP are both server side languages, and there are more server side programming languages. Static pages use only HTML, CSS, and JS. Dynamic pages use a server side programming language in addition with HTML, CSS, and JS to communicate with the website and give it info like data
+3 votes
by
Robots and computers use a line of code and so be it . If your computer is slowing down that means it is ordering the line of code!!! Me smart!!!
+3 votes
by (3.7k points)
Computers and robots use a language called binary code. Most websites use something called html!
by (1.34m points)
+2
AND css, javascript.
+3 votes
by (448k points)
Binary.
+3 votes
by (320 points)
Robots use a set of numbers called binary so and do computer!
+4 votes
by (71.0k points)
Robots and computers both use the same language, since a robot is really just a computer that can move. Computers all speak binary. Binary has only 1's and 0's.  For example, the letter 'A' is represented by 01000001. Computers store all this information in memory. Numbers are represented the same way, so '6' is 110.

It takes special software, also written in binary to interpret the code and make the computer do useful work. Programmers rarely write in binary, since it would be too tedious and you would probably make lots of mistakes, so they use other languages, like C, PHP, Basic, Cobol, etc., that make it easier by using more English sounding words and translating them to binary. Here is an example written in PHP

for($i=1;$i<=10;$i++) echo $i;

This will output the numbers from 1 to 10. It all gets translated to binary first and then the computer can perform the action. The binary code can only do very simple things, like move binary 1's and 0' right or left, add them, move them to another location in memory, etc. However, you can combine these very simple operations to create anything.

There is a lot more to it, but hopefully this gives you a general idea.



Related questions

+8 votes
6 answers 312 views
+4 votes
1 answer 144 views
+6 votes
0 answers 141 views
asked Mar 27, 2021 in Technology by anonymous
+7 votes
2 answers 202 views
asked Nov 30, 2016 in Technology by Unicorn
+3 votes
9 answers 369 views
asked Jun 11, 2021 in Other by Cat lover (3.6k points)
+5 votes
0 answers 52 views
+11 votes
1 answer 1.6k views
+16 votes
3 answers 441 views
+10 votes
0 answers 184 views
asked Nov 17, 2016 in Poetry Contests by L (90.2k points)
+4 votes
5 answers 123 views
asked Dec 24, 2023 in Polls by o97doge (1.0k points)
+6 votes
5 answers 72 views
asked Nov 25, 2023 in Other by ThatOneShreddedGuy (116k points)
+6 votes
14 answers 218 views
+6 votes
3 answers 141 views
+2 votes
2 answers 331 views
+3 votes
5 answers 258 views
asked Apr 12, 2021 in Polls by lypi123 (40.6k points)
+7 votes
4 answers 278 views
+13 votes
12 answers 555 views

Recent Badges

Good Question
Question received +3 upvote
- GirlPwr4Eva -
Notable Question
Asked question received 50 views
- monkey2020 -
Nice Question
Question received +2 upvote
- GirlPwr4Eva -
Famous Question
Asked question received 500 views
- ❤☮LouTheLuver☮❤ -
Notable Question
Asked question received 50 views
- Slay pookie baddie h -
...