Internet Basics: Packet Switching & IPv6
Internet Basics: Packet Switching & IPv6
QUESTIONS
1. What are the three basic building blocks of the Internet?
1. Packet Switching
Definition:
Packet switching is a method of slicing digital messages, which are made up of bits
(binary digits), into discrete units called packets. These packets are sent along different
communication paths as they become available and then reassembled once they arrive at
their destination. This approach is used to optimize network usage and minimize wasted
capacity compared to older communication techniques.
Example:
When you send an email or load a webpage, your message is broken down into packets.
These packets travel through different network routes (possibly using various
intermediate routers), and once they all reach their destination, they are reassembled into
the original message.
Why It's Important: Packet switching improves network efficiency because it allows for more
flexible use of available bandwidth. Unlike traditional circuit-switching, where dedicated
communication paths are maintained regardless of data transmission, packet switching
optimizes the use of the network by sharing available capacity. If a path is busy or down, packets
can be rerouted along different paths to reach the destination.
Key Points:
Efficiency: Packet switching allows data to be transmitted over multiple paths in the
network, utilizing available bandwidth more effectively. This leads to increased network
capacity.
Flexibility: If one path is blocked or busy, packets can be rerouted along another
available path to their destination.
No Dedicated Circuit: Unlike traditional circuit-switched networks that require a
continuous, dedicated connection, packet switching uses spare capacity in the network,
making better use of resources.
Reliability: By breaking data into packets and sending them through various routes,
packet switching increases the reliability of communication, ensuring data can still reach
its destination even if some paths fail.
Definition:
TCP/IP is a family of communication protocols that manage how data is sent, routed, and
reassembled on the Internet. It ensures that data is transferred correctly by breaking it into
packets, routing it properly, and ensuring it is reassembled in the correct order at the
destination. The two main protocols within this suite are:
o TCP (Transmission Control Protocol): Establishes a connection between
sending and receiving computers and ensures that packets are received in the
same order they were sent, without any data missing.
o IP (Internet Protocol): Provides addressing and routing of the packets, ensuring
that they are delivered to the correct destination.
Example:
When you access a website, TCP ensures that all the packets containing the website's data
(images, text, scripts, etc.) are delivered in the correct order and are not lost. IP
determines the path that each packet will take to reach the web server.
Why It's Important: Without TCP/IP, there would be no standardized way to transmit data over
the Internet. These protocols are fundamental for ensuring data is sent accurately, and they
enable the communication between diverse devices across the global network.
Key Points:
3. Client/Server Computing
Definition:
Client/server computing is a model where clients (devices requesting services or
resources) are connected to servers (dedicated computers that provide resources or
services). This model enables distributed computing, where servers handle requests from
multiple clients to offer services like data storage, application hosting, and internet
access.
Example:
When you access a website, your web browser (the client) sends a request to a web
server. The server processes the request and sends back the data necessary to load the
website on your browser.
Why It's Important: Client/server computing is the backbone of most Internet services,
including web browsing, file sharing, and cloud applications. It allows for efficient management
and distribution of resources, as servers are dedicated to providing specific services, and clients
can access these services on demand. Additionally, the model allows for scalability (more clients
or servers can be added as needed) and reliability (backup servers ensure continued operation if
one fails).
Key Points:
o Distributed Computing: Clients request resources or services, and servers
provide them, making this system scalable and efficient for large networks.
o Scalability: It’s easy to add more clients and servers to the system as needed.
This makes client/server computing ideal for growing networks like the Internet.
o Fault Tolerance: If one server goes down, another can take over its
responsibilities, making the system more reliable than older mainframe-based
systems.
o Load Balancing: Tasks are distributed between multiple servers, so no single
server is overwhelmed with requests, which optimizes performance and ensures
responsiveness.
1. Packet Switching allows data to travel in packets over various paths in the network,
optimizing available bandwidth and ensuring reliability.
2. TCP/IP provides the necessary rules for sending, addressing, and routing data, ensuring
the successful transmission and reassembly of information.
3. Client/Server Computing enables scalable, reliable access to services through
distributed systems where clients make requests and servers provide responses.
These three building blocks work together to create the foundation of the modern Internet,
enabling efficient, reliable, and scalable communication between billions of devices.
An IPv6 Internet address is 128 bits, so it can support up to 2 ( 128 3.4 1038 × ) addresses,
many more than IPv4 can. According to Akamai, in the United States about 40% of Internet
traffic now occurs over IPv6
3. Explain how packet switching works.
An IPv6 address (Internet Protocol version 6 address) is a unique identifier assigned to each device
connected to the Internet using the IPv6 protocol—the most recent version of the Internet Protocol,
which is used to route and identify data across networks.
IPv6 addresses are 128 bits long and are usually written in hexadecimal, separated by colons.
For example:
Makefile 2001:0db8:85a3:0000:0000:8a2e:0370:7334
This is much longer than an IPv4 address, which is 32 bits and looks like this: [Link].
In short: IPv6 is necessary to support the explosive growth of connected devices (like in IoT) and to
future-proof the Internet with better performance, security, and scalability.
IPv4 (Internet Protocol version 4) uses 32-bit addresses, allowing for about 4.3 billion
unique addresses.
As more devices, networks, and services connect to the Internet (especially with the
growth of the Internet of Things), that number isn’t enough.
IPv6 uses 128-bit addresses, which provides about 340 undecillion addresses—enough
for trillions of devices for generations to come.
Network
Manual / DHCP Auto-configuration / DHCPv6
Configuration
Real-life Example:
IPv4: You access your home surveillance camera using the address [Link]. This
is a private (internal) IP address, which requires NAT (Network Address Translation) to
be accessed from outside the local network.
IPv6: A temperature sensor in a smart home has a global address like
2001:db8:1f70::999:de8:7648:6e8. The device can communicate directly with
servers on the Internet without needing NAT.
The TCP/IP protocol is the foundational communication method used for transferring data
across the Internet. It consists of a suite of protocols that govern the packetization, addressing,
routing, and error-checking of data. Below is how TCP/IP is related to information transfer:
1. Packetization of Data
TCP/IP breaks data into smaller units called packets. Each packet contains part of the
original message, along with crucial information (e.g., source/destination address,
sequence number).
Why it matters: By breaking data into packets, TCP/IP enables efficient and reliable
data transfer, allowing packets to take different routes to reach the destination.
2. Addressing and Routing
IP handles the addressing and routing of packets across the network. Every device on
the Internet is assigned a unique IP address, helping to direct packets to the correct
destination.
Why it matters: IP ensures packets find their way to the right destination, regardless of
the network's complexity, maintaining connectivity across devices worldwide.
TCP ensures data reliability by establishing connections between sender and receiver,
ensuring packets are received in the correct order, and requesting retransmissions if
necessary.
Why it matters: TCP ensures that no packets are lost, and the data reaches the
destination intact and in the correct sequence, which is critical for activities like web
browsing and email communication.
TCP also performs error checking to detect lost or corrupted packets, ensuring accurate
data delivery.
Why it matters: This guarantees that the data received is the same as what was sent,
even if packets are delayed or lost in transit.
Protocols like HTTP, FTP, and SMTP in the Application Layer use TCP/IP to provide
services such as web browsing, file transfers, and email.
Why it matters: These protocols rely on TCP/IP for communication between devices,
ensuring that services on the Internet are functional and reliable.
Conclusion
In summary, TCP/IP plays a critical role in enabling data communication on the Internet by
breaking data into packets, addressing and routing them, ensuring data reliability, and providing
error-checking. Through its layered structure, TCP/IP allows diverse devices and applications to
communicate efficiently across the global network.
The technological innovation that made client/server computing possible was the development
of personal computers (PCs) and local area networks (LANs).
Personal Computers (PCs): In the past, computing was centralized on large mainframe
computers, but the advent of personal computers allowed for decentralization. PCs
became capable of handling tasks independently, serving as clients that could request
services or resources from a central computer.
Local Area Networks (LANs): With the development of LANs, multiple computers
(clients) could be connected to a central server over a network. This enabled distributed
computing, where tasks could be shared between servers (performing tasks like file
storage, applications, etc.) and clients (accessing these services).
Together, these innovations allowed for the shift from centralized mainframe computing to the
more flexible and scalable client/server model, which is the backbone of modern Internet and
web services.
Scalability: The client/server model allows easy expansion by adding more clients or
upgrading servers to handle increased demand.
Fault Tolerance: If one server fails, backup servers can take over, ensuring continuous
operation, and if a client fails, the rest of the network remains unaffected.
Load Balancing: Processing tasks are distributed across multiple servers, reducing strain
on any single system and improving efficiency.
Cost Efficiency: Compared to centralized mainframe systems, client/server networks are
more affordable, as personal computers are less expensive and shared resources reduce
costs.
Smartphones are considered a disruptive technology because they fundamentally changed the
way people interact with the internet, businesses, and each other—displacing older technologies
and business models. According to Chapter 3 of your document, here's why:
1. New Business Models: Smartphones didn't just enhance existing tech—they enabled
entirely new business models. Companies like Apple and Google identified massive
consumer markets that traditional PC manufacturers overlooked. These firms created
devices that were portable, app-centric, and deeply integrated with mobile internet,
allowing for new platforms and services to flourish (e.g., ride-sharing, mobile banking,
social media apps).
2. Displacement of Established Technologies: Just as personal computers disrupted the
market for mainframes and minicomputers, smartphones have disrupted the PC industry.
The widespread adoption of smartphones and tablets has reduced reliance on desktop and
laptop computers, especially for everyday tasks like browsing, communication, and
media consumption.
3. Digital Disruption: The disruption isn't just about hardware. Smartphones represent
digital disruption—a type of business model disruption driven by changes in information
technology. Through the mobile app ecosystem, smartphones created new ways to deliver
services and engage customers, often cheaper, more conveniently, or more personally
than previous methods.
4. Market Shift and Consumer Behavior: Smartphones have shifted where and how
people access the internet. For example, more than 93% of U.S. internet users accessed
the web using a mobile device in 2022. The always-on, always-with-you nature of
smartphones has made them central to everyday life and commerce, which existing PC-
based businesses failed to anticipate.
5. Innovation Speed and Entrepreneurial Entry: Disruptors using smartphone platforms
(e.g., app developers, mobile service providers) were often smaller or newer firms. These
innovators adopted new technologies faster than established companies, captured new
market niches, and eventually challenged dominant firms—classic signs of disruptive
innovation.
Smartphones paved the way for the development of a mobile app ecosystem—a completely new
market that didn’t exist before. App stores like the Apple App Store and Google Play Store allow millions
of independent developers to create and distribute apps, changing how users consume content, play
games, learn, and work
Thus, smartphones are not just communication tools—they are commerce platforms.
In short, smartphones are disruptive not just because of what they are, but because of how they
enabled new markets, business strategies, and user behaviors that older tech and companies were
unprepared for.
A Tier 1 Internet Service Provider (Tier 1 ISP) plays a foundational role in Internet
infrastructure by owning and operating the long-haul fiber-optic networks that form the core
backbone of the Internet. Here's a breakdown of their role based on Chapter 3 of your
document:
AT&T
Verizon
Lumen Technologies
T-Mobile (formerly Sprint)
Cogent Communications
Zayo Group
IXPs (Internet Exchange Points) serve a critical role in the Internet infrastructure by allowing
different Internet networks—such as ISPs (Internet Service Providers), content delivery
networks (CDNs), and large enterprises—to interconnect directly and exchange data traffic
with one another.
mobile broadband
11. What are the differences among a public, a private, and a hybrid cloud?
VERSION 2:
Connection
Connection-oriented (requires handshake) Connectionless (no handshake needed)
Type
Data
Maintains correct sequence of packets No sequence assurance
Sequencing
Congestion Yes – includes flow control and congestion No – sends data regardless of network
Aspect TCP (Transmission Control Protocol) UDP (User Datagram Protocol)
Web browsing, email, file transfers, secure Live video/audio streaming, VoIP, online
Use Cases
transactions gaming, DNS lookups
Like sending a registered letter – Like sending postcards – fast, but may get
Analogy
guaranteed delivery lost or out of order
TCP: "Establishes connections among sending and receiving computers and handles
assembly and reassembly of packets... ensures packets are received in the same sequence,
without any missing".
UDP: "Provides an alternative to TCP when the error-checking and correction
functionality of TCP is not necessary".
🧠 Summary:
Use TCP when accuracy and reliability matter (like emails or web pages).
Use UDP when speed is more important than perfect delivery, like in real-time video
or voice communications.
13. What are some of the challenges of policing the Internet? Who has the final say when it
comes to content on the Internet?
Policing the Internet is a complex and highly controversial issue due to the decentralized and
global nature of the Internet. Unlike traditional media, which is often controlled within
national borders, the Internet operates across jurisdictions, making enforcement of rules and laws
much more difficult. Here are several key challenges:
1. Decentralized Architecture
The Internet is built on a decentralized network of servers and routers that span the globe.
This means no single entity has complete control over its content or flow of information.
Policing content requires cooperation among various countries, service providers, and
organizations, which can be difficult to coordinate.
2. Jurisdictional Conflicts
Different countries have different laws regarding acceptable content. For example, what
is considered hate speech in one country may be protected as free speech in another. This
leads to conflicts when content is accessible globally but violates local laws.
3. Anonymity and Encryption
Users can remain anonymous and use encryption to hide their identities and activities.
This makes it difficult for law enforcement to trace illegal actions such as cybercrime,
hacking, or the distribution of illegal content.
4. Volume and Speed of Content Creation
Millions of pieces of content are created and shared every minute. Monitoring and
moderating such a massive amount of data is technically and logistically overwhelming,
even for advanced AI moderation tools.
5. Private Sector Control
Much of the content distribution on the Internet is managed by private companies like
Google, Facebook, and Twitter. These platforms set their own rules for content
moderation, which may or may not align with government regulations or public
expectations.
Who has the final say when it comes to content on the Internet?
There is no single authority that has the final say. Instead, it is a complex interplay between
governments, private companies, international organizations, and end users:
Governments can enforce laws and regulations within their own borders and often
pressure companies to comply with national laws (e.g., content takedown requests).
Private companies (such as social media platforms and ISPs) create their own terms of
service and have significant power over what content stays up or gets removed.
International bodies like ICANN and the ITU help regulate technical standards but do
not govern content.
End users influence content through reporting, engagement, and public pressure, which
can drive companies to take action (or not).
In some authoritarian countries (e.g., China, Iran), governments exercise strict control over
Internet content by routing all traffic through central authorities. In more open societies like the
U.S., control is more distributed, though companies still play a major gatekeeping role.
14. Compare and contrast the capabilities of Wi-Fi and cellular wireless networks.
Wi-Fi Networks
Operate using unlicensed spectrum bands (typically 2.4 GHz and 5 GHz).
Provide high-speed access to the Internet through a local wireless access point (router).
Often used in homes, offices, cafes, and other fixed locations.
Advantages:
High speeds: Wi-Fi 6 can support up to 10 Gbps under ideal conditions.
Cost-effective: Once installed, users don’t pay per usage.
Control: Users have direct control over the network (e.g., setting passwords, managing
devices).
Limitations:
Limited range: Effective only within a short distance (~100 feet indoors).
Dependent on wired infrastructure: A Wi-Fi router requires a wired broadband
connection.
Mobility restrictions: Users need to be near access points for uninterrupted connectivity.
Advantages:
Limitations:
More expensive: Cellular data plans typically have monthly fees or usage-based
charges.
Dependent on carrier infrastructure: Users are reliant on mobile network operators.
Signal variation: Speed and connectivity can vary depending on location, weather, and
tower load.
omparison Table
Speed High (up to 10 Gbps with Wi-Fi 6) High (up to 10 Gbps with 5G)
According to Chapter 3: E-commerce Infrastructure, Wi-Fi is ideal for local wireless access in homes or
businesses, while cellular networks are suited for ubiquitous connectivity and mobility, particularly in
the context of mobile commerce and IoT applications. The rise of 5G is especially transformative,
enabling not just faster data but support for advanced services like autonomous vehicles and
augmented reality
16. What role does CSS play in the creation of web pages?
Cascading Style
Sheets (CSS)
tell a web browser how
to display the HTML
elements on the screen
HTML defines the structure of a document, including the headings, graphic positioning,
tables, and text formatting. HTML is used in conjunction with Cascading Style
Sheets (CSS), which tell a web browser how to display the HTML elements on the screen.
HTML provides the structure of the page, while CSS provides the style. HTML web pages
can be created with any text editor, such as Notepad or WordPad, using Microsoft Word
(simply save the Word document as a web page), or any one of several web page
development tools such as Microsoft Visual Studio or Adobe Dreamweaver CC.
1. Styling Content
CSS defines colors, fonts, font sizes, spacing, margins, padding, and borders. For
example, it determines what color your headings are or how big your paragraphs appear.
2. Layout Control
CSS enables designers to organize the layout of a page using techniques like grid,
flexbox, and positioning, creating multi-column layouts, navigation bars, and footers.
3. Responsive Design
CSS allows for the creation of responsive websites that adapt to different screen sizes
(mobile, tablet, desktop) using media queries.
4. Separation of Concerns
By separating content (HTML) from presentation (CSS), websites are easier to maintain,
update, and scale. Developers can make global design changes by editing a single CSS
file.
5. Consistency Across Pages
A shared CSS file ensures that all pages on a site follow a consistent design language—
such as the same font styles, button colors, or layout structure.
6. Animation and Interactivity
CSS can add visual effects and transitions, such as hover effects, fade-ins, or animated
menus, enhancing the user experience.
CSS controls how your website looks. It’s the design layer of the web, turning plain HTML into a
visually polished and user-friendly interface.
17. Why was the development of the browser so significant to the growth of the Web?
The development of the web browser was a turning point that made the World Wide Web
accessible, understandable, and usable by the general public—not just tech experts. It
transformed the Web from a niche academic tool into a global platform for communication,
commerce, education, and entertainment.
1. User-Friendly Interface
o Early browsers like Mosaic (1993) and later Netscape Navigator provided a
graphical interface that allowed users to click links, view images, and navigate
with ease, replacing the need for typing complex commands.
2. Universal Access to the Web
o Browsers enabled anyone with a computer and Internet connection to access
websites, dramatically expanding the Web’s audience.
3. Integration of Multimedia
o Browsers could display text, images, video, and audio all in one interface,
making the Web visually engaging and more powerful than traditional media.
4. Support for HTML and Hyperlinks
o Browsers were designed to read and interpret HTML, the basic language of the
Web, and support hyperlinks, which created an interconnected web of
information.
5. Platform for Innovation
o Web browsers became platforms for running web-based applications and
integrating with plug-ins, scripts, and eventually JavaScript, allowing for
interactive websites and e-commerce systems.
6. Standardization and Interoperability
o Browsers helped push the adoption of web standards (HTML, CSS, JavaScript),
ensuring websites could work across different devices and platforms.
The textbook explains that the browser was essential to the explosive growth of the Web in
the 1990s because it made online content navigable and visually appealing, which attracted
businesses, media, educators, and consumers to create and consume content online.
🧠 In Summary:
The browser acted as the doorway to the Internet. Without it, the Web would have remained
a complex system used only by researchers. With it, the Web became a global phenomenon.
HTML5
most recent version
of HTML
19. Name and describe five services currently available through the Web.
20. What has been the impact of the development of mobile apps?
Chapter 4:
QUESTIONS
1. What are the main factors to consider in developing an e-commerce presence?
✅ Summary:
To develop a successful e-commerce presence, firms must consider their strategic vision,
revenue model, target audience, market environment, content strategy, internal capabilities
(SWOT), platform choices, implementation plan, and costs. A structured approach ensures
the business aligns with its goals while providing a seamless, competitive, and sustainable online
experience.
2. Define the systems development life cycle, and discuss the various steps involved in
creating an e-commerce site.
Definition of SDLC:
The Systems Development Life Cycle (SDLC) is a structured, step-by-step methodology used to plan,
develop, and maintain an information system—in this case, an e-commerce site.
SDLC provides a systematic approach that ensures the final product is well-designed, functional, meets
business requirements, and can be implemented and maintained effectively.
1. Systems Analysis/Planning
2. Systems Design
Create both:
o Logical design: Information flow, database structure, user interface logic.
o Physical design: Hardware/software components, server configurations, network setup.
5. Implementation
6. Maintenance
Ongoing process to update content, improve features, apply security patches, and respond to
user needs.
According to the textbook, maintenance can account for up to 50% of total cost over the
system’s life cycle.
Define the Systems Development Life Cycle (SDLC), and Discuss the Various
Steps Involved in Creating an E-commerce Site
The Systems Development Life Cycle (SDLC) is a structured methodology used to design,
develop, implement, and maintain information systems. In the context of e-commerce, it serves
as a critical framework to ensure that an online presence (such as a website or app) is
strategically aligned with business goals, technically robust, and responsive to user needs.
This is the first and most important stage of the SDLC. It focuses on defining the business
objectives of the e-commerce site and determining the system requirements that will fulfill
those goals.
2. Systems Design
At this stage, the architecture of the e-commerce system is created. It includes both logical and
physical designs.
Logical design: Describes data flow, input/output processes, user interaction, and
website functionality without getting into hardware specifics.
Physical design: Involves actual layout of servers, database systems, networking, and
software platforms (e.g., whether to use cloud hosting, what CMS to use, etc.).
📝 Key Tools: Site maps, wireframes, mockups, database schema, design documentation.
This phase involves the actual development of the e-commerce website or application.
Thorough testing ensures that the e-commerce site functions as intended and is secure, reliable,
and user-friendly.
5. Implementation
6. Maintenance
📌 Important: The textbook highlights that site maintenance can consume over 50% of the
total cost of ownership, often exceeding the cost of initial development.
✅ Conclusion
The SDLC provides a comprehensive framework that ensures the successful creation and long-
term sustainability of an e-commerce presence. Each phase is critical—from strategic planning to
testing and post-launch support. By following this life cycle, businesses can reduce risk, control
costs, and enhance customer satisfaction.
📘 Reference
Laudon, K. C., & Traver, C. G. (2023). E-commerce: Business, Technology, Society (17th
Edition). Chapter 4: Building an E-commerce Presence, pp. 188–190.
3. Discuss the differences between a simple logical and a simple physical website design.
Discuss the Differences Between a Simple Logical and a Simple Physical Website
Design
Both are crucial components of the Systems Development Life Cycle (SDLC), but they serve
different purposes and occur at different stages in the planning and development process.
Definition:
Logical design refers to the abstract representation of a website’s structure and functionalities,
independent of specific technologies or hardware.
Focus:
Key Components:
Goal:
To ensure that the user journey and business needs are clearly mapped out, before any coding
or hardware decisions are made.
2. Physical Website Design
Definition:
Physical design refers to the actual implementation of the website using specific technologies,
hardware, and software platforms.
Focus:
Key Components:
Goal:
To translate the logical design into a functioning website, optimized for performance,
scalability, and reliability.
✅ Summary of Differences
4. Why is system testing important? Name the types of testing and their relationship to each
other.
Why is System Testing Important? Name the Types of Testing and Their
Relationship to Each Other
✅ Importance of System Testing in E-commerce Development
System testing is a critical step in the Systems Development Life Cycle (SDLC). In the context of e-
commerce, system testing ensures that a website or application:
Works as intended across all its functions (e.g., browsing, cart, checkout).
Handles user interactions reliably under different conditions.
Is secure, stable, and scalable before going live.
Minimizes the risk of critical failures that can lead to loss of revenue, poor customer experience,
or security breaches.
As noted in the textbook, failing to test thoroughly before deployment can result in lost sales, negative
publicity, and costly post-launch fixes.
Laudon & Traver (2023) describe several key types of testing, each building on the results of the
previous one:
1. Unit Testing
What it does: Tests individual components or functions (e.g., login form, search bar).
Goal: Ensure each small module performs correctly in isolation.
Performed by: Developers during or right after coding.
2. System Testing
What it does: Tests the complete, integrated system to check if all parts work together.
Goal: Validate that all components (front-end, back-end, database) interact correctly.
Scope: End-to-end testing of the site’s full functionality.
3. Integration Testing
What it does: Focuses on the interaction between modules or systems, such as the connection
between shopping cart and payment gateway.
Goal: Ensure data passes accurately between components (e.g., product info to checkout).
4. Load Testing (Performance Testing)
What it does: Simulates high volumes of users or transactions to assess system performance
under stress.
Goal: Determine how the site behaves under peak traffic (e.g., Black Friday sales).
5. Acceptance Testing
What it does: Final testing stage where actual users or stakeholders validate the system.
Goal: Confirm the site meets business requirements and is ready for deployment.
These testing types are typically conducted in a sequential and layered manner:
Unit Testing → Integration Testing → System Testing → Load Testing → Acceptance Testing
“You must test the system’s functionality, usability, and security before deployment. Failure to test
properly can lead to loss of business, poor user experience, and a damaged brand.”
— Laudon & Traver (2023), Chapter 4, p. 196–197
1. Unit Testing
3. System Testing
Purpose: Measure system behavior under expected and peak user loads.
Scope: Stress, scalability, and reliability tests under simulated traffic.
Performed by: Performance testers.
Use Case: Black Friday sales simulation or multiple simultaneous checkouts.
Tools: Apache JMeter, LoadRunner, BlazeMeter.
5. Acceptance Testing
Purpose: Confirm the system meets business requirements and is ready for production.
Scope: High-level validation from the perspective of the client or end-user.
Performed by: Clients, product owners, or end-users.
Types: Alpha testing (internal), Beta testing (external limited users).
Tools: Manual or scripted UAT platforms like Zephyr, TestLink.
Unit Testing Validate correctness of Developers Smallest code JUnit, Mocha, During coding
individual
When
Testing Type Purpose Performed By Scope Key Tools
Performed
Module-to-
Integration Test interfaces between Developers or Postman, After unit
module
Testing components/modules Testers SoapUI testing
interaction
Entire e-
System Verify complete system Selenium, Before
QA Engineers commerce
Testing functionality TestRail deployment
platform
End-to-end Manual,
Acceptance Ensure business Client/User Final step
(real-world use Zephyr,
Testing requirements are met Stakeholders before release
cases) TestLink
“Testing must cover unit, integration, and system levels and include both functional and performance
testing to ensure the site meets customer expectations and is reliable under load.”
5. Compare the costs for system development and system maintenance. Which is more
expensive, and why?
Compare the costs for system development and system maintenance. Which is
more expensive, and why?
According to the textbook, system development and maintenance costs are often roughly
equivalent, at least in the short term:
"In general, the annual system maintenance cost will roughly parallel the development cost.
An e-commerce site that cost $40,000 to develop is likely to require a $40,000 annual
expenditure to maintain. Very large e-commerce sites experience some economies of scale, so a
site that cost $1 million to develop might require $500,000 to $750,000 per year to maintain."
— Page 197
However, maintenance tends to become more expensive over time, especially for e-commerce
systems. The reason is:
1. E-commerce sites are never truly finished—they are dynamic and require constant
updates and improvements, unlike traditional systems such as payroll systems.
2. A breakdown of maintenance activities shows that:
o 20% goes to fixing bugs and emergency issues.
o 20% for updates to reports, data files, and database connections.
o 60% is spent on ongoing system management and improvements.
“E-commerce sites are never finished: They are always in the process of being built and
rebuilt. They are dynamic—much more so than payroll systems.”
— Pages 197–198
Conclusion
While initial development can be costly, ongoing maintenance often ends up being more
expensive in the long run due to the continuous need for updates, improvements, and support.
This is especially true for e-commerce systems, which evolve quickly and must adapt to
changing technologies and user needs.
Cost Estimate Fixed cost (e.g., $40,000) Similar annual cost (e.g., $40,000/year)
Long-term Cost High at first, then stops Becomes more expensive over time
Planning, design, coding, testing, and Bug fixing, updates, content changes,
Nature of Work
deployment performance tuning
Change
Rare after launch Continuous and frequent
Frequency
Textbook
Pages 197–198 Pages 197–198
Reference
Why?
1. Ongoing Costs:
Unlike system development, which is a one-time investment, maintenance is continuous
—costs recur every year.
2. Dynamic Nature of E-commerce:
E-commerce systems are constantly evolving. As stated in the textbook:
“E-commerce sites are never finished… They are dynamic—much more so than
payroll systems.”
(Page 197–198)
3. Continuous Improvement:
Maintenance isn’t just fixing bugs—it includes performance tuning, adding new features,
adapting to user needs, and keeping up with technological change.
4. Typical Cost Breakdown:
o 20% – fixing bugs and emergencies
o 20% – modifying reports, files, and data links
o 60% – ongoing improvements and system management
(Page 198)
Conclusion:
System maintenance is more expensive over time because it is an ongoing effort that
supports the system’s performance, security, and adaptability in a rapidly changing
environment.
📖 Source: E-commerce 2023, Laudon & Traver, 17th ed., pages 197–198
6. Why is a website so costly to maintain? Discuss the main factors that impact cost.
Factor Explanation
Content Updates Regularly adding or updating product info, blogs, images, videos, etc.
Factor Explanation
Software and Plugin Updates Keeping CMS (like WordPress), plugins, and extensions up-to-date.
Backup and Recovery Services Regular backups and system recovery plans to avoid data loss.
Customer Support Integration Maintaining chatbots, forms, help sections, or e-mail systems.
Hosting and Domain Costs Paying for reliable hosting services and domain name renewals.
Conclusion:
A website is costly to maintain because it’s a living system that must evolve with user expectations,
security threats, and technological trends. For e-commerce especially, the cost is an investment in user
experience, trust, and performance.
Modern users expect seamless experiences: fast load times, mobile compatibility,
personalization, and intuitive design.
These expectations aren’t static. They evolve with trends and technology (e.g., AI chatbots,
voice search, mobile-first design).
Impact: Ongoing UX/UI testing, A/B experiments, and performance tuning require expert staff or
services.
➡️Cost driver: Security audits, firewall management, SSL, intrusion detection, penetration testing.
Websites use third-party tools for payments, analytics, ads, CRM, etc. These external systems
update often, and your site must adapt.
Incompatibility risks crashing critical features like shopping carts or user login.
➡️Cost driver: Developer time to ensure compatibility, testing environments, license renewals.
To stay relevant and competitive, content must be fresh and optimized for search engines (SEO).
Search engines frequently update algorithms (e.g., Google’s Helpful Content Update), requiring
site audits and content rewriting.
➡️Cost driver: Copywriting, SEO specialists, data analytics subscriptions (like SEMrush, Ahrefs).
As traffic grows, a website must scale without degrading performance (e.g., slow loading on
Black Friday = lost sales).
This involves load balancing, CDN usage, caching strategies, and database optimization.
➡️Cost driver: Advanced hosting (cloud platforms like AWS), DevOps engineers, auto-scaling
architecture.
➡️Cost driver: Legal consultancy, compliance tools, accessibility audits and redesign.
➡️Cost driver: Marketing automation tools, analyst support, campaign A/B testing.
The website is a digital storefront. Downtime = lost revenue. Slow speed = cart abandonment.
Maintenance is not just a technical cost—it’s an investment in business continuity, customer
trust, and brand reputation.
➡️Cost driver: High-availability infrastructure, SLAs with service providers, monitoring systems (e.g.,
New Relic, Datadog).
Security Threat prevention and response SSL, firewalls, audits, penetration testing
Marketing SEO, content, analytics Tools, strategy consulting, ongoing content edits
User Experience Design optimization, speed A/B testing, front-end work, UX research
Compliance Legal, privacy, accessibility Legal advice, WCAG fixes, cookie policy mgmt
A website is not a project. It's a product—and like any product, it needs care, evolution, and
protection.
Responsive design
6. Mobile & Browser Adapting site features to perform well across
updates, cross-browser
Compatibility different devices and browser versions.
testing
Maintaining search visibility requires updated SEO SEO audits, analytics tools
8. SEO & Analytics
practices, meta tags, keyword optimization, and like Google Analytics,
Tools
performance tracking. SEMrush
10. Regulatory Privacy laws (like GDPR/CCPA) and accessibility Cookie consent tools,
Compliance standards (WCAG) change frequently and must be accessibility audits
Factor Explanation Example Costs
📌 Key Insight:
Maintenance cost is not only about “keeping the site running”—it’s about adapting to a changing
environment: users, technology, regulations, and competition.
Total $1,000–$4,000+
7. What are the main differences between single-tier and multi-tier site architecture?
All components (UI, logic, database) are Components are separated into multiple
Structure
in one layer layers/tiers
Maintainability More difficult to update or debug (all Easier to maintain; updates can be made to
Aspect Single-tier Architecture Multi-tier Architecture
Lower, due to all parts being tightly Higher, because tiers can be isolated and
Security
coupled protected independently
Deployment Faster and simpler to deploy More complex to deploy and manage
🧱 Example:
Single-tier:
A WordPress site where everything (pages, content, logic, and database) is handled by one
server.
Multi-tier (3-tier):
o Presentation Tier: Web browser or mobile app interface
o Application Tier: Server-side logic (e.g., Java, PHP, [Link])
o Data Tier: Database server (e.g., MySQL, MongoDB)
📌 Conclusion:
Use single-tier for simple websites where speed and ease of deployment matter.
Use multi-tier for complex, scalable, secure, and high-performance applications.
8. Name the basic functionalities that web server software should provide.
2. URL Mapping Maps incoming URLs to the correct web pages, scripts, or applications.
3. File Delivery Serves static content such as HTML files, images, CSS, JavaScript to the
Functionality Description
user's browser.
4. Execution of Server-Side Executes dynamic scripts (e.g., PHP, [Link], Python) to generate
Code custom web content.
5. Authentication &
Supports login systems and user access controls for protected resources.
Authorization
Can work with REST APIs or web services for dynamic content and
10. API Support / Integration
backend communication.
Delivers custom error pages for 404 Not Found, 500 Internal Server
12. Error Handling
Error, etc.
📌 Conclusion:
A good web server must ensure reliability, speed, security, and flexibility to support both static and
dynamic web content, while also being scalable and easy to manage.
9. What are the main factors to consider in choosing the best hardware platform for your
website?
To choose the best hardware platform for your website, there are several key factors to consider:
1. Speed:
o Assess how fast your site needs to respond under normal and peak loads.
o Consider the number of simultaneous users, type of customer requests, content
types, and available bandwidth.
2. Capacity:
o Ensure the platform can handle your expected traffic and data processing load.
o This includes enough computing and telecommunications capacity to avoid
overloads or downtime.
3. Scalability:
o Your platform should be able to grow with your business. This can be achieved
through:
Vertical scaling (upgrading individual servers with more power),
Horizontal scaling (adding more servers),
Improving processing architecture.
4. Type of Site and Content:
o Different site types (e.g., shopping, self-service, B2B) require different levels of
performance.
o Dynamic content, security requirements, and use of legacy systems also affect
hardware needs.
5. User Behavior and Demand Patterns:
o Consider peak usage times, number of concurrent users, and how demanding user
actions are (e.g., checkout, search).
6. Hosting Approach:
o Decide whether to host in-house or use a cloud-based service. Outsourcing can
simplify scalability and performance concerns.
These factors are detailed in Chapter 4, Section 4.4 "Choosing Hardware", especially
on pages 207 to 211 of the textbook you provided
1. Demand-Side Considerations
📍 Pages 207–209
Simultaneous Users: How many people will be accessing the site at once? High concurrency
affects performance.
Type of Site and Content: Static vs. dynamic, shopping vs. B2B, etc. Different site types require
different resource intensities.
Nature of Requests: Data-heavy transactions like searches, checkouts, and registrations require
more processing.
Security Requirements: Sites with login/authentication demand more system resources.
Legacy System Integration: Connecting with old databases or systems may slow things down if
not properly architected.
Peak Load Management: Performance degrades gracefully until a tipping point, after which
delays and crashes occur (shown in Figure 4.11).
🔧 2. Supply-Side Solutions
📍 Pages 209–211
Once you understand the demand, here’s how you can meet it:
🔁 Scalability Strategies:
Vertical Scaling: Add processors or upgrade to more powerful servers. Drawbacks include cost
and risk of downtime if a key server fails.
Horizontal Scaling: Add multiple servers and distribute load using load balancers. It’s cheaper
and more fault-tolerant.
Processing Architecture Improvements:
o Separate static from dynamic content
o Use caching for static files and database tables
o Dedicate servers to CPU-intensive tasks (e.g., checkout)
o Optimize code and database schema
💡 Key Takeaways
DevOps is a modern organizational strategy that builds upon Agile development principles to
further enhance speed, efficiency, and collaboration in software delivery.
🧠 Definition of DevOps:
DevOps extends Agile by not just involving development teams, but also operations
teams.
Agile focuses on iterative development, continuous feedback, and flexibility during
software creation.
DevOps takes this a step further by:
o Integrating deployment and maintenance into the process,
o Emphasizing automation, standardized workflows, and continuous testing,
o Ensuring that code changes can be reliably and quickly released to production.
11. Compare and contrast the various scaling methods. Explain why scalability is a key
business issue for
websites.
✅ Summary:
Scalability ensures a website can grow with the business, adapt to changes in demand, and
provide a stable and reliable experience. Among scaling methods, horizontal scaling offers the
best balance of flexibility and resilience, while vertical scaling can be a simpler but more
limited approach. Architectural enhancements offer long-term performance benefits tailored to
the specific needs of a business.
Infrastructure Upgrade existing server Deploy load balancers, Recode or restructure app &
Change hardware. clusters, or cloud instances. system components.
Less efficient over time – Economies of scale – cloud High upfront dev cost; pays
Cost Efficiency hardware cost increases scaling is cost-effective off long-term with optimized
non-linearly. when automated. ops.
Time to Fast – just add or upgrade Moderate – needs Long – may require
Implement hardware. network/config tuning. architectural refactoring.
Customer
Downtime or slow response causes frustration → loss of trust & users.
Satisfaction
Global Expansion Scalability supports high traffic across geographies and time zones.
Disaster Recovery Redundant scaling solutions help maintain continuity even during failures.
12. What are the eight most important factors impacting website design, and how do they
affect a site’s
operation?
The eight most important factors impacting website design and how they affect a site's
operation are outlined in Table 4.9 of your textbook on page 213. Here's a detailed explanation
of each factor and its operational impact:
✅ 1. Functionality
What it means: Pages should work correctly, load quickly, and guide the user toward
products or services.
Impact: Broken links, errors, or slow-loading pages frustrate users and cause them to
leave the site without completing purchases.
✅ 2. Informational
What it means: Easy access to clear, useful information about the company and its
products.
Impact: Boosts customer trust, reduces confusion, and supports informed purchasing
decisions.
✅ 3. Ease of Use
✅ 4. Redundant Navigation
What it means: Offering multiple ways to reach the same content (e.g., top menu, footer
links, search).
Impact: Increases accessibility and usability for different user preferences or browsing
styles.
✅ 5. Ease of Purchase
What it means: Streamlined checkout with one or two clicks.
Impact: Reduces cart abandonment and improves transaction completion rates.
✅ 6. Multi-Browser Functionality
What it means: Compatibility with all major browsers (e.g., Chrome, Safari, Firefox).
Impact: Ensures a consistent experience regardless of how users access the site,
preventing usability issues.
✅ 7. Simple Graphics
✅ 8. Legible Text
📄 Location in Textbook:
These eight principles are found in Table 4.9: "The Eight Most Important Factors in
Successful E-Commerce Site Design" on page 213 of the textbook
13. What are Java and JavaScript? What role do they play in website design?
What are Java and JavaScript, and what roles do they play in website design?
🟡 Java
🔹 What it is:
A general-purpose, object-oriented programming language initially developed by Sun
Microsystems.
Designed to be platform-independent using the “Write Once, Run Anywhere” (WORA)
philosophy.
Java programs are executed by the Java Virtual Machine (JVM), enabling compatibility across
operating systems.
Traditionally used to create Java applets—small programs embedded in web pages and
executed on the client side.
Due to security concerns, modern browsers no longer support applets.
Today, Java is primarily used in server-side development, including:
o Java Server Pages (JSP): Combines HTML and Java to dynamically generate web pages.
o Servlets: Java programs that run on the server to modify web content before it's sent to
users.
Used in web application backends, enterprise systems, and Android mobile apps.
🔹 Textbook Location:
JavaScript
🔹 What it is:
🔹 Textbook Location:
Runs on Server (with JVM); formerly client Browser (client-side), also server ([Link])
14. Name and describe three methods used to treat customers individually. Why
are they significant to
e-commerce?
Three Methods Used to Treat Customers Individually in E-Commerce
These methods are crucial because they allow businesses to simulate personalized, face-to-face
interactions in the digital space—boosting customer satisfaction, retention, and sales.
🧩 1. Personalization
📌 Description:
Personalization is the custom tailoring of messages, content, and offers to individual users
based on their name, preferences, interests, and past behavior on the site.
Implemented using tools like cookies and user profiles.
💡 Why It Matters:
📌 Description:
Customization goes beyond personalization by changing the actual product or service itself to
fit the customer’s needs or preferences.
Example: NIKEiD lets customers design their own sneakers (color, material, logo).
💡 Why It Matters:
🧩 3. Customer Co-Production
📌 Description:
A more advanced form of customization where the customer actively participates in creating
the product or service.
Example: My M&M’s lets users create their own candy with custom messages.
💡 Why It Matters:
Before launching a website, e-commerce businesses must establish several core policies to ensure legal
compliance, protect customers, and foster trust. These policies also create a stable framework for
ongoing operations.
🔐 1. Privacy Policy
📌 What it is:
A publicly available statement that explains how the business collects, uses, stores, and shares
customer data (such as name, email, purchase history, browsing behavior, etc.).
📌 Why it matters:
♿ 2. Accessibility Policy
📌 What it is:
A set of design standards to ensure that users with disabilities (visual, hearing, motor, cognitive) can
effectively use the site (e.g., screen-reader compatibility, alt text, keyboard navigation).
📌 Why it matters:
Promotes inclusivity.
May be legally required under laws like the Americans with Disabilities Act (ADA).
Avoids lawsuits and enhances brand reputation.
📌 What it is:
A legal agreement that defines what users can and cannot do on the site (e.g., rules on returns, content
ownership, prohibited behaviors).
📌 Why it matters:
📌 What it is:
Internal and public-facing commitments to secure user data, including encryption, limited retention,
access control, and breach response protocols.
📌 Why it matters:
📖 Related info: Chapter 5, Page 245 and Table 8.7 on Page 483
✅ Builds trust Users are more likely to share data and make purchases if they feel protected.
✅ Avoids lawsuits Clear policies reduce risk of user disputes and regulatory penalties.
✅ Operational clarity Sets expectations for both the business and the users.
16. What are the advantages and disadvantages of mobile first design?
Optimized User By focusing on mobile constraints (small screens, touch interfaces), designers
Experience ensure critical content and features are accessible and easy to use.
Mobile-first forces lean design with smaller file sizes and fewer HTTP requests,
Performance-Oriented
improving page load speed, a key factor in conversion rates.
Progressive After building for mobile, designers can add features for larger screens, ensuring
Enhancement consistency and optimal functionality across all devices.
Focus on Core Designers are required to prioritize the most essential elements of the user
Features journey, avoiding clutter.
Alignment with User With over 90% of users accessing websites from mobile at least part of the time,
Behavior mobile-first aligns with current consumer trends.
Challenging for Desktop- Designers used to full-featured desktop sites may struggle to rethink
Oriented Designers UX for smaller screens.
May not work well for applications requiring extensive data entry,
Complex for Feature-Rich Sites
large forms, or advanced functionality.
Requires Skill in Responsive Designers must be adept at using CSS frameworks and design systems
Design to ensure smooth scaling up from mobile.
🔍 Summary
Mobile First Design
Goal Prioritize mobile user experience, then enhance for larger devices.
17. What is the difference between a mobile web app and a native app?
🔹 Definition:
A website optimized for mobile devices, accessible through a mobile browser (e.g., Safari,
Chrome).
Built using HTML, CSS, and JavaScript.
🔹 Key Characteristics:
Feature Details
🔹 Definition:
An app developed specifically for a mobile operating system like iOS (Swift/Objective-C) or
Android (Java/Kotlin).
Downloaded and installed via app stores (e.g., Apple App Store, Google Play).
🔹 Key Characteristics:
Feature Details
📊 Summary Comparison
Feature Mobile Web App Native App
Cost to Develop Lower (one version for all) Higher (separate codebases)
Device Access Limited (e.g., camera, GPS via APIs) Full device integration
Mobile web apps are ideal for wide reach and quick updates.
Native apps offer better user experience and can drive loyalty through features like push
notifications, offline shopping, and mobile payments.
18. In what ways does a hybrid mobile app combine the functionality of a mobile web app
and the functionality of a native app?
A hybrid mobile app combines the best features of both mobile web apps and native apps. It’s
essentially a web application wrapped in a native shell, allowing it to run across platforms while still
taking advantage of native device features.
Codebase Built using web technologies (HTML, CSS, JavaScript) but packaged as a native app.
Cross-Platform
A single codebase runs on multiple platforms (iOS, Android, etc.).
Support
Offline Access Often supports offline functionality with caching, similar to native apps.
Easier to update via the web, but some features may still require app store
Updates
updates.
Generally faster than web apps, but may be slower than pure native apps for
Performance
high-performance needs (e.g., gaming).
✅ Lower Cost Reduces the need for separate teams for iOS and Android.
Ionic
React Native (technically hybrid-native)
Apache Cordova
Flutter (Google; also used for hybrid and cross-platform)
📌 Definition:
PHP (short for Hypertext Preprocessor) is a server-side scripting language designed primarily
for web development.
🔧 Common Applications:
💡 Summary: