Computer Architecture and Software Design Patterns Quiz
Test your knowledge of computer hardware architecture and software design patterns. Covers input/output devices, storage, CPU, memory, and Java design patterns including Singleton, Command, Factory Method, Adapter, and GoF patterns.
Questions
Which of the following method is used for viewing any step page’s info in XML format (especially for the purpose of debugging)
- a.Show-XML
- b.Show-Html
- c.Show-Page
- d.Show-Step-Page
Which of the following is not a benefit of using Design Patterns?
- They provide a common language for design discussions.
- They provide solutions to "real-world" problems.
- They communicate the insight already gained previously.
- They provide solutions to totally novel problems.
What design pattern limits the number of instances a class can create?
- Command
- Limiter
- Strategy
- Singleton
Iterators are useful when dealing with which of the following types of classes?
- Dynamic
- Collection
- Singleton
- Small
What pattern is also known as Virtual Constructor?
- Abstract Factory
- Wrapper
- Memento
- Factory Method
What is the Adapter pattern also known as?
- Surrogate
- Wrapper
- Token
- Proxy
What pattern is also known as Handle/Body?
- Proxy
- Adapter
- Abstract Factory
- Bridge
What is the Decorator pattern also known as?
- Wrapper
- Adapter
- Composite
- Strategy
What is the Command pattern also known as?
- Action
- Transaction
- Wrapper
- Surrogate
The Command design pattern_____a request in an object.
- Separates
- Encapsulates
- Processes
- Decouples
Which of the following elements are parts of the Gang of Four (GoF) Design Pattern format?
- Problem
- Solution
- Consequences
- Intent
Which Java package contains classes that implement the Iterator design pattern?
- Java. enumeration
- java.util
- Java.math
- java.text
What is the Java design pattern used in the SmartLink application
- Singleton Chain of Responsibility
- Struts
- MVC
- Abstract Factory
- Factory Method
- None of the above
What is the permanent memory built into your computer called?
- CD-ROM
- RAM
- CPU
- ROM
Which part is the "brain" of the computer?
- ROM
- MONITOR
- RAM
- CPU
The capacity of your hard drive is measured in
- Gigabytes
- MHz
- 52X
- Mbps
How much information can a CD (Compact Disk) usually store?
- 1.4Mb
- 10Mb
- 650Mb
- 150Mb
Which of the following is not an output device?
- Speaker
- Monitor
- Keyboard
- Printer
Which device allows your computer to talk to other computers over a telephone line as well as access the internet?
- RAM
- MODEM
- CD-DRIVE
- HARD-DRIVE
Which of the following is not an input device?
- Joystick
- Microphone
- monitor
- Keyboard