Describe what data abstraction is and how it is used

Assignment Help Other Subject
Reference no: EM133087575

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:
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.

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.

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

Attachment:- Abstraction and Algorithms.rar

Reference no: EM133087575

Questions Cloud

Identify similarities and differences in quality cultures : Identify similarities and differences in quality cultures and quality leadership approach between planes manufactures Boeing & Airbus.
Designation islamic law : Discuss the Sacred Law in terms of its other designation Islamic Law. Discuss the following: the two primary sources of Islamic Law,
External environmental and competitive factors : Bloomfield Designers is a UK fashion retailer which designs and sells its own brand of women's clothes through its chain of shops in Wales.
Contributions of sex trafficking of teenage girls : What effect does social media have on the contributions of sex trafficking of teenage girls?
Describe what data abstraction is and how it is used : Describe what data abstraction is and how it is used. How is data abstraction different from process abstraction
Social media and digital communication : The concept of libel is an important one given today's use of social media and digital communication. Brief description of libel law.
Create a vertical bar chart : Create a vertical bar chart which displays Formula 1 driver Lewis Hamilton's final season positions for the last 10 years.
Diversity and equity : Write a post evaluating these proposed ethical news values for their usefulness. Could these new news values really be followed in journalism?
Concept of victim impact statements : Discuss the concept of victim impact statements and the impact that they have on victims, as well as, the defendant.

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