Issuu on Google+

98-361

Microsoft MTA Software Development Fundamentals ↘

http://www.testsexpert.com/98-361.html


Question: 1 Which of the following is a language used to communicate and manage data in a relational database management system (RDBMS) and is the standard language for RDBMS according to ANSI (American National Standards Institute)? A. XML B. WML C. HTML D. SQL

Answer: D

Explanation: A Structured Query Language (SQL) is used to communicate and manage data in a relational database management system (RDBMS). It is the standard language for RDBMS according to ANSI (American National Standards Institute).

Question: 2 Consider the exhibit below for the following

Which handling repetition method will you use in the above scenario? A. While loop B. For each C. Do while loop D. Recursion

Answer: A

www.testsexpert.com

2


Explanation: A while loop executes a block of the sub-diagram code repeatedly until the specified Boolean condition is met. First, you execute the code contained in the sub-diagram, and then the conditional terminal is evaluated. A while loop does not contain a set iteration count; therefore, a while loop executes infinitely, if the condition never arises. A while loop is a control flow statement in most computer programming languages. It allows execution of code based on specified Boolean conditions repeatedly. The while loop is a repeating if statement. The while construct consists of a block of code and a condition. The condition is evaluated and if the condition is true, the code inside the block is executed. This process ie repeated till the condition becomes false. Since the loops verify the condition before executing the block, the control structure is also well-known as a pre-test loop. The general form of the while loop is as follows: While <condition> sequence End While The loop is entered only if the condition is true. The "sequence" is executed for each iteration. At the conclusion of each iteration, the condition is evaluated and the loop carries on as long as the condition is true. Answer: C is incorrect. A do while loop is also called a do loop. It is a control flow statement that lets code to be executed repeatedly, based on a specified Boolean condition. The do while loop consists of a block of code and a condition. First, the code inside the block is executed and then the condition is checked. If the condition is true, the code inside the block is executed again. This repeats until the condition becomes false. Since the do while loop checks the condition after the block is executed, it is also called a post-test loop. It is practical and in some cases required, for the condition to always evaluate to true, thus creating an infinite loop. When such a loop is created deliberately, there is another control structure that terminates the loop. Different languages may use different naming conventions for this type of loop. Answer: D is incorrect. Recursion is a method in which solution to a problem depends on solutions to smaller instances of identical problems. "The power of recursion lies in the possibility of defining infinite sets of objects by a finite statement. Similarly, an infinite number of computations can be described by a finite recursive program, even if this program holds no explicit repetitions." Most high-level computer programming languages support recursion by letting a function call itself inside the program text. Many functional programming languages do not define looping constructs, but rely on recursion to repeatedly call code. The computability theory proves that these recursiveonly languages are mathematically correspondent to the imperative languages. This means they can solve similar problems even without the control structures, such as "while" and "for". Answer: B is incorrect. The for each loop (also foreach) is used to traverse items in a collection. The for each loop is used in place of the standard for loop. In contrast to the for loop, the for each loop keeps no explicit counter. It says "do this to everything in this set", instead of "do this x times". This avoids possible off-by-one errors and makes the code simpler to read.

www.testsexpert.com

3


Question: 3 Consider the exhibit below for the following

Which handling repetition method will you use in the above scenario? A. While loop B. Do while loop C. For loop D. For each

Answer: C

Explanation: The for loop is a control flow statement that is used to execute a block of the sub-diagram code for a set number of times. A for loop is a statement in a programming language that allows code to be executed repeatedly, and is classified as an iteration statement. A for loop is often distinguished by an explicit loop counter or loop variable. This allows the body of the for loop to know how each iteration is sequenced. A for loop is also used in conditions when the number of iterations is known before entering the loop. The name for the loop comes from the English word used as the keyword in most programming languages to introduce a for loop. Following is the general form of the for loop: For iteration bounds sequence End For Answer: B is incorrect. A do while loop is also called a do loop. It is a control flow statement that lets code to be executed repeatedly, based on a specified Boolean condition. The do while loop consists of a block of code and a condition. First, the code inside the block is executed and then the condition is checked. If the condition is true, the code inside the block is executed again. This repeats until the condition becomes false. Since the do while loop checks the condition after the block is executed, it is also called a post-test loop. It is practical and in some cases required, for the condition to always evaluate to true, thus creating an infinite loop. When such a loop is created deliberately, there is another control structure that terminates the loop. Different languages may use different naming conventions for this type of loop.

www.testsexpert.com

4


Answer: A is incorrect. A while loop is a control flow statement in most computer programming languages. It allows execution of code based on specified Boolean conditions repeatedly. The while loop is a repeating if statement. The while construct consists of a block of code and a condition. The condition is evaluated and if the condition is true, the code inside the block is executed. This process ie repeated till the condition becomes false. Since the loops verify the condition before executing the block, the control structure is also well-known as a pre-test loop. The general form of the while loop is as follows. While <condition> sequence End While The loop is entered only if the condition is true. The "sequence" is executed for each iteration. At the conclusion of each iteration, the condition is evaluated and the loop carries on as long as the condition is true. Answer: D is incorrect. The for each loop (also foreach) is used to traverse items in a collection. The for each loop is used in place of the standard for loop. In contrast to the for loop, the for each loop keeps no explicit counter. It says "do this to everything in this set", instead of "do this x times". This avoids possible off-by-one errors and makes the code simpler to read.

Question: 4 Drag and drop the appropriate statements in the for loop place holders.

Answer:

www.testsexpert.com

5


Explanation. The for loop works as follows: 1.The variable(s) is initialized 2.The condition is checked. If true, execute statements, else terminate the for loop. 3.Execute statements within the for loop. 4.Update variables and return to step 2.

A for loop is a statement in a programming language that allows code to be executed repeatedly, and is classified as an iteration statement. A for loop is often distinguished by an explicit loop counter or loop variable. This allows the body of the for loop to know how each iteration is sequenced. A for loop is also used in conditions when the number of iterations is known before

www.testsexpert.com

6


entering the loop. The name for the loop comes from the English word used as the keyword in most programming languages to introduce a for loop. Following is the general form of the for loop: For iteration bounds sequence End For

Question: 5 Which of the following is described in the statement below: "These are computers on the Internet that host Web sites. They deliver Web pages and other media to a client browser." A. Web servers B. Web services C. File Transfer Protocol D. Telnet

Answer: A

Web servers are computers on the Internet that host Web sites. They deliver Web pages and other media to viewers upon request. A Web server uses a Web hosting service for this purpose. Every Web server has a unique address so that other computers connected to the Internet know where to find it on the Internet. A Web server is a type of server that makes a Web site available on the Internet and manages the interaction and HTTP exchanges at the background. It supplies static content to a Web browser by loading a file from a disk and providing it through out the network to a user's Web browser. As the Web site is on the Internet, the management is done by a Web server. The browser and server interact with each other using HTTP. Answer: D is incorrect. The full form of Telnet is Teletype Network. It is used to connect a computer to a local network (LAN) or the Internet. It can also be used for accessing servers by using a valid user name and password. It is a common way to control Web servers remotely. Answer: C is incorrect. A File Transfer Protocol (FTP) server manages the FTP client requests and responses using the FTP protocol. This protocol makes it possible to move one or more files securely between computers while providing file security and organization as well as transfer control. The latest Web browsers and file managers can connect to FTP servers, although they may lack the support for protocol extensions such as FTPS. This allows manipulation of remote files over FTP through an interface similar to that used for local files. Answer: B is incorrect. A Web service is a way of communicating between two electronic devices. The World Wide Web Consortium (W3C) defines a "Web service" "as a software system intended to support interoperable machine-to-machine interactions over a network. It has an interface deviced in a machine-processable format, particularly the Web Services Description Language (WSDL). Other systems interact with the Web service in such a way as is approved by its description; using SOAP messages and conveyed using HTTP with an XML serialization combining other Web-related standards." The W3C also identifies two major classes of Web services, which are as follows: 1.The REST-compliant Web services in which the basic use of the service is to manipulate XML representations of the Web resources through a uniform set of "stateless" operations. 2.The Arbitrary Web services in which the service may possibly represent an arbitrary set of operations.

www.testsexpert.com

7


You will not find better practice material than testsexpert PDf questions with answers on the web because it provides real exams preparation environment. Our practice tests and PDF question, answers are developed by industry leading experts according to the real exam scenario. At the moment we provides only question with detailed answers at affordable cost. You will not find comparative material elsewhere on the web at this price. We offer Cisco, Microsoft, HP, IBM, Adobe, Comptia, Oracle exams training material and many more.

We also provide PDF Training Material for: Cisco CCNA CCNP CCIP CCIE CCVP CCSP CXFF CCENT CCDE

Microsoft MCTS MCSE MCITP MBS MCPD MCAD MCAS MCSA MCDBA

HP AIS APC APS ASE CSA MASE APP CSD CSE

IBM Adobe Comptia Oracle Lotus CS4 A+ 11g DBA WebSphere CS3 Security+ 10g DBA Mastery ACE Server+ OSA 10g SOA CS5 Network+ OCA 9i Storage CS2 Linux+ 11i Rational Captivate iNet+ 9i Forms Tivoli Flex Project+ Weblogic IBM DB2 CSM RFID+ Oracle 8i IBM XML MX7 HTI+ PTADCE

We provide latest exams preparation material only. Contact US at: support@testsexpert.com Join Us at Twitter: www.twitter.com/testsexpert FaceBook: www.facebook.com/testsexpert

www.testsexpert.com

8


98-361 PDF Answers