Computer Science - 9210 OxfordAQA

Structured Programming

Muhtasari

Two programs do the same job. One is nine hundred lines in a single block, with a handful of variables that anything can change and a control flow that jumps forwards and backwards. The other is thirty named blocks of thirty lines, each one handed exactly what it needs and handing back exactly what it produced. Both work today. Only one of them can be changed next year by somebody who did not write it.

That difference is what this topic is about. The structured approach is not a language feature or a syntax rule; it is a way of building programs, and the specification names its parts precisely: modularised programming, clear and well documented interfaces made of local variables and parameters, and return values. This lesson describes each of those, explains the advantages the approach brings, and shows what the alternative actually looks like, because the advantages are hard to feel until you have seen the problem they solve.

Malengo

  1. Describe the structured approach to programming.
  2. Explain the advantages of the structured approach.

Ramani ya mawazo

Mada hii imechorwa ili uone jinsi mawazo yanavyounganika.

Fungua ramani ya mawazo kwenye programu

Maelezo ya Somo

The specification asks two things about the structured approach: describe it, and explain its advantages. The describing half is the one candidates lose marks on, because it is easy to answer with the word tidy and stop. The specification is specific about what a description must contain, and it names three elements.

Dokezo Kamili la Somo Linapatikana kwenye Programu ya Green Bridge

Pata programu ya Green Bridge CBT kwenye simu au kompyuta yako kwa maktaba kamili ya IGCSE: mitihani ya miaka iliyopita, miongozo ya usahihishaji, ramani za mawazo, kadi za marudio na masomo ya sauti.

Maelezo kamili ya masomo yenye michoro
Msaidizi wa kujifunza wa AI
Mitihani ya majaribio yenye muda, husahihishwa mara umalizapo
Inapatikana kwa Android, Windows, macOS, na Linux Programu ya iOS inakuja hivi karibuni

Tathmini ya Somo

Hongera kwa kukamilisha somo la Structured Programming. Sasa kwa kuwa umechunguza dhana na mawazo muhimu, ni wakati wa kuweka ujuzi wako kwa mtihani. Sehemu hii inatoa mazoezi mbalimbali maswali yaliyoundwa ili kuimarisha uelewaji wako na kukusaidia kupima ufahamu wako wa nyenzo.

Utakutana na mchanganyiko wa aina mbalimbali za maswali, ikiwemo maswali ya kuchagua jibu sahihi, maswali ya majibu mafupi, na maswali ya insha. Kila swali limebuniwa kwa umakini ili kupima vipengele tofauti vya maarifa yako na ujuzi wa kufikiri kwa makini.

Tumia sehemu hii ya tathmini kama fursa ya kuimarisha uelewa wako wa mada na kubaini maeneo yoyote ambapo unaweza kuhitaji kusoma zaidi. Usikatishwe tamaa na changamoto zozote utakazokutana nazo; badala yake, zitazame kama fursa za kukua na kuboresha.

  1. Which of these is NOT part of the structured approach as described in the specification? A. Clear, well documented interfaces B. Modularised programming C. Return values D. Using global variables to share data between modules Answer: D
  2. What is a module? A. A file that stores program data B. A self-contained part of a program that performs one identifiable task C. A variable that can be seen throughout a program D. A loop that repeats a fixed number of times Answer: B
  3. Which term does the specification say examinable material will use for both arguments and parameters? A. Argument B. Interface C. Parameter D. Variable Answer: C
  4. Why does the structured approach make errors easier to find? A. Programs written this way contain fewer statements B. A local variable can only have been changed inside its own module C. The compiler checks structured programs more thoroughly D. Structured programs run more slowly, so faults are visible Answer: B
  5. A module can be rewritten without affecting any of the code that calls it, provided that: A. It is called only once B. It contains no loops C. It uses only global variables D. Its interface is unchanged Answer: D

Fanyia kazi maswali haya kwenye programu

Fanyia kazi maswali haya kwenye programu

Fanya Mazoezi ya Maswali ya Majaribio

Ungependa kufanya mazoezi ya maswali ya majaribio kuhusu Structured Programming? Pakua programu ya Green Bridge CBT ili kupata maswali ya majaribio na tathmini kamili za mazoezi kuhusu mada hii.

Pakua Programu Kwenye Google Playstore

Kila kitu unachohitaji ili kufaulu katika JAMB, WAEC & NECO.

Green Bridge CBT Mobile App
Msaidizi wa Gumzo wa Kujifunza wa AI Uliobinafsishwa
Maswali ya mtihani zaidi ya 200,000 ya IGCSE, JAMB, WAEC na NECO
Zaidi ya Madaftari ya Masomo 1200
Msaada Nje ya Mtandao - Jifunze Wakati Wowote, Popote Pale
Ratiba ya Daraja la Kijani
Muhtasari wa Fasihi na Maswali Yanayoweza Kutokea
Fuata Utendaji na Maendeleo Yako
Maelezo ya Kina kwa Kujifunza kwa Kina