The steps in an algorithm to calculate the positive difference in given values, x and y, are given in no particular order:
Put Diff to output.
Set Diff = x - y.
If y > x, set Diff = y - x.
Declare variable Diff.What is the first step of the algorithm?
Which phase of an agile application would create a function that calculates shipping costs based on an item’s weight and delivery zip code?
What is one characteristic of an object-oriented language that is not a characteristic of a procedural or functional language?
Which phase of a Waterfall approach defines specifics on how to build a program?
A software developer creates a list of all objects and functions that will be used in a board game application and then begins to write the code for each object.
Consider the given function.
What is the total output when F (sign, horse) is called 2 times?
The steps in an algorithm to buy a pair of shoes from a store are given in no particular order.
* Bring the shoes to the cashier
* Pay for the shoes
* Enter the store
* Select the pair of shoes
What is the first step of the algorithm?
A software developer determines the mathematical operations that a calculator program should support. Which two Waterfall approach phases are involved?
Which expression has a values equal to the rightmost digit of the integer q = 16222?
One requirement for the language of a protect is that it is based on a series of method calls.
When type of language is characterized in this way?
Which expression has a value equal to the rightmost digit of the integer q = 7777?
One requirement for the language of a project is that it is based on a series of cells. Which type of language is characterized in this way?
A particular sorting takes integer list 10,8 and incorrectly sorts the list to 6, 10, 8.
What is true about the algorithm’s correctness for sorting an arbitrary list of three integers?
A program adds a service fee to the total cost of concert tickets when the tickets are printed and mailed to customers. Another service fee is also added if the
A programming is developing an application that needs to manipulation text in a variety of ways. Everything the programmer needs is standard in the industry and the programmer wants to perform these manipulations with a minimal amount of code. What does the programmer need?
A team of programmers describes the objects and functions in a program that compresses files before splitting the objects. Which Waterfall approach phases are involved?
Which characteristic distinguishes an object-oriented language from other languages?
A programmer receives requirements from customers and decides to build a first version of a program. Which phase of an Agile approach is being carried out when the programmer starts writing the first version?
A team of programmers describes the objects and functions in a program that compresses files before splitting the objects.
Which two waterfall approach phases are involved?
A programmer is writing a simu-lation for a physical experiment. Which phase of the agile approach is being carried writing new procedural code and eliminating certain function calls?
The steps in an algorithm to calculate the positive difference in two given values, x and y, are given in no particular order:
What is the first step of the algorithm?