Assume you are working as a teaching assistant in the subject of “Web Based Database Applications”. Your job is to find highest assignment marks obtained by a student in this particular subject.
For this purpose you need to design a small web application considering the following points as given below.
• The title of the web page should be “Assignment No.2”.
• Webpage should start with a heading i.e., “BC200204808.”
• Page should have a table with 3 columns having column name std_name, Marks and Total_Marks.
Now, you need to write a PHP code that will find a highest marks among students by using max function for marks column.
• Marks and Student Name is same as shown in the sample output. You need to use multi-dimensional array for storing the values of marks against each student as shown in the sample output.
Sample output:
https://docs.google.com/document/d/1-qbuCeCDGxXZDhAT3JAi0007qgN3eKrGTuF3Bc8hQbw/edit?usp=sharing
given two strings inputString and subString as inputs write a js program to slice the inputString if it includes the subString. slice the inputString starting from the subString to the end of the input string.
the first line of input contains inputString
the second line of input contains subString
sample input 1:
JavaScript
S
sample output 1:
Script
sample input 2:
Language
air
sample output 2:
Language
note: use "strict"
create a public class named monday. this class shall contain the main method
given list of students records.Write a program with signature as below:
Method Name: getStudentsWithMarksmoreThan()
Input : Marks - integer
output: List of students having marks more than input.
Array of Strings to UpperCase Given an array myArray of strings as an input, write a JS program to convert all the strings in myArray to uppercase.
String Slicing
Given two strings inputString and subString as inputs, write
a JS program to slice the inputString if it includes the subString Slice the inputString starting from the subString to the end of the inputString.
Input
. The first line of input contains a string inputString
The second line of input contains a string subString
Output
• The output should be a sliced string or inputString (if the
inputString does not include the subString)
Please provide me correct output
Series of Operations
Given an array myArray of numbers, write a JS program to perform the following steps and log the result.
1. Multiply each value with 9.
2. Subtract 20 from each value.
3. Multiply each value with 7.
4. Log the values of the resulting array separated by a
Hotel Bill
A Hotel is offering discounts to its customers.
Given charge per day dayCharge based on category and number of days customer stayed days as inputs, write a JS arrow function to return the total bill with the discount.
Quick Tip
. The formula for bill is, bill dayCharge * days
• The formula to calculate the discounted bill, bill (bill discount) / 100
Please provide me corrected output
Hotel bill
Given a charge per day dayCharge based on category and number of days customer stayed days as inputs,write js arrow function to return the total bill with discount
Find latitude and longitude of 20 countries with a population greater than or equal to the population limit given below. Use the country details from this dataset.
Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.