been set a task of writing a piece of code but i seriously dont have a clue where to start or even how to do it. I study multimedia computing and fine with the website design/graphic design but cant get my head around this programming.
can anyone help please
1. Use pseudocode to implement an algorithm which searches for values in a given ange. It should fit the following description:
INPUT: An unsorted array A and two integers l and u
OUTPUT: TRUE if A contains an element which is both greater than l and less than u, FALSE otherwise
You should make a note of the algorithm’s time complexity using O-notation and show the pseudocode to a member of staff before implementing as a function.
2. Now consider the problem when the array is sorted. You should be able to improve on the efficiency of the algorithm by using a divide and conquer approach. Write pseudocode and give the time complexity of the algorithm using Big O notation. If there is time available you should implement the algorithm with code, although this is not essential.
Why not teach yourself those things Jon? I've done them all (well, I'm just going through Flash animation atm), and taught myself through stuff I downloaded, books etc. I'm no numero uno expert, but I sure as hell didn't need no psuedocodes, algorithms, or unsorted arrays!
It depends what you need it for and what level of expertise you require.
You would be better off learning html5 than flash houch!
It's hard to teach myself programming because I don't actually have a clue where to start. All of the other things I have self taugh myself from video tutorials and books
I started in 1992 - way before Windows! - I used to use "basic" programming to write simple games etc. Very matchsticky effect in those days! Obviously massively improved since. If I'd kept it up, who knows where I might be today? I then went on to write my own webpages using total HTML code - no editors back then!
I still haven't come any closer to solving this question
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?