Book Management System
The project will manage record of books in stock in a file called books.txt. For each book in stock, Id, Name, Category, Author, Editor, Price, in stock and total sold are stored. These books can be updated and deleted with purchase and sell of stock.
The software should be able to find a book with id, name and quantity as well.
a physics student is conducting a research on the reaction that occur at night on a metal pole used for traffic light control system. as a programmer and a chemist,develop a flowchart and an algorithm to help the physicist identify the process of other compounds in the metal that is giving the change in the sample given that he has liquid examples of the rusted portion
Flow chart for 10 to x if x<y otherwise 5 is assigned to x
Flow chart for the sum of the series f(x)=1+x +x^2+x^3+...+x^n
Write algorithm for the sum of f(x)=1+x+x^2+x^3+...+x^n
write an algorithm to illustrate 10 to x if x<y otherwise 5 is assigned to x.
Write an algorithm and pseudocode to compute f(x)=1+x+x^2+x^3+....+x^n
An algorithm is written to take as input the number of miles travelled. The algorithm works out how much this will cost, with each mile costing £0.30 in petrol. If this is greater than £10.00 then it is reduced by 10%.
miles = input("Enter the number of miles)
cost = 0.3
if cost = 10 then
cost = cost * 0.1
endif
print(cost)
There are four errors in this algorithm. Identify each error and correct it.
Describe the various technologies that enables users to send high volume data over any network
int n, divisor = 2; cin >> n;
bool divisorFound = false;
repeat(n - 2) {
if (n % divisor == 0) {
divisorFound = true;
BlankZ ;
}
divisor++;
}
if (!divisorFound) cout << "Prime\n";
else cout << "Composite\n";
There is no need to iterate further once we have encountered a divisor of the number. What should be the command to be replaced by BlankZ?
Mention a lowercase character string as the answer.