1 of 12

What did we talk about in the last lesson?

2 of 12

Task 4

Count the number of zeroes in the given array. arr[] = {0, 1, 1, 1, 0, 0, 1, 0, 1, 0}

Descriptors:

  • Uses a one-dimensional array
  • Uses a loop
  • Uses a condition

3 of 12

***Task 5

Write a C++ program that gives as output the following tables of numbers exactly as shown below. The program must make use of nested for loops.

4 of 12

How is the assembly code converted to machine code?​

5 of 12

translators

Grade 11 - Computer Science

https://qiwi.io/fed

6 of 12

Learning objectives

11.5.1.7 analyze advantages and disadvantages of compilers

11.5.1.8 analyze advantages and disadvantages of interpreters

Assessment criteria

  • compare type of program translators;
  • classify benefits and drawbacks of compiler and interpreter

7 of 12

Group work

1st group: Assembler

2nd group: Compiler

3rd group: Interpreter

Each group:

  • how does it work ?
  • advantages
  • disadvantages
  • which programming language use it ?

8 of 12

9 of 12

Place the each item under the respective title

Compiler

Interpreter

Assembler

10 of 12

answers

11 of 12

Interpreters and Compilers (Video)

12 of 12