Question

Good evening, I have a question from my ITP. 140.01- Client side scripting. Write an English...

Good evening,

I have a question from my ITP. 140.01- Client side scripting.

Write an English sentence with understandable semantics but incorrect syntax. Write another English sentence which has correct syntax but has semantic errors.

Can you please help with this?

How to Think Like a Computer Scientist: Learning with Python 3 Documentation

Release 3rd Edition

Homework Answers

Answer #1

An English sentence with understandable semantics but incorrect syntax:

I often going out to play football with my friends.

Explanation: Here, the author wants to say that he ofter go out to play football with friends, but the usage of going is incorrect.

English sentence which has correct syntax but has semantic errors.

The panda eats, shoots and leaves.

Explanation: Here the statement is syntactically correct but the placement of the comma has made the statement semantically wrong. Instead it should be:

The panda eats shoots and leaves.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions