CSE446 Final

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

You are given the following piece of code: try { var response = await client.GetAsync("https://venus.sod.asu.edu/WSRepository/Services/EncryptionRest/Service.sEncrypt?text=" + EncryptEntry.Text); response.EnsureSuccessStatusCode(); result = (await response.Content.ReadAsStringAsync()).Replace(@"""",""); } (1) What type of service does the code call? (2) How does the code save CPU time?

- (1) RESTful service - (2) It uses two threads. The first thread terminates after calling the service, and the second thread can go to "wait" state while waiting for the result.

Using the object-oriented computing concept of inheritance, what language is the base (parent) language of XQuery?

- (C) XPath

Compare and contrast VIPLE and Workflow Foundation. Which statements are correct? Select all that apply

- Both support workflow-based service and application composition - Both support control flow and event-driven styles of composition

What types of files does RSS 1.0 belong to? Select all that apply.

- RDF - XML

RDF Schema is

- an ontology language

By definition, poly-structured data include

- structured data - unstructured data - semi-structured data

MIT App Inventor is primarily used for developing

- Android Phone Apps

The business of Salesforce.com is primarily in

- Customer Relationship Management

What is a linear regression classifier?

- It assumes that the data distribute around a linear function.

VIPLE is developed based on the model of

- Microsoft VPL

What input service (from keyboard) is available in VIPLE?

- Simple Dialog

Compare and contrast a VIPLE Activity and a VIPLE Service. Which statements are correct? Select all that apply

- A VIPLE activity can be created based on an existing service - A VIPLE service can be created based an existing activity - A VIPLE service can be used in different VIPLE applications

What does an ontology framework define? Select all that apply.

- A vocabulary of terms - The interconnection among the terms

What are the two main ideas of LINQ? Select all that apply.

- Add a layer of abstraction to access the data sources of different types. -Define a set of standard language constructs for plugging into differentlanguages.

What built-in methods (functions) does XElement class contain?Select all that apply

- Add() that adds the specified content as children to an existing XML node. - Descendants(): Returns a collection of the descendant elements forthis document or element. - Remove() that removes an XML node from its parent node.

What data belong to poly-structure data?

- All of the above

Given the piece of code below, what will be in the result set? XElement result = XElement.Load("Courses.xml"); IEnumerable course = from c in myCourses.Elements("Course")where (string)c.Attribute("Code") == "CSE310" select c;

- All the course-elements in Courses.xml that has an attribute Code = "CSE310"

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 mapand 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 - WSDL service

Consider a VIPLE Custom Activity and a VIPLE Code Activity. What statement is correct?

- Both Code Activity and Custom Activity can take parameter values from the outside, e.g., from the Main diagram.

Which ADO .Net component's implementation is device dependent?

- Data adapter

One of the techniques of preventing Return-Oriented Programming (ROP)attacks is to

- reprogram library functions to remove potential gadgets

The structure of XML Data is considered to be

- semi-structured

Deep learning typically solves a computation-intensive problem based on

- the map and reduce principles using multiple layers

AWS IoT focuses on

- using AI services and cloud to support IoT devices

What does Software as a Service (SaaS) mean? It means

-Web services and Web applications are both services

Which statement best describes LINQ?

- LINQ is a set of language constructs in functional programming paradigm.

In order to create a LINQ to SQL project that accesses and queries SQL database in LINQ style, you must add these items into your project: (Select all that apply)

- LINQ to SQL Classes. - SQL Server Database.

A LINQ generated the following query structure: {(w, a), (w, b), (x, d), (x, e), (y, f), (z, )} Most likely, it is generated from a query type:

- Left Outer Join.

The challenges of IoT applications include (Select all that apply)

- Longer life support requirements than general-purpose computing devices - Higher security requirements than general-purpose computing devices

What are the features used in flight data processing in the case study?

- Means - Median

What basic activity is typically used for constructing the iteration point of a loop in VIPLE?

- Merge

In the functional programming language statement let $x := 3 let $y:= 7 return 8*$x+4*$y, what does the $x and $y represent?

- Named values that cannot be modified

NO-SQL (Not Only SQL) movement promotes

- NoSQL for non relational data - key-value pair stores

Sharding is a data partitioning method that divides data

- horizontally

Sharding is partitioning method that partitions the data

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

Devices Profile for Web Services (DPWS) is an OASIS standard for

- implementing Web service interfaces for IoT devices

Which component of an RDF triple does not have to be a resource?

- object

What types of Web services standards does Xamarin platform support?

- Both WSDL services and RESTful services

When you develop a Web application in Azure Cloud, how do you select your hosting service?

- Choose the platform service and different roles to host your application

In crowdsourcing analysis , the technique used for find the best solution using multidimensional merits is

- Clustering

In a network traffic monitoring system, when is the real-time big data processing needed most?

- Comparing the current user behavior with the normal traffic patterns.

CAP theory in big data processing deals with the compromises among (Select all that apply)

- Consistency and data integrity - Availability and reliability - Partition and distribution

OLAP (Online Analytical Processing) normally perform these type of operations (Select all that apply)

- Consolidation - Drill-down - Slicing

Which of the following database operations uses the ExecuteScalar method?

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

- Create and initialize a table with the matched schema. - Retrieve records and write into the table. - Close the connection to the database.

What types of modules are contained in the slave node in a Hadoop system? Select all that apply.

- Data Node - Task Tracker

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

Fault tolerance is a necessity in big data processing. What type of fault tolerance technique does graceful degradation belong to?

- Failover

Since all smart phones can open standard Web browsers, phone apps are typically developed using the same development platforms and environments as as web apps.

- False

What is the typical technique to compare two images or recognize an image?

- Feature extraction and comparison

TensorFlow is a widely-used AI package. In the hardware-software co-define stack, it is typically at the layer:

- Framework

What mechanisms can be used for passing data into an activity? Select all that apply.

- Global variable - Parameter passing

Google Cloud consists of SaaS, PaaS, IaaS, and Data Center. Its IaaS is called

- Google Compute Engine

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

Which Hadoop database is designed for unstructured data?

- HDFS (Hadoop Distributed File System)

What programming technique is used for implementing VIPLE's Web 2D Simulator?

- HTML5

What XML database systems support XML Schema and schema validation? Select all that apply.

- IBM DB 9.5 - Oracle g

Are XQuery and XQL the same language?

- In W3C definition, they mean the same, but in vendor implementationsthey may be different.

What are the benefits using a native XML database? Select all that apply.

- Index becomes a part of the database, not in the client program. - Be able to return a sub-tree of nodes, instead of one node only (SAX)or the entire tree (DOM).

What platforms are supported in the current VIPLE implementation Select all that apply.

- LEGO EV3 - Open architecture robot - Unity Simulator - Web 2D/3D Simulator

What language supports the let-operator, which defines a local name? Select all that apply.

- LISP. - LINQ. - XQL.

What language is the most powerful one in terms of the expressivity?

- OWL Full

A legal OWL DL document is always a legal document of (Select all that apply.)

- OWL Full - RDF/RDFS

What does Platform as a Service include? Select all that apply.

- Operating system - Development environment

What mathematical theory is VIPLE based on?

- Pi-Calculus

Amazon Simple Workflow Service is part of the Amazon Cloud Services, which is at the level of

- Platform as a Service

Google Cloud contains a Cloud IoT Core for supporting secure device connection and management. Which layer does it belong to?

- Platform as a Service

What output services are available in VIPLE? Select all that apply

- Print Line - Simple Dialog - Text to Speech

What languages can be processed by Protégé ontology development environment? Select all that apply

- RDF - OWL

What does the following algorithm represent? Move forward; Turn right if the right side is open; Turn left if 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

The given phone-VIPLE code in the lecture and text sends message from phone to VIPLE. If you want to send message from VIPLE to phone, what service should be used?

- Robot/IoT Message Out

What VIPLE services are used to control the drone in flight data collection and processing system?

- Robot/IoT Motion

What are the features of a native XML database? Select all that apply

- Save XML file as it is. - Allow to load a sub-tree of nodes into memory.

What is the highest level of cloud computing maturity?

- Scalable and configurable multi-tenancy.

Which of the following database operations does NOT use the ExecuteNonQuery method?

- Select the maximum value from a column

What party in cloud computing does not exist in service-oriented computing?

- Service Auditor

Different from Web app design, mobile app design should consider the following factors. Select all that apply.

- Service-oriented computing - Asynchronous communication - Large button design for finger touch

What does the first-class object mean in functional programming languages?

- The function can be placed anywhere where its return value is expected.

Which statement is true?

- The higher the expressivity of a language, the lower the reliability ofthe programs written in the language..

What is the key difference between the data used for training and for flight path recognition in the flight data collection and processing system?

- The labels marking the drone movement are removed in the data used forflight path recognition

What are the problems of transforming XML files into tables? Select all that apply.

- The transformation may end up with using many tables or a large table with many null columns. - The ordering information may get lost.

What statement best describes the function of the following diagram?

- Three seconds after ctrl key is pressed, the state.Status will change to "Opened" or to "Closed"

Which applications can best apply finite state machine model? Select all that apply.

- Traffic lights controller design - Garage door opener design - Sequential circuit design

What does a composite key mean in the LINQ's join operator?

- Two or more properties are used for correlating the elements of two collections.

How do you create a left outer join in LINQ?

- Use join-cause and then call DefaultIfEmpty() method.

VIPLE supports multithreading among parallel threads. Who is responsible for the thread safety - the proper locks and synchronization for accessing resources in parallel?

- VIPLE execution engine

What is the latest human user interface for AI-based computing?

- Voice interface

Which of the following statements about decision trees are correct? Select all correct statements

- We need to train a decision tree using a dataset before using it to classify data - The attributes of a dataset for a decision tree can contain Boolean(true or false) values, as well as other types of values

What is the number 1 principle of Web 2.0?

- Web as the computing platform

ASU eRobotic programming environment runs in

- Web browser

Devices Profile for Web Services (DPWS) is an OASIS standard that conforms with

- Web service messaging technology

What class in LINQ to XML package contains most methods for processing XML data?

- XElement

What class or interface should be used to define the query result, if the result is a single XML document?

- XElement // a simple XML element

When you save your VIPLE program, the program will be saved as a .viple file, which is actually a

- XML file

Which class is the root class of the "LINQ to XML" class hierarchy?

- XObject

The query capability of LINQ to XML is most similar to

- XQL

The purpose of introducing Data Adapter in ADO .Net is to provide

- a database-independent interface.

The higher-order function feature in a functional programming language allows

- a function to take another function's name (operator) as the parameter.

RDFS is

- a more powerful (more expressive) ontology language than RDF

A DataSet in ADO .Net is

- a set of tables that can be accessed by indices and as an XML tree

Compared with multithreading, Hadoop simplifies programming effort by (Select all that apply)

- automatically generating the required number of task trackers - automatically partition the data among the nodes

Visual Studio Xamarin platform supports

- both phone simulator and physical phone

ASU's Robot as a Service is an IoIT device with (Select all that apply)

- built-in robotics application - built-in services for other applications to access

MapReduce is a concept that

- can be used in any parallel computing system

Cassandra is a distributed database management system that (Select all that apply)

- can handle larger amount of data than Hadoop - does not have a single point of failure

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

Which ADO operation is similar to XmlTextReader that reads one node at a time in a stream?

- cmd.ExecuteReader

Intel Edison board belongs to Internet of Intelligent Things, because it has the capacity of (Select all that apply)

- computing and communication - connecting sensors and actuators

Using LINQ to SQL, the table schema in SQL database and the members(properties) of an in memory object can be associated through (Select all that apply)

- defining an attribute and mark the object's properties by [column] to associate them with the columns in the table. - Double click the database in the project to open the item, Then, drag the object into the database.

Internet of Intelligent Things (IoIT) refer to

- devices connected to Internet that have adequate computing capacity

A share-nothing computer architecture typically refers to

- distributed and networked computer system

The reason that Hadoop uses its own types such as Text and LongWritable, instead of using Java's String and Long types, is for

- efficient serialization

What higher order function is used in the "where" clause of a LINQ query?

- filter

What are functional constructs belonging to LINQ itself? Select all that apply.

- from. - select. - where.

The XQuery language is best characterized to be a

- functional programming language.

The fault tolerance technique that distributes the tasks of a failed unit to other units is called

- graceful degradation

In the encryption and decryption phone app given in the lecture, where are the encryption and decryption functions performed?

- in RESTful services

In the Number Guessing Game given in the lecture, where is the secret number actually generated?

- in a WSDL service

Where can inheritance be used in RDF? Select all that apply.

- in defining a sub class - in defining a sub property

Type var

- is a type where its memory structure will be decided by computer.

Which LINQ operator is used for matching elements of two collections?

- 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

The way that "LINQ to XML" processes XML files is to

- load the entire XML file into memory like DOM (Document ObjectModel).

Return Oriented Programming (ROP) is a kind of attacks that

- modify the return address on stack of a function call

Internet of Things is about integrating

- physical devices into internet and Web-based computing environment


संबंधित स्टडी सेट्स

Worksheet: Chemical Energy & ATP

View Set

Contemporary Views of Classical Conditioning (Chapter 5)

View Set

Plants and Civilization Quizlet (NOT ON FINAL EXAM)

View Set

Ch 19 INSURANCE OF SUBSTANDARD RISKS

View Set

Understanding Individual Behavior

View Set