0% found this document useful (0 votes)
69 views2 pages

Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

The document appears to be a sample exam for a course on Internet and Web Technologies, containing 10 multiple choice and short answer questions covering various topics related to HTML, CSS, JavaScript and their uses. It tests students on attributes, tags, selectors, data types, inventors and more. Students are also asked to write code snippets using various HTML and JavaScript features to display data in tables or calculate values.

Uploaded by

SHREYAS L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views2 pages

Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078

The document appears to be a sample exam for a course on Internet and Web Technologies, containing 10 multiple choice and short answer questions covering various topics related to HTML, CSS, JavaScript and their uses. It tests students on attributes, tags, selectors, data types, inventors and more. Students are also asked to write code snippets using various HTML and JavaScript features to display data in tables or calculate values.

Uploaded by

SHREYAS L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

USN

DAYANANDA SAGAR COLLEGE OF ENGINEERING


(An Autonomous Institute Affiliated to VTU, Belagavi)
Shavige Malleshwara Hills, Kumaraswamy Layout, Bengaluru-560078
Department of Computer Science & Engineering
Continuous Internal Assessment– 1
Course: Internet and Web Technologies Maximum marks: 50
Course Code: 17CS7DCIWT Duration: 90 Min
Semester & Sec: VII A, B,C
Q.No Question Marks CO LL
a. The _____________ attribute specifies an inline style associated with an element, which
determines the rendering of the affected element.
i. Script ii. type iii. style iv. src
b. How many heading tag versions are present in html
i. 5 ii. 4 iii. 3 iv. 6
c. Which of the following attributes is used to add link to any element?
i. anchor ii. href iii. link iv. none
d. Which tag is used to display a picture in a HTML page?
i. image ii. img iii. display iv. imag
e. Who is making the Web standards
i. google ii. microsoft iii. W3C iv. None
f. _________ attribute in image is used to show remarks if image was not found
i. alt ii. alternate iii. imgnf iv. None
1 g. JavaScript is invented by ________ 10
i. James Gosling ii. Helsinki, Linus iii. Brendan Eich iv.None
h. Predict output for the code:
<p>
hello
<q>
DSCE
</q>
</p>
i. “hello DSCE" ii. hello "DSCE" iii. “hello" DSCE iv. None
i. Integer Variable is declared using following syntax in JavaScript.
i. variable a ii. int a iii. Integer a iv. var a
j. JavaScript was invented at _______ Lab
i. Netscape ii. Google iii. Sun microsystem iv. AT&T Bell Lab
2 Create an XHTML page that contains student information such as NAME, USN
(restricted to 10 characters and a mandatory field), Subject 1, Subject 2 and Subject 3.
Create the values for each student in two rows and apply different CSS properties for each 10 CO1 6
row.

3 For billing purpose an Water board asks a customer to fill up the form with the following
fields:-
a. The form collects user’s name with max length of 15 characters. 10 CO3 4
b. 10 Digit Customer ID
c. Billed to customer based on total number of liters consumed:

Liters consumed Amount per Liter


0 – 1000 lts Rs. 150
1001- 4000 lts Rs. 150 + Rs.0.30 per liter excess
Above 4001 lts Rs. 1050 + Rs. 1.0 per liter excess
Write a program to design an application using XTHML, CSS and JavaScript to compute
bill based on liters consumed.
4 With an example code snippet discuss different types of selectors available in CSS. 10 CO1 3
OR
5 Illustrate the following XHTML tags with an example pseudocode: 10 CO1 3
a. <span> b.<select> c. <frame> d. <textarea> e.<div>

6 Create an XHTML file that includes Java Script for the following: 10 CO2 4
a)Input: A number n obtained using prompt
Output: The first n Fibonacci numbers
b) Input: A number n obtained using prompt
Output: A table of numbers from 1 to n and their squares using alert
OR
7 Illustrate with an example the following array methods:-
a. Join method b. shift & unshift method c. push and pop method 10 CO2 4

You might also like