CSE 445/446 Final
When you save your VIPLE program, the program will be saved as a: - .txt file - .XML file. - .bin file - .JSON
- .XML file.
Consider a VIPLE Activity Block and a VIPLE Code Activity. What statement is correct? - An Activity Block is a method in a Code Activity. - An Activity Block 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 Activity Block can take parameter values from the outside, e.g., from the Main diagram.
- A Code Activity is a special case of an Activity Block.
If you want to create your own messaging service, what components must be developed? Select all that apply. - A messaging service that stores messages from senders and allows receivers to retrieve the messages. - A messaging service that can connect to a client to deliver the messages. - A client that can connect to another client to deliver a message. - A client that can connect to another client to retrieve a message. - A client that connects to the messaging service for sending and receiving messages.
- A messaging service that stores messages from senders and allows receivers to retrieve the messages. - A messaging service that can connect to a client to deliver the messages. - A client that connects to the messaging service for sending and receiving messages.
What are the two main ideas of LINQ? Select all that apply. - Add a layer of abstraction to access the data sources of the same type. - Add a layer of abstraction to access the data sources of different types. - Define a set of standard language constructs for plugging into different languages. - Define a standard language for accessing different data sources.
- Add a layer of abstraction to access the data sources of different types. & - Define a set of standard language constructs for plugging into different languages.
MIT App Inventor is primarily used for developing: - Android Phone Apps. - iPhone Apps. - Windows Phone Apps. - EV3 Robotics Apps.
- Android Phone Apps.
What kinds of Custom Activities can be added into a workflow? Select all that apply. - AsyncCodeActivity - CodeActivity - CorrelateCodeActivity - NativeActivity
- AsyncCodeActivity - CodeActivity - NativeActivity
What is the key feature of a messaging system that is not supported in WCF? - Asynchronous communication. - Synchronous communication. - Asynchronous communication with an offline receiver. - None of them are supported.
- Asynchronous communication with an offline receiver.
How can a Web-based Hadoop platform automate the parallel computing? Select all that apply. - Automatically divide the file into N pieces. - Automatically call the participating services N times to ensure each map and reduce functions are served by a different instance of the service. - Automatically upload the file N times. - Automatically start the Web application N times.
- Automatically divide the file into N pieces. & - Automatically call the participating services N times to ensure each map and reduce functions are served by a different instance of the service.
What VIPLE components are available for constructing VIPLE workflow? Select all that apply. - Basic activity - Code Activity. - RESTful Service - ADO service - WSDL service
- Basic activity - Code Activity. - RESTful Service - WSDL service
Compare and contrast Web caching design and cache design in computer memory hierarchy. Select all correct answers. - Both designs deal with software design only. - Both designs use temporary locality. - Web caching data are always stored in the secondary memory (disk). - Computer memory hierarchy supports Web caching and automatically place Web caching data in cache, in main memory, or in the secondary memory (disk).
- Both designs use temporary locality. & - Computer memory hierarchy supports Web caching and automatically place Web caching data in cache, in main memory, or in the secondary memory (disk).
What are key features of ESB? Select all that apply. - Buffering messages for offline delivery - Translating message formats - Point-to-point connection - Tightly coupled-integration - Dynamically selection of services
- Buffering messages for offline delivery, - Translating message formats, & - Dynamically selection of services.
In the System.Web.Caching namespace, what class is used for defining a parameter's type in a method of another class? - Cache class - CacheDependency class - OutputCache class - ResponseElement class
- CacheDependency class
What is the return type of a LINQ query? - Array of string type - Collection of string type - Collection of generic type - Collection of object type - Boolean type
- Collection of generic type
What design pattern is applied in ADO .Net to encapsulate the requests of actions as an object? - Command - Iterator - Mediator - Observer
- Command
What mechanisms are defined in SqlTransaction class to ensure the correctness of business transactions? Select all that apply. - Duplicate that executes the commands twice to ensure the operation succeed at least once. - Commit that executes the two database updates at the same time. - Rollback that restores the database to the state before the Commit operations. - Retry that restarts the database updates after a failure is detected.
- Commit that executes the two database updates at the same time. - Rollback that restores the database to the state before the Commit operations.
What does ESB Federation mean? - Connecting heterogeneous applications through ESB. - Connecting multiple ESB systems together. - Allowing an ESB to use multiple communication protocols. - Allowing an ESB to use multiple communication protocols and data formats.
- Connecting multiple ESB systems together.
What kinds of approaches can be used in Workflow Foundation to develop services? Select all that apply. - Architecture-first approach. - Business-first approach. - Contract-first approach. - Workflow-first approach.
- Contract-first approach. - Workflow-first approach.
Which of the following database operations uses the ExecuteScalar method? - Insert a column. - Delete a column. - Update a column. - Count the appearances of a value in a column.
- Count the appearances of a value in a column.
What are the operations performed by adapter.Fill(ds, "titles") in the SqlDataAdapter class? Select all that apply. - Open a connection. - Create and initialize a table with the matched schema. - Retrieve records and write into the table. - Cast the record back into the database for verification. - Close the connection to the database.
- Create and initialize a table with the matched schema. - Retrieve records and write into the table. - Close the connection to the database.
Which ADO .Net component's implementation is device dependent? - Data adapter. - Data provider. - DataSet. - Connection class
- Data adapter.
What data belong to poly-structure data? - Data in SQL databases - Data in XML databases - Unstructured data like videos and audios - All of the above
- Data in SQL databases, - Data in XML databases, & - Unstructured data like videos and audios.
DataReader and DataAdapter are two classes in ADO .Net for accessing databases. Which statement is correct? - DataReader reads database in a stream, while DataAdapter reads in DataSet. - DataReader reads database in DataSet, while DataAdapter reads in a stream. - Both DataReader and DataAdapter read database in DataSet. - Both DataReader and DataAdapter read database in a stream.
- DataReader reads database in a stream, while DataAdapter reads in DataSet.
What type of logic does the following expression belong to? Student ∩ InterestedIn.Computing ∩ ¬∃InterestedIn.Math - Description Logic - Position Logic - Predicate Logic - Digital Logic
- Description Logic.
What devices are currently supported by VIPLE? Select all that apply. - EV3 robots. - Intel Edison-based robots. - iRobots. - Simulated robots.
- EV3 robots. - Intel Edison-based robots. - Simulated robots.
The main purpose of BizTalk is to provide: - an alternative programming language to Java and C#. - an alternative presentation tool to Visio and PowerPoint. - Enterprise application integration tool. - an alternative communication mechanism to Enterprise Service Bus.
- Enterprise application integration tool.
TensorFlow is a widely-used AI package. In the hardware-software co-define stack, it is at the layer: - Hardware - Library - Framework - Tool - Application
- Framework
For the following maze, which maze navigation algorithms CANNOT find the exit point? --------------------------------------- -------------- --------------------- | | | | |---| | | |---------| | | | | | | | _______| | | | | |______| | | | | | | | |-----------| | | | |-----| |___________________ | | | | | | |_____| |_____| |________________________| _________________________________________________ - Greedy algorithm taking the first working solution - Local best measuring the distances on the left and right - Wall-following algorithm - Wall-following algorithm with cu-de-sac detection
- Greedy algorithm taking the first working solution - Local best measuring the distances on the left and right
Where is the partnerLinkType defined? - In the BPEL process - In the client that accesses the BPEL process - In the WSDL file of the BPEL process - In the service that is called by the BPEL process
- In the WSDL file of the BPEL process
What is the function of the FlowDecision activity in Workflow Foundation? - It creates a custom activity. - It creates a correlation set. - It creates a flowchart component. - It branches execution based on a Boolean condition.
- It branches execution based on a Boolean condition.
What is the function of the basic activity "Join"? - It waits for one of the incoming data items to arrive. - It waits for all incoming data items to arrive. - It checks the result of a condition and then chooses one of incoming data items. - It must be used in pair with a Fork.
- It waits for all incoming data items to arrive.
What component of Oracle SOA Suite is used for creating the BPEL process? - JDeveloper - BPEL Console - BPEL Process Manager - Data Management - BPM Studio
- JDeveloper
The data structure between VIPLE and open architecture devices is of - XAML. - WSDL/SOAP. - JSON object. - XML file.
- JSON object.
What platforms are supported in the current VIPLE implementation? Select all that apply. - LEGO EV3 - Edison-based robot - Unity Simulator - Web 2D/3D Simulator - Flight Simulator
- LEGO EV3 - Edison-based robot - Unity Simulator - Web 2D/3D Simulator
What types of expressions can be executed in LINQ query? - Lambda expression - Delegates in .Net CLR. - LINQ query structure - Java's query structure.
- Lambda expression, - Delegates in .Net CLR. - LINQ query structure.
What are the typical features used in flight data processing? - Means - Median - Speed - Attitude
- Means - Median
What basic activity is typically used for constructing the iteration point of a loop in VIPLE? - Join - Merge - Switch - Variable
- Merge
What are the reasons of applying Web caching? - Web data caching reduces the use of server's cache and memory, and thus save operation cost. - Most people want to know the same thing. - Data from database and Web services are costly. - Web caching improves Web response time. - Web caching provides more accurate information.
- Most people want to know the same thing. - Data from database and Web services are costly. & - Web caching improves Web response time.
There are many aggregation techniques have been developed for querying and analyzing complex data. Which technique is better for big data analysis? - OLAP (On-line Analytical Processing) - OLTP (On-line Transaction Processing) - LINQ to Object - LINQ to SQL
- OLAP (On-line Analytical Processing)
What additional functions does Dublin hosting provide? - Self-hosting - Persistence management - Tracking and monitoring - Service queuing
- Persistence management - Tracking and monitoring
Which of the following expression could be accepted in Java? - Func<int, int> extract = delegate (int p) { p.getAge(); } - Predicate allDrivers = p => p.getAge() >= 16; - Predicate<Person> allDrivers = p -> p.getAge() >= 16; - All of the above.
- Predicate<Person> allDrivers = p -> p.getAge() >= 16;
What are the purposes of Enterprise Application Integration (EAI)? Select all that apply. - Providing Common Façade (consistent access interface) to different applications in the enterprise. - Allowing integration at the levels of workflow composition and low level coding. - Keep business rules vendor independent. - Convert a distributed object-oriented business model into service-oriented architecture.
- Providing Common Façade (consistent access interface) to different applications in the enterprise. & - Keep business rules vendor independent.
What languages can be processed by Protégé ontology development environment? Select all that apply. - RDF - BPEL - LINQ - OWL
- RDF - OWL
What types of files does RSS 1.0 belong to? Select all that apply. - HTML - JSON - RDF - XML
- RDF - XML
What type of database does ADO focus on? - XML database - Text and binary file system - Relational database - Key-value pair database
- Relational database
Which of the following database operations does NOT use the ExecuteNonQuery method? - Insert a column - Delete a column - Select the maximum value from a column - Update a column
- Select the maximum value from a column
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. - Add a built-in event into the activity and connect a data line to the event output port. - Define an event variable and connect the variable to the event output port. - Define an event parameter and connect the parameter to the event output port.
- Simply connect a data line (output of a basic activity, activity, or service) to the event output port.
What are the key features of the third generation AI and robotics? Select all that apply. - Software and hardware co-define - Symbol manipulation - Centralization and distribution optimization - Human machine integration
- Software and hardware co-define. - Centralization and distribution optimization. - Human machine integration.
What is the key feature of Microsoft BizTalk? - BPEL as the native composition language - Compatible with Oracle SOA Suite - Stateful service development through Session State and Application State - Supporting enterprise application and business partner level integration
- Supporting enterprise application and business partner level integration
What is the key difference between the data used for training and for flight path recognition in the flight data collection and processing system? - They are completely different sets of data collected using different sensors. - The data labels are removed in the data used for flight path recognition. - The data labels are removed in the data used for training. - Training data are in JSON format, while the actual data is in XML format.
- The data labels are removed in the data used for flight path recognition.
Which statement is true? - The higher the expressivity of a language, the higher the reliability of the programs written in the language. - The higher the expressivity of a language, the lower the reliability of the programs written in the language. - The expressivity of a language is not related to the reliability of the programs written in the language. - The reliability of programs is related the programmers only.
- The higher the expressivity of a language, the lower the reliability of the programs written in the language.
Given the code below. What statement is correct? "var query = from employee in employees join student in students on new {employee.FirstName, employee.LastName } equals new {student.FirstName, student.LastName } select employee.FirstName + " " + employee.LastName;" - The query uses one data source and one property for join. - The query uses one data source and two properties for join. - The query uses two data sources and one property for join. - The query uses two data sources and two properties for join.
- The query uses two data sources and two properties for join.
What is the enabling component of a messaging system that must be installed by a system administrator? - The queuing object in the sender. - The queuing object in the receiver. - The queuing object in the client. - The queuing object in the server.
- The queuing object in the server.
Which applications can best apply finite state machine model? Select all that apply. - Traffic lights controller design. - Garage door opener design. - Sequential circuit design. - Combinational circuit design. - Equational solver.
- Traffic lights controller design. - Garage door opener design. - Sequential circuit design.
How many roles need to be defined in the BPEL process's Partner Link Type for an asynchronous request? - Zero - One - Two - More than two
- Two
How are stateful services implemented in BPEL? - Use <singleton> element - Use <perCall> element - Use <correlation> element - Use <stateful> element
- Use <correlation> element
How are asynchronous service implemented in Workflow Foundation? - Use IDuplexChannel. - Use two independent one-way calls. - Use two correlated receive-send pairs. - Use a one-way call followed by a call back.
- Use two correlated receive-send pairs.
How is the dynamic application architecture implemented in SAP NetWeaver? - Users are allowed to modify the business process on the fly, and the modification can be automatically integrated into the system. - ESB is applied to support the business process management. - SAP R/3 has a built-in mechanism for dynamic business process management. - Oracle SOA Suite is applied to support the business process management.
- Users are allowed to modify the business process on the fly, and the modification can be automatically integrated into the system.
How is a local variable defined in BPEL process? - Using element <scope> - Using element <variable> - Use <correlation> element - Use <stateful> element
- Using element <scope>
VIPLE supports multithreading among parallel threads. Who is responsible for the thread safety - the proper locks and synchronization for accessing resources in parallel? - The application builder. - The service provider. - VIPLE execution engine. - The application builder and service provider.
- VIPLE execution engine.
Enterprise level collaboration, integration, and dynamic business composition are driven by the following technologies: - Web 2.0, SOA, ESB, and dynamic application architecture. - Web 1.0 and HTML. - Cloud computing and big data analysis. - proactive artificial intelligent services and applications.
- Web 2.0, SOA, ESB, and dynamic application architecture.
Which workflow development environment allows to mix composition language and programming language? - Workflow Foundation - Oracle BPEL - Oracle BPM Suite - Kepler workflow system
- Workflow Foundation
A DataSet object can be accessed as (Select all that apply.) - a collection of tables though indices. - a list of objects with different types. - an unordered set of strings. - an XML file using an XML parser.
- a collection of tables though indices. - an XML file using an XML parser.
The higher-order function feature in a functional programming language allows: - a developer to put a function at the place where its return value is expected. - parallel computing of all functions in the program without having to compute them one after another. - a function to take another function's name (operator) as the parameter. - make use of the side-effect for performing invisible computing.
- a function to take another function's name (operator) as the parameter.
A DataSet in ADO .Net is: - a one-dimensional array of homogeneous data. - a single table of data. - a set of tables that can be accessed by indices and as an XML tree. - an unordered set of data, each of which can have a different type.
- a set of tables that can be accessed by indices and as an XML tree.
BPMN is: - an XML-based process description and modeling language. - a visual notation that cannot be translated into executable. - a visual notation based on the Workflow Foundation. - a visual notation that can be translated into BPEL. - similar to visualized BPEL process in Oracle SOA Suite.
- a visual notation that can be translated into BPEL.
The workflow-based Image Verifier service discussed creates - an asynchronous RESTful service - a synchronous .svc service - a synchronous .xamlx workflow service. - an asynchronous .xamlx workflow service.
- an asynchronous .xamlx workflow service.
Compared with multithreading, Hadoop simplifies programming effort by (Select all that apply) - eliminating the need of writing code of mapping. - eliminating the need of writing code of reducing. - generating executable from visual workflow. - automatically generating the required number of task trackers. - automatically partition the data among the nodes.
- automatically generating the required number of task trackers. & - automatically partition the data among the nodes.
If a partner web service of a BPEL process communicate with BPEL process synchronously, the service will typically require to have: - both an input message and an output message. - either an input message or an output message, but not both. - neither an input message nor an output message. - More than one input message and more than one output message
- both an input message and an output message.
MapReduce is a concept that - can be used in Hadoop system only - can be used in any parallel computing system. - can be used in Cassandra system only. - cannot be used Visual Studio .Net environment.
- can be used in any parallel computing system.
Intel Edison board belongs to Internet of Intelligent Things, because it has the capacity of (Select all that apply) - computing and communication - preventing Return-Oriented Programming attacks. - connecting sensors and actuators. - quad core processors on a chip.
- computing and communication - connecting sensors and actuators.
What additional elements are defined in the BPEL process's WSDL file? Select all that apply. - correlations - portType - partnerLinkType - partLinks
- correlations, & - partnerLinkType
BPEL process manager is used for: - creating the BPEL process - creating the BPEL process's WSDL file. - executing the BPEL process. - debugging BPEL process.
- creating the BPEL process
Internet of Intelligent Things (IoIT) refer to: - Websites that implement the Web 2.0 concepts. - humans participated in Internet activities such as blogging. - devices connected to Internet that have computing capacity. - software and hardware installed to prevent ROP attacks.
- devices connected to Internet that have computing capacity.
Which combination of activities is used for creating a TWO-way synchronous communication between a client and a server? - from client side and from the server side - from client side and followed by a from the server side - and from client side, and another and from the server side - from client side and from the server side
- from client side and followed by a from the server side
The fault tolerance technique that distributes the tasks of a failed unit to other units is called - graceful degradation - hot backup. - cold backup. - check pointing and rollback.
- graceful degradation.
What operators make LINQ different from SQL in functionality? Select all that apply. - from - where - group - group join
- group, & - group join
Sharding is a data partitioning method that divides data - horizontally - vertically - rectangularly - in subtrees
- horizontally
LINQ to SQL provides a run-time infrastructure for managing relational data as objects. An object to be linked to the database table must have an attribute to define: - how the object properties correspond to columns in the database - what HTTP methods are used retrieve the results. - How the parameter values are passed to the methods in the object. - What query keywords are used for querying the database. - the connection string to open the database.
- how the object properties correspond to columns in the database
Collaborative filtering-based recommender systems recommend items to a user based on: - popularity of the items. - the user's profile such as age, gender, and items purchased in the past. - functionalities of the items. - items purchased by other users who have similar preference with the user.
- items purchased by other users who have similar preference with the user.
Which LINQ operator is used for matching elements of two collections? - group - into - join - select - where
- join
You are designing a big data system with poly-structured data. What type of data store (database) you should be used for storing the unstructured data? - key-value data store - generic list of objects - relational data store - XML data store
- key-value data store.
A finite state machine can be consider to be a (Select all that apply): - mathematical model for representing the relationship between input, states, and outputs. - programming model for solving event-driven problems. - stochastic model for finding the statistical features of systems. - physical model creating mechanical prototypes of operational systems.
- mathematical model for representing the relationship between input, states, and outputs. & - programming model for solving event-driven problems.
Return Oriented Programming (ROP) is a kind of attacks that: - modify the return address on stack of a function call. - inject code into IoT devices. - inject code into JavaScript code that running in web browser. - DPWS devices with WSDL/SOAP interfaces.
- modify the return address on stack of a function call.
If a BPEL process communicate with a partner service synchronously, the partnerLinkType in the BPEL process will have: - zero role. - one role. - two roles. - more than two roles.
- one role.
The business process developed using Microsoft BizTalk follows the composition style: - choreography - orchestration - pipeline - waterfall
- orchestration
The recommendation accuracy is normally measured by the: - purchase rate of recommended items. - diversity of recommended items. - length of the recommended item list. - response time.
- purchase rate of recommended items.
One of the techniques of preventing Return-Oriented Programming (ROP) attacks is to: - disable code injection. - disable stack modification. - increase password length. - reprogram library functions to remove potential gadgets.
- reprogram library functions to remove potential gadgets.
What are the three object types of the basic RDF data model? - resource, property, and statement - ontology, semantic Web, and database - int, character, and string - class, object, and instantiation
- resource, property, and statement.
The main purpose of BPM (Business Process Management) is to: - keep business rules vendor independent. - classify and organize the descriptive representations of an enterprise. - define what architectures are appropriate for supporting the overall enterprise. - respond to changing consumer, market, and regulatory demands faster than competitors.
- respond to changing consumer, market, and regulatory demands faster than competitors.
The suggested Robot as a Service is a cloud computing unit installed with (Select all that apply.) - augmented reality infrastructure for virtual presentation. - services. - service directory. - service client/applications.
- services. - service directory. - service client/applications.
Oracle BPM Suite - is a component in Oracle SOA Suite - supports the execution of both BPMN and BPEL - supports the execution of both BPMN and WF workflow. - from client side and from the server side
- supports the execution of both BPMN and BPEL
Deep learning typically solves a computation-intensive problem based on: - a single layer of powerful computing capacity. - the map and reduce principles using multiple layers. - the dynamic programming principle. - social filtering principles.
- the map and reduce principles using multiple layers.
The reason to define a Reboot (reset) endpoint in the Image Verifier service is to address the situation that: - the user never makes the second part of the call to the service. - the hosting server may crash. - two users can call the service at the same time. - the service is hosted on a Dublin server.
- the user never makes the second part of the call to the service.
MapReduce computing in big data system takes a list of key-value pairs as input and computes the results in two phases: Map and Reduce. Map will process the input list and output - N key-value pairs, and then Reduce computes the N sub-lists into a single list - a shorter list, and then Reduce computes the shorter list to obtain single pair as output. - two half lists, and then Reduce merge the two half lists into a single list. - two half lists, and then Reduce process the two half lists to obtain a single pair as output.
- two half lists, and then Reduce merge the two half lists into a single list.
BPMN is a: - text-based language that is similar to BPEL. - text-based language that is similar to XLang. - visual language that carries full semantics and is executable. - language for drawing human-readable workflow, which is not executable.
- visual language that carries full semantics and is executable.
What is a persistent service in Workflow Foundation? It is a service that can: - save the user's password - wait for the second part of service call persistently. - create a user account. - monitor the performance of other services.
- wait for the second part of service call persistently.
Which LINQ operator is most likely to take a Boolean expression? - group - into - join - select - where
- where
What values can the "initiate" property in the BPEL <correlation> element take? Select all that apply. - and - yes - no - join - merge
- yes, - no, - join
How many distance sensors are implemented in the VIPLE's Unity simulator?
2
SaaS (Software as a Service)
A form of cloud computing where a firm subscribes to a third-party software and receives an application or service that is delivered online.
IaaS (Infrastructure as a Service)
A service model in which hardware services are provided virtually, including network infrastructure devices such as virtual servers (processors, memcache).
PaaS (Platform as a Service)
Cloud-based virtual server(s). These virtualized platforms give programmers tools needed to deploy, administer, and maintain a Web application.
Difference between B+ and B- trees
In a B+ tree, in contrast to a B- tree, all records are stored at the lowest level of the tree. Only keys are stored in interior blocks.