QUESTION 6 (20 marks)
(a) During which of the five SDLC stages is each task, labeled (a) through (m), performed? More than one
answer may apply for each activity. (12 marks)
(i)
Writing operating procedures manuals
(ii) Developing program and process controls
(iii) Writing programs
(iv) Identifying alternative systems designs
(v) Identifying external and administrative controls
(vi) Testing the system
(vii) Training personnel
(viii) Changing of old system to new system
(ix) Evaluating the existing system
(x) Analyzing the achievement of systems benefits
(xi) Modifying and altering programs
(xii) Conducting a feasibility analysis
a) List and describe at least four different Internet business models. Which of these models do you think is
the most risky for a dot-com business? Support your answer. (10 marks)
(b) List and describe two ways in which the individual consumer may pay for purchases on the Internet. (4
marks)
(c) Describe four types of applications that are especially well-suited for m-commerce. (6 marks)
Create a programm that will determine there correct vaccine for every candidate. Use the switch statement and the for loop to determine the right vaccine for individuals by using their temperature readings
-30-33 for Mordena
-34-36 mRNA
-37-38 Johnson and Johnson’s Janssen
-39-40 Pfizer-BioNTech
The program must be able to read temperatures up to four(4) decimal places after the comma & convert it to two(2) decimals. A summary of all the people that are vaccinated along with their associated vaccines must be listed in the output in a table form as follows:
Name and surname Temperature Vaccine
Mzamani Nkuna 34,37 mRNA
Themba Manana 37,66 Johnson and johnson’s Janssen
Charles Nkosi 32,55 Mordena
Norwell Mbewe 39,78 pFizer-BioNTech
Take note of the following :
1. Use an appropriate operator to convert an expression to a specified type.
2. Use an appropriate operator to set correct precision for decimals
3. Use an appropriate operator to manage the alignments in the summary of your candidates
Sort all the stacks in this order:
Stack1 in alphabetic order by name
Stack2 in alphabetic order by Surname
Stack3 in Numeric order (descending) by marks obtained
You have an ordered linked list with 5 object of type person in it.
Explain with an example of how to add and delete a person in an ordered linked list. Your list should remain ordered after the insertion and after the deletion of the item.
Note: a Person in this case should be an object that has a name, surname, age and gende
write c++ statements to declare an integer variable score and a double constant TARGET. initialize them with 15 and 20.0 respectively?
Given a string, an integer position, and a character, all on separate lines, find the character of the string in that position and replace it with the character read. Then, output the result.
Ex: If the input is:
warn
e
the output is:
earn
Note: Using a pre-defined string function, the solution can be just one line of code.
#include <iostream>
#include <string>
using namespace std;
int main() {
string stringVal;
int stringPos;
char substituteChar;
getline(cin, stringVal);
cin >> stringPos;
cin >> substituteChar;
cout << stringVal << endl;
return 0;
}
4. Write a C++ program that
1) prompts the user to input 3 decimal numbers (with a fraction part)
2) Prints the three decimal numbers.
3) Converts each decimal number to the nearest integer.
4) Prints the three converted numbers.
What is printed by the following code?
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, const char * argv[]) {
// insert code here...
double Num1, Num2;
cout << "Please enter two float number : ";
cin >> Num1 >> Num2;
double average = (Num1 + Num2)/2;
cout << "The average between these number is :m" <<average << endl;
cout << "The nearest integer around the average is : " << round(average)<<endl;
return 0;