5(a) Define Programming Language.
5b(ii) Write this mathematical expression in BASIC notation: x(w + y)2
5b(iii) Write this mathematical expression in BASIC notation: ab ÷ cd
5b(iii) Write this mathematical expression in BASIC notation: p = 2 (l+b).
5(c) Write a simple BASIC program to calculate the area (A) of a rectangle with length (1) and breadth (b).
5(d) List two levels of programming language.
5(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 the design of the language degenerates into a futile intellectual exercise.
5b(i) x(w+y)2=X*(W+Y)^2
5b(ii) ab/cd =A*B / C*D
5b(iii) p = 2(l+b) = 2 * (L + B)
5(c) 10 REM CALCULATE AREA OF A RECTANGLE
20 INPUT "LENGTH" 1
30 INPUT "BREADTH" b
40 LET A = L * B
50 PRINT "AREA" A
60 END
5(d) - Low-level language.
- High-level language.
Contributions ({{ comment_count }})
Please wait...
Modal title
Report
Block User
{{ feedback_modal_data.title }}