Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

In this CCBP Login Dynamic Web Application I can’t getting the above JS functionalities

  • When the submit is clicked and the value of the HTML input elements with id name is empty and password is not empty then the text content in the HTML paragraph elements with id nameErrMsg and resultMsg should have an error message and "Fill in the required details" respectively
  • When the submit is clicked and the value of the HTML input elements with id name is not empty and password is empty then the text content in the HTML paragraph elements with id passwordErrMsg and resultMsg should have an error message and "Fill in the required details" respectively
  • When the HTML button element with attribute type submit is clicked, if the values of the HTML input elements with ids name and password are empty then the text content in the HTML paragraph element with id resultMsg should be displayed as "Fill in the required details

this cases are not executed please help


When the HTML button element with the id getActivity Btn is clicked, a GET request has to be sent to the given URL and set HTTP response value in the HTML paragraph element with id activityName, activityType and the HTML img element with id activity Img should change according to the response


this case how is executed


Note: without using library and functions.


Write a C++ program that converts a decimal number to a binary, octal, and

hexadecimal equivalents. First, the program will ask to fix a range for the lower and

upper limit in which the conversion is required. The lower limit should not be less than

0 and greater than the upper limit. For example, if you enter a negative number or

greater than the upper limit, then the program should print a message for the invalid

input and will ask you again to enter a decimal number within the range. If you

correctly specify the upper and lower limits, then the program will print a table of the

binary, octal and hexadecimal equivalents of the decimal numbers in the range of

lower limit through upper limit.

Specific grading criteria: In this program you should use all the loops (e.g., while,

do-while and for loop) each of them only one time. The output mentioned below is just

an example; more clear and well- presented output will improve your points.


Note: without using the functions. only do in main function and by using loops.


A number is called a happy number, if you start with the given number

and arrive at 1 by repeating the following process (as illustrated in the below example): (a)

compute the sum of the squares of given number digits (b) if the resultant value is 1, then

the number is happy number, else execute point (a) for the newly produced number.

Note that if a number is not a happy number, there will be an endless loop to this execution.

Goal: In this question, you are required to write C++ code that checks whether the number

entered by the user is a happy number or not for 10 cycles/iterations only.

Example: Assume a number 19


Random activity


When the HTML button element with the id getActivity Btn is clicked, a GET request has to be sent to the given URL and set HTTP response value in the HTML paragraph element with id activityName, activityType and the HTML img element with id activity Img should change according to the response



<div class="bg-container text-center">

<button class="get-activity-button p-1 mt-3" id="getActivityBtn">Get Activity</button>

    <div class="mt-2" id="result">

      <div class="d-flex flex-row">

        <div class="w-50 d-flex flex-column justify-content-center text-center">

          <p id="activityName" class="activity-name">Buy a new house decoration</p>

          <p id="activityType" class="activity-type">recreational</p>

        </div>


Problem : Implement the Knuth-Morris-Pratt algorithm for pattern matching. Search for all occurrences of


a pattern P in a text T.


Input Format: The input text file specifies the pattern P and the text T. The first line of the input file is the


pattern P and the second line specifies the text T. Assume that all characters in the pattern and text are from


the English alphabet and are lower case.


Output Format: Print out the index of every position in the text T where the pattern P occurs. Assume that the


pattern and text have than 10000 characters.


Sample Input 1:


abab


cababbababcbccba


Sample Output 1:


1 6


Sample Input 2:


abab


cabbbbabaacbccba


Sample Output 2:


Pattern not found.

Define a function CoordTransform() that transforms the function's first two input parameters xVal and yVal into two output parameters xValNew and yValNew. The function returns void. The transformation is new = (old + 1) * 2. Ex: If xVal = 3 and yVal = 4, then xValNew is 8 and yValNew is 10. 


Using the CelsiusToKelvin function as a guide, create a new function, changing the name to KelvinToCelsius, and modifying the function accordingly.


Write a program to accept a tuple, extract the last string item of the tuple and return the string after removing the first character of the string.


2. Write a script that will accept the sides of a triangle, let them be “a”, “b”, “c”. Based on these variable values determine if the triangle is right angled or not, by using Pythagoras theorem. Hint: if c2 = a2 + b2 then the given sides are right angled triangle else not a right-angled triangle.

3. Write a script that should prompt a user to enter his\her hourly rate, number of hours per day, number of days per week and number of weeks per year. Then the system computes the annual income. Hint: Boyce earns P35 per hour at his job. What would be his annual income be if he works 8 hours per day, 5 days per week, and 50 weeks per year .


LATEST TUTORIALS
APPROVED BY CLIENTS