Search SchoolNGR

Sunday, 01 March 2026
Register . Login

(a) Define programming language. (b) Write the 5 following mathematical expressions in ...

(a) Define programming language.
(b) Write the 5 following mathematical expressions in BASIC notation:
(i) x (w + y)\(^2\) (ii) ab/cd (ii) p = 2 (1+b).
(c) Write a simple BASIC program to calculate the area (A) of a rectangle with length (l) and breath (b).
(d) List two levels of programming language.
Take Free Practice Test On 2026 JAMB UTME, Post UTME, WAEC SSCE, GCE, NECO SSCE
    Correct Answer: Option
    Explanation:
    (a) A programming language is a formal language for communicating with a computer without the ambiguity Of human language.
    A programming language has to be executed by a computer or design of the language degenerates in a futile intellectual exercise.
    (b) (i) x(w +y)\(^2\) = x * (W+ Y)^2
    (ii) ab/cd = A * B/C * D
    (ii) P= 2(l + b) = P =2 * (L + B)
    (C) 10 REM CALCULATE AREA OF A RECTANGLE
    20 INPUT LENGTH", L
    30 INPUT BREADTH", B
    40 LET A= L * B
    50 PRINT "AREA", A
    60 END
    (d) Low level language e.g machine language and Assembly language. - High level language eg Algebraic formula Type processing and String and list process ing.

    Share question on: