Tutor profile: Thomas P.
Subject: Python Programming
What data structure would you use to store a set of book titles and their retail price?
A Python dictionary would be good for this purpose as it provides key/value pairs. The book title would the key with the price being the value. A value for the book, "Python Programming 101" could be "$19.99" and retrieved by using the code: booksDict["Python Programming"]
Subject: Computer Science (General)
Why is it important to manage algorithmic complexity when designing a piece of software and writing the code?
Algorithmic complexity, in terms of both time and space, can limit the scalability and applications of a piece of software to the problem space. If the algorithm takes to long to complete, it may be of little to no use to end users. If too much memory or disk space is taken up in running the algorithm, systems may not be able to handle the task.
Subject: C++ Programming
What are some advantages and disadvantages to using C++ as the programming language for your project?
C++ provides strong typing, memory management, and performance advantages over similar languages. A disadvantage to C++ is the learning curve for newcomers and the improper management of memory allocations.
needs and Thomas will reply soon.