Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which is not true about syntax and semantic p... Start Learning for Free
Which is not true about syntax and semantic parts of a computer language?
  • a)
    Syntax is generally checked by the programmer.
  • b)
    Semantics is the responsibility of the programmer
  • c)
    Semantics is checked mechanically by a computer.
  • d)
    Both (b) and (c)
Correct answer is option 'D'. Can you explain this answer?
Most Upvoted Answer
Which is not true about syntax and semantic parts of a computer langua...
Syntax and Semantics in Computer Language

Syntax and semantics are two fundamental aspects of any computer language. Syntax refers to the set of rules that govern the structure of a programming language, while semantics refers to the meaning that is associated with the language constructs.

Syntax

Syntax is the set of rules that govern the structure of a programming language. Syntax determines how statements are formed in a language and how they are put together to make programs. A language with good syntax is easy to read and understand, and it is less prone to errors.

Typically, syntax is checked by the compiler or interpreter of a programming language. The compiler checks whether the code is written in the correct syntax, and if it is not, it generates an error message. The programmer is responsible for writing code that follows the syntax rules of the language.

Semantics

Semantics is the meaning that is associated with the language constructs. Semantics determines what a program does when it is executed. It is the programmer's responsibility to write code that is semantically correct, meaning that it does what the programmer intends it to do.

Unlike syntax, semantics cannot be checked mechanically by a computer. It requires human intelligence to understand and interpret the meaning of a program. The programmer must ensure that the code they write is semantically correct and performs the intended function.

Conclusion

In conclusion, syntax and semantics are two important aspects of any computer language. Syntax is the set of rules that govern the structure of a programming language, while semantics is the meaning that is associated with the language constructs. The programmer is responsible for writing code that follows the syntax rules of the language and is semantically correct, meaning that it performs the intended function. While syntax can be checked mechanically by a computer, semantics requires human intelligence to understand and interpret the meaning of a program.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer?
Question Description
Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer?.
Solutions for Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer?, a detailed solution for Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? has been provided alongside types of Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which is not true about syntax and semantic parts of a computer language?a)Syntax is generally checked by the programmer.b)Semantics is the responsibility of the programmerc)Semantics is checked mechanically by a computer.d)Both (b) and (c)Correct answer is option 'D'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev