Determine the manner in which each of the provided concepts

Assignment Help C/C++ Programming
Reference no: EM13680705

Classes and Class Hierarchies:

C++ is a general-purpose programming language designed as an improvement to the C programming language. In short, the language is a super set of C. The most important feature of C++ is the concept of a class, which can be described as a user defined type.

The technical paper is based on the importance of classes and class hierarchies within C++. The intent of this paper is to provide you with an in-depth knowledge of the manner in which classes form the foundation of C++ programming.

Use the Internet to research the following seven (7) concepts of C++:

i. Classes

ii. Objects as instantiations of classes

iii. Abstraction

iv. Encapsulation

v. Inheritance

vi. Templates

vii. Containers

Next, consider the following advice that Bjarne Stroustrup, the creator of C++, provided to C++ programmers:

When you program, you create a concrete representation of the ideas in your solution to some problem. Let the structure of the program reflect those ideas as directly as possible:

i. If you can think of "it" as a separate idea, make it a class.

ii. If you can think of "it" as a separate entity, make it an object of some class.

iii. If two classes have a common interface, make that interface an abstract class.

iv. If the implementation of two classes has something significant in common, that commonality is a base class.

v. If a class is a container of objects, make it a template.

vi. If a function implements an algorithm for a container, make it a template function the algorithm for a family of containers.

vii. If a set of classes, templates, etc., are logically related, place them in a common namespace.

Write a five to seven (5-7) page paper in which you:

  1. Explain each of the seven (7) concepts of C++, and analyze the fundamental manner in which they each relate to C++ coding of programs.
  2. Provide a short code example of the use of C++ syntax within the context of an employee database.
  3. Determine the manner in which each of the provided concepts relates to the concept of object-oriented programming. Justify your response.     
  4. Explain each element of Bjarne Stroustrup's advice, and explore the primary manner in which each frames the object-oriented programming components into classes, objects, interfaces, templates, and containers.
  5. To help you understand this assignment further, an example may be useful. For example, in researching and writing on the subject of classes you would be expected to cover the following:
    • The ways in which classes are an improvement from the concept of structures in the C programming language.
    • The manner in which classes encapsulate (i.e., enclose) functions that are members of the classes (i.e., enclosed within the class) and variables (i.e., enclosed within the class). The fact that such members represent behavior and characteristics of the class.
    • The ways in which classes restrict access to the member functions and variables through the use of access specifiers such as private, protected, and public.

Reference no: EM13680705

Questions Cloud

Find whta the magnitude and direction of electrostatic force : A charge q1 = - 48.0 μC is placed at 0.6 meter on +x axis and the other charge q2 = 8.0 μC is placed at =0.3 meter on +y axis. Obtain the magnitude and direction of electrostatic force
Find what the rotational kinetic energy of a spherical shell : Find what is the rotational kinetic energy of a spherical shell of mass 9 kilogram and radius 0.01 meter, spinning at 60 rad/s
Obtain what is the mechanical energy lost due to friction : A sledge loaded with bricks has a total mass of 18.5 kilogram and is pulled at constant speed by a rope inclined at 20.0Â degree above the horizontal. Find what is the mechanical energy lost due to friction
Obtain the angular speed of merry- go-round after jump : A child (40 kilogram) stands on the edge of a stationary merry-go-round (uniform disk of radius 1.2 meter and mass 50 kilogram). Obtain the angular speed of merry- go-round after jump
Determine the manner in which each of the provided concepts : Provide a short code example of the use of C++ syntax within the context of an employee database and determine the manner in which each of the provided concepts relates to the concept of object-oriented programming.
Compute the electric potential difference between two points : If 4.25e-4 Joule of work is required to move 12.2e-6 C of charge from one point to another, compute the electric potential difference between two points
Find coefficient of kinetic friction between shelf and mass : A mass m1 on a horizontal shelf is attached by a thin string that passes over a frictionless pulley to a 2.5 kilogram mass (m2) that hangs over the side of the shelf 1.5 meter above the ground. Find the coefficient of kinetic friction between m1 an..
Evaluate the internal resistance of the battery : A 5.44-Ω resistor is connected across a 9 Volt battery. The voltage between the terminals of the battery is observed to be only 7.74 Volt. Evaluate the internal resistance of the battery
Calculate the volume of the liquid water : A cube of ice, 11 centimeter on each side, is melted into a measuring cup. Calculate the volume of the liquid water

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd