Example problem of modularity, abstraction, and modelling, Programming Languages

Assignment Help:

Example problem

Imagine that  you  require  to create  a robot  that  will  roll up  close to a light  lamp  and  stop  a fixed distance from it.  The first question is, how will we get electrical signals to relate to the physical process of light readings and robot wheel motion? There is a bigger part of electrical engineering based to the design of physical machines that interconnect to the physical world in such a way that some electrical characteristics of the machine based on a physical phenomenon in the world. As like, a light-sensitive resistor is a sensor whose resistance modification relaying on light intensity impinging on it; a motor is an effectors whose rotor velocity is based to the voltage across its two rods. In this course, we will not calculate the detailed physics of sensors and effectors, but will concentrate on different of building systems that use sensors and effectors to perform both simple  and more complicated programs.  To get a robot to halt in front of a light lamp, the problem will be to search a way to connect  the photo-resistor to the motor,  so that the robot will halt at an appropriate  distance from  the lamp.  Thus,  we will already use the concept  of abstraction to treat  sensors and operations as primitive modules whose  internal information  we may ignore, and whose  performance properties we may use as we design systems create on these components.

 

 


Related Discussions:- Example problem of modularity, abstraction, and modelling

Shell script to remove colons from a colon–separated record, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Develop a windows forms application, Develop a Windows Forms Application by...

Develop a Windows Forms Application by creating a new project named "xxxxxxxx" in a new folder named "xxxxxxxxas3" where xxxxxxxx is your student id. You should delete file(s) with

How to create an html document?, An HTML document may be created via any HT...

An HTML document may be created via any HTML editor or text editor such as notepad etc.

Apply generic algorithms in solving programming problems, Educational Objec...

Educational Objectives: After completing this assignment, the student should be able to accomplish the following: Apply generic algorithms in solving programming problems Define an

Class registration, using UML 1- Identify primary classes 2- Scenario d...

using UML 1- Identify primary classes 2- Scenario description 3- Class diagrams 4- Sequence diagrams

Write use case description for the process, The following is the process an...

The following is the process an account holder of eBroker, a discount online brokerage firm, uses to sell stocks.  The user first logs in by entering the username and password.

Write the vhdl code for traffic light controller, The schematic of the traf...

The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke

Overview of procedure-oriented programming paradigm, Procedure-oriented pro...

Procedure-oriented programming (POP):- This is a top-down programming approach, where the problem is viewed as a sequence of tasks to be done such as calculating, printing etc. A n

Algorithm to compute a minimum cover time and space, Given strings s 1 and...

Given strings s 1 and s 2 of lengths m and n respectively, a minimum cover of s 1 by s 2 is a decomposition s1 = w 1 w 2 .... wk, where each w i is a non-empty substring of s

Create xpath expressions and xslt templates, Consider the following schema ...

Consider the following schema (DTD) and sample instance document: name    ID      #REQUIRED spouse  IDREF   #IMPLIED job     CDATA   #IMPLIED > ]>

Write Your Message!

Captcha
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