loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · web viewq10.create a...

7
PROGRAMS FOR MULTIMEDIA 2017-18 Q1.Write the code in HTML to generate the following code: Q2.Write the code in HTML to generate the following code:

Upload: others

Post on 26-Jan-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

PROGRAMS FOR MULTIMEDIA 2017-18

Q1.Write the code in HTML to generate the following code:

Q2.Write the code in HTML to generate the following code:

Q3.Write the code in HTML to generate the following code:

Page 2: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

Q4.Write the code in HTML to generate the following code:

Q5.Write the code in HTML to generate the following code:

Page 3: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

Q6. Consider the form given below in JavaScript. Write the code for Calculate button to calculate the fees of the child depending on the age of the child in the dance competition.

AGE FEE6-12 60012-16 1000>16 Not Allowed

Q7.Create the form and calculate interest on the basis of the interest type. Write JavaScript code for Calculate button.

Page 4: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

Q8.Write the code to create Simple Calculator in JavaScript.

Q9. Write the code in JavaScript to create the following and select the choice of sports and display message in the text field.

Page 5: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

Q10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When the user clicks on any of the radio button the message should be displayed according to the gender .For example-If the First name entered by the user is Neeraj and the last name is Singh.The following message should be displayed according to the gender:

GENDER MESSAGEMale Hello Mr N.Singh Welcome to our

websiteFemale Thank you Ms N.Singh for visiting

the website

Write the Html code for creating the form and the embedded JavaScript code for the click event of the button.

Q11.Create a form in php to accept the name of the user as input as shown below.

Page 6: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

If the user leaves the textbox blank then it should display error message “name is required” and if the user enters name “Riya” it should display “Hello Riya” after submitting it. Do the validation of name.

Q12.Create the form in Php as shown below-

And based on user selection “your favorite movie is action”. Do the necessary validation for the radio button

13.Write a program in php to create the text file “sentence.txt”. Read the file character by character & count number of alphabets, number of digits & other characters in it.

Page 7: loakuwait.comloakuwait.com/.../uploads/2018/02/12-multimedia-assgn.docx · Web viewQ10.Create a form in Java script that contains two text boxes and radio buttons as shown below.When

14.Write a program in Php to create the text file “notes.txt”. Read the file character by character & count the number of vowels & number of consonants in the text file.

15.Create a database with name “xyz” in SQL using PHP. Create the given table “emp”:

Code int(6) Primary Key

Name varchar(20) not null

Salary float(7,2)

Insert 2 records in the table and display them