+ 6
Concept Of coding
Beginner. I always thought that code is 1s and 0s How does the coding turn into 1s and 0s and haw do you read that Iโm a little confused if someone can explain it would be very helpful Thanks in advance If any answers(the question also) are helpful kindly like it
24 Rรฉponses
+ 1
To con vert your code to 0's and 1's you would have use some compilers that converts high level language (python ,c++,c etc) to some low level language ,them use some other compiler to convert that program to machine codes and then some other compilers that convert machine codes to binary and that will give you the binary form of your original program.
A Compiler is like an language enterpreter that converts one language to other like (someone who might convert German or French to an language which might me easier for you to understand ) ,So when we run our code in an IDE it converts your program to 0's and 1's and feeds it to the machine and then converts the output received by the computer to the language you could understand (i.e english ) .As even if you see the 0's and 1's of the output you will not understand ,so most ide simply hide it ,but there are some ide's that give you 0's and 1's four your intered program in any programing language .
Hope i clearified some part of Lz1234 your Doubt.
+ 10
A compiler converts source code (which you've written) to an object code the machine can read. This machine-readable code is usually made up of zeroes and ones since it's in binary form.
+ 4
Lz1234 idk the stuff in great detail but ig, what you might be looking for is understanding machine codes, for which the YouTube channel named 'Ben Eater' might be a good for start. Just an advice though, the computer programming that the software programmer usually do has nothing do with how machine codes, there are perhaps many people here too with good knowledge of machine code. But the field of software development and machine code diverge exponentially as you try to delve deeper into the subject
+ 4
Hello. The script that you write, which is understandable to you with the help of various algorithms, turns into binary code (zeros and ones), which is understandable to the computer system. In my opinion, it's like this, if something is wrong, please fix it.
+ 3
How do almost all computer boards work? There are a lot of micro-contacts inside the board, which are either under voltage or without it. The binary code manages these contacts. Contacts under voltage are ones, and without voltage are zeros. This is how the internal system of all electronic devices works (in particular: Computers, smartphones, televisions, etc.)
+ 2
Vikas
Whats a complier. Pycarm?
+ 1
Pycharm is an IDE, python for example is a coding language, you type the code and the code language converts it into machine languge, the rest is explained above
+ 1
An IDE is just an environment for you to write your code, just like a specialized text editor
+ 1
Thanks
+ 1
Name as in
Vikas
You can highlite it when you respond
+ 1
Wasnโt aware of that fact, i dont know how to highlight someones name in a response, sorry
+ 1
Oh, you use @, and then type their name, so for example Lz1234
+ 1
@Lz1234 Python does not need a compiler because it relies on an application (called an interpreter) that compiles and runs the code without storing the machine code being created in a form that you can easily access or distribute. All programming languages require translation from human concepts into a target machine code.
+ 1
Watch YouTube cs50 2020 first video - scratch u will find answer for it ๐
+ 1
Rishav Kumar
What machine codes and what binary
With exsamples
Thanks for all the answers guys keep up the work
+ 1
Dear Lz1234:
The codings thatโs language is nearby english language are called high level languages or what do you call it in books, there is a level below that, it is called a median or something like that, but the level you are talking about is completely 1 and 0. In this level that is the language that only machines can understand for each order we give to machines there is a definition; i mean there is a set of 1 and 0 for that:
For example we want to move and delete from the processor, we write 10 instead of move order and 0101 instead of delete order, the machine does the orders automatically.
The given orders are just for understanding but it is a huge string of 1 and 0 s for just one move and you have to grab a notebook to write its synonymsโบ๏ธ๐
+ 1
Nice coding for the beginners ๐
0
I just explained what an IDE is, look at the responses to your post, and whay do you mean how do you highlight name for a response