answersLogoWhite

0

What else can I help you with?

Continue Learning about Engineering

What engineering method is uses a logical sequence of steps that begins with a specific problem and results in a solution?

The engineering method that employs a logical sequence of steps starting from a specific problem to arrive at a solution is known as the "engineering design process." This systematic approach typically includes defining the problem, conducting research, brainstorming solutions, designing prototypes, testing, and refining the solution based on feedback. By following this structured methodology, engineers can effectively address challenges and develop innovative solutions.


How do object oriented design and structure design differ?

Object Oriented programming is a superset of structured programming. Structured programming is as follows:--Program startvarvarvarfunction { ... }function { ... }function { ... }main { ... }--- Program EndYou have units of code, which operate on variables, and are called in reference to those variables, to follow a structure acting on those variables.Object oriented is as follows:--- Program Startobject {varvarfunction { ... }function { ... }function { ... }}varvarfunction { ... }main { ... }--- Program endVariables can be objects, which have their own data and functions. Think like C and structures, except structures can have functions "in them" which operate specificly on their own data. Thus, instead of referencing a function (a block of code) and telling it to operate on a variableq you reference an object and tell it to perform an operation, most often on itself, specific to itself, using its own data. Instead of creating units of data to pass to functions which operate on them, you create objects and have them perform operations [on themselves].Functions attached to objects don't need a specific name; rather than task_struct_sort_children(task) and acl_rules_struct_sort_children(task), you can have task and acl_rules with task->sort_children() and acl_rules->sort_children(), which have completely different specific function but the same logical function, and operate on the specific instance of the object.structured oriented programming and object oriented programming have some features of similarities, but the distinction between the two is that the former relies to the GOTO statements thus the developer has a tendency to confuse while the latter is subgrouped from objects, classes, methods and hierarchies.


Which data structure is used for breadth first seach?

Breadth first search can be performed upon any tree-like structure. A binary tree is a typical example. A breadth first search begins at the root and searches the root's children, then all its grandchildren, and so on, working through one level of the tree at a time.


Are HTML documents safe?

Pure html documents are just text files, so they are perfectly safe. HTML is mainly for formatting the look of your page, so it doesn't do much and nothing that can do any harm. It is only when webpages contain programming code that a risk begins, and even then the vast majority of pages and code are safe.


Write a program to copy the contents of one array into another in the reverse order?

do something like this char[] myArr = {'a','b'}; StringBuilder sb = new StringBuilder(); sb.reverse(); char[] charArr = sb.toString().toCharArray(); or something like this char[] charArr = new char[myarr.length]; for (int i=myarr.length-1,j=0;i>=0;i++,j++){ charArr[j] = myarr[i]; }