Test your basic knowledge |

SWA - Software Architecture

Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.






2. A type of library that is used by the code






3. Initialized stack memory.






4. Symbols that can not be accessed by code in other units have __________. These symbols are usually static non-member functions/variables defined within.c/.cpp or defined in an anonymous namespace.






5. Makes a project compile in order of who is dependent on what






6. Ignores files when pushing.






7. One of the linking methods (pragma comment)






8. Do not optimize until the very end.






9. When a .cpp file is compiled - the header files are first included (recursively) by the pre-processor. This block of code is called a ______________.






10. Concept based on limiting the scope of modules to provide better structures.






11. Uploads all changes staged in the index list into the repository database.






12. Always do the simplest design that could possibly work.






13. Input






14. A function that can load a library






15. Application






16. Downloads without merging.






17. Use only through the interface of the object.






18. Cross training is an important consideration to try and prevent islands of knowledge - which can cause loss.






19. Puts all headers into a master header.






20. Variable doesn't exist.






21. Downloads your changes and then merges.






22. Ensure a class only has one instance - and provide a global point of access to it






23. Ability to withstand change and what the effects are.






24. Uploads changes to your current branch.






25. Invalid or unexpected input that the program is not designed to process.






26. Figure out what is feasible. Decide whether to use API's or to write from scratch.






27. Trying to access a location in memory that your computer cannot access.






28. STOP!!






29. Weak relationship between two classes. Almost always results in a #include.






30. A reference. Has and delete dynamic memory. implies ownership (Association does not).






31. Copies all changes from one branch into another branch.






32. Put this before a function name in a dll - and the function name will avoid name mangling






33. Black Box - The way the program works is internally unknown.






34. Classes build off of each other.






35. (Door-----Spell) BI_DIRECTIONAL because both classes can reference each other. (Door--->Spell) DIRECTIONAL because only the door knows and can reference Spell.






36. What is part of the current scope.






37. You have to tell it to link






38. Define a one-to-many dependency between objects so that when one object changes state - all its dependents are notified and updated automatically






39. Reusing existing functionality by defining a relationship between two classes : Inheritance or containment.






40. Portioning your changes to commit by inserting them into the index.






41. Code generation in a lib






42. Bad! Don't ever use these types of variables!






43. Freed heap memory.






44. Set of all pending changes.






45. The process of deciding which function definition to link during run-time.






46. Functionality Tests.






47. No man's land. Guard bytes before the after allocated heap memory.






48. About the interface to an object. Data contained within.






49. Symbols that can be invoked or used by other code in a different unit. All non inline class member functions and variables - non-static non-member functions and variables defined within a .cpp file






50. Bookmark of a revised set with a title. For easy checkouts.