Course Hero Logo

Question 2 explain programming control structures a

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 13 - 16 out of 32 pages.

Question 2. Explain programming control structures:a.Sequence control structures
b.Decision control structure
c.Loop control structure
14Question 3. Outline the object-oriented programming of:InheritanceInobject-oriented programming,inheritanceis the mechanism of basing anobjectorclassupon anotherobject (prototypical inheritance) or class (class-based inheritance),retaining similar implementation. In mostclass-based object-oriented languages, an object created through inheritance (a "child object") acquires allthe properties and behaviours of the parent object (except: constructors, destructor, overloaded operatorsand friend functions of the base class).PolymorphismGenerally, the ability to appearinmany forms.In object-oriented programming,polymorphismrefers to aprogramminglanguage's ability to processobjectsdifferently depending on their data type or class. Morespecifically, it is the ability to redefine methods for derived classes.AbstractionAbstraction is one of thekey conceptsof object-oriented programming (OOP) languages. Its main goal is tohandle complexity by hiding unnecessary details from the user. That enables the user to implement morecomplex logic on top of the provided abstraction without understanding or even thinking about all thehidden complexity.EncapsulationEncapsulation is one of the fundamentalconcepts in object-oriented programming(OOP). Itdescribes the idea of bundling data and methods that work on that data within one unit, e.g., aclass in Java.
15Question 4. Identify and outline three of the major web browsers features:a.Mozilla Firefox
b.Google chrome

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 32 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Three
Professor
NoProfessor
Tags
Web page, World Wide Web, Dynamic web page

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture