ppl home assignment_unit5

2
Bansilal Ramnath Agarwal Charitable Trust’s Vishwakarma Institute of Technology, Pune-37 Principles of Programming Languages CS 20105 – SE – E Home Assignment 5 Assignment Date: 18 th April 2012 Submission Date: 25 th April 2012 Answer all 8 questions: 1. Write HTML code to display the following in a web browser: Name Roll No. ABC 12 XYZ 13 2. Let us say you want to make sure that in a HTML file, whenever something is written inside <p> tag, it should appear in blue color and in bold letters. How can you achieve this? Write code to demonstrate. 3. Write a simple HelloWorld JavaScript which displays “HelloWorld” upon a button click. 4. Compare Java and JavaScript in terms of similarities and differences. 5. Why is PHP used? 6. What is MATLB? 7. What kind of a language is PROLOG? Why is it used? Page 1 of 2

Upload: akshay-nagpurkar

Post on 20-Jan-2015

158 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Ppl home assignment_unit5

Bansilal Ramnath Agarwal Charitable Trust’sVishwakarma Institute of Technology, Pune-37

Principles of Programming LanguagesCS 20105 – SE – E

Home Assignment 5

Assignment Date: 18 th April 2012 Submission Date: 25 th April 2012

Answer all 8 questions:

1. Write HTML code to display the following in a web browser:

Name Roll No.ABC 12XYZ 13

2. Let us say you want to make sure that in a HTML file, whenever something is written inside <p> tag, it should appear in blue color and in bold letters. How can you achieve this? Write code to demonstrate.

3. Write a simple HelloWorld JavaScript which displays “HelloWorld” upon a button click.

4. Compare Java and JavaScript in terms of similarities and differences.

5. Why is PHP used?

6. What is MATLB?

7. What kind of a language is PROLOG? Why is it used?

8. What is LISP? What are its key features?

Page 1 of 1