Explanation:
A. Pseudocode to determine the area of a triangle given value the base b andthe height h:-
START
INPUT b
INPUT h
COMPUTE Area = 0.5*b*h
DISPLAY Area
STOP
B. Pseudocode to compute the simple interest earned in 1 year given the starting account balance B and annual interest rate I :-
START
INPUT B
INPUT I
COMPUTE Interest = (B*I*1)/100
DISPLAY Interest
STOP
C. Pseudocode to determine the flying time between two cities given the mileage M between them and average speed of the airplane :-
START
INPUT M
INPUT S
COMPUTE Time = M/S
DISPLAY Time
STOP
Answer:
#include <iostream>
using namespace std;
int main() {
for(int i=33;i<=126;i++)//Using loop to print ASCII characters.
{
cout<<i<<char(i<<" ";//statement to print integer and it's ASCII characters with values.
}
return 0;
}
Explanation:
Put a closing parenthesis i char(i after doing that code will run .Since the answer was not getting posted hence i have to come to this resort.
I have used for loop for values 33 to 126 and for printing the ascii characters I have used typecasting converting the integer to corresponding char forcefully.
Answer:
True
Explanation:
In computer, Memory management is a form of resource management, its essential requirement is to provide ways to dynamically allocate portions of memory to programs at their request, and to free it to be used again when not needed. Memory management is critical to any advanced computer system that uses more than a single process.
Several methods that has increased effectiveness of memory management like the Virtual memory systems which separates the memory addresses used by a process from actual physical addresses, thus allowing the separation of processes and increasing the size of the virtual address space beyond the available amount of Random Access Memory (RAM) using paging or swapping to secondary storage have been used.
"The Memory Manager relocates programs to gather together all of the empty blocks and compact them to make one block of memory large enough to accommodate some or all of the jobs waiting to get in from your question.