+ 1

Programming means writing instructions but what instructions can it understand ?

Can I write any instruction using coding language?

11th May 2023, 5:00 PM
Paul
13 odpowiedzi
+ 6
yes. modern day programming languages allow you to write any instructions to the computer (or any hardware attached to it). obviously you can't instruct the computer to do something that is physically impossible. for example it won't tell you who came first, chiken or the egg. but it can tell you the exact value of pi upto huge numbers of decimal places.
11th May 2023, 5:12 PM
Sharique
+ 6
Paul basically instruction means you give the instruction to computer to do the task and so coding is a tool that enables us to communicate with computers and instruct them on what tasks to perform according to our requirements. Hope you understand what I mean to say
11th May 2023, 5:17 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 4
Paul well instruction means to instruct the computer to perform the task through computer programing.
11th May 2023, 5:10 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 3
Sharique thank you
11th May 2023, 5:14 PM
Paul
+ 3
Hey paul welcome 🙂 well all answers here are correct but maybe a other instruction is helpful too. So first off PC are very dump they dont know anything. We as coder write instructions in code form. We need to explain the pc all that he need to know, even the simplest things. Variables are like your memorys about a bicycle. They have tires, 2 of them. A front and backlight . Functions are like cooking recipes. In this we instruct the pc what exactly to do with the lights as example. So in functions we explain the pc how to use the bicycle. A very important skill that a coder needs is think of in abstract ways so your question is very important and you're on a good way. Keep it on ! 🙂happy coding✌️
12th May 2023, 5:13 AM
S3R43o3
S3R43o3 - avatar
+ 3
Paul I suggest you check out the Tech for Everyone course, it explains such fundamentals of computer science for laymen. https://www.sololearn.com/learn/courses/tech-for-everyone
13th May 2023, 4:18 AM
Tibor Santa
Tibor Santa - avatar
+ 1
Sakshi but can I write any instruction after learning a coding language?
11th May 2023, 5:12 PM
Paul
+ 1
Sakshi thank you
11th May 2023, 5:13 PM
Paul
+ 1
For a more in-depth look at this topic: https://en.wikipedia.org/wiki/Turing_completeness
11th May 2023, 9:00 PM
Orin Cook
Orin Cook - avatar
+ 1
As a first tipp that i give all new padawan choose one language, my personal preference is python and i recommend that cause it has easy synthax and is very very flexible. In general you can do all kind off software with one language. All language follows more than less the same principles. (Thats cause the most languages are written in good old C) so yeah you can write any instruction if you mastering code. Its easy to learn a second, third or more languages if you got the basics.
12th May 2023, 5:20 AM
S3R43o3
S3R43o3 - avatar
+ 1
Some languages have different capabilities compared to others. Some have lower level access to the computer system while others are higher level and involve more abstraction. Some languages are also constructed to perform specific purposes. These differences help determine the instructions you can write with the code. For example with Python, you do not have the same instructions as you would with the MIPS Assembly language. If you are unsure of the instructions you can create with a specific language then you can consult the languages documentation.
13th May 2023, 2:06 PM
BioHaze
BioHaze - avatar
0
Thanks
13th May 2023, 2:46 PM
Keith stanly Ackerman
Keith stanly Ackerman - avatar
0
Yes, but you must learn rules for each programming language first before typing any line of code or instructions.
13th May 2023, 4:15 PM
Mahmoud Ramadan Mahmoud
Mahmoud Ramadan Mahmoud - avatar