Hello
Lesson 1
shows you how to identify and correct fragments. In a fragment, something less than a complete sentence has been punctuated as though it were one. Here is an example of a fragment:
- Fragment: Celeste found a cat. Which she promptly took home.
- Correction: Celeste found a cat which she promptly took home.
The fragment which she promptly took home contains both a subject and a verb,but it cannot stand alone as a self-contained idea. Most fragments are continuations of the preceding sentence, so the easiest way to correct fragments is to attach them to the preceding sentence.
Lesson 2
shows you how to identify and correct run-ons. In a run-on, two complete sentences have been joined together incorrectly and punctuated as though they were a single sentence. Here is an example of a run-on:
- Run-on: The boss liked my idea, she said she would take it to the board of directors.
- Correction: The boss liked my idea; she said she would take it to the board of directors.
This kind of run-on is called a comma splice because it incorrectly uses a comma to join two complete sentences. If the two sentences had been put together without any punctuation at all, it would be another kind of run-on called a fused sentence. Writers sometimes create run-ons when they try to keep closely related ideas together within the same sentence. Two good ways to achieve the same goal are to join the related sentences with a comma and a coordinating conjunction (for, and, nor, but, or, yet, so) or with a semicolon (;).
int a = 10; int b = 20; int add(int a,int b){ return a + b; }