Tense fill in the banks and convertion and also give worksheets on tense conditional sentences worksheet questions
Only questions doc
Class 8th icse
mkdir -p /tmp/workspace/tense-worksheet && ls /tmp/workspace/tense-worksheet/
cat << 'PYEOF' > /tmp/workspace/tense-worksheet/make_worksheet.py from docx import Document from docx.shared import Pt, RGBColor, Inches from docx.enum.text import WD_ALIGN_PARAGRAPH from docx.oxml.ns import qn from docx.oxml import OxmlElement doc = Document() # ── Page margins ── section = doc.sections[0] section.top_margin = Inches(0.8) section.bottom_margin = Inches(0.8) section.left_margin = Inches(1.0) section.right_margin = Inches(1.0) # ── Default Normal style ── normal = doc.styles["Normal"] normal.font.name = "Times New Roman" normal.font.size = Pt(12) # ── Helper: add a shaded heading bar ── def add_section_heading(doc, text, color="2E4057"): p = doc.add_paragraph() p.alignment = WD_ALIGN_PARAGRAPH.LEFT run = p.add_run(text) run.bold = True run.font.size = Pt(13) run.font.color.rgb = RGBColor(0xFF, 0xFF, 0xFF) run.font.name = "Arial" # shade paragraph pPr = p._p.get_or_add_pPr() shd = OxmlElement("w:shd") shd.set(qn("w:val"), "clear") shd.set(qn("w:color"), "auto") shd.set(qn("w:fill"), color) pPr.append(shd) p.paragraph_format.space_before = Pt(8) p.paragraph_format.space_after = Pt(4) return p def add_instruction(doc, text): p = doc.add_paragraph() run = p.add_run(text) run.italic = True run.font.size = Pt(11) run.font.color.rgb = RGBColor(0x33, 0x33, 0x33) p.paragraph_format.space_after = Pt(4) def add_q(doc, num, text): p = doc.add_paragraph(style="List Number") run = p.add_run(text) run.font.size = Pt(12) p.paragraph_format.space_after = Pt(3) # ═══════════════════════════════════════════════ # HEADER # ═══════════════════════════════════════════════ title = doc.add_heading("", level=0) title.alignment = WD_ALIGN_PARAGRAPH.CENTER run = title.add_run("ENGLISH LANGUAGE WORKSHEET") run.font.name = "Arial" run.font.size = Pt(16) run.font.bold = True run.font.color.rgb = RGBColor(0x2E, 0x40, 0x57) sub = doc.add_paragraph() sub.alignment = WD_ALIGN_PARAGRAPH.CENTER r = sub.add_run("Tenses: Fill in the Blanks | Tense Conversion | Conditional Sentences") r.font.size = Pt(12) r.font.color.rgb = RGBColor(0x55, 0x55, 0x55) info = doc.add_paragraph() info.alignment = WD_ALIGN_PARAGRAPH.CENTER r2 = info.add_run("Class: VIII | Board: ICSE | Subject: English Grammar") r2.font.size = Pt(11) r2.bold = True doc.add_paragraph() # spacer # ─────────────────────────────────────────────── # SECTION A — FILL IN THE BLANKS (Simple Tenses) # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION A — Fill in the Blanks (Simple Tenses) ", "2E4057") add_instruction(doc, "Fill in the blanks with the correct form of the verb given in brackets.") questions_A = [ ('1', 'She __________ (go) to school every day.'), ('2', 'They __________ (play) football in the park yesterday.'), ('3', 'He __________ (finish) his homework before dinner last night.'), ('4', 'We __________ (visit) our grandparents next Sunday.'), ('5', 'The sun __________ (rise) in the east.'), ('6', 'I __________ (not / see) that film yet — I __________ (watch) it tomorrow.'), ('7', 'By the time the bell rang, the teacher __________ (explain) the lesson.'), ('8', 'My sister __________ (read) a novel when I entered the room.'), ('9', 'The train __________ (arrive) at 6 p.m. last Monday.'), ('10', 'He __________ (live) in London for five years before he moved to Delhi.'), ] for num, q in questions_A: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # SECTION B — FILL IN THE BLANKS (Perfect & Continuous) # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION B — Fill in the Blanks (Perfect & Continuous Tenses) ", "1A6B72") add_instruction(doc, "Choose the correct tense (Present Perfect, Past Perfect, Present Continuous, or Past Continuous) for each blank.") questions_B = [ ('1', 'I __________ (study) for three hours and I am still not done.'), ('2', 'By 9 o\'clock, she __________ (complete) all her assignments.'), ('3', 'We __________ (wait) at the bus stop for twenty minutes when it began to rain.'), ('4', 'He __________ (just / submit) his project to the teacher.'), ('5', 'They __________ (not / meet) each other since 2019.'), ('6', 'The children __________ (play) in the garden all morning.'), ('7', 'She __________ (cook) dinner when the guests arrived.'), ('8', 'I __________ (never / travel) by a cruise ship.'), ('9', 'By next March, he __________ (work) at this company for a decade.'), ('10', 'The phone __________ (ring) for a long time before he picked it up.'), ] for num, q in questions_B: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # SECTION C — TENSE CONVERSION # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION C — Tense Conversion ", "5C4033") add_instruction(doc, "Rewrite the following sentences as directed in brackets. Do not change the meaning.") questions_C = [ ('1', '"She writes a letter." — Change to Past Continuous.'), ('2', '"They have eaten their lunch." — Change to Simple Past.'), ('3', '"He was sleeping when I called." — Change to Simple Past (two separate sentences).'), ('4', '"I go to school by bus every day." — Change to Present Continuous.'), ('5', '"The teacher explained the chapter." — Change to Present Perfect.'), ('6', '"We will have finished the project by Friday." — Begin with: By Friday…'), ('7', '"She sang beautifully at the concert." — Change to Past Perfect.'), ('8', '"He reads the newspaper every morning." — Change to Future Simple.'), ('9', '"I am eating a mango." — Change to Simple Present.'), ('10', '"By the time they arrived, we had cleaned the house." — Identify and name the tenses used in the sentence.'), ] for num, q in questions_C: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # SECTION D — CONDITIONAL SENTENCES (Type I, II, III) # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION D — Conditional Sentences (Type I, II & III) ", "4A235A") add_instruction(doc, "Fill in the blanks using the correct form of the verbs given in brackets to form the appropriate type of conditional sentence.") questions_D = [ ('1', 'If she __________ (study) hard, she will pass the exam. [Type I]'), ('2', 'If I __________ (be) a bird, I __________ (fly) across the world. [Type II]'), ('3', 'If they __________ (leave) earlier, they would have caught the train. [Type III]'), ('4', 'If it __________ (rain) tomorrow, we __________ (cancel) the picnic. [Type I]'), ('5', 'If he __________ (have) more money, he __________ (buy) a new car. [Type II]'), ('6', 'If she __________ (not / forget) her keys, she __________ (not / be) locked out. [Type III]'), ('7', 'If the weather __________ (be) nice, we __________ (go) for a walk. [Type I]'), ('8', 'If I __________ (know) the answer, I __________ (tell) you. [Type II]'), ('9', 'If they __________ (practise) more, they __________ (win) the match. [Type III]'), ('10', 'If you __________ (heat) water to 100°C, it __________ (boil). [Zero Conditional]'), ] for num, q in questions_D: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # SECTION E — IDENTIFY THE CONDITIONAL TYPE # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION E — Identify the Type of Conditional Sentence ", "1B5E20") add_instruction(doc, "Read each sentence and write the type of conditional (Zero / Type I / Type II / Type III) in the space provided.") questions_E = [ ('1', '"If you mix blue and yellow, you get green." Type: __________'), ('2', '"If I had more time, I would learn French." Type: __________'), ('3', '"If it rains, the match will be postponed." Type: __________'), ('4', '"If she had worked harder, she would have got a better grade." Type: __________'), ('5', '"If he takes the medicine, he will recover soon." Type: __________'), ('6', '"If I were the principal, I would give students longer breaks." Type: __________'), ('7', '"If you freeze water, it turns into ice." Type: __________'), ('8', '"If they had invited me, I would have attended the party." Type: __________'), ] for num, q in questions_E: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # SECTION F — REWRITE / TRANSFORM CONDITIONAL SENTENCES # ─────────────────────────────────────────────── add_section_heading(doc, " SECTION F — Rewrite Conditional Sentences ", "BF360C") add_instruction(doc, "Rewrite the following sentences as directed. Do not change the meaning.") questions_F = [ ('1', '"If you don\'t hurry, you will miss the bus." — Rewrite as Type II conditional.'), ('2', '"If she studies regularly, she will top the class." — Rewrite beginning with: Unless…'), ('3', '"If I had wings, I would fly to Paris." — Identify the tense in both clauses.'), ('4', '"You would have passed if you had revised properly." — Rewrite beginning with: If…'), ('5', '"He will get a prize if he wins the contest." — Rewrite beginning with: He will not…'), ('6', '"If water is heated to 100°C, it boils." — State the type and explain why.'), ('7', '"If they had saved money, they could have bought a house." — Change to Type II.'), ('8', '"She won\'t feel better unless she rests." — Rewrite using: If…'), ('9', '"If I am late, I will call you." — Rewrite in Type III (past hypothetical).'), ('10', '"Were I the king, I would abolish poverty." — Identify the type and rewrite in standard form.'), ] for num, q in questions_F: add_q(doc, num, q) doc.add_paragraph() # ─────────────────────────────────────────────── # Footer note # ─────────────────────────────────────────────── doc.add_paragraph() note = doc.add_paragraph() note.alignment = WD_ALIGN_PARAGRAPH.CENTER r = note.add_run("— All the best! —") r.bold = True r.font.size = Pt(12) r.font.color.rgb = RGBColor(0x2E, 0x40, 0x57) out_path = "/tmp/workspace/tense-worksheet/Class8_ICSE_Tense_Worksheet.docx" doc.save(out_path) print(f"Saved: {out_path}") PYEOF python3 /tmp/workspace/tense-worksheet/make_worksheet.py
Class8 ICSE Tense Worksheet
Word Document · DOCX