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

Foundations Page


In this assignment, let's build a Foundations page by applying the concepts we learned till now. You can use the Bootstrap concepts as well.

Refer to the below image.


https://assets.ccbp.in/frontend/content/static-website/foundations-output-v2-img.png



Resources

Use the image given below.


  • https://assets.ccbp.in/frontend/static-website/foundations-bg.png
  • https://assets.ccbp.in/frontend/static-website/foundations-python-img.png
  • https://assets.ccbp.in/frontend/static-website/foundations-javascript-img.png
  • https://assets.ccbp.in/frontend/static-website/foundations-html5-img.png
  • https://assets.ccbp.in/frontend/static-website/foundations-java-img.png


CSS Colors used:


Background color Hex Code values:


#ffffff


Text color Hex Code values:


#323f4b

#7b8794


Border color Hex Code values:


#cbd2d9


CSS Font families used:

  • Roboto
Write a general error handling class that has general functions that would take in a string, which the main pages would get as an input and those functions can search for specific things. For example: any sort of input from the user where we would expect them to make a mistake( like where they enter numbers into their name in user login) and where the user must enter atleast one cap character in the text field if not it returns an error.

The maximum height reached by a ball thrown with an initial velocity, v, in meters/sec, at an angle of θ is given by this formula:

height = (.5 × v2 × sin2 θ) / 9.8

Using this formula, write, compile, and run a C++ program that determines and displays the maximum height reached when the ball is thrown at 5 mph at an angle of 60 degrees. (Hint: Make sure to convert the initial velocity into the correct units. There are 1609 meters in a mile.) Calculate the maximum height manually, and verify the result your program produces. After verifying that your program works correctly, use it to determine the height reached by a ball thrown at 7 mph at an angle of 45 degrees.


Write a function that replaces the elements of an integer sequence whose value a is the value of b. Write a main program that uses that function and displays the resulting sequence of numbers on the screen. (Example: for the integer sequence 1, 2, 5, 2, 6, 7, 8, 12. Replace the numbers with the value 2 with the number with the value of 9, then we get the result sequence 1, 9, 5, 9, 6, 7, 8, 12)



Defines a struct that describes a point in 2D space. The values ​​of coordinates and coordinates are floats.

Write a function that calculates the distance of any 2 points

Write a function that changes the coordinates of a point.

Write a main program using the above functions.


String Rotation Given two strings(S1 and S2), write a program to determine if a string S2 is a rotation of another string S1. Input The first line of the input will be a string S1. The second line of the input will be a string S2.Output If string S2 is a rotation of another string S1, print number of right rotations made by string S1 to match the string S2. Otherwise, print "No Match". Where right rotation means all elements are moving towards the right side by one place where the last element will be placed in the first place example, one right rotation of "python" is "npytho" For example, if the given strings S1 and S2 are "python" and "onpyth", The first right rotation of s1 is "npytho" which is not equal to string S2"onpyth" The second right rotation of s2 is "onpyth" which is equal to string S2 "onpyth". So output 2 Sample Input 1 python onpyth Sample Output 1 2 Sample Input 2 Python Python Sample Output 2

You are required to build a class to represent the a cup of coffee. Call your class 

CoffeeCup. A coffee cup will have following characteristics 

1. type (sting) // can be mocha, cupaccino, etc 

2. temperature (float): 

3. volume (float):

4. sugar (int): 

Provide these methods 

1. parameterized constructor CoffeeCup(string t, float temp float vol, int sug) 

2. Provide setters for temperature, and sugar and volume. 

3. Provide getters of temperature, sugar, volume and type. 

4. void heatUp():

5. void cooldown(): the process of cooling down. The temperature goes down by one degree but 

will not go below 0 

6. bool isSweet():

7. bool hasMore(): 

8. bool isEmpty(): 

9. bool takeASip(): 

10. Provide a method print, that displays the status of the cup with respect to all data members.


you are given space- separated integers as input, write a program to print the numbers in the increasing order along with their frequency in python


Prefix Suffix Write a program to check the overlapping of one string's suffix with the prefix of another string.Input The first line of the input will contain a string A. The second line of the input will contain a string B.Output The output should contain overlapping word if present else print "No overlapping".Explanation For example, if the given two strings, A and B, are "ramisgood" "goodforall" The output should be "good" as good overlaps as a suffix of the first string and prefix of next. Sample Input 1 ramisgood goodforall Sample Output 1 good Sample Input 2 finally restforall Sample Output 2 No overlapping
Given a string, write a program to print a secret message that replaces characters with numbers 'a' with 1, 'b' with 2, ..., 'z' with 26 where characters are separated by '-'. Note: You need to replace both uppercase and lowercase characters. You can ignore replacing all characters that are not letters. abcdefghij12345678910 klmnopqr1112131415161718 stuvwxyz1920212223242526Input The input will be a string in the single line containing spaces and letters (both uppercase and lowercase).Output The output should be a single line containing the secret message. All characters in the output should be in lower case.Explanation For example, if the given input is "python", "p" should replaced with "16", similarly"y" with "25","t" with "20","h" with "8","o" with "15","n" with "14". So the output should be "16-25-20-8-15-14".
LATEST TUTORIALS
APPROVED BY CLIENTS