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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following method is used for viewing any step page’s info in XML format (especially for the purpose of debugging)

  1. a.Show-XML
  2. b.Show-Html
  3. c.Show-Page
  4. d.Show-Step-Page
Question 2 Multiple Choice (Multiple Answers)

Which of the following is not a benefit of using Design Patterns?

  1. They provide a common language for design discussions.
  2. They provide solutions to "real-world" problems.
  3. They communicate the insight already gained previously.
  4. They provide solutions to totally novel problems.
Question 3 Multiple Choice (Multiple Answers)

What design pattern limits the number of instances a class can create?

  1. Command
  2. Limiter
  3. Strategy
  4. Singleton
Question 4 Multiple Choice (Multiple Answers)

Iterators are useful when dealing with which of the following types of classes?

  1. Dynamic
  2. Collection
  3. Singleton
  4. Small
Question 5 Multiple Choice (Single Answer)

What pattern is also known as Virtual Constructor?

  1. Abstract Factory
  2. Wrapper
  3. Memento
  4. Factory Method
Question 6 Multiple Choice (Single Answer)

What is the Adapter pattern also known as?

  1. Surrogate
  2. Wrapper
  3. Token
  4. Proxy
Question 7 Multiple Choice (Single Answer)

What pattern is also known as Handle/Body?

  1. Proxy
  2. Adapter
  3. Abstract Factory
  4. Bridge
Question 8 Multiple Choice (Single Answer)

What is the Decorator pattern also known as?

  1. Wrapper
  2. Adapter
  3. Composite
  4. Strategy
Question 9 Multiple Choice (Multiple Answers)

What is the Command pattern also known as?

  1. Action
  2. Transaction
  3. Wrapper
  4. Surrogate
Question 10 Multiple Choice (Single Answer)

The Command design pattern_____a request in an object.

  1. Separates
  2. Encapsulates
  3. Processes
  4. Decouples
Question 11 Multiple Choice (Multiple Answers)

Which of the following elements are parts of the Gang of Four (GoF) Design Pattern format?

  1. Problem
  2. Solution
  3. Consequences
  4. Intent
Question 12 Multiple Choice (Single Answer)

Which Java package contains classes that implement the Iterator design pattern?

  1. Java. enumeration
  2. java.util
  3. Java.math
  4. java.text
Question 13 Multiple Choice (Single Answer)

What is the Java design pattern used in the SmartLink application

  1. Singleton Chain of Responsibility
  2. Struts
  3. MVC
  4. Abstract Factory
  5. Factory Method
  6. None of the above
Question 14 Multiple Choice (Single Answer)

What is the permanent memory built into your computer called?

  1. CD-ROM
  2. RAM
  3. CPU
  4. ROM
Question 15 Multiple Choice (Single Answer)

Which part is the "brain" of the computer?

  1. ROM
  2. MONITOR
  3. RAM
  4. CPU
Question 16 Multiple Choice (Single Answer)

The capacity of your hard drive is measured in

  1. Gigabytes
  2. MHz
  3. 52X
  4. Mbps
Question 17 Multiple Choice (Single Answer)

How much information can a CD (Compact Disk) usually store?

  1. 1.4Mb
  2. 10Mb
  3. 650Mb
  4. 150Mb
Question 18 Multiple Choice (Single Answer)

Which of the following is not an output device?

  1. Speaker
  2. Monitor
  3. Keyboard
  4. Printer
Question 19 Multiple Choice (Single Answer)

Which device allows your computer to talk to other computers over a telephone line as well as access the internet?

  1. RAM
  2. MODEM
  3. CD-DRIVE
  4. HARD-DRIVE
Question 20 Multiple Choice (Single Answer)

Which of the following is not an input device?

  1. Joystick
  2. Microphone
  3. monitor
  4. Keyboard