CSE 446 Unit 4
What VIPLE components are available for constructing VIPLE workflow?
*Basic Activity *Code Activity *RESTful Service ADO Service *WSDL Service
Intel Edison board belongs to the Internet of Intelligent Things, because it has the capacity of
*Computing and communication. Preventing Return-Oriented Programming attacks *Connecting sensors and actuators. Quad core processors on a chip.
What devices are currently supported by VIPLE?
*EV3 Robots *Intel Edison-based robots. iRobots *Simulated Robots.
Consider a VIPLE Custom Activity and a VIPLE Code Activity. What statement is correct?
A Custom Activity is a method in a Code Activity A Custom Activity allows to use C# to implement functionality of the block. A Code Activity is a special case of an Activity Block. *Both Code Activity and Custom Activity can take parameter values from the outside, .e.g., from the Main diagram.
MIT App Inventor is primarily used for developing
Android Phone Apps
What types of Web services standards does Xamarin platform support?
Both WSDL services and RESTful services.
Compare and contrast VIPLE and Workflow Foundation. Which statements are correct?
Both support workflow-based services and application composition. Both support control flow and event-driven styles of composition.
What mechanisms can be used for passing data into an activity?
Global variable Parameter passing
What programming technique is used for implementing VIPLE's Web 2D Simulator?
HTML5
You are given the piece of code: try { var response = await client.GetAsync( "https://venus.sod.asu.edu/WSRepository/Services/EncryptionRest/Service.svc/Enrypt?text="" + EncryptEntry.Text); response.EnsureSuccessStatusCode(); result = (await response.Content.ReadAsStringAsync()).Replace(@"", ""); } How does the code work?
It makes a call and starts another thread to wait for the result.
What is the function of the basic activity "Join"?
It waits for all incoming data items to arrive.
Which basic VIPLE activity can be used for waiting for one of the threads to arrive?
Merge
VIPLE is developed based on the model of
Microsoft VPL.
As a Graphic User Interface (GUI) design language, XMAL is used in
Phone app GUI design Windows Presentation Foundation GUI design.
What mathematical theory is VIPLE based on?
Pi-Calculus
What types of remote procedures/services can be called from VIPLE?
RESTful WSDL
What does the following algorithm reqpresent? Move forward; Turn right if the right side is open; Turn left is the front is not open;
Right-wall-following.
When using a phone app to control a VIPLE device, what VIPLE service is used?
Robot/IoT Message In
What architecture styles does VIPLE support?
Service-oriented Event-driven Workflow-based
How do you create a custom event in a VIPLE activity?
Simply connect a data line (output of a basic activity, activity, or service) to the event output port.
What markup language is used for representing the phone app's user interface in Xamarin?
XAML
When you save your VIPLE program, the program will be saved as a .viple file, which is actually a
XML file
Internet of Intelligent Things (IOIT)
adds distributed intelligence to IoT.
Th suggested Robot as a Service is a cloud computing unit installed with
augmented reality infrastructure for virtual presentation *services *service directory *service client/application
Visual Studio Xamarin platform supports
both phone simulator and physical phone.
ASU's Robot as a Service is an IoIT device with
built-in robotics applications. built-in services for other applications to access.
If you define an event output for an activity, you
can still define another data output for the activity and use both outputs in your application.
Internet of Intelligent Things (IOIT) refer to
devices connected to Internet that have adequate computing capability.
Devices Profile for Web Service (DPWS) is an OASIS standard for
implementing Web service interfaces for IoT devices.
In the encryption and decryption phone app given in the lecture, where are the encryption and decryption functions performed?
in RESTful services
Return Oriented Programming (ROP) is a kind of attack that
modifies the return address on the stack of a function call.
Internet of Things is about integrating
physical devices into internet and Web-based computing environment.
One of the techniques of preventing Return-Oriented Programming (ROP) attacks is to
reprogram library functions to remove potential gadgets.
The challenges of IoT applications include
*Longer life support requirements than general-purpose computing devices. *Higher security requirements than general-purpose computing devices. Limited IP addresses available No standards available for IoT application integration.
Which applications can best apply finite state machine model?
*Traffic lights controller design. *Garage door opener design. *Sequential circuit design. Combinational circuit design. Equational solver.