1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
riadik2000 [5.3K]
3 years ago
5

Define syntax and semantics and give an example.

Computers and Technology
1 answer:
Snezhnost [94]3 years ago
3 0

Explanation:

  • <em>Syntaxis</em><em> refers to the spelling and grammar of a programing language. </em>Computers are inflexible machines that understand only if you type in the exact form it expects. This expected form is called syntaxis, it can vary from program to program. There are three levels of syntax, lexical (basic symbols such as names or values), concrete (rules for writing expressions, statements, and programs) and abstract (the internal representation of the program). <em>One example of this is the use of a semi-colon (;) to mark a part of code as complete in Java if you don't use correct syntax the program will mark a syntax error. </em>
  • <em>Semantic </em><em>means ‘meaningful’, a semantic data model is meaningful and understood by anyone (both humans and machines) regardless of his background or expertise,</em> this means the linguistic representations or symbols support logical outcomes.<em> An example of this is C++, a language that is less semantic than Java because Java uses meaningful words for its classes, methods, and fields.</em>

<em> </em>

I hope you find this information useful and interesting! Good luck!

You might be interested in
True or False: Unity can apply multiple textures to a single object or terrain
MaRussiya [10]
This is very true unity is what u said and it is the definition of this
3 0
3 years ago
Automate theory can be considered as science or art???
amm1812
I would say it is considered as science and a bit of maths as its the 'study of abstract machines and automata'
7 0
3 years ago
Read 2 more answers
Can someone please tell me what I’m doing wrong ? Please and it’s due on Thursday!!
liberstina [14]

Answer:

Sure. In Unit test 5, it's looking for 1 instead of 0. You are returning 0 instead of 1.

0 requires 1 digit to express it and should therefore return 1.

In line 6, change the 0 to a 1.

8 0
2 years ago
Define a pointer variable named daco that can be used for objects of the class Banana.
ozzi

Answer:

c)Banana * daco;

Explanation:

To declare an variable pointer we use * symbol after writing it's type.For example int *.Then we write the name of the variable since the name of the variable is daco.The class is a user defined data type so instead of writing any data type we will write class name then the * then name of the variable.

Banana * daco; which matches the option c Banana* daco;

4 0
3 years ago
Read 2 more answers
A2 Suggest why the Petri dish and agar jelly needed to be sterile.​
Mashcka [7]

A Petri dish (Petri plate) is a shallow cylindrical glass lidded dish that is typically used to culture microorganisms (agar plates). There are glass and plastic Petri dishes, and both can be sterilized (using an autoclave) and re-used. Before being used for culture purposes, it is important to ensure that the Petri dish is not only clean, but also sterile. This helps prevent the contamination of the new culture.Agar is a polymer made up of various sub-units of galactose and various species of red algae. Although it has other uses including culinary and dentistry, agar plays an important role in microbiology as culture media for a variety of microorganisms.As compared to some of the other alternatives like gelatin, agar has a number of advantages which include:Cannot be easily degraded by microorganism Stronger Firmer than gelatin

6 0
3 years ago
Other questions:
  • A customer in a store is purchasing five items. Design a program that asks for the price of each item, and then displays the sub
    11·1 answer
  • Which command let’s you increase or decrease the on-screen magnification of your document
    11·1 answer
  • How to make your keyboard sound like a piano?
    9·1 answer
  • Generate the requested sets using only set builder notation and the provided sets. Some problems may require you to build one or
    15·1 answer
  • An electronic braille embosser that translates text from a braille keyboard to a printer:
    10·1 answer
  • if you're using the paintbrush tool and want to change the color of the paint being used what should you change
    9·2 answers
  • Help what is a computer made from (computer class question)!!
    9·1 answer
  • Is your florida learners license number the same as the actual license number?
    14·2 answers
  • What should be used to keep a tablet dry?
    13·1 answer
  • Match the image to the view type in a presentation program. scroll bar tool bar status bar menu bar provides an array of buttons
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!