0% found this document useful (0 votes)
18 views

Computer (Odd Assessment

Notes on web

Uploaded by

Aman Kaul
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Computer (Odd Assessment

Notes on web

Uploaded by

Aman Kaul
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

KLS Gogte Institute of Technology,Belgaum

Department of Master of Computer Applications (M.C.A.)


Academic Year: 2022-23 (Odd semester)
Internal Assessment Test I

Subject: Web Design and Development () Code: 22 MCA21


Semester:II Div
Max. Marks :15 10
A/B
+
: Date: 2/8/2023
Duration :60 mín

Instructions
1.Part A: Answer 3 out of 4 Questions- All carry 05 marks each
2.Part B: Answer Iout of 2 Ouestions- All carry 10 marks each

PART A:Answer3out of 4 Questions- Allcarry 05 marks cach [15 Marks]

1. Explain the <div> tag.Show the difference between the <div> and <span> tags
[L2,CO1,PO1]
2. Explain internal style sheets with example.When is it uscful? [L2, COl, PO1]
3. Create an HTML table that lists the names and contact information of five enmployees

in a company. Include columns for name, job title, and phone number,
email address,
using proper table headers and data cells. [L3,CO1, PO1]
4. Develop a JavaScript program that prompts the user for their ageand display different
messages based on the age range. For example,if the age is less than 18, show "You
are a minor," otherwise display "You are an adult." [L3, CO2, POS]

PART B: Answer 1 out of 2 Questions- All carry 10 marks each [10Marks]

1. Examine the use of descendant selectors in a CSS stylesheet. Identify instances where
descendant selectors could be replaced with more efficient alternatives, such as using
class selectors or combinators, to achievethe same styling goals. [L4, CO4, PO3]
2. Analyze a JavaScript function that takes a user-provided and calculates the user's
current age and display the date of birth with the month name (for example, 25
February 1990) [L4, CO4, PO3]
KLS Gogte
Institute of Technology,
Belgaum
Department of Master of Computer Applications (MCA)
Academic Year: 2021-22 (Even Semester)
Internal Assessment Test-I
Subject: Web Design and Development Code: 20MCA23
Semester: II Div: A/B Duration: 75 min
Date: 25/08/2022
Time: 10.15 a.m, 11.30 a.m. - +
Max. Marks: 30 10
Section A: Answer any 3 out of 4. Each
question carries 10 Marks..
1. Illustrate any eight HTML tags with help of an example.
2. a) Develop an HTML file that includes a JavaScript script (L3][CO1][PO1]
to read a number using
prompt()
function and generate the factorial ofa number{L3][C02|[P03]
b) With an exampleexplain Recursion function in JavaScript [L2]
[CO2] [PO3].
3. What are the different ways of using CSS in
HTML documents? Explain different types of CSS
Selectors with examples. [L2)
[CO1][P0S]
4. Developa classic page layout as shown below using HTML
Lists. [L3][CO][POS]

The Best Features of the Internet


•You can meet new people fronn countries around the worl.
You have access to new media as it becOnes public:
o New games
o New applications
1. For business
2. For pleasure
Around the clock news
Search engines
• Shopping
o Programming
1. XML
2. Java
3. XHTML
4. Scripts
5. New languages
• Links
Keeping in touch with old friends
• It is the technology of the future!
Section B: Compulsory OBE Question carries 10 marks
1. Develop a classic page layout shown
as below using HTML Forms and Tables. [L3]
(CO1J[PO5].
Welcome to Millennium Gymnastics Booster Club Popcorn Sales
BuyersName: Ludwig van Beethoven
Street Address: 1700 Muslc Avenue
Ciry, State, Zip: Menna, Colorada, 80908

Product
PricellQuantity
Unpopped Popcom (1 lb-) S3.00||2
|Caramcl Popcom (21b. canister) S3.50||3
Caramnel Nut Popcon (2lb. canisterS4.5olo
Toffey Nur Popcorn (2Ib, canister) $5.004

Payment Method
)Vsa
Master Card
Dscover
3 Check

Submlt Order Clear Order Fom

*****
KLSGogte Institute of Technology,Belgaum
Department of Master of Computer Applications (M.C.A.)
AcademiceYear: 2022-23(Even Semester)
Internal Assessment Test II

Subject :
Web
Semester:IIDiv : AB
Design and Development (1)
Code :22MCA21
Date: 12/09/2023
Max. Marks :15 + 10 Duration :60 min
Instructions
LPart A:Answer 3 out of Questions- 4 Allcarry 05 marks each
2.Part B: Answer lout of 2 Questions- All carry 10 marks each

PART A:Answer3 out of 4 Questions- All carry 05 marks cach |15 Marks

1. What isjQuery? Explain tag selector in jQuery with example. [L2,CO1,PO1]


2. Develop a jQuery program that handles multiple event handlers(mouscenter,
mouseleave,click) on paragraph element. [L3, CO2, POS]
3. Explain any 2 control statements in PHP with an example for each. [L2, CO1, PO1]
4. Create an HTML form with two input fields username and password. Write
for a

jQuery code that listens for the "keyup" event on both input fields. If the username
input has at least 3 characters and the password input has at least 6 characters, trigger

acustom event called "validInput" on the form.


[L3, CO3, POS]

|10Marks]
PART B: Answer I out of 2 Questions- All carry 10 marks cach

layout
Assume database and table already created in MySQL. Develop a classic page
1.
for bank information showing concept of inserting data(Bname,address, city, email)

MySQL database using HTML forms. [L4, CO4,PO3]


into a

2. Analyze a PHP script that writes 5 records of customer data(name, address, city,

The script must not overwrite an existing file and must


email)into customer.txt file.

does not exist and also display original


display appropriate message if the file
of file before adding abovenew 5 records to text file. [L4, CO4, PO3]
contents
KLS Gogte of Technology, Belgaum
Institute
Department of Master of Computer Applications (MCA)
Academic Year: 2021-22 (Even Semester)

Internal Assessment Test-II

Subjeet:Web Design and Development Code: 20MCA23


Semester: II Div: A/B Duration: 75 min
Date: 29/09/2022 Time: 10.15 a.m. 11.30 a.m. Max: Marks: 30 +10

Section A: Answer any 3 out of 4. Each question carries 10 Marks

1. Explain any 5 JavaScript example for each. [L2][CO2|[PO1]


string methods with

2. What is jQuery? Explain any S basic jQuery selectors with example for each.
(L2][CO3|[PO3]
with example for each.
3. What is event. Explain any 5 commonly used jQuery event methods

[L2][CO3][POS]
4. Explain any 5 control statements in PHP with an example for each. [L2|[C04][POS)

OBE Question carries 10 marks


Section B: Compulsory
of inserting data
a classic page layout as for bank information showing concept
1. Develop
Bname, address, city, email) into a MySQL database using HTML
( forms. [L3][C04][POS].
MySQL).
(Note:Consider database and table already created in
USN: 2lI21 MC090 Course Code: 20MCA23

Second Semester MCA Semester End Examination,SEPTEMBER_NOVEMBER_2022


WEB DESIGN AND DEVELOPMENT
Time: 3 hrs. Max. Marks :100

Instructions :1.Answer any FIVE full Questions selecting at least ONE Question from Each Unit.

MODULE 1

L CO PO M
la. Developthe following using HTML
• UNIT -1
1. HTML tags, Lists, Tables, Images,Forms
2.CSS
3.Introduction to JavaScript, Objects in JavaScript, DHTML with JavaScript
•UNIT-2
1. Introduction to PHP
2. Creating and running aPHP script
3. Using variables and constants
4.Data types, Operators
5. Control Statements

6. Arays
7. Functions
Working with
8. formns and database

• UNIT -3
1. Introduction to XML
2.Document Type Definition
3.XML Schemas
4.Document Object Model
5.XSLT, DOM and SAX
• UNT -4
1. Introduction to JavaBeans,Advantages ofJavaBeans
2.BDK, Introspection, Using bound properties
3.Beanlnfo interface, Constrained properties, Persistence
4. Customization, Java Beans API, Introduction to EJBs
[3] 1| 13) [10j

lb. Explain the different types of CSS selectors with an examplefor each
(2] 1] 3] [10]
OR

2a. Explain the different ways of defining style sheets with appropriate examples for each
(2] 1] (3] |10]

2b. What are the properties of the CSS box model? Develop the following using CSS gridbox

1 2

5
3 4
6

3) |11 3) [10
MODULE 2

3a. Develop an HTML file that includes a JavaSeript seript to show maximum, minimum,
sum,average from given 'n' numbers.
31 (21 31 [10]
rules for creating function with syntax. Demonstrate
3b. Define functions in JavaScript. Write functions in
scope of variable using
a program to show working of global and local
JavaScript. (21 13) [10|
[2]

OR

JavaScript with example. Explain any 5 JavaScript string


4a. List 2 ways to create string in

methods with examplefor each. (3] [10]


[2] (2]

ways to construct array in JavaScript using example for


4b. Define Array. List and explain
each.
[2] (2] (5] [10]

( MODULE 3

Explain the jQuerymethods to manipulate the CSS properties with an example for each
5a.
[2] (3] [5] [10]

Sb. Developa jQueryprogram to add and remove text boxes dynamically


(3] (3] (5] [10]

OR

6a. 1.Make use ofjQueryto perform the following


of the button the length of text entered
a. Create one textarea and one button. On click
inside the textarea will be displayed.
of the button the written in text box
b Create one button and a textbox. On click text

should display on the button.


[3] (3] (5] [10)

jQuery with examples for each. Give an


6b. Explain the animation methods available in

example for custom animations in jQuery.


(2] (3] [5] [10)

MODULE 4
7a. Identify control statements in PHP. Explain arithmetic statements in PHP with an

examplefor each. [4] [3] [10]


[2]

7b. List and Explain any 5 array methods in PHP with example for each.
(2] (4] (5] [10]

OR
8a. Apply the concept of inserting data( Cname, address, email )into a MySQL database

using HTML forms.


(3] 14] [5] [10]

8b. Demonstrate the concept of fetching data( Cname, address, email )from a MySQL
database and display it in an HTML table.
(2] [4] [5] [10]

MODULE 5
Exception class and demonstrate user
9a. What is an exception? List the methods under

defined exceptions with an example.


(2] 15) [5] [10)

y 9h What is session control? Demonstrate the process of implementing sessions with an

example. (2) (5) (5) (10]

OR
PHP and AJAX where a user types a character in the
10. Develop the following code using
are shown as follows
input field, the appropriate suggestion

Start typing a name in the input field below:

First name:a Suggestions: Anna, Amanda

(3| 15] 15) (20|


USN: 2i22M C090 Course Code: 22MCA21

Second Semester MCA Semester End Examination,


SEPTEMBER OCTOBER 2023
WEB DESIGN AND DEVELOPMENT
Time: 3 hrs.
Max. Marks :100

Instructions:

Part A: Answer any FIVE questions


1.
and each question carries 6 marks.
2. P'artB: Answer any ONE full question from each module and each
question carries 10 marks.
3. Part C: Answer anyONE full
question and each question carries 20 marks.

PART A
CO M
Instructions: 1. Answer any FIVE Full Questions.
61. Explain the bulleted and numbered lists in HTML.Give an example of each.

2.What are selectors? Illustrate the Descendent and the Child CSS selectors

3. Explain four common array methods in JavaScript with example for each.
[2] (1] (1] (6]

Explain any three basic selectors in jQuerywith a suitable example foreach.


[21 [1] [1] [6]

5How jQuery helps building pages with animations?


does Hustrate the methods used for
hiding and showing elements with suitable example.
(2) (1] [1] (6]

6. Explain different ways to declare and populate PHP arys with examples.
[2] [1] [1] [6]

L7. What is the primary purpose of cookies in PHP? Explain the syntax of the function for
setting a cookie in PHP.
(2) [1] (1] [6]

PART B
Instructions:1. Answer any FIVE Full Questions selecting at least ONE Question from Each Module.

MODULE 1

8. Develop a classic pagelayout as shown below using HTML tags and Lists.
31

Data science is a very fast growing and in-demand career, and there are many different

coding languages involved for different concentrations and disciplines.

shouldknow
I Top programming languagesthat data scientists
Python
11 SQL (Structured Query Language)
R
1V. Julia

KLS Vi.

VIL
JavaScript

Scala

Java
VIlL. Go
MATLAB
CIC+
Statistical Analytical System (SAS)
Most used libraries for data scienceand machine learming

NumPy
Pandas
Matplotlitb
Scikit-learn

O TensorFlow
Keras
OR
9. Develop aclassic page layout as shown below using CSs, HTML Forms and Tables.

Employee Interests Survey form


Enter yor name:
Enter your department:

Tell us a little about yourself:.

Do you exercise at home? O Yes ONo


How do you like to read about your favorite topics? DBooks OOnline resources OPhone apps OMagazines
What genre of movies do you like? comedy v
Submit (om romance

thriller
horror
biopic

10. Construct an HTML file


MODULE
that includes a JavaScript to find
2 B
maximum, minimum, sum, and
average from given 'n' numbers.
(3] (21 [1] [10]
OR
11.Develop a JavaScript program which compute, the average marks of the 5 students. Then,
this average is used to determine the corresponding grade. (Note: Use array to store names
and marks of students)
The grades are computed as follows: TEC
Range Grade
<60 F
D
R80
90 B
<100
(3] (2) 1]
INS MODULE 3
(10]

12.
button
DevelopQuery
click
TE
eyent using <diy>
program that

tag.
removes the selected element (and its child elements) on

OR C>oe Cmty 3) (3] I5] (10]

13Develop jQuery program shown as below that uses jQuerymethods as


a. Inserts content at the end of the selected elements C
b. Insertscontent at the beginning of the selected elements by tp
c. Inserts content after the selected elements.
d. Inserts content before the selected elements
This is a paragraph.

This is another paragraph.

1. List item 1

2. List item 2
3.List item 3

Append text||Append list items ||Prepend text Prepend list item


(3] (31 (5) (10j

MODULE 4
named 'Challan Details' MySQ daabase
G named
14. Assuming you have created a table in

traffic'. Construct an application form using HTML that fetches data of Challan Details for

Traffic Squad Management System such as Challan no, LicenseNo, Place_violated,

Offender MobileNo, Fine_amount.


[3] (4] (3) (10]

OR
15. Make use of diferent modes in which a file
QLOG
can be opened to develop a PHP script that

writes student data into student.txt fle. The script-must not overwrite an existing file and

must display appropriate message if the file does nohexist.>


(3] (1] 1] (10]

MODULE5
16. Develop a PHP file that uses simple, basic HTTP authentication to provide security to

web page. Here, the server responds'to the user with an 401 response status. It pop up a

userto cnter credentials for www-Authenticate. The user sends the


dialog box and asks the

credentials with an Authenticate header. The server executes this and sends the webpage
content to the browser.
(4) 10)

E
(3] (1|

OR
17: Make use of pássword hash(), making of hash and comparing it using password_ verify()

be compared as parameters
method, Develop a PHP file that takes the hash and the string to

correct else it returns false.


and returns true if the password is
(31 (4) 3) [10]

KLS PART C

Instructions: 1. Answer any ONE full question.

scope in a JavaScript code snippet and explain how variables


18a. Examine the variable

within different scopes interact.


14) 3) (8)
(4)

that handles date manipulation, such as calculating


18b.Analyze a JavaScript code snippet
enhancements or error handling
the difference between two dates
and suggest potential

reliabledate calculations.
mechanisms to ensure 141 141 3) 12)
OR
19a. Analyze a real-world scenario where efficient array manipulation is crucial (e.g.

managing a shopping cart) and propose a PHP aray manipulation strategy to address the
scenario's requirements.
14 14 10

19b. Build a PHP script that reads data from an extermal text file. Analyze the code to Cxplain

how it opens, reads, and processes the file's content.


141 14 31 (101

BELAGAVI

TECHNOLOGY
OF

INSTITUTE

GOGTE
KLS

You might also like