0% found this document useful (0 votes)
17 views

Database Report

Uploaded by

Rashid Naveed
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Database Report

Uploaded by

Rashid Naveed
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Database management

system

Name : Masoom
student id : BSE

Subject : DBM

Section : 4-B

Assignment : 01
Q:1 Discuss about the difference in website, webpage and mobile
app Also discuss what is different in E commerce based
web/mobile app/ marketing based web/ mobile app ?

Difference Between :
website webpage Mobile app

website is a set of related webpage is a mobile app is a


web pages, that are subset of a website software application
typically identified by a that are single that designed to run
common domain name. document or page on mobile devices like
within a website tablets and
smartphones
it contain various types it is a part of a Mobile apps often
of contents, such as larger website and offer more interactive
images,texts, videos it contains specific features compared to
,interactive elements.etc information on a websites.
particular topic.

Websites do not require Webpages do not mobile apps need to


installation, . require installation be downloaded and
installed
Website require an webpage Some mob apps can
internet connection to applications function offline,
function. require an internet depending on their
connection to design and the nature
function. of the content or
features they provide.
Difference Between :

commerce based web/mobile Marketing based web/ mobile app

Focus on buying and selling Focus to promoting products,


products or services online. services, or brands.through
online
Features include product Includes features for content
catalogs, shopping carts, and marketing, social media
secure payment gateways. integration, and analytics.
E-commerce apps aim for while marketing apps prioritize
seamless purchasing user engagement through
experiences content, social media, and
promotions.
E-commerce apps generate marketing apps may focus on
revenue through direct sales, advertising, lead generation, or
brand awareness.

Q:2 Write the steps to work on mobile app ( basic steps


from installation to the first page certain?

Here are some basic steps to works on mobile app , from


installation to creating first page :

 Install Development Tools:


Download and install an Integrated Development
Environment (IDE) such as Android Studio for Android apps
or Xcode for iOS apps
 Choose a Mobile App Framework:
Select a framework based on your preference and project
requirements (e.g., React Native, Flutter, Xamarin)
 Set Up a New Project:
create a new project. Define project settings like the app's name
and command tools.

Design User Interface (UI):


Use the IDE's design tools to create the initial layout for your
app's first page. This involves placing buttons, text fields, and other
UI elements

 Code Functionality:
Write the code to implement the functionality of your app. This
could involve handling button clicks, retrieving data, or any other
desired behavior.

 Test the App:


- Utilize built-in emulators or connect physical devices to test your
app. Ensure that it behaves as expected and fix any bugs or issues.

 Debug and Optimize


Debug the app to identify and resolve any programming errors.
Optimize the code for performance and responsiveness.

 Build the App:-


Once testing is successful, build the app. This process compiles
your code into an executable file for the target platform
Q:3 Explore and find out the most economic site/provider
for business domain hosting also enlist that ho many (at
least -05) providers are relabel and available to host your
site/ page if you are developing a mobile app for e-
commerce transaction covers(domain clark space and
email service)check the cost of all for at least or months?

Here are some hosting providers for the business domain :

Bluehost:
Bluehost Bluehost is known for its reliability and excellent customer
support. They offer various hosting plans suitable for small to large
businesses.

SiteGround:
SiteGround is recognized for its speed and security features. They
provide managed WordPress hosting and have a good reputation for
customer service.
HostGator:
HostGator is a popular choice for businesses of all sizes. They offer a
range of hosting plans with good scalability options.

InMotion Hosting
Hosting InMotion Hosting is known for its fast and reliable hosting
services. They provide various hosting solutions with a focus on
business hosting.

A2 Hosting:
A2 Hosting is known for its speed optimization and developer-
friendly environment. They offer various hosting plans suitable for
businesses.
Q:4 Write the steps to register the space in clouds/with
rates and specifications/and also enlist the other areas /
space where you can reserve the space instead clouds?

Registration Steps :

 Choose s cloud services providers such as amazon web


services ,google cloud platform .visit the websites and
sign-up-page
 Create a new account : fill all the required information to
create an account which includes your email address,
password, and billing details. Some providers may offer
a free tier with limited resources for testing purposes.
 Pick a package with right features, specification and for
you
 Once registered, log in to the cloud platform and
configure your space. This may involve setting up virtual
machines, storage buckets, or other resources based on
your chosen plan.

Alternative Space Reservation:


If cloud services are not suitable, explore renting space on
dedicated services or elsewhere ,each has different cost and
features , many hosting providers offers alternatives to cloud
services each with its owns rates and specification
Other Areas to Reserve Space:
• Physical Servers:

• Local Storage Devices:

• Managed Hosting:

• Colocation Services:
Q:5 Draw the structural diagrams of your own project - including -(class
diagram, activity diagram, sequential diagram , composite diagram object
diagram and the communication diagram?
Actuvity diagram :

Class diagram :

object diagram :
Composite diagram :

Sequence diagram :
s

Q:6 Write short intro of your all screen decided in the project-
(5-6 times) in according to the structural diagrams?
Project Name : Teacher’s evaluation system (mobile application)
In our 1st page of mobile application the logo show to the user for a
few second :
2nd screen : In a 2nd page of mobile application the user choose their
option if they are student they click on student option or if they are
teacher they click on teacher option ,that will show on their screen

3rd screen : 3rd screen is login page where the user sign up their
account and add their name ,email , passwaord if they forfet their
password they click on forget password ,
4th page : (Registration page )
When the user do not have any account, they click on registration
page and fill the required information for the registration
5th page : after the login successfully the main page is open , in which
different option are shown on screen for students or teachers for the
enroll courses for example attendance , class management , timing etc

Q:7 Write about the main difference between ERP


and UML diagram?

ERP UML
it stand for enterprise it stand unified modelling
resources planning languages
Focuss on integration and it is a virtual language and
managing business possess represent software system
and data
Utilizes data tables and workflow Employs diagrams like class,
charts. sequence, and activity diagrams.
It not typically represented using diagrams include various types,
UML diagrams. Instead, it is often each serving a specific purpose.
documented through process Examples include class diagrams
flowcharts, data models, and for structural representation,
configuration documents. activity diagrams for workflow,
and sequence diagrams for
interactions.

Q:8 Write about the different categories ( covering all types -(2-3
points for each ) of UML diagram - include 03 tools which are
very useful to design UML diagram ?
Use Case Diagram:
 It is show the functionality of a system
 Use case include actor , relationship , exclude and include
 Represents interactions between users and a system.
 Tools: Lucidchart, Microsoft Visio, draw.io.
Class Diagram:
 It describe the classes and relationship of system
 Illustrates classes, relationships, and attributes in object-oriented
systems.
 Tools: Visual Paradigm, Enterprise Architect, draw.io.
Sequence Diagram:
 Depicts interactions among objects in a sequential order.
 In which they they sequencially show actin of the system
 Tools: StarUML, IBM Rational Software Architect, Lucidchart.
Activity Diagram:
 it Displays workflows and processes within a system.
 It represent a graphical view of a system
 Tools: Creately, Visual Paradigm, draw.io.
Component diagram
 It displays the structural relationship of components of software
system
 Mostly used when working with complex systems with many
components.
 Components communicate with each other using interfaces..
 Tools: Creately, Visual Paradigm, draw.io.
Deployment Diagram:
 Represents the physical deployment of software components.
 Tools: Lucidchart, Visual Paradigm, Microsoft Visio. Package
Diagram:
Object Diagram:
 Represents instances of classes and their relationships at a
specific point in time.
 They show what a system will look like at a given time. Because
there is data available in the objects
 Tools: Lucidchart, Visual Paradigm, draw.io.
Package diagram :
 As the name suggests, a package diagram shows the
dependencies between different packages in a system.
 Tools: draw.io, Visual Paradigm, IBM Rational Software
Architect.
composite structure diagrams.
 Composite structure diagrams are used to show the internal
structure of a class. Some of the common composite structure
diagrams
 Tools: Lucidchart, draw.io,
Q:9 Write about all DB language with suitable example
(03 queries for each )?

Database languages :
DDL (data definition language ) :
it is a subset of sql and part of DBMS ,which is used to create
, drop , alter ,truncate and rename .
Create query : it is used to create database ,table and other
object
Syntax :
create database database_name;
create table table-name;
truncate : used to delete or remove record from table
syntax :
truncate table table_name;
Rename : used to rename the table
Syntax :
rename table-name old name to new tablename;

Data manipulation languages


It is used to modify database. Is is responsible fo all the
changes in Database
Select query : select are used to retrieved data from the tables
Syntax : select*from table-name;
Insert : used to insert data into the row of table
Syntax : insert into tablename (col1,col2) values(‘abc’,’xyz’);
Delete: delete to delete row in the table
Syntax : delete from table_name where (condition)

Data control language (DCL) controls access to the data that


users store within a database.
GRANT: Gives a user access to the database
Syntax :
GRANT SELECT, UPDATE ON MY_TABLE TO SOME_USER, A
NOTHER_USER;
REVOKE: Removes a user's access to the database
Syntax:
REVOKE SELECT, UPDATE ON MY_TABLE FROM USER1, US
ER2;

Transaction control language.


Transaction control language (TCL) manages the transactions within a
database. Transactions group a set of related tasks into a single, executable
task
Commit :
Commit command is used to save all the transactions to the database
Syntax : commit;
Rollback: Rollback command is used to undo transactions that have
not already been saved to the database.
Syntax : Rollbox
Savepoint It is used to roll the transaction back to a certain point
without rolling back the entire transaction.
Syntax : savepoint savepoint_name;

Data query language


DQL is used to fetch the data from the database.It uses only one
command: SELECT
Q:10 Scenario: Draw the basic structure, structural
diagram, database structure, relational diagram, and the
SQL commands used for creating the database structure?

You might also like