IB HL Computer Programming
Order by
10 terms
Terms | Definitions |
|---|---|
What are the steps in the software life cycle? | * analysis* design * implementation * testing * maintenance |
Define polymorphism. | The ability of different objects to respond appropriately to the same operation. |
Convert A2F4 from hexidecimal to decimal. | 41716 |
Write a program to find the nth Fibonacci number. | public int fibonacci(int n){ return n>=2 ? fibonacci(n-1)+fibonacci(n-2) : n; } |
Give an example of inheritance. | Caris a Vehicle The Vehicle class inherits the Car class. |
What's the difference between a queue and a stack. | Queues are FIFO and stacks are LIFO. |
What is a hash table? | A table of information that is accessed by way of a shortened search key (the hash value). |
What is prototyping and why is it useful? | Prototyping is the process of making small pieces of the intended solutions. It allows issues to be discovered and fixed early on, before it becomes difficult or costly. |
Convert 101011101 base 2 to base 4. | 11131 |
When is a linked list more efficient than an array? | When elements need to be added or removed frequently, and when the elements are mostly accessed in order rather than random access. |
First Time Here?
Welcome to Quizlet, a fun, free place to study. Try these flashcards, find others to study, or make your own.