Sunteți pe pagina 1din 3

Assignments

Assignment 1:

Create HTML web page (use JavaScript/JQuery for coding inside the page) which:

1. Takes inputs from URL e.g. MyPage.html?NoOfRows=5&Exams=[SSC,HSC,BE]&


Institute=[Maharashtra Board, Nashik Board, Pune University]&
YearOfPassing=[2001,2003,2007]&Marks=[86.56,78.00,70.00]

2. Splits the URL into parameter values e.g. NoOfRows=5, Exams=[SSC,HSC,BE] etc. Split
parameter values… SSC, HSC, BE etc.

3. Dynamically creates HTML layout as shown below (number of rows are passed through URL)
and populates data (parameter values) into web page, if no data is provided in URL, it
should display blank entries. Each row has following inputs a. Exams (use drop-box here), c.
Institute (can use dropbox), d. year of passing and e. Marks (in %).

Parameters through GET URL method

Controls are dynamically populated


based on URL parameters (five rows)

4. There should be on-line validation as soon as data is entered in boxes e.g. as soon as user
enters mark in text box, it should validate marks should be between 0 to 100. It should also
validate whether year and education details are entered in sequence or not e.g. HSC should
appear after SSC only, if SSC year is 2011, HSC cannot be 2010 etc.

WKA Technologies Pvt Ltd. Confidential. 1 | P a g e


Online validation, whenever user
enters input and exits e.g. enters 102
in Marks, it should be validated

5. There should be validations (e.g. marks should be between 0-100) when user clicks on
button ‘Submit’. After validation, it should consolidate all the data from the form in GET
format (same as it read data from URL) e.g.
Exams=[SSC,HSC,BE]&YearOfPassing=[2004,2006,2010]&Institute=[Maharashtra Board,
Nashik Board, Pune University]&Marks=[65.50,56.00,70.00] and show the updated data
using alert function of JavaScript.

On click of submit button, all


updated values should be
validated and then displayed if all
valid

WKA Technologies Pvt Ltd. Confidential. 2 | P a g e


Assignment 2: (using HTML/JavaScript/JQuery)

Get some 15 MCQ questions from the internet. Each MCQ has four options and one of them is
correct. Divide 15 questions into 3 web-pages (e.g. QPage1.html, e.g. QPage2.html and Page3.html),
each web-page will have five questions. The first web-page (QPage1.html) will have next button at
the end of questions to show next web page (QPage2.html), and second page will have next button
to display third page (QPage3.html), third page will have next button which will display result page
(e.g. Result.html) which shows how many answers are correct and how many answers are incorrect.

Assignment 3: (any one of the language: C/C++/JavaScript/C#/Java)

Write a function GetCountOfOddNos that takes three arguments: the first one: Numbers as integer
array and second one MinNum as integer and third one MaxNum as integer, and returns min, max
and count of all odd numbers in the array that are between MinNum and MaxNum. For example,
function call GetCountOfOddNos ({0,1,8,3,9,13,5},0,10) should return 1 (min),9 (max) and 4 (number
of odd numbers [1,3,9,5] between 0 and 10).

Assignment 4: (using one of the DBMS: MySQL/MS-SQL/Oracle)

Understand the following database table: Account


Head Item Amount TransDate BasicTransType TypeOfTrans CityName Location PartyName
Bill Telephone 344 01.09.2019 Debit Payment Mumbai Powai BSNL
Payment Bill
Vehicle Swift 600000 12.09.2019 Credit Sale Mumbai Andheri SK Shah
Sale Desire X

Write SQL queries:

1. To create above table


2. To enter sample data into table (min 5 records)

Write queries to display:

3. Head-wise, City-wise, BasicTransType-wise total amount of credit transactions during first half
of every month in Mumbai
4. Name of the Party/Parties with whom credit transactions are the highest without using order
by and limit clause
5. List of cities which have done total credit transactions exceeding Rs.5,00,000/- in year 2019
6. Month-wise total number of credit and debit transactions and amounts.
7. Names of the cities where number of credit transactions are higher than number of debit
transactions.
8. Names of the cities where total amount of credit transactions is higher than debit transactions.
9. List of account heads under which number of debit transactions done are greater than 5
10. Total city-wise, month-wise total payments made.

All assignments are mandatory.

Zip all code/script files into zip file and send to us at developer@wylfiwyg.in

WKA Technologies Pvt Ltd. Confidential. 3 | P a g e

S-ar putea să vă placă și