8288-questions-1-10

txt

School

Algonquin College *

*We aren’t endorsed by this school

Course

8288

Subject

Computer Science

Date

Jan 9, 2024

Type

txt

Pages

2

Uploaded by UltraWalrusPerson854

Report
//Question 1 What is the difference between object-oriented programming and procedural programming? Procedural programming specifies a sequence of tasks, but object-oriented programming describes the properties of tools or items. In object-oriented programming, there are some elements of procedural programming in the description of objects. //Question 2 How does dynamic polymorphism differ from static polymorphism? It uses overriding instead of overloading. Dynamic polymorphism creates a unique instance. //Question 3 What is overriding a method? Creating a unique version of an inherited method. //Question 4 How are analysis and design different? Analysis describes a problem; design describes a solution. //Question 5 What is the term for a visual representation of the classes in an application? class diagram //Question 6 In addition to attributes and methods, what does a UML class diagram contain? the class name //Question 7 How do object behaviors and attributes differ? Attributes describe a state, but behaviors describe actions. //Question 8 You are designing a traffic simulation program. What is a possible attribute that you could use for a car object? opening the door accelerating cleaning gas mileage --- Correct //Question 9 Shonzu has gathered the requirements for a new solution, described the application
he is going to build, and identified the main objects in the solution. What should he do next? Describe object interactions. This will be essential for understanding behaviors. //Question 10 What is the purpose of encapsulation? to protect an object from unwanted changes
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help