Computer Science - 4CP0 PearsonEdexcel

Programming Languages

Gbogbo ọrọ náà

A processor only ever executes one thing: streams of binary numbers called machine code. Nobody writes real programs that way any more, yet every program that runs, however it was written, ends up as exactly that. This lesson explains the layers between a programmer's source code and the machine code the processor actually obeys, and the trade-offs behind each layer.

You will compare high-level and low-level languages, meet machine code and assembly language directly, and work through how compilers, interpreters and assemblers each translate source code differently, with different consequences for speed, portability and debugging.

Ebumnobi

  1. Understand what is meant by high-level and low-level programming languages and understand their suitability for a particular task
  2. Understand what is meant by an assembler, a compiler and an interpreter when translating programming languages and know the advantages and disadvantages of each

Akọmọ Ojú-ẹkọ

A processor's instruction set only understands binary patterns: machine code. Every program a computer runs, whatever language it was written in, must eventually exist as machine code specific to that processor before it can execute. The question a programmer faces is not whether to reach machine code, but how directly to write towards it.

Ọ dị na ngwa Green Bridge

Budata ngwa Green Bridge CBT na ekwentị maọbụ kọmputa gị iji nweta akwụkwọ ndụmọdụ zuru oke, ajụjụ mmụta, na ndị ọzọ.

Akwụkwọ ndụmọdụ zuru oke nwere eserese
Onye inyeaka mmụta AI
Mụọ n'ụzọ na-enweghị ịntaneti, oge ọbụla, ebe ọbụla
Ọ dị na Android, Windows, macOS, na Linux

Ayẹwo Ẹkọ

Ekele diri gi maka imecha ihe karịrị na Programming Languages. Ugbu a na ị na-enyochakwa isi echiche na echiche ndị dị mkpa, ọ bụ oge iji nwalee ihe ị ma. Ngwa a na-enye ụdị ajụjụ ọmụmụ dị iche iche emebere iji kwado nghọta gị wee nyere gị aka ịmata otú ị ghọtara ihe ndị a kụziri.

Ị ga-ahụ ngwakọta nke ụdị ajụjụ dị iche iche, gụnyere ajụjụ chọrọ ịhọrọ otu n’ime ọtụtụ azịza, ajụjụ chọrọ mkpirisi azịza, na ajụjụ ede ede. A na-arụpụta ajụjụ ọ bụla nke ọma iji nwalee akụkụ dị iche iche nke ihe ọmụma gị na nkà nke ịtụgharị uche.

Jiri akụkụ a nke nyocha ka ohere iji kụziere ihe ị matara banyere isiokwu ahụ ma chọpụta ebe ọ bụla ị nwere ike ịchọ ọmụmụ ihe ọzọ. Ekwela ka nsogbu ọ bụla ị na-eche ihu mee ka ị daa mba; kama, lee ha anya dị ka ohere maka ịzụlite onwe gị na imeziwanye.

  1. Which of the following is the lowest-level form a program can take? A) High-level language source code B) Assembly language C) Machine code D) Pseudocode Answer: C
  2. What translates assembly language into machine code? A) A compiler B) An interpreter C) An assembler D) An operating system Answer: C
  3. Which statement about a compiler is correct? A) It translates and runs one statement at a time B) It translates the whole program before it is run and produces an executable file C) It only works with low-level languages D) It cannot report more than one error Answer: B
  4. An interpreter reaches a statement containing an error. What does it do? A) Ignores the error and continues to the next statement B) Reports all errors in the program at once C) Stops at that statement and reports the error immediately D) Automatically corrects the error Answer: C
  5. Which of these is the strongest reason to choose a high-level language over a low-level language for most general application software? A) High-level languages always run faster B) High-level languages are easier to write and are not tied to one processor's instruction set C) High-level languages need no translator at all D) High-level languages give more direct control over memory addresses Answer: B

Ọ dị na ngwa Green Bridge

Budata ngwa Green Bridge CBT na ekwentị maọbụ kọmputa gị iji nweta akwụkwọ ndụmọdụ zuru oke, ajụjụ mmụta, na ndị ọzọ.

Akwụkwọ ndụmọdụ zuru oke nwere eserese
Onye inyeaka mmụta AI
Mụọ n'ụzọ na-enweghị ịntaneti, oge ọbụla, ebe ọbụla
Ọ dị na Android, Windows, macOS, na Linux

Ọ dị na ngwa Green Bridge

Budata ngwa Green Bridge CBT na ekwentị maọbụ kọmputa gị iji nweta akwụkwọ ndụmọdụ zuru oke, ajụjụ mmụta, na ndị ọzọ.

Akwụkwọ ndụmọdụ zuru oke nwere eserese
Onye inyeaka mmụta AI
Mụọ n'ụzọ na-enweghị ịntaneti, oge ọbụla, ebe ọbụla
Ọ dị na Android, Windows, macOS, na Linux

Meecha Ajụjụ Ule Ọmarịcha

Ị chọrọ ime ajụjụ ule ọmarịcha gbasara Programming Languages? Budata ngwa Green Bridge CBT iji nweta ajụjụ ule ọmarịcha na nyocha zuru ezu gbasara isiokwu a.

Dawunlodi Ẹpp naa lori Google Playstore.

Ihe nile ichoro iji nwee ihe ịga nke ọma na JAMB, WAEC & NECO.

Green Bridge CBT Mobile App
Personalized AI Ẹ̀kọ́ Ọ̀rọ̀ Alábàápàdé.
Egbò ọdúnrún IGCSE, JAMB, WAEC & NECO Ajùmọ̀ṣe ìbéèrè ti kọjá.
Ihe karịrị 1200 Nkọwa Nkuzi
Tallafi Ba Tare da Layin Intanet Ba - Koyi Duk Lokaci, Ko'ina
Jadawalin Gada Kore
Akọkọ akọle iwe & Ibeere agbara
Sọfụma Ọrụ Gi & Ọganihu Gi
Ìtọ́jú Ìtúmọ̀ fún Ẹ̀kọ́ Alábáyọrí.