Skip to main content

Web technology LAB Question bank



1. WAP to determine length of string input by the user.
2. WAP TO Return the position of the first occurrence of a text in a string.
3. wap TO Search for a text in a string and return the text if found?
4. wap to replace characters in a string?
5. WAP to return today's date and time
6. WAP to calculate the years since 1970
7. WAP to set a specific date
8. WAP to convert today's date (according to UTC) to a string
9. WAP to write a weekday, and not just a number
10. WAP to Display a clock
11. Write a program to create and display an array
12. WAP to concat arrays
13. WAP to join elements of array using JOIN()
14. WAP to Remove the last element of an array
15. WAP to Add new elements to the end of an array
16. WAP to Reverse the order of the elements in an array?
17. WAP Remove the first element of an array?
18. WAP to Select elements from an array, sort an array (alphabetically and ascending)/
sort numbers (numerically and ascending)/Sort numbers (numerically and descending)
19. WAP to add an element to position 2 in an array?
20. WAP to Convert an array to a string?
21. WAP to add new elements to the beginning of an array?

Comments

Popular posts from this blog

Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer

Big-M Method and Two-Phase Method

Big-M Method The Big-M method of handling instances with artificial  variables is the “commonsense approach”. Essentially, the notion is to make the artificial variables, through their coefficients in the objective function, so costly or unprofitable that any feasible solution to the real problem would be preferred, unless the original instance possessed no feasible solutions at all. But this means that we need to assign, in the objective function, coefficients to the artificial variables that are either very small (maximization problem) or very large (minimization problem); whatever this value,let us call it Big M . In fact, this notion is an old trick in optimization in general; we  simply associate a penalty value with variables that we do not want to be part of an ultimate solution(unless such an outcome is unavoidable). Indeed, the penalty is so costly that unless any of the  respective variables' inclusion is warranted algorithmically, such variables will ...