Skip to main content
2 answers
2
Asked 402 views Translate

what is syntax

i neep help #helpme

Thank you comment icon Hi Nayai. Is this a career question? CareerVillage is a place to get help with your questions related to preparing for a job after your education. If you're looking for a definition of the word "syntax", you might want to check Wikipedia (https://en.wikipedia.org/wiki/Syntax) Jared Chung, Admin BACKER

+25 Karma if successful
From: You
To: Friend
Subject: Career question for you

2

2 answers


0
Updated Translate

Patanjali’s Answer

If your question is in regards to a programming language, it is similar to spelling and grammar. If you make a mistake while writing a program you will encounter an error, just like using an incorrect word in a sentence. For a program to run, it has to be syntactically correct, for it to perform well its semantics (logic) needs to be correct.
0
0
Updated Translate

Suzanne’s Answer

Hello Nayai,
Essentially, syntax is the arrangement of words and phrases to create well-formed sentences in a Language.

Examples of Syntax in a Sentence:

The boy jumped happily.
The boy happily jumped.
Happily, the boy jumped.

Here is a short video which offers further information :

https://youtu.be/rw62E9v9DnU

I hope this answer is helpful.
0