ICT Lab Manual
ICT Lab Manual
LAB#01
Familiarization with Microsoft Office and its
Applications
OBJECTIVE: To get familiarize with Microsoft Office and its applications.
THEORY:
• Microsoft Office is a proprietary product of Microsoft Corporation and was
first released in 1990. For decades, MS Office has been a dominant model
in delivering modern office-related document-handling software
environments.
Page 1 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
Microsoft Word
Microsoft Word is a full-featured word processing app that allows you to create
many types of personal and business documents, including flyers, letters, memos,
resumes, reports, fax cover sheets, mailing labels, and newsletters. Word also
provides tools that enable you to create webpages and save these webpages
directly on a web server. Word has many features designed to simplify the
production of documents and add visual appeal. Using Word, you easily can
change the shape, size, and color of text. You also can include borders, shading,
tables, images, pictures, charts, and web addresses in documents.
Page 2 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
Steps To Run an Microsoft App Using the Start Menu and Create a Blank
Document
Across the bottom of the Windows 10 desktop, there is a taskbar. The taskbar
contains the Start button, which you use to access apps, files, folders, and
settings. A folder is a named location on a storage medium that usually contains
related documents.
Clicking the Start button displays the Start menu. The Start menu allows you to
access programs, folders, and files on the computer or mobile device and contains
commands that allow you to start programs, store, and search for documents,
customize the computer or mobile device, and sign out of a user account or shut
down the computer or mobile device. A menu is a list of related items, including
folders, programs, and commands. Each command on a menu performs a specific
action, such as saving a file or obtaining help.
• Click the Start button on the Windows 10 taskbar to display the Start
menu.
• Click All apps at the bottom of the left pane of the Start menu to
display a list of apps installed on the computer or mobile device. If
necessary, scroll to display the app you wish to run.
Page 3 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
• If the app you wish to run is in a folder, click or scroll to and then click the
folder in the All-apps list to display a list of the folder’s contents.
• Click, or scroll to and then click, the program name (Microsoft Word, in this
case) in the list to run the selected program.
• Click the Blank document thumbnail on the Word start screen to create a
blank Word document in the Word window.
Page 4 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
• If the app window is not maximized already, click the Maximize button
next to the Close button on the window’s title bar.
Page 5 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
Scroll Bars You use a scroll bar to display different portions of a document in the
Document window. At the right edge of the document window is a vertical scroll
bar. If a document is too wide to fit in the document window, a horizontal scroll
bar also appears at the bottom of the document window.
Status Bar The status bar, located at the bottom of the document window above
the Windows taskbar, presents information about the document, the progress of
current tasks, and the status of certain commands and keys; it also provides
controls for viewing the document.
Ribbon The ribbon, located near the top of the window below the title bar, is the
control center in Word and other Office apps. The ribbon providesggon consists of
tabs, groups, and commands. Each tab contains a collection of groups, and each
group contains related commands.
Page 6 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
• Some groups on the ribbon have a small arrow in the lower-right corner,
called a Dialog Box Launcher, that when clicked, displays a dialog box or a
task pane with additional options for the group. When presented with a
dialog box, you make selections and must close the dialog box before
returning to the document.
Page 7 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
KeyTips If you prefer using the keyboard instead of the mouse, you can press the
ALT key on the keyboard to display KeyTips, or keyboard code icons, for certain
Commands.
Microsoft Account Area In this area, you can use the Sign in link to sign in to your
Microsoft account. Once signed in, you will see your account information, as well
as a picture if you have included one in your Microsoft account.
Page 8 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
Lab Task#01:
Follow these steps and take snapshots
• To Collapse and Expand the Ribbon and Use Full Screen Mode.
• Follow these steps.
• Click the ‘Collapse the Ribbon’ (CTRL+F1) button on the ribbon (shown in
Figure) to collapse the ribbon.
• Click Home on the ribbon to expand the Home tab and select the ‘Collapse
the Ribbon ’or Click the ‘Pin the ribbon’ button on the expanded Home tab to
restore the ribbon.
• Click the ‘Ribbon Display Options’ button to display the Ribbon Display
Options menu.
• Click Auto-hide Ribbon to hide all the commands from the screen.
• Click the ellipsis to temporarily display the ribbon.
• Click the ‘Ribbon Display Options’ button to display the Ribbon Display
Options menu.
• Click ‘Show Tabs and Commands’ to exit Full Screen mode.
Page 9 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 10
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#02
Creating an MS-Excel Worksheet Using
Formulas
OBJECTIVE: To create and maintain an MS-Excel worksheet with the help
of formulas.
THEORY:
Introduction
It is a powerful spreadsheet software developed by Microsoft. Excel provides
tools for performing calculations, creating graphs and charts, automating
repetitive tasks, and handling large datasets efficiently.
Key Purposes of Excel:
1. Data Organization and Storage: Excel is often used to organize data in rows
and columns, allowing users to categorize and store information in a
structured format.
2. Data Analysis: Excel provides numerous functions and tools to analyze data,
such as sorting, filtering, pivot tables, and advanced data visualization
techniques.
3. Performing Calculations: With Excel, you can perform simple arithmetic
operations as well as complex calculations using built-in formulas.
4. Data Visualization: It supports creating various charts and graphs (e.g., pie
charts, bar charts, histograms) to visually represent data.
Page 1 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Column “A”
Row “A3”
Page 2 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 3 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Figure 5-1
Figure 5-2
Page 4 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Figure 5-3
5. Type Hourly in cell E3, press the ALT+ENTER keys, type Pay Rate, and then
press the RIGHT ARROW key.
6. Type Gross Pay in cell F3 and then press the RIGHT ARROW key.
7. Type Federal Tax in cell G3 and then press the RIGHT ARROW key.
8. Type State Tax in cell H3 and then press the RIGHT ARROW key.
9. Type Tax % in cell I3 and then press the RIGHT ARROW key.
10. Type Net Pay in cell J3 and then press the RIGHT ARROW key.
11. Type Hire Date in cell K3 and then press the RIGHT ARROW key.
To Enter the Salary Data
The salary data in Table 5-1 includes a hire date for each employee. Excel
considers a date to be a number and, therefore, it displays the date right-
aligned in the cell. The following steps enter the data for each employee,
except their email addresses, which will be entered later in this module.
1. Select cell A4. Type Bennett, Joanne and then press the RIGHT ARROW key
two times to enter the employee name and make cell C4 the active cell.
2. Type 2 in cell C4 and then press the RIGHT ARROW key.
3. Type 64.25 in cell D4 and then press the RIGHT ARROW key.
4. Type 19.75 in cell E4.
5. Click cell K4 and then type 4/5/12.
6. Enter the payroll data in Table 5–1 for the eight remaining employees in
rows 5 through 12.
Table 5-1
Page 6 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Figure 5-4
To Change the Sheet Tab Name and Color
The following steps change the sheet tab name, change the tab color, and
save the workbook in the Excel folder (for your assignments).
1. Double-click the Sheet1 tab and then enter Salary Report as the sheet tab
name and then press the ENTER key.
2. Right-click the sheet tab to display the shortcut menu.
3. Point to Tab Color on the shortcut menu to display the Tab Color gallery.
Click Green (column 6, row 7) in the Standard Colors area to apply the color
to the sheet tab.
4. Save the workbook in your hard drive, OneDrive, or other storage location
using Olivia’s Art Supply Salary Report as the file name.
Page 7 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Table 5-2
Page 8 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Order of Operations
When more than one arithmetic operator is involved in a formula, Excel
follows the same basic order of operations that you use in algebra.
The order of operations is the collection of rules that define which
mathematical operations take precedence over the others in expressions
with multiple operations. Moving from left to right in a formula, the order of
operations is as follows: first negation (–), then all percentages (%), then all
exponentiations (^), then all multiplications (*) and divisions (/), and, finally,
all additions (+) and subtractions (–).
As in algebra, you can use parentheses to override the order of operations.
For example, if Excel follows the order of operations, 8 * 3 + 2 equals 26. If
you use parentheses, however, to change the formula to 8 * (3 + 2), the result
is 40, because the parentheses instruct Excel to add 3 and 2 before
multiplying by 8. Table 5–3 illustrates several examples of valid Excel
formulas and explains the order of operations.
Page 9 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Table 5-3
1. Select the source range, F4:J4 in this case, activate the fill handle, drag the
fill handle down through cell J12, and then continue to hold the mouse
button to select the destination range.
2. Release the mouse button to copy the formulas to the destination range
(Figure 5–5).
Page 10 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Figure 5-5
To Determine Totals Using the Sum Button
The next step is to determine the totals in row 13 for the hours worked in
column D, gross pay in column F, federal tax in column G, state tax in column
H, and net pay in column J.
To determine the total hours worked in column D, the values in the range D4
through D12 must be summed using the SUM function. Recall that a function
is a prewritten formula that is built into Excel. Similar SUM functions can be
used in cells F13, G13, H13, and J13 to total gross pay, federal tax, state tax,
and net pay, respectively. The following steps determine totals in cell D13,
the range F13:H13, and cell J13.
1. Select the cell to contain the sum, cell D13 in this case. Click the Sum
button (Home tab | Editing group) to sum the contents of the range D4:D12
in cell D13 and then click the Enter button to display a total in the selected
cell.
2. Select the range to contain the sums, range F13:H13 in this case. Click the
Sum button (Home tab | Editing group) to display totals in the selected
range.
3. Select the cell to contain the sum, cell J13 in this case. Click the Sum button
(Home tab| Editing group) to sum the contents of the range J4:J12 in cell J13
and then click the Enter button to display a total in the selected cell (Figure
5–6).
Page 11 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Figure 5-6
To Determine the Total Tax Percentage
With the totals in row 13 determined, the next step is to copy the tax
percentage formula in cell I12 to cell I13. The following step copies the tax
percentage formula.
1. Select the cell to be copied, I12 in this case, and then drag the fill handle
down through cell I13 to copy the formula (Figure 5–7).
Figure 5-7
Page 12 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
TASK:
1. Create a worksheet for maintenance of sales data of a superstore
chain.
2. Create a worksheet for cricket players.
3. Create a worksheet for movies.
Page 13 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#03
Using Functions, creating Chart/Graph &
applying What-If Analysis in MS-Excel
OBJECTIVE: To get familiarize students with the use of functions, What-If
Analysis and get familiar with the creation of Chart/Graph in MS-Excel.
THEORY:
Introduction to Functions
In Excel, a function is a pre-built formula that performs a specific calculation or
operation on data in a worksheet. Functions make it easy to process data without
writing complex calculations manually. Each function in Excel has a name (like SUM
or AVERAGE) and usually requires specific input values, called arguments, to
perform the operation.
An Excel function generally follows this structure:
=FUNCTION_NAME(argument1, argument2, ...)
For example:
=SUM(A1:A10) // Adds all values in cells A1 to A10
Page 1 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
The Output shows the Result → 2500 (sum of all January sales values)
The Output shows the Result → 500 (average sales in January for all products)
Page 2 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 3 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
The Output Result → 5 (since there are 5 entries with numbers in the range)
Text Functions
CONCATENATE Combines multiple text strings into one
UPPER Changes text to uppercase
LOWER Changes text to lowercase
=LOWER(B2)
=UPPER(B2)
Page 4 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
2. AND Function
Syntax: =AND(condition1, condition2, ...)
3. OR Function
Syntax: =OR(condition1, condition2, ...)
4. Nested IF Functions
5. Combination of Logical Functions (Using IF with AND to evaluate performance)
Example Data
Let’s apply various logical functions to the provided sales data for products.
1. Applying IF Function/Condition:
Page 5 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
The Output → Check if sales in January & February are both greater than
500.
3. Applying OR Function:
The Output → Check if sales in either January or February are greater than 800.
4. Applying Nested IF Functions:
The Output → Classify sales performance for each product based on January
sales.
Page 6 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Example Data
Page 7 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Consider the Following data to understand what-if analysis in which several attributes were
used and briefly defined below:
Page 8 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step#3: Click on Add Button and add the new Scenario for Suppose Create Scenario using Qty
as a scenario name along with value.
Page 9 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step#7: Right now the Qty is 100 but when I click on the Show button
We can see the added scenario Qty is 200 and according to the quantity our Profile value is
changes and showing the profile value according to the scenario based quantity.
Page 11 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 12 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Introduction to Graph/Charts
In Excel, charts and graphs are powerful tools for visualizing data, helping users to interpret and
analyze large datasets more easily by transforming numbers into visual insights. With a variety of
chart types available, Excel allows you to showcase trends, comparisons, distributions, and
relationships in data, making it easier to communicate findings effectively.
Key Benefits of Charts in Excel
• Simplifies complex data: Charts condense complex datasets into an easily digestible
format.
• Highlights trends and patterns: Helps to visually spot trends, seasonal patterns, or
outliers.
• Enhances data presentation: Makes data more engaging and impactful, supporting data-
driven decision-making.
Example Data
Now let’s consider this sample data and create Multiple Charts of different types.
Page 13 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
1) Pie Chart:
Creating Pie Chart using Proportions of Sales by Category in Q1.
Data: Use Category and Sales Q1 columns.
Steps to create Pie Chart:
• Select the data range for Category and Sales Q1 columns.
• Go to Insert > Pie Chart and choose a 2D or 3D Pie chart.
• The Pie chart will show the proportional contribution of each category to
total Q1 sales.
2) Bar Chart:
Creating Bar Chart on Comparison of Sales Across Categories.
Data: Use Category, Sales Q1, Sales Q2, and Sales Q3 columns.
Steps to create Pie Chart:
• Select the Category and Sales Q1, Q2, Q3 columns.
• Go to Insert > Bar Chart and select the Clustered Bar chart type.
• This bar chart will display side-by-side comparisons of sales in Q1, Q2, and
Q3 for each category.
Page 14 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Task:
1) Apply and use functions for the sales data of a superstore.
2) Apply and use functions for cricket player’s worksheet.
3) Apply and use functions for movie business worksheet.
4) Apply What-if analysis on the student Marksheet.
5) Apply What-if Analysis on the sports data worksheet.
6) Apply What-if Analysis on the movie business worksheet.
7) Create Bar charts/graphs of different styles for the sales data of a superstore.
8) Create Scatter charts/graphs of different styles for cricket player’s worksheet.
9) Create Histogram charts/graphs of different styles for movie business
worksheet.
Page 15 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#04
Creating and Editing a MS-PowerPoint
Presentation
OBJECTIVE:
To familiarize students with essential skills for creating, editing, and
enhancing PowerPoint presentations,
THEORY:
In this module, you will learn how to perform basic tasks using PowerPoint.
The following roadmap identifies general activities you will perform as you
progress through this module:
1. INSERT the four PRESENTATION SLIDES, using various layouts.
2. ENTER the TEXT for the slides.
3. FORMAT the TEXT on each slide.
4. INSERT GRAPHICAL ELEMENTS, including pictures.
5. SIZE AND POSITION the graphical elements.
6. ENHANCE the SLIDE SHOW by adding a closing slide and transition.
7. DISPLAY the SLIDES.
Each theme has a set of four alternate designs, called variants. Each variant
has the same overall composition, but the colors, fonts, and design elements
differ. Once you select a theme, you then can select a variation that best fits
your overall design needs. If you later decide that another theme or variant
would better fit the presentation’s general theme, you can change these
elements while you are developing slides.
Page 1 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Page 3 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Bold characters display somewhat thicker and darker than those that display in a
regular font style. Clicking the Bold button on the mini toolbar is an efficient
method of bolding text. To add more emphasis to the fact that the body needs
nature for cooling purposes, you want to bold the words, every Saturday. The
following step bolds this text.
DUPLICATE A SLIDE
When two slides contain similar information and have the same format, duplicating
one slide and then making minor modifications to the new slide saves time and
increases consistency. Slide 5 will have the same layout and design as Slide 1. The
most expedient method of creating this slide is to copy Slide 1 and then make minor
modifications to the new slide. The following steps duplicate the title slide.
Page 6 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
ARRANGE A SLIDE
The new Slide 2 was inserted directly below Slide 1 because Slide 1 was the
selected slide. This duplicate slide needs to display at the end of the
presentation directly after the final title and content slide. Why? It is a closing
slide that reinforces the concept presented in Slide 1 and indicates to your
audiences that your presentation is ending. Changing slide order is an easy
process and is best performed in the Slides tab. When you click the thumbnail
and begin to drag it to a new location, the remaining thumbnails realign to
show the new sequence. When you release, the slide drops into the desired
location. Hence, this process of sliding or dragging and then dropping the
thumbnail in a new location is called drag and drop. You can use the drag-
and-drop method to move any selected item, including text and graphics.
The following step moves the new Slide 2 to the end of the presentation so
that it becomes a closing slide.
Page 7 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
Page 8 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
TASK
Page 9 of 9
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#05
Basic Fundamentals of Web Development
OBJECTIVE: Introduction to web development along with web
development concepts using HTML and CSS.
THEORY:
Introduction to Web Development
It is the process of building, creating and maintaining of websites. It involves coding
and using programming languages to create websites that are functional, user-
friendly, and perform well.
It includes aspects such as;
• Web designing
• Web Programming
• Web Publishing
• Database Management
It is the creation of an application that work over the internet. The main
components of web development can be categorized as;
• Front-end: The part of the website that users see and interact with (HTML,
CSS, JavaScript) also known as client-side development.
• Back-end: Handles server-side logic, databases, and data processing that
users don’t see directly. Common languages are Python, Java, Node.js, etc.
• Full stack development: Involves both frontend and backend work. A full-
stack developer builds both the visible & the server parts of a website or app.
Page 1 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Example Code
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Example Explained
• The <!DOCTYPE html> declaration defines that this document is an HTML5 document
• The <html> element is the root element of an HTML page
• The <head> element contains meta information about the HTML page
• The <title> element specifies a title for the HTML page (which is shown in the browser's
title bar or in the page's tab)
• The <body> element defines the document's body, and is a container for all the visible
contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
• The <h1> element defines a large heading
• The <p> element defines a paragraph
Page 3 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
HTML Tags
Tags Purpose Syntax
Title Tag It is used to specify the title of <title> Page Title </title>
a web page, which is typically
displayed in the browser's
title bar.
Heading Tags It is used to display headings <h1> Hello World <h1/>
h1, h2, h3, h4, h5, h6
Paragraph Tag It is used to add paragraphs. <p> A Paragraph<p/>
Br Tag It is used to add next line (line <br>
breaks) to our page.
Bold, Italic & Underline Tags These Tags are used to <b>SSUET</b>
highlight text to our page. <i>SSUET</i>
<u>SSUET</u>
Center Tag It is used for centering <center> Content</center>
content within a web page.
Subscript &Superscript Tag They are used to display a The<sub>subscripted</sub>
horizontal ruler, used to The<sup>superscripted</sup>
separate content.
Button Tag It is used to create a clickable <button>Click Me!</button>
button in HTML. It can be used
to perform certain actions i.e.
submit, reset etc.
Page 4 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Attributes are used to add more information to the tag. All HTML elements can
have attributes. Some Attributes are bgcolor href, src, width, height etc.
Image Tag Image Tag is used to add <img src="link" height=50px
images to our Html page. width=50px >
Iframe Tag It is used to embed content <iframe src = “URL”width = “pixels”
from other websites i.e. height = “pixels”> </iframe>
YouTube, a Google Map
etc.
Video Tag It is used to add video <video src="myVid.mp4">My Video
</video>
Anchor Tag Anchor Tag is used to add <a href="https://google.com"> Google
Links to our Html page. </a>
HTML Lists
Lists are used to represent real life list data.
Example Output
Page 5 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Introduction to CSS
CSS (Cascading Style Sheets) is a stylesheet language
used to describe the presentation of a webpage. CSS
styles HTML elements by controlling aspects like colors,
fonts, layouts, and spacing.
CSS Syntax
A CSS rule consists of a selector and a declaration block.
Page 7 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
2) Internal CSS: Uses a <style> tag inside the <head> section to define styles for
the entire page.
<head>
<style>
h1 { color: blue; }
p { font-size: 16px; }
</style>
</head>
3) External CSS: Links to an external .css file, ideal for keeping HTML and CSS
separate.
<head>
<link rel="stylesheet" href="styles.css">
</head>
Page 8 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
ID: It is a unique identifier for an element. Each id should be unique on the page,
meaning it should be used only once per element.
Syntax: id="uniqueID"
Page 9 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
Task:
1) Create a basic website for a gym management system using HTML and CSS. The
website will have a “Home” page, an "About Us" page, and a "Membership"
page to display gym details and services.
Page 11 of 11
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#06
Fundamentals of Flask Framework
OBJECTIVE: Introduction to Flask framework including basic concept of
backend along with syntax, folder structure including routes management
and control structures.
THEORY:
Introduction to Framework
A framework is a set of tools, libraries, and rules that help developers build
applications more efficiently.
Instead of writing everything from scratch,
frameworks provide pre-written code and
structures to make development faster and
more organized.
In web development, frameworks help with
tasks like routing (mapping URLs to functions),
templating (creating dynamic HTML), and managing data.
Practical Brainstorming
Ask students to imagine building a house from raw materials versus using
pre-made tools and designs.
Compare writing all code manually (raw materials) to using a framework
(tools and templates).
Page 1 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
index.html
<h1>Welcome, {{ username }}!</h1>
Control Structures: Use loops and conditionals directly in templates.
<ul>
{% for item in items %}
<li>{{ item }}</li>
{% endfor %}
</ul>
Page 3 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
app = Flask(__name__)
@app.route('/')
def pageFirst():
return "Welcome to the First Page!"
@app.route('/myHome')
def home():
return render_template('Index.html')
@app.route('/about')
def about():
return render_template('about.html')
if __name__ == '__main__':
app.run(debug=True)
Explanation:
Visiting / displays: Welcome to the First Page!
Visiting /myHome: Display the content of index.html file.
Visiting /about displays: Display the content of about.html file.
Page 4 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
templates/about.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About Us</title>
</head>
<body>
<h1>About Us</h1>
<p>Welcome to the About Us page! This page provides information about our
work.</p>
<button><a href="/">Home</a></button>
</body>
</html>
Page 5 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
Task:
Create a basic Gym Management System website using Flask, HTML, and CSS. The
website will include:
A Home page displaying a welcome message and gym highlights.
An About Us page sharing details about the gym's mission, team, and
facilities.
A Membership page showcasing membership plans and services.
Use Flask to manage routes for these pages, serve dynamic content using
templates, and style the website with CSS. Place HTML files in the templates folder
and CSS files in the static folder.
Page 7 of 7
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#07
Open Ended Lab
OBJECTIVE: Develop a Multi-Page Website with Login and Registration
using Flask Framework along with PowerPoint presentation.
Task:
Create a multi-page website that integrates HTML and CSS for the frontend with
Python's Flask framework for the backend. This project should include a simulated
login and registration system as part of the frontend (without using databases or
file handling).
Requirements
1. Frontend:
Page 1 of 2
Introduction To Computing (SE-105L) SSUET/QR/114
2. Backend:
3. Presentation:
Deliverables:
Page 2 of 2
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#08
Fundamentals of GitHub
OBJECTIVE: Familiarize yourself with GitHub and learn how to create a
repository and upload the projects.
THEORY:
Introduction to GitHub
GitHub is a web-based platform for version control and collaboration. It allows
developers to store, track, and manage changes to their code while working on
projects individually or as a team.
Why Use GitHub?
Version Control: Keeps track of changes made to files, making it easy to
revert to previous versions.
Collaboration: Enables multiple developers to work on the same project
without overwriting each other's work.
Backup: Serves as a cloud-based repository for storing code safely.
Open Source: Encourages collaboration on open-source projects and sharing
knowledge.
Integration: Works seamlessly with popular development tools and CI/CD
pipelines.
Purpose of GitHub
Managing and sharing code efficiently.
Tracking bugs and feature requests.
Providing a platform for teamwork and project management.
Showcasing work through portfolio repositories.
Page 1 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Click on Continue
Page 3 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
97934824
Page 6 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 7 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Choose the Free plan (ideal for beginners). You can upgrade later if needed.
Page 8 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 9 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Your repository is now created, and you will be redirected to its main page.
Page 11 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 12 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 13 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 14 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 15 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 16 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 17 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 18 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 19 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 20 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Page 21 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
After installation of Git Bash we will need to do configuration of our account first
than able to upload projects or version controlling of our projects.
Command:
Page 22 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
As we know we have created a repository later, now we will upload our project on
that repository.
Now put the basic commands to upload the project for version control.
1) Create a README File:
echo "# my-first-repo" >> README.md
Syntax:
echo "text": Outputs the specified text.
>> README.md: Appends the output (text) to a file named README.md. If
the file does not exist, it creates the file.
Page 23 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Purpose: Initializes a new Git repository in the current folder. After this, the folder
becomes a Git repository, and Git starts tracking changes in files.
Purpose: Purpose: Stages the README.md file for the next commit. Staging means
marking files to be included in the next commit.
4) Commit Changes:
git commit -m "first commit"
Syntax:
git commit: Captures a snapshot of the staged changes.
-m "message": Adds a message describing the changes in this commit.
Page 24 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Purpose: Creates a commit with the changes in the staged file and labels it with the
message first commit. This message should describe the purpose or content of the
commit.
Syntax:
git branch -M <branch-name>: Renames the current branch to <branch-
name>.
Purpose: Renames the default branch (often master) to main, which is now the
widely accepted standard for the primary branch.
Page 25 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Syntax:
git remote add <name> <URL>: Adds a remote repository with a specified
name and URL.
Purpose: Links the local repository to the remote GitHub repository at the specified
URL. Here, origin is the default name for the remote repository.
Syntax:
git push: Uploads changes from the local repository to the remote
repository.
-u: Sets the upstream branch, so future pushes can use just git push.
origin main: Specifies pushing to the main branch of the origin remote
repository.
Purpose: Uploads all committed changes to the main branch on GitHub. The -u flag
ensures you don't have to specify the branch and remote for subsequent pushes.
Page 26 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
Task:
Previously, you created a basic Gym Management System website using Flask,
HTML, and CSS. The website included:
The project used Flask to manage routes for these pages, served dynamic content
with templates (HTML files placed in the templates folder), and styled the website
with CSS (CSS files placed in the static folder).
Page 27 of 27
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#9
Introduction to Cloud Computing Using Azure
Fundamentals
OBJECTIVE: Introduction to Cloud Computing using Azure Fundamentals
along with overview of the Azure portal and its main components.
THEORY:
Introduction to Cloud Computing
Cloud computing is based on the concept of shared resources and offers flexibility,
scalability, and cost-efficiency. It is typically categorized into three main service
models:
Page 1 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
The main purpose of cloud computing is to make it easier and more affordable for
people and businesses to use technology. Instead of buying and maintaining
expensive hardware and software, you can use the internet to access what you
need, like storage, servers, and apps, whenever you need them.
1. Save Money: You pay only for what you use, without buying costly
equipment.
2. Work Anywhere: Access your files, apps, and tools from any device with an
internet connection.
3. Grow Easily: Add or reduce resources like storage or servers as your needs
change.
4. Stay Safe: Back up your data and recover it easily in case something goes
wrong.
5. Collaborate Better: Teams can work on the same files or projects at the same
time, even from different locations.
6. Focus on Your Work: Let the cloud provider handle updates, maintenance,
and security, so you don’t have to.
In short, cloud computing makes using technology simpler, more flexible, and cost-
effective.
Page 2 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
The Azure portal is a web-based management tool for creating, managing, and
monitoring Azure resources.
Page 3 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 7 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 8 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 11 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 12 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
3. Dashboard
The dashboard is the initial view when you log into the Azure Portal, offering
a customizable interface to display your most relevant resources and
services.
Page 13 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
4. Additional Details
Page 14 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Submission Requirements:
Submit screenshots of the following steps:
Page 15 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#10
Familiarize with Azure Fundamentals
OBJECTIVE: To get familiarize with Azure Fundamentals including basic
concepts like resource groups, subscriptions, and regions along with hosting
a Static Website on Azure.
THEORY:
Introduction to Microsoft Azure
Microsoft Azure is a cloud computing platform and service created by Microsoft. It
provides a wide range of cloud services such as computing, analytics, storage,
networking, and more. These services enable users to build, deploy, and manage
applications on a global network of Microsoft-managed data centers.
The Azure portal is a web-based management tool for creating, managing, and
monitoring Azure resources.
Page 1 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Page 3 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
2
3
Page 4 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Step 8: Right now rest of the options remains by default and click on Review +
Create button.
Page 7 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Step 9: Now link the Github account where you have uploaded your project and
for that go the Deployment button and for the first time authorize your GitHub
account.
Page 8 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Page 9 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
10
Page 10 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
11
Page 11 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
12
Page 12 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Deployment is in progress
13
14
Copy this domain and paste it on the new tab you will see your deployed website
Hence Deployment is successfully Performed.
Page 13 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
Submission Requirements:
Submit screenshots of the following steps:
Page 14 of 14
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#11
Basics of Virtualization
OBJECTIVE: Understand the basics of virtualization and learn how to create
a virtual machine (VM) by Install a guest operating system on the created VM
in Virtual Box.
THEORY:
Introduction to Virtualization
Virtualization is the process of creating a virtual version of a resource, such as
hardware, a server, or an operating system. It allows multiple operating systems to
run on a single physical machine.
Advantages of Virtualization:
Efficient Resource Utilization: Makes better use of hardware.
Cost Savings: Reduces the need for physical servers.
Flexibility: Easy to switch between different operating systems.
Isolation: Virtual machines are independent and secure.
Introduction to VirtualBox
Oracle VirtualBox is an open-source virtualization software that allows you to
create and run virtual machines on your computer. To perform the practical
implementation, the Prerequisites we need are given below:
A computer with VirtualBox installed.
ISO file of the guest operating system (e.g., Ubuntu, Windows).
Key Terms
Host Operating System: The OS running on your physical machine.
Guest Operating System: The OS installed on the virtual machine.
ISO File: A disk image file used to install the operating system
Page 2 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Run the installer and follow the on-screen instructions to install VirtualBox.
Page 3 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 7 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 8 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
After Installing windows 10.iso file now we are able to proceed to create a
virtual machine using virtual box
Step 4: Create a Virtual Machine
Open VirtualBox and click "New" button.
Page 9 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 10 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Select the type and version of the operating system (e.g., Linux, Ubuntu 64-
bit). Right now as we have installed windows 10 as an operating system.
So, browse it and select windows 10.iso file.
Page 11 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Fill the Username and Password Field and then click on Next Button
Page 12 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 13 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Select the Storage size according to your required specification and then
Click on Next Button
Page 14 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Wait some few minutes and you will face this kind of error. Now press ok
and close the window.
Page 15 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 16 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 17 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 18 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 19 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 20 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 21 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Now go to your user name’s directory (Example just for me its “Huzaifa”)
Page 22 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Now go the same name of the folder when you have created your Virtual
machine name for the first time.
Page 23 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
After deletion again open your Virtual box and Click on Start button.
Page 24 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
In Progress
Finally, no error appears and ready to setup windows 10 installation setup.
Page 25 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 26 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 27 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Now Choose the Windows 10 version or type and then click on Next button
Page 28 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 29 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Page 30 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
Task:
Tasks to Complete:
Page 31 of 31
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#12
Virtual Networking using Virtual Box
OBJECTIVE: To get familiarize with Virtual Networking and
understand the setup of basic networking for the VM and test
internet connectivity in virtual box.
THEORY:
Introduction to Virtual Networking
Virtual networking is a technology that enables multiple devices, virtual machines
(VMs), or systems to communicate over a virtual network. It simulates the
functionality of physical networking devices like switches,
routers, and network adapters within a virtualized
environment.
Purpose of Virtual Networking:
The primary purposes of virtual networking include:
Efficient Resource Utilization: Enables multiple VMs
to share network resources without requiring additional physical hardware.
Isolation: Offers a secure environment for testing and development by
isolating VMs from the host machine or other networks.
Flexibility: Allows the configuration of different network topologies and
setups without physical limitations.
Connectivity: Facilitates communication between VMs, host machines, and
external networks.
Page 1 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Practical Implementation
Step 1: Open the VirtualBox from your personal computer and from the
VirtualBox Manager window, select your VM
Page 3 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Step 3: Start the VM and verify internet connectivity by pinging a website (e.g.,
ping www.google.com).
Page 5 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
2. Bridged Adapter
Page 7 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Practical Implementation
Step 1: Open the VirtualBox from your personal computer and from the
VirtualBox Manager window, select your VM
Page 8 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 9 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Step 3: Select Attached to: Bridged Adapter and choose the host’s network
interface.
Page 10 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Step 4: Start the VM and verify internet connectivity by pinging a website (e.g.,
ping www.google.com).
Page 11 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Page 12 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
Lab Task
1. Theoretical Question:
Compare the NAT and Bridged Adapter modes in VirtualBox. Explain their
differences in terms of connectivity, use cases, and network speed. Which mode
would you prefer for testing a web server on a VM, and why?
2. Practical Question:
Start the VM and check the network configuration using both NAT and
Bridged Adapter modes using commands like ipconfig (Windows) or ifconfig
(Linux).
Page 13 of 13
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#13
Managing Virtual Storage & Using Snapshots
OBJECTIVE: To get familiarize how to manage virtual storage, learn to
create snapshots and restore your VM to a previous state.
THEORY:
Introduction to Snapshots
A snapshot is a saved state of a virtual machine at a specific point in time. It allows
you to revert the VM to this saved state without affecting the current state of the
machine.
Benefits of Snapshots:
Backup and Recovery: Easily restore the VM to a stable state after changes
or errors.
Testing Environments: Experiment with software or configurations without
permanent changes.
Time-Saving: Avoid reinstalling the operating system or reconfiguring the
VM.
Practical Implementation
Follow the below given steps to understand the practical implementation of virtual
storage and come into the practice of using snapshots:
Step 1: Open the VirtualBox from your personal computer and from the
VirtualBox Manager window, select your VM
Page 1 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 2 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 3 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 6: Now click on the Start button to Power on your Virtual Machine.
Page 4 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 7: Now make changes such as creating files or change desktop appearance
or installing software or updating configurations etc.
Page 5 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Now we can see that there were two Snapshot (status of virtual machine)
are saved.
Step 12: Now to switch to the Before Changes (virtual machine status) we will
select the Before Changes using mouse/cursor.
Page 9 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 14: Uncheck the checkbox and click on the Restore button.
Page 10 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 15: Now select the Current State using mouse/cursor and click on the Start
button. After that your virtual machine previous state should be display on your
windows 10 operating system.
Page 11 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Here we will see that their will be no changes or no specific folder should be displayed on the
desktop which in results shows that we are in previous state.
Page 12 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 16: Now select the After Changes using mouse/cursor and click on the
Restore button.
Step 17: Uncheck the checkbox and click on the Restore button
Page 13 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Step 18: Now select the Current State using mouse/cursor and click on the Start
button. After that your virtual machine After changes state should be display on
your windows 10 operating system.
Here we will see that changes were applied and a folder (Huzaifa) is displaying on the
desktop including Task Bar changes which in results shows that we are in After changes state.
Page 14 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
Lab Task
"Initial Setup-[YourName-RollNumber]".
Page 15 of 15
Introduction To Computing (SE-105L) SSUET/QR/114
LAB#14
Enhancing Virtual Machine Functionality by
Installing Additional Software
OBJECTIVE: To get familiarize with the purpose and utilization of Virtual
Machine to enhance its functionality by Installing additional software.
THEORY:
Introduction
A Virtual Machine (VM) is a powerful tool used for testing, development, and
running isolated environments. Enhancing a VM’s functionality can be achieved by
installing software like:
Page 1 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Practical Implementation
Step 1: Open the VirtualBox from your personal computer and from the
VirtualBox Manager window, select your VM
Page 2 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Step 2: Go to Devices > Insert Guest Additions CD Image in the VirtualBox menu.
Step 3: Go to the This PC and select CD Drive (D): VirtualBox Guest Additions.
Page 3 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Page 4 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Page 5 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Page 6 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Page 7 of 8
Introduction To Computing (SE-105L) SSUET/QR/114
Lab Task
1. Install the VirtualBox Guest Additions driver and add the screenshot of it.
{add the snapshot of it}
2. Install the additional software i.e. chrome or visual studio code and open it
on the virtual machine. {add the snapshot of it}
3. Enable the Drag n Drop file functionality. {add the snapshot of it}
Page 8 of 8