Show that n = O(nlogn).
Declare a double array of length 13 dArray.
• Input the values of dArray from user.
• Display the values of even indexes using pointer arithmetic only.
Declare an array ‘list’ of length 15.
• Input the values from user.
• Pass that array to a function sorting.
• Your function should only accept a pointer as an argument.
• Sort the values of the array in ascending order using any of the sorting techniques.
Write a function to calculate the Cube × Cube of a number C. Your function should take an
integer pointer to C. Display the original value of C and its Cube × Cube cube in the main
function.
QUESTION 7
(20 marks)
A savings and loan association has decided to undertake the development of an in-house computer system to
replace the processing it currently purchases from a time-sharing bureau. The internal auditors have suggested
that the system development process be planned in accordance with the Systems Development Life Cycle. The
following items have been identified as major systems development activities that will have to be undertaken
I.System test
II.Initial investigation
III.Install hardware and software
IV.Implementation planning
V.Conversion
VI.System survey
VII.Technical specifications
VIII.Systems modification
IX.User procedures and training
X.Programming
Required:
a)Arrange the above ten items in the sequence in which they should logically occur. (10 marks)
b)Discuss the conceptual systems design process in the SDLC and the activities in this phase.
(10 marks)
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