Classification of programming languages and translators

EasyMedium
12345678910111213141516171819202122232425262728293031323334
Question 23
Easy

Select one option to show the option that is true about the code snippets in Figure 1.

Figure 1

Example 1Example 2Example 3
x = 10int x = 10;MOV R1, #10
y = 20int y = 20;MOV R2, #20
if x < y:if (x < y) {CMP R1, R2
print(x) cout << x;BGE label
}OUT R1
label:

None of the examples of code are in a low-level language.

Only one of the examples of code is in a low-level language.

Only two of the examples of code are in low-level languages.

All three of the examples of code are in low-level languages.

Classification of programming languages and translators Questions

  1. GCSE
  2. /Computer Science
  3. /Classification of programming languages and translators