+ 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

23rd Aug 2021, 11:29 PM
Lz1234
24 Answers
+ 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.
24th Aug 2021, 6:13 PM
Rishav Kumar
Rishav Kumar - avatar
+ 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.
24th Aug 2021, 12:34 AM
V Karch
V Karch - avatar
+ 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
24th Aug 2021, 1:53 PM
scientist
scientist - avatar
+ 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.
25th Aug 2021, 4:18 PM
๐—˜๐˜…๐˜๐—ฟ๐—ฒ๐—ฒ๐—บ๐—š๐—ฎ๐—บ๐—ฒ๐—ฟ
๐—˜๐˜…๐˜๐—ฟ๐—ฒ๐—ฒ๐—บ๐—š๐—ฎ๐—บ๐—ฒ๐—ฟ - avatar
+ 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.)
25th Aug 2021, 4:33 PM
๐—˜๐˜…๐˜๐—ฟ๐—ฒ๐—ฒ๐—บ๐—š๐—ฎ๐—บ๐—ฒ๐—ฟ
๐—˜๐˜…๐˜๐—ฟ๐—ฒ๐—ฒ๐—บ๐—š๐—ฎ๐—บ๐—ฒ๐—ฟ - avatar
+ 2
Vikas Whats a complier. Pycarm?
24th Aug 2021, 1:01 AM
Lz1234
+ 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
24th Aug 2021, 1:02 AM
V Karch
V Karch - avatar
+ 1
An IDE is just an environment for you to write your code, just like a specialized text editor
24th Aug 2021, 1:02 AM
V Karch
V Karch - avatar
+ 1
Thanks
24th Aug 2021, 1:07 AM
Lz1234
+ 1
Name as in Vikas You can highlite it when you respond
24th Aug 2021, 1:09 AM
Lz1234
+ 1
Wasnโ€™t aware of that fact, i dont know how to highlight someones name in a response, sorry
24th Aug 2021, 1:10 AM
V Karch
V Karch - avatar
+ 1
Oh, you use @, and then type their name, so for example Lz1234
24th Aug 2021, 1:11 AM
V Karch
V Karch - avatar
+ 1
Vikas So python is the compiler Thanks agean
24th Aug 2021, 1:15 AM
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.
24th Aug 2021, 1:19 AM
V Karch
V Karch - avatar
+ 1
Watch YouTube cs50 2020 first video - scratch u will find answer for it ๐Ÿ˜‰
24th Aug 2021, 2:34 PM
SRI SIVA LAKSHMANA REDDY DWARAMPUDI
SRI SIVA LAKSHMANA REDDY DWARAMPUDI - avatar
+ 1
Rishav Kumar What machine codes and what binary With exsamples Thanks for all the answers guys keep up the work
24th Aug 2021, 8:47 PM
Lz1234
+ 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โ˜บ๏ธ๐ŸŒŽ
25th Aug 2021, 12:42 PM
yervand
yervand - avatar
+ 1
Nice coding for the beginners ๐Ÿ“œ
6th Sep 2021, 11:04 AM
Shubham Bhatia
Shubham Bhatia - avatar
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
24th Aug 2021, 1:07 AM
V Karch
V Karch - avatar
0
Vikas Got that python interperates it for you so you dont need a compiler . How do i do that to my code if i want to send it in 1s and 0s
24th Aug 2021, 3:52 AM
Lz1234