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

Explain the break statement - computer programming, Explain the Break State...

Explain the Break Statement - Computer Programming? The break statement is used as an interrupt to the normal flow of control this statement causes as exit from the switch stat

Series solutions - higher order differential equations, The idea of this se...

The idea of this section is not to do anything new along with a series solution problem.  Instead this is here to exemplify that moving in a higher order differential equation does

Algorithm to enumerate a fingerprint, Let S =  {s 1 , s 2 , .... , s k } de...

Let S =  {s 1 , s 2 , .... , s k } denote a set of k genomes. The problem of fingerprinting is the task of identifying a shortest possible substring α i from each string si such t

Design entry using the graphical editor, In this activity, you are going to...

In this activity, you are going to place components on a sheet and connect them with virtual wires to create a simple digital circuit. You will simulate the circuit to verify the c

Write a program that lets the user play an adventure game, Let the player (...

Let the player (denoted U in the diagram below) navigate around the board until she wins the game by finding the exit or is killed by a monster. A player begins the game with a sli

Design program that presents animation of the solar system, Figure is a rep...

Figure is a representation of the solar system. In a basic model of the same concentric orbits planets rotate around the sun. The closer the Planet in less time Sun completes a ful

Define a prolog predicate flatten, Define a Prolog predicate flatten(List, ...

Define a Prolog predicate flatten(List, FlattenedList) that asserts List is any nested list of atoms and FlattenedList is the same list with the nesting removed. The atom [] should

DOM - Document Object Model, What is DOM? The Document Object Model is a pl...

What is DOM? The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure an

Exploding land mines cause damage to military vehicles, In combat simulatio...

In combat simulation software, exploding land mines cause damage to military vehicles. In addition to the damage done to the vehicles themselves, we are interested in the number of

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