How is data abstraction different from process abstraction

Assignment Help Other Subject
Reference no: EM133091567

Modelling, Abstraction and Algorithms

Exercises

Question 1. In your own words, describe what data abstraction is and how it is used. How is data abstraction different from process abstraction?

Question 2. Draw an Activity Diagram / Flowchart for the task of Sending an email with an attachment via the Google Inbox web interface (if you don't have a gmail account just do it for generically sending an email with an attachment).

Question 3. Draw a class diagram for a DigitalRadio object. A radio has the following properties (which you should choose appropriate data types for):
- state (on / off)
- frequency (i.e. 107.1MHz)
- volume (a whole number value 0 through 10 inclusive)
The radio also has the following methods:
- switch_on()
- switch_off()
- change_volume(new volume),
- change_frequency(new_frequency), and
- find_next_channel(ascending = True).

Question 4. Draw a class diagram for a class that describes a PedestalFan- come up with your own properties / attributes and methods to change or control the fan's properties:

Question 5. Write an algorithm in pseudocode to print out the expansion of a series of factorial numbers, for example:
2! = 2 x 1
3! = 3 x 2 x 1
4! = 4 x 3 x 2 x 1

Question 6. Demonstrate the sequence of swaps required to sort the following list of numbers using a Bubble Sort. In your answer you should write out the new sequence of numbers every time a value changes place.

25

17

2

34

33

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Question 7. Demonstrate the sequence of swaps required to sort the following list of numbers using a Selection Sort. In your answer you should write out the new sequence of numbers every time a value changes place.

25

17

2

34

33

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Question 8. In your own words, explain why sorting is so important to searching.

Reference no: EM133091567

Questions Cloud

Describing the key learning from the it for managers : Write a short reflection, describing the key learning from the IT for managers course and future trends in IT.
Pricing strategies and simulated business : The marketing mix is a key set of tools within the microenvironment, which helps an organization produce the response it wants from their target market.
What amount of insurance expense should be shown : Given the following information regarding a company's insurance transactions: What amount of insurance expense should be shown on the year 2 income statement
Research about vincit company : Help me to do market research which include : industry analysis, target market analysis, and primary target customers.
How is data abstraction different from process abstraction : Draw a class diagram for a class that describes a PedestalFan- come up with your own properties / attributes and methods to change or control the fan's
Are living organ donations ethical : Are living organ donations ethical? Should organ donors be compensated similarly to those who donate plasma or reproductive material?
Evaluate the strategic decision : Critically evaluate the strategic decision made by Exxaro to focus its "business of tomorrow" on renewable energy, water and agribusiness from a corporate strat
Airline market segmentation : Market segmentation means that offers are tailored to specific target groups
Explain personal financial management : Explain personal financial management and why it is important to your professional success. What tips could you give to a colleague who may be struggling with p

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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