Computer Science - 9210 OxfordAQA

Programming Concepts

Bayani Gaba-gaba

There is a startling fact hidden in this topic. Every program ever written, from a twenty-line homework exercise to the software flying an aircraft, is built out of three ways of combining statements and nothing else. Do this, then do that. Do this only if something is true. Do this again and again. Sequence, selection and iteration. Everything else is decoration on top of those three.

This lesson takes each of them apart. You will meet variable and constant declaration and learn why a program bothers to name things at all; you will learn assignment properly, including why the left-hand side and the right-hand side of an arrow are not interchangeable; you will learn definite iteration and both shapes of indefinite iteration, with the condition at the start of the iterative structure and with it at the end; you will nest selection inside selection and iteration inside iteration; and you will find out why an examiner cares what you call your variables.

Manufura

  1. Use, understand and know how the following statement types can be combined in programs:
  2. variable declaration
  3. constant declaration
  4. assignment
  5. iteration
  6. selection
  7. subroutine (procedure/function).
  8. Use definite and indefinite iteration, including indefinite iteration with the condition(s) at the start or the end of the iterative structure.
  9. Use nested selection and nested iteration structures. An example of nested iteration would be:
  10. Use meaningful identifier names and know why it is important to use them.

Taswirar tunani

An zana wannan batu don ka ga yadda ra'ayoyi ke hadewa.

Bude taswirar tunani a cikin manhaja

Takardar Darasi

A statement is one instruction in a program. On its own a statement does very little; the power comes from how statements are combined. The specification puts it plainly: the three combining principles, sequence, iteration or repetition, and selection or choice, are basic to all imperative programming languages. Imperative means a language built out of commands that change the state of the machine, which covers C#, Python 3 and Visual Basic and very nearly everything else you are likely to meet.

Cikakken Bayanin Darasi Yana Kan Manhajar Green Bridge

Sami manhajar Green Bridge CBT a wayarka ko kwamfutarka domin cikakken laburaren IGCSE: takardun jarrabawar baya, tsarin kimantawa, taswirar tunani, katunan karatu da darussan sauti.

Cikakkiyar bayanan darasi tare da zane-zane
Mataimakiyar koyo da AI
Jarrabawar gwaji mai lokaci da ake kimantawa da zarar ka gama
Akwai a Android, Windows, macOS, da Linux Manhajar iOS tana zuwa nan ba da jimawa ba

Nazarin Darasi

Barka da kammala darasi akan Programming Concepts. Yanzu da kuka bincika mahimman raayoyi da raayoyi, lokaci yayi da zaku gwada ilimin ku. Wannan sashe yana ba da ayyuka iri-iri Tambayoyin da aka tsara don ƙarfafa fahimtar ku da kuma taimaka muku auna fahimtar ku game da kayan.

Za ka gamu da haɗe-haɗen nau'ikan tambayoyi, ciki har da tambayoyin zaɓi da yawa, tambayoyin gajeren amsa, da tambayoyin rubutu. Kowace tambaya an ƙirƙira ta da kyau don auna fannoni daban-daban na iliminka da ƙwarewar tunani mai zurfi.

Yi wannan ɓangaren na kimantawa a matsayin wata dama don ƙarfafa fahimtarka kan batun kuma don gano duk wani yanki da kake buƙatar ƙarin karatu. Kada ka yanke ƙauna da duk wani ƙalubale da ka fuskanta; maimakon haka, ka kallesu a matsayin damar haɓaka da ingantawa.

  1. Which three principles are used to combine statements in all imperative programming languages? A. Assignment, declaration and output B. Compilation, interpretation and assembly C. Sequence, selection and iteration D. Variables, constants and subroutines Answer: C
  2. Which construct is used for definite iteration? A. FOR ... ENDFOR B. IF ... ENDIF C. REPEAT ... UNTIL D. WHILE ... ENDWHILE Answer: A
  3. Which statement about a REPEAT ... UNTIL loop is correct? A. Its body always runs at least once B. Its body may run zero times C. It runs a number of times known before it starts D. It cannot contain another loop Answer: A
  4. A FOR loop that runs 6 times contains a FOR loop that runs 5 times. How many times is a statement in the inner loop carried out? A. 11 B. 20 C. 30 D. 36 Answer: C
  5. Why are named constants used in programs? A. They make the program run faster B. They let a fixed value be changed in one place and cannot be altered by later code C. They use less memory than variables D. They are required by every programming language Answer: B

Yi aikin wadannan tambayoyi a cikin manhaja

Yi aikin wadannan tambayoyi a cikin manhaja

Yi Aikin Tambayoyin Gwaji

Kana son yin aikin tambayoyin gwaji kan Programming Concepts? Sauke manhajar Green Bridge CBT don samun tambayoyin gwaji da cikakkun jarrabawa akan wannan batu.

Sauke Manhajar Daga Google Playstore

Duk abin da kake buƙata don yin fice a JAMB, WAEC & NECO.

Green Bridge CBT Mobile App
Keɓantaccen Mataimaki na Tattaunawa na Koyo na AI
Tambayoyin jarrabawa na IGCSE, JAMB, WAEC da NECO fiye da 200,000.
Fiye da Lura-Luran Darussa 1200
Tallafin Wajen Layi - Koyo Kowane Lokaci, Ko'ina
Jadawalin Gadar Kore.
Takaitaccen Bayanin Adabi & Tambayoyin Da Za Su Iya Tashi
Bibiye Ayyukanka da Ci Gaban Ka
Cikakken Bayani don Koyon Fahimta.