2 answers
Asked Viewed 146 times Translate

what is syntax

i neep help #helpme

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 BACKER

+25 Karma if successful
From: You
To: Friend
Subject: Career question for you
100% of 2 Pros

2 answers

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.

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 :


I hope this answer is helpful.