February 13, 2024

Question 9522 – Programming

It is desired to design an object-oriented employee record system for a company. Each employee has a name, unique id and salary. Employees belong to different […]
February 13, 2024

Question 10310 – Programming

What function of x, n is computed by this program? Function what (x, n:integer): integer: Var value : integer; begin value:=1 if n>0 then begin if […]
February 13, 2024

Question 10326 – Programming

Consider the program below: Program main; var r:integer; procedure two; begin write (r) end; procedure one; var r:integer; begin r:=5 two; end begin r:=2; two; one; […]
February 13, 2024

Question 10329 – Programming

An array a contains n integers in non-decreasing order, A[1] ≤ A[2] ≤ … ≤ A[n]. Describe, using Pascal like pseudo code, a linear time algorithm […]
error: Alert: Content selection is disabled!!