Computer (Odd Assessment
Computer (Odd Assessment
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
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]
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]
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
*****
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
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
|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)
2. Analyze a PHP script that writes 5 records of customer data(name, address, city,
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)
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
( MODULE 3
Explain the jQuerymethods to manipulate the CSS properties with an example for each
5a.
[2] (3] [5] [10]
OR
MODULE 4
7a. Identify control statements in PHP. Explain arithmetic statements in PHP with an
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
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
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
Instructions:
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]
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
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.
thriller
horror
biopic
12.
button
DevelopQuery
click
TE
eyent using <diy>
program that
tag.
removes the selected element (and its child elements) on
1. List item 1
2. List item 2
3.List item 3
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
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
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
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
KLS PART C
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
BELAGAVI
TECHNOLOGY
OF
INSTITUTE
GOGTE
KLS