0% found this document useful (0 votes)
4 views40 pages

final itm

The document is a lab file for Information Technology Management at Guru Gobind Singh Indraprastha University, detailing various HTML, SQL, and spreadsheet tasks. It includes examples of creating lists, tables, hyperlinks, and SQL queries for managing customer data. Additionally, it outlines tasks related to sales data analysis for a company, as well as DOS commands.

Uploaded by

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

final itm

The document is a lab file for Information Technology Management at Guru Gobind Singh Indraprastha University, detailing various HTML, SQL, and spreadsheet tasks. It includes examples of creating lists, tables, hyperlinks, and SQL queries for managing customer data. Additionally, it outlines tasks related to sales data analysis for a company, as well as DOS commands.

Uploaded by

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

GURU GOBIND SINGH INDRAPRASTHA

UNIVERSITY, DWARKA,
DELHI – 110064

UNIVERSITY SCHOOL OF MANAGEMENT


STUDIES

INFORMATION TECHNOLOGY
MANAGEMENT LAB FILE
SUBJECT CODE: MS 117

SUBMITTED TO: SUBMITTED BY:


Prof. A.K Saini sir. Name –NAMAN
SANKLA
Enrollment No. – 12516603924
Section –AB
MBA (G) - 1ST Semester
HTML
QUES 1. Create an ordered and unordered list of your
choice.
<html>
<head>
<title> U.S.M.S </TITLE>
</head>
<body>
<h2> Ordered List</h2>
<ol type="1"> Numbers
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
<ol type="I"> Roman Numbers
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
<ol type="A"> Alphabets
<li>One</li>
<li>Two</li>
<li>Three</li>
</ol>
<h2>Unorded List</html></h2>
<ul type="disk"> Disk
<li>One</li>
<li>Two</li>
<li>Three</li>
</ul>
<ul type="square">Square
<li>One</li>
<li>Two</li>
<li>Three</li>
</ul>
<ul type="circle">Circle
<li>One</li>
<li>Two</li>
<li>Three</li>
</ul>
</body>
</html>
QUES 2. Create a HTML file using following tags:
a) Header tags b) Formatting tags c) Anchor tags
<html>

<head>

<title>HTML Tags Example</title>

</head>

<body>

<h1>Welcome to My Website</h1>

<h2>About Us</h2>

<h3>Our Mission</h3>

<h4>Team Members</h4>

<h5>Subsections</h5>

<h6>Contact Information</h6>

<p>This is a <b>bold</b> statement.</p>

<p>This text is <i>italicized</i>.</p>

<p>This is <u>underlined</u> text.</p>

<p>This is a <strike>strikethrough</strike> example.</p>

<p>This is a <mark>highlighted</mark> word.</p>

<p>This is a <small>smaller</small> text size.</p>

<p>This is a <strong>strong</strong> emphasis on text.</p>

<p>This is an <em>emphasized</em> text.</p>

<p>This text uses <sub>subscript</sub> and <sup>superscript</sup>.</p>


<p>Visit our <a href="https://www.example.com" target="_blank">Homepage</a> for more
details.</p>

<p>Contact us via our <a href="mailto:[email protected]">Email</a>.</p>

<p>Go to our <a href="#footer">Footer Section</a>.</p>

<footer id="footer">

<h3>Footer Section</h3>

<p> @ 2024 My Website. All rights reserved.</p>

</footer>

</body>

</html>
QUES 3. Create an ordered and unordered list of your
choice.
< html>

<head>

<title>Lists Example</title>

</head>

<body>

<h1>Types of Lists</h1>

<h2>Unordered List: Favorite Fruits</h2>

<ul>

<li>Apples</li>

<li>Bananas</li>

<li>Oranges</li>

<li>Grapes</li>

</ul>

<h2>Ordered List: Steps to Make a Cup of Tea</h2>

<ol>

<li>Boil water.</li>

<li>Add tea leaves or a tea bag.</li>

<li>Pour the boiling water into a cup.</li>

<li>Add sugar or milk (optional).</li>

<li>Stir and enjoy your tea!</li>

</ol>

</body>

</html>
QUES 4. Create hyperlinks to transfer the control
to another webpage and back to the original
webpage.

<html>

<head><title>First Page</title></head>

<body bgcolor="Green ">

<h1>Click here to Proceed </h1><br>

NEXT <a href="Q4(b).html">second page </a>

</body>

</html>
QUES 5. Create hyperlinks to transfer the control to
another webpage and back to the original webpage.
Index.html
< html>

<head>

<title>Original Page</title>

</head>

<body>

<h1>Welcome to the Original Page</h1>

<p>This is the main webpage. Click the link below to visit another page:</p>

<a href="another-page.html">Go to Another Page</a>

</body>

</html>
Another Page.Html
<!DOCTYPE html>

<head>

<title>Another Page</title>

</head>

<body>

<h1>Welcome to Another Page</h1>

<p>This is a different webpage. Click the link below to return to the original
page:</p>

<a href="index.html">Back to Original Page</a>

</body>

</html>
QUES 6. Create the following table:
CUST_ID CUST_NAME ADDRESS
A123 ABC ENTERPRISES NEHRU
PLACE
A225 SATYAM INTERNATIONAL DELHI

<html>

<head>

<title>Customer Table</title>

<style>

table {

width: 60%;

border-collapse: collapse;

margin: 20px 0;

th, td {

border: 1px solid black;

padding: 8px;

text-align: left;

th {

background-color: #f2f2f2;

}
</style>

</head>

<body>

<h1>Customer Table</h1>

<table>

<thead>

<tr>

<th>CUST_ID</th>

<th>CUST_NAME</th>

<th>ADDRESS</th>

</tr>

</thead>

<tbody>

<tr>

<td>A123</td>

<td>ABC ENTERPRISES</td>

<td>NEHRU PLACE</td>

</tr>

<tr>

<td>A225</td>

<td>SATYAM<br>INTERNATIONAL</td>

<td>DELHI</td>

</tr>
</tbody>

</table>

</body>

</html>

QUES 7. Create a table showing the use of colspan


using table tags.
< html>

<head>

<title>Colspan Example</title>

<style>

table {

width: 70%;

border-collapse: collapse;

margin: 20px 0;

th, td {

border: 1px solid black;


padding: 8px;

text-align: center;

th {

background-color: #f2f2f2;

</style>

</head>

<body>

<h1>Table with Colspan</h1>

<table>

<thead>

<tr>

<th>Day</th>

<th>Activity</th>

</tr>

</thead>

<tbody>

<tr>

<td>Monday</td>

<td>Work</td>

</tr>

<tr>
<td>Tuesday</td>

<td>Work</td>

</tr>

<tr>

<td colspan="2">Midweek Break - No Activities</td>

</tr>

<tr>

<td>Thursday</td>

<td>Meeting</td>

</tr>

<tr>

<td>Friday</td>

<td>Team Building Activity</td>

</tr>

</tbody>

</table>

</body>

</html>
SQL
QUES 1 - Create a table with the name ‘employee’ and
having following data items.
empnno char(2)
Lastname char(15)
Firstname char(15)
Street varchar2(15)
City char(15)
Credit_limit number(7,2)
Salary number (7,2)
b) Enter few data records.
QUES 2 - Write SQL statements for creating a table
Customer.
Customer (cust id, lastname, firstname, street, city, balance, credit Imt, sales
repno)

Impose all possible constraints on various fields. Enter sample data in the table
so created.
Run SQL queries to:

a) Find the minimum, maximum and average balance of all customers.

(MAXIMU
M)

(MINIMU
M)

(AVERAGE)
b) List customer details who live in city beginning with city name ‘A’.

QUES 3. Write SQL statements for creating a table


Customer.
Customer (cust _id, lastname, firstname, street, city, balance, credit Imt, sales
repno).

Enter sample data in the table so created.

Run SQI queries to:

a) Display the structure of the table created.

b) List customer id of all customers


c) Include the fields.’ TelNo' in the Customer Table.

d) List customer details who live in city beginning with city name "A".

e) List customer no. of those whose name has pattern “sons".


f) List customer details who have credit limit beyond 10 lakhs.

g) List customer details who have credit limit in the range 1 lakh to 5 lakhs.

h) Find the minimum, maximum and average balance of all customers.


i) Find the total balance of all customers.

j) List customer details who have credit limit beyond 10 lakhs in alphabetical
order of first name.
k) Add a new column customer-ranking.

QUES 4. Consider the sample tables:


Emp (empno,ename,job,sal,hiredate,deptno,comm)

dept (deptno, dname, loc)

Write the SQL queries for the following:-


a) Display the structure of the employee and dept data tables.

b) Display employee name, job and salary for all employees except managers.
c) Display employee name and department number for those hired between
January 1 1983 and January 1, 1982.

d) Display employee name, job and department number for all clerks and
analysts.

e) Display employee name, job, department number and hire date for those
whose name begins with capital letter 'M'.

f) Display employee name, job, department number and hire date for those
whose name begins with capital letter ‘J’ followed by two characters and
ending with 'ES’.
g) Display employee name, job and salary for managers and sales people
earning 2000 or more.

h) Display salary, job and employee names for department no. 10 in


descending salary order.

i) Display the employee names of those whose names contain the letter S.

j) Display employee names and salaries for those having salaries less than their
commission.
k) Display employees hired in 1981.

l) Display the names and jobs of all employees in department no. 10 and 20.

m) Display employees who are not clerks or salesmen


n) Add a new column EMPADDRESS to Emp table.

o) Display the employee who was hired last.


p) Display the average annual salary for all job types.
SPREADSHEET
Ques . A multi-location company, LARA INTERNATONAL is involved in the
selling of consumer goods such as tea, biscuits, soaps, shampoos, etc with its
head office located in Delhi. In order to boost the company's sales turnover,
the company has divided the entire country into 5 regions with one branch
Manager for each region.
The half yearly sales targets for each of the region are set in the beginning of
the year i.e. April. The management of the company wants to assess the
performance of each of the five regions on the basis of their achievement of
sales target i.e. half yearly sales turnover. Based on this data, the management
wants to distribute the sales incentive to each branch. The following table
represents sales data for each of the branch office along with their sales target.

BRANCH SALES SALES TURNOVER (in thousands)

OFFICE CODE TARGET (Half APR. MAY JUNE JULY AUG. SEPT.
Yearly)

(In thousands)

LI011 6000 1100 900 1000 1050 925 900

LI012 5000 700 800 850 650 900 950

LI013 8000 1500 1200 1250 1350 900 990

LI014 7500 1200 1000 1300 950 850 880

LI015 6500 880 1300 1250 1200 700 910

For the above problem, perform the following task:

1. Prepare a data entry worksheet with suitable


headings, giving the
company's name and other data headings.
Solution:

2. Perform the data entry for the data given in the table
as stated in
question.

Solution:

3. For each branch of the company, compute the total


half yearly sale turnover.
Solution:

4. Compute the total monthly sale turnover of the


company.

Solution:

5. The total half yearly sales stunning of the company.


Solution:
6. Find the minimum and maximum sales turnover for
each month, using the function.

Solution:
MAXIMUM

MINIMUM
7. Calculate the incentive amount for each branch office
@2% of the total half yearly sales turnover.

Solution:

8. Compute the deviation in sales target and sales


achieved from branch.

Solution:
9. Find the branch wise average sales turnover for each
month using a function.

Solution:

DOS
1) Create a file ‘TEST.TXT’ & then assign a new name to this as
‘ABC.DAT’.
2) Copy the file ‘TEST.TXT’ to new directory TEST.
3) Explain & Execute any two Internal DOS commands.

DIR (Directory Listing)


Purpose: Displays the contents of a directory.
Usage Example:

 DIR
Lists files and subdirectories in the current directory.
 DIR /P
Pauses the output one screen at a time.
 DIR /W
Displays the output in a wide format.

CD (Change Directory)

Purpose: Changes the current directory or displays the current directory path.
4) Explain & Execute any two External DOS
Commands.
1. XCOPY (Extended Copy)

 Purpose: Copies directories, files, and subdirectories, including hidden files.


2. TREE
 Purpose: Displays a graphical representation of the directory structure.

5) Create a directory ‘TEST’. Create a file ‘ABC.DAT’ containing


rollno and name of three students of your class. Display the
contents.

You might also like