Professional Documents
Culture Documents
:Part 2
From Chapter 8 to Chapter 11
11
Primary Key Field
A relationship means that two or more
tables are linked together by a common
field, called a primary key field.
Primary Key & Foreign
A Primary key is a key that uniquely identifies a
row in each table. It is normally denoted with its
first two letters, namely, PK.
A Foreign key is a key borrowed from another
related table (that’s why its foreign) in order to
make the relationship between two tables. It is
normally denoted with its first two letters,
namely, FK.
13
Entity
Entity :
"...anything (people, places, objects, events, etc.)
about which we store information (e.g.
supplier, employee, customer, student, etc.).”
For example, in a school database, students,
teachers, classes, and courses offered can be
considered as entities.
Relationship
Example:
create table employee (first varchar(15), last
varchar(20), age number(3), address
varchar(30), city varchar(20), state
varchar(20));
Creating Tables
To create a new table, enter the keywords create
table followed by the table name, followed by an
open parenthesis, followed by the first column
name, followed by the data type for that
column, followed by any optional constraints,
and followed by a closing parenthesis. It is
important to make sure you use an open
parenthesis before the beginning table, and a
closing parenthesis after the end of the last
column definition. Make sure you separate each
column definition with a comma. All SQL
statements should end with a ";".
Creating Tables
Exercise
You have just started a new company. It is time to
hire some employees. You will need to create a
table that will contain the following information
about your new employees: firstname, lastname,
title, age, and salary.
Inserting into a Table
Stud _marks
Software
Software Resources
The following are examples of software resources:
1) System software
2) Application software
System software
System software , such as an operating system
program, which controls and supports the
operations of a computer system. Windows and
Unix are two examples of popular computer
operating systems.
Operating Systems
Operating System is a software, which makes a
computer to actually work.
It is the software the enables all the programs
we use.
The OS organizes and controls the hardware.
OS acts as an interface between the application
programs and the machine hardware.
Applications
OS
Hardware
:Structure of Operating System
Application Programs
System Programs
HARDWARE
)…Contd(
:Structure of Operating System (Contd…)
(Contd…)
:Structure of Operating System (Contd…)
3) System programs
This layer consists of compilers, Assemblers
etc.
4) Application programs
This is dependent on users need. Ex. Railway
reservation system, Bank database
management etc.
Types of OS
: Operating System can also be classified as
100-7
Page 200
Machine languages
:Machine language example
Below is an example of machine language (binary)
for the text "Hello World".
01001000 01100101 01101100 01101100 01101111
00100000 01010111 01101111 01110010
01101100 01100100
Machine languages
Below is another example of machine language
(non-binary), which will print the letter "A"
1000 times to the computer screen.
169 1 160 0 153 0 128 153 0 129 153 130 153 0 131
200 208 241 96
Assembly languages
Assembly languages (or second-generation
languages ) are the next level of programming
languages. They were developed to reduce the
difficulties in writing machine language
programs. The use of assembly languages
requires language translator programs called
assemblers that allow a computer to convert the
instructions of such language into machine
instructions.
Assembly languages
For example, the computation X= Y + Z in an
assembler language might take the following
form :
LOD Y
ADD Z
STR X
Code in Assembly Language
DATA SEGMENT
NUM1 DB 9H
NUM2 DB 7H
RESULT DB ?
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
START:
MOV AX,DATA
MOV DS,AX
MOV AL,NUM1
ADD AL,NUM2
MOV RESULT,AL
MOV AH,4CH
INT 21H
ENDS
END START
High-level languages
High-level languages (or third-generation
languages ) use instructions, which are called
statements , that include brief statements or
arithmetic expressions.
High-level languages like BASIC, COBOL, and
FORTRAN are easier to learn because they have
less rules, forms, and syntaxes.
Fourth-Generation Language
These languages are called fourth-generation
languages (4GLs) to differentiate them from
machine languages (first generation), assembler
languages (second generation), and high-level
languages (third generation). Most fourth-
generation languages are nonprocedural
languages that encourage users and
programmers to specify the results they want,
while the computer determines the sequence of
instructions that will accomplish those results.
Example for Fourth-Generation
Language
Structured Query Language allows non-
programmer users to write (usually short)
programs to query databases and to generate
custom reports.
Example for Fourth-Generation
Language
Structured Query Language (SQL) is a standard
computer language for relational database
management and data manipulation.
SQL is used to query, insert, update and modify
data. Most relational databases support SQL,
which is an added benefit for database
administrators (DBAs), as they are often
required to support databases across several
different platforms.
Code To Create A Database Table
Create Table :
Example :
Create table students (reg_no number(10) ,name
varchar (10), address varchar(10), qualif
varchar (10), marks number (10));
Code To Drop Table
;Drop table students
111-Slide 8
Code To Extract Information
SELECT queries are used to extract information
from a database:
Example :
Select name,marks
From students;
Code To Adding Records To A Table
Hardware
Hardware Resources
Parts of a Computer
1) Input Devices (Keyboard, Mouse, etc.)
2) Output Devices (Monitor, Speakers, etc.)
3) Storage Devices
4) Central Processing Unit (CPU)
Hardware Resources
Types of Printers
1) Dot matrix
2) Ink-jet
3) Laser
Speakers
Speakers are one of the most common output
devices used with computer systems.
A computer speaker is a hardware device that
connects to a computer to generate sound. The
signal used to produce the sound that comes
from a computer speaker is created by the
computer's sound card.
Headphones
Optical Drive
In the real world, "optical" refers to vision, or the
ability to see. In the computer world, however,
"optical" refers to lasers, which can "see" and
read data on optical discs. These discs include
CDs and DVDs, which are made up of millions of
small bumps and dips. Optical drives have lasers
that read these bumps and dips as ones and
zeros, which the computer can understand.
Some common types of optical drives include CD-
ROM, CD-RW, DVD-ROM, and DVD-RW.
CD Rom
CD Rom Drive the drive that plays CDs and
reads data that has been stored on the CD.
CD Rom short for Compact Disc-Read Only
Memory.
A CD-ROM is an optical disc which contains
audio or software data whose memory is read
only. A CD-ROM Drive or optical drive is the
device used to read them. Capacity of CD Rom
is 700 MB.
CD-RW
CD-RW (Compact Disc-Re Writable) is
a digital optical disc storage format. A CD-RW
disc is a compact disc that can be written, read
many times, erased, and written again. The
technology was introduced in 1997.
DVD
DVD (digital video disc) is a digital optical
disc storage format invented and developed
by Philips, Sony, Toshiba, and Panasonic in
1995. The medium can store any kind of digital
data and is widely used for software and other
computer files as well as video programs
watched using DVD players. DVDs offer higher
storage capacity than compact discs. .
DVD is an optical disc drive that reads and
writes all common CD and DVD formats. All
modern optical drives that come with personal
computers are CD/DVD drives.
DVD
-1
.Copyright 2011 John Wiley & Sons, Inc © 190
Technical Feasibility
Technical feasibility is the extent to which the
system can be successfully designed, developed,
and installed by the IT group.
It is, in essence, a technical risk analysis that
strives to answer the question: “Can we build
it?”
-1
.Copyright 2011 John Wiley & Sons, Inc © 191
Technical feasibility
The technical feasibility assessment is focused on
gaining an understanding of the present
technical resources of the organization and
their applicability to the expected needs of the
proposed system. It is an evaluation of the
hardware and software and how it meets the
need of the proposed system.
Technical feasibility
This assessment is based on an outline design of
system requirements, to determine whether the
company has the technical expertise to handle
completion of the project.
Economic Feasibility
Economic feasibility analysis is also called a cost-
benefit analysis, that identifies the costs and
benefits associated with the system.
This attempts to answer the question: “Should
we build the system?”
Economic feasibility is the degree to which
the economic advantages of something to be
made, done, or achieved are greater than
the economic costs.
Organizational Feasibility
Organizational feasibility of the system is how well
the system ultimately will be accepted by its users
and incorporated into the ongoing operations of
the organization.
There are many organizational factors that can have
an impact on the project, and seasoned developers
know that organizational feasibility can be the
most difficult feasibility dimension to assess.
In essence, an organizational feasibility analysis is to
answer the question “If we build it, will they
come?”
Organizational Feasibility
Organizational Feasibility mean whether the new
system will fit into the organization and meet
the current goals and objectives. It also
determines whether the new system will have
enough support from participants to be
successfully implemented and whether
participants can operate the system.
?What is a Data Flow Diagram
A data flow diagram (DFD) is a graphical tool
that allows system analysts (and system users) to
depict the flow of data in an information system.
The DFD is one of the methods that system
analysts use to collect information necessary to
determine information system requirements.
?What is a Data Flow Diagram
A Data Flow Diagram is intended to serve as a
communication tool among
◦ systems analysts
◦ end users
◦ data base designers
◦ system programmers
◦ other members of the project team
?What is a Data Flow Diagram
A data flow diagram (DFD) is a graphical
representation of the "flow" of data through
an information system, modeling
its process aspects. A DFD is often used as a
preliminary step to create an overview of the
system without going into great detail, which can
later be elaborated.
A DFD shows what kind of information will be
input to and output from the system, how the
data will advance through the system, and where
the data will be stored.
DFD Symbols and Definitions
• Process - performs some action on
data, such as creates, modifies, stores,
Process delete, etc. Can be manual or
supported by computer.
A datastore must be
connected to a process
(either in, out, or both)
Ali Al-Tahitah, Mohammed Abdulrabb, Mohammed A. Alwaheebc, Yaser Hasan Salem Al-Mamaryd, Ishaq Ibrahime (2020) The Effect of Learning Organizational Culture on Readiness for Change and Commitment to Change in Educational Sector in
Yemen. Journal of Critical Reviews, 7(9), pp. 1019-1026.
Yaser Hasan Salem Al-Mamary, Mohammed Alwaheeb, Mohammed Abdulrab (2020) The Relationship between Technological Capability, Competitive Advantage, and Manufacturing Performance: The Conceptual Framework Development, International
Journal of Psychosocial Rehabilitation, 24(10), pp. 2034-2050.
Mohammed A. Alwaheeb, Mohammed Abdulrab, Yaser Hasan Salem Al-Mamary, Yaser Mutahar (2020) Organizational Commitment And Academics' Knowledge Sharing: A Review And Directions For Future Research, International Journal of Scientific
& Technology Research, 9(4), pp.3084-3091.
Yaser Hasan Salem Al-Mamary, Murad Mohammed Al-Nashmi, Alina Shamsuddin , Mohammed Abdulrab (2019) Development of an Integrated Model for Successful Adoption of Management Information Systems in Yemeni Telecommunication
Organizations, International Journal of Scientific and Technology Research. 8 (10), 3912-3939.
Yaser Hasan Salem Al-Mamary (2019) Measuring Information Systems Success in Yemen: Potential of Delone and Mcleans Model, International Journal of Scientific and Technology Research. 8 (7), 793-799.
Abdul Fattah Farea Hussein, Yaser Hasan Salem Al-Mamary (2019) Conflicts: Their Types, and Their Negative and Positive Effects On Organizations, Journal of Scientific and Technology Research. 8 (8), 10-13.
Abdul Fattah Farea Hussein , Yaser Hasan Al-Mamary, & Yahya Abdul Ghaffar (2017) The Relationship Between Conflict Management Styles and Organizational Commitment: A Case of Sana'a University, American Journal of Science and Technology,
4(4), pp. 49-66.
Abdul Fattah Farea Hussein , Yaser Hasan Al-Mamary, & Yahya Abdul Ghaffar (2017) Conflict Management Styles and Organizational Commitment : The Conceptual Framework Development , International Journal of Research in Management, Science
& Technology, 5(1), pp. 86-97.
Yaser Hasan Al-Mamary, Murad Al-nashmi, Yahya Abdul Ghaffar, and Alina Shamsuddin (2016) A Critical Review of Models and Theories in Field of Individual Acceptance of Technology , International Journal of Hybrid Information Technology, 9 (6).
Al-Mamary, Y. H., Shamsuddin, A., Hamid, N. A. A., & Al-Maamari, M. H. (2015). Adoption of Management Information Systems in Context of Yemeni Organizations: A Structural Equation Modeling Approach. Journal of Digital Information
Management, 13(6), 429.
Al-Mamary, Y. H., & Shamsuddin, A. (2015). Testing of the Technology Acceptance Model in Context of Yemen. Mediterranean Journal of Social Sciences, 6(4), 268.
Al-Mamary, Y. H., Shamsuddin, A., & Hamid, N. A. A. (2015). Enhancing Technological Capability of Telecommunications Sector in Yemen: A Technology Adoption Approach. Mediterranean Journal of Social Sciences,6(4), 108.
Al-Mamary, Y. H., Shamsuddin, A., Hamid, N. A. A., & Al-Maamari, M. H. (2015). Issues Related to Employees at Telecommunication Companies in Yemen and the Role of Management Information Systems in Solving It, International Journal of Hybrid
Information Technology, 8(12), 377-390.
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2015). Investigating the key factors influencing on Management Information Systems adoption among Telecommunication Companies in Yemen: The Conceptual Framework
Development. Management, 6(1).
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2015). The Pilot Test Study of Relationship Between Management Information Systems Success Factors and organizational performance at Sabafon Company in Yemen. Journal of u-and e-Service, Science
and Technology, 8(2), 337-346.
Al-Mamary, Y. H., & Shamsuddin, A. (2015). The Impact of Top Management Support, Training, and Perceived Usefulness on Technology Acceptance. Mediterranean Journal of Social Sciences, 6(6 S4), 11.
Al-Mamary, Y. H., Shamsuddin, A., & Nor Aziati, A. H. (2014). Key factors enhancing acceptance of management information systems in Yemeni companies. Journal of Business and Management Research, 5, 108-111.
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2014). The Meaning of Management Information Systems and its Role in Telecommunication Companies in Yemen. American Journal of Software Engineering, 2(2), 22-25.
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2014). The Role of Different Types of Information Systems in Business Organizations: A Review. International Journal of Research, 1(7), 333-339.
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2014). Factors affecting successful adoption of management information systems in organizations towards enhancing organizational performance. American Journal of Systems and Software, 2(5), 121-126.
Al-Mamary, Y. H., Shamsuddin, A., & Aziati, N. (2014). Proposed Model For The Successful Implementation Of Management Information Systems In Yemeni Organizations. Journal of Management and Science, 4(3).
Al-Mamary, Y. H., Shamsuddin, A., & Nor Aziati, A. H. (2014). The Relationship between System Quality, Information Quality, and Organizational Performance. International Journal of Knowledge and Research in Management & E-Commerce, 4(3), 07-
10.
Hasan, Y., Shamsuddin, A., & Aziati, N. (2013). The impact of management information systems adoption in managerial decision making: A review. The International Scientific Journal of Management Information Systems, 8(4), 010-017.
O’Brien ,J.A.,& Marakas ,G.M. (2007) Management information systems -10th ed., by McGraw-Hill/Irwin, a business unit of The McGrawHill Companies.