Sunday, March 29, 2015

System Analysis and Design(SAD) - Part 2 (Types of Information Systems)



System Analysis and Design - Types of Information Systems

Well our today's topic is about Information System Types. We can divide information systems into 3 basic categories. 
  1. Operational Level Information Systems
  2. Middle Level Information Systems
  3. Top Level Information Systems

Operational Level Information Systems are used by Operational level managers and staff which will help in their decision making and making their work easier.
Middle Level Information Systems are used by Middle level managers and staff which will help them in decision making,summarizing data and creating daily,monthly and yearly reports and making their work easier.
Top Level Information Systems are used by the personals which are in the top levels of the organizational hierarchy. They use these kind of information systems to ease their decision making because the behavior and the future of the organization will depend on these decisions so the information which is provided by these kind of information systems must be reliable and accurate.



We can also categorize information systems according to their operational functionality.

  1. Transaction Processing Systems(TPS)
  2. Management Information Systems(MIS)
  3. Decision Support Systems(DSS)
  4. Executive Information Systems(EIS)
  5. Expert Systems(ES)
  6. Communication and Collaboration Systems(CCS)
  7. Office Automation Systems(OAS)

Transaction Processing Systems are designed to capture and process data about day today transactions. 

Management Information Systems are designed for management oriented reporting. These information systems generates reports based on the data which is captured from the Transaction Processing Systems.

Decision Support Systems helps to identify decision support opportunities for top level managers. It provides relevant information to help make decisions and provides its users or the top level managers with decision oriented information whenever decision making situation arises.

Executive Information Systems are also designed for the use of top level managers. These information systems will  support the planning and assessment needs of executive managers. These systems are capable of integrating of data all over the organization into a graphical indicators and controls.

Expert Systems is a programmed decision making information system. It is capable of capturing and reproduce knowledge and expertise of a human expert. It stimulates thinking of the expert. This is a best and an effective way to keep the knowledge of a human experts inside the organizations even though expert have left the organization.

Communication and Collaboration Systems helps to enable more effective  communication between workers,partners,customers and suppliers. Enhances their ability to collaborate.
Office Automation Systems supports wide range of business office activities. It provides improved workflow between workers.

If you haven't read the Introduction - Introduction to Information Systems


Well thanks for reading..Bellow comment box is open for your ideas,comments,suggestions...

Monday, March 23, 2015

Power Button එක නැතුව phone එක on කරන්න






ඔයලා දන්නවද  power button එක නැතුව කොහොමද screen එක on කරන්නේ කියලා?

මොකද කට්ටිය බයවෙලා, screen එක on කරන්න power button එක ඔබන ඔබන සැරේට power button එක කැඩෙයි කියලා. 
tongue emoticon ඒත් බයවෙන්න එපා. එහෙම power button එක ලේසියෙන් කැඩෙන්නේ නෑ. :D

ඒ කිව්වටත් හිතට හරි මදි වගේ නේ. tongue emoticon එහෙමනං මෙන්න ඒකට නියම විසදුම. Klick button එක.
මේක ඇවිල්ලා අපේ ෆෝන් එක headset පොර්ට් එකට ගහන්න පුලුවන් switch එකක්. මේක plug කරලා, මේකට අදාල app එක ෆෝන් එකට දැම්මම, ෆෝන් එක ගණන් ගන්නේ මේක button එකක් හැටියට. කොහොමද වැඩේ. නියමයි නේද?
හරි එහෙනන්. කරන විදිය මුල ඉදන්ම කියංනංකෝ.

1. මුලින්ම මේ gadget එක ebay එකෙන් ගෙන්න ගන්න. වැඩි ගානක් වෙන්නේ නෑ. රුපියල් 120ක් වගේ වෙන්නේ. හැබැයි මේක එන්නනම් සති 2ක් වගේ යනවා. එතකන් ඉවසන් ඉන්න වෙනවා. smile emoticon මෙන්න මේ link එකෙන් ගිහිල්ලා order කරන්න.

2. ඊට පස්සේ මේක ආවම playstore එකෙන් මේක run වෙන්න ඕනේ වෙන app එකක් ඩවුන්ලෝඩ් කරගන්න. හැබැයි මේකට apps ගොඩක් තියෙනවා. මං link ඔක්කොම දාන්නේ නෑ. playstore එකේ Klick කියලා සර්ච් කලාම එන apps ගොඩක් මේකට ගැලපෙනවා. එහෙම එන හොදම apps 3 link මං පහලින් දාන්නම්. මේ apps දැම්මේ නැත්තන්, ෆෝන් එක මේක detect කරන්නේ headset එකක් විදියට හොදේ.


3. ඊට පස්සේ, අර gadget එක 3.5mm පොර්ට් එකට (headset පොර්ට් එකට) plug කරලා, app එක run කරලා අපිට කරන්න ඕනේ වැඩේ ඒ app එකෙන් assign කරන්නයි තියෙන්නේ. ඊට පස්සේ ඉතින් වැඩ කරන්නයි තියෙන්නේ.
මේකෙන් අපිට ඕනේ විදියට screen එක on/off කරන්න. apps launch කරන්න. camera button එකක් හැටියට use කරන්න. තව වැඩ ගොඩාක් කරන්න පුලුවන්.
(මං පහල ෆොටෝස් දාල තියෙන්නේ මං use කරන iKey app එකේ ඒවා. ඒ app එකේනම් 3.5 පොර්ට් එකට මොකක් හරි plug කරපු ගමන්ම ඔය screenshot එකේ වගේ අහනවා headset එකක්ද, නැත්තන් මේ button එකද plug කලේ කියලා. එතකොට එතනින් තෝරලා දෙන්නයි තියෙන්නේ.






මං නම් මේකට assign කරලා තියෙන්නේ,
එකපාරක් press කලාම screen එක on/off වෙන්න,
දෙපාරක් press කලාම running apps clean වෙන්න,
ඔබාගෙනම හිටියම sound record වෙන්න)
මං මේක ටෙස්ට් කලේ android සහ windows mobiles වල විතරයි. එකෙනුත් මේක වැඩ කලේ android එකේ විතරයි. මොකද windows වලට මේ වගේ apps නෑ. මේක plug කලාම windows ෆෝන් මේක headset එකක් විදියටයි ගන්නේ.

ඇත්තම කියනවා නම් මම මේ පොස්ට් එක facebook එකෙන් copy කරගත්ත එකක්. වටිනවා කියලා හිතුන නිසයි හැමෝටම කියවන්න කියලා පොස්ට් කරේ.

මේක originally ලියුවේ Gevindu Aloka.

ප්‍රශ්න තියෙනවනම් අහන්න.

Monday, March 16, 2015

System Analysis and Design(SAD) - Part 1(Introduction to Information Systems)


System Analysis and Design - Introduction to Information Systems




Computers are now becoming part of virtual reality in every action in an organization, even in our personal lives. Every computer system consists of  six (6) basic components.
  • People
  • Interface
  • Data
  • Information Technology
  • Network
  • Process


System Stakeholders

System Stakeholder is any person who has an interest in an existing or proposed information system. Stakeholders can be divided into 5 major categories. It maybe include technical people, non-technical people and external and internal workers.

  1. System User
  2. System Owner
  3. System Builders
  4. System Designers
  5. System Analysts

System User is a person is a person who will use or affected by an information system on a regular basis in many ways.

System Owner is the person who owns the system, sponsor and advocate, set the vision and priorities,determine the policies ane responsible for the funding the project.

System Designer is a technical specialists. He can translate system user's business requirements and constraints to technical solutions. Designs the computer files, databases, inputs, outputs, user interfaces, networks and programs that will meet the user requirements.

System Builder is the person who construct, test and deliver the information system based on design specifications generated by the system designer.

System Analysts are the people understand both business and computing. Studies the problems and needs of the organization and determine how people, data, processes and information technology can best accomplish improvements for the business. 

Legacy Systems

Legacy System is an existing computer system or a application program which continues to be used because users does not want to replace of redesign it. (Antique System)
There are some potential problems in using these kind of systems.
  1. Often run on obsolete hardware which is usually slow
  2. Hard to maintain, improve and expand because there is a general lack of understanding of the system
  3. Ones who developed and designed the system may have left the organization, so there is no one to explain how it works
  4. Difficult to integrate with new systems because technology difference may occur
There are some difficulties also when upgrading or replacing these systems.
  1. The technology and the programming languages which are used in these systems may obsolete and there maybe no skilled personal to understand the system.
  2. Maybe these systems are still working fine and the processes which are done by the system are critical, so stakeholders can not afford a chance of occurring an error during the upgrading process.


Sources - University of Colombo School of Computing Teachers Notes(BIT Degree Program)



Comment box below is open for your ideas, suggestions and discussions...

Tuesday, February 17, 2015

Administrator Password Hack

අද මම අරගෙන ආවේ hacking වැඩක්. ඇත්තම කියුවොත් මේක hacking වලට වඩා back door එකක් use කරනවා කියුවොත් හරියටම හරි.

එහෙනම් අපි වැඩි කතාවට යන්නෙ නැතුව බලමු කොහොමද කරන්නෙ කියලා.


  • Step 1 - Open CMD as Administrator. 

මුලින්ම Command Prompt icon එක උඩ right click කරලා Run as Administrator select කරන්න ඔනි. එතකොට computer default admin විදියට තමයි command prompt එක run වෙන්නෙ.. අපිට මේක ඔනිම account එකක ඉදන් කරන්න පුලුවන්.




  • Step 2 - Type 'net user' in CMD
දැන් net user කියල type කරල enter කරන්න. එතකොට computer එකේ තියෙන user account list එකක් display වෙනවා.



  • Step 3 - Type 'net user ACCOUNT NAME'
මේ කියන්නෙ net user එකත් එක්ක computer එකේ තියෙන user account එකේ name එක type කරන්න කියල. මගේ computer එකේ විදියට නම් Acer1 හෝ guest. අපි Guest එක use කරමු.




  • Step 4 - To delete current password 'net user ACCOUNT NAME *'
මේ command එකෙන් ඔයාලට පුලුවන් net user list එකෙන් ආපු ඔනිම account එකක password එක replace කරන්න. අපි මගේ computer එකේ guest එක ගත්තොත් command එක එන්න ඔනි net user guest * කියලා. මේක type කරලා enter කරාම password reset කරන්න අහනවා. ඔයාලට අලුත් password එකක් ඔනි නැත්තම් නිකන්ම enter කරගෙන යන්න.



  • Step 5 - To assign a new password or change password
අපිට ඕනි නම් single command එකෙන් password එක වෙනස් කරන්නත් පුලුවන්. ඒකට use කරන්න ඔනි net user ACCOUNT NAME NEW PASSWORD command එක.
මගේ computer එකේ නම් අපිට use කරන්න වෙන්නේ guest account එකනේ. Guest account වලට password දාන්න දෙන්නේ නෑ නේ. එත් අපි කරලම බලමු.
ඔයාලට පුලුවන් වෙන ඔනිම account එකකට මේ method එක use කරන්න.


අහ්හ්..වැඩ කරා නෙ! ;)



අන්තිමටම කියන්න තියෙන දේ තමයි   අනිත් අයගෙ computer වලට හොරෙන් යන එක, password හොරෙන් ගන්න එක, hack කරන එක එහෙම හරිම නරක වැඩ. (මම නම් ඕවා මුකුත් දන්නෙ නෑ. ;) :p )

ඔයාලගෙ computer එකෙ password එක අමතක වෙලා log වෙන්න බැරි වුනාම විතරක් වගේ මේවා use කරන්න.


අහ්හ්..අමතක වුනා නෙ කියන්න, මේ  method එක හරියන්නෙ Windows Operating  System  එකට විතරයි.



එහෙනම් see you with the next tutorial.. :) 

Thursday, January 29, 2015

Blog හෝ Website එකේ visits වලට money!


මම අද අරන් ආවේ අලුත්ම වැඩක්!

ඔයාලට website එකක් හෝ blog site එකක් තියෙනවද?
එහෙනම් ඒ site එකට එන visits ගානට ඔයට money හම්බවෙනවා නම් කොච්චර හොඳයි ද, නේද? :D

වැඩි දෙයක් නැහැ..ඔයාලට තියෙන්නෙ  http://adf.ly/wm9j6 මේ ලින්ක් එකෙන් හෝ http://adf.ly/?id=8819237 මේ ලින්ක් එකෙන් ගිහින් register වෙන්න!

Register වුනාට පස්සෙ Tools Tab එක හරහා ඔයාලට මේ වගෙ ඔප්ටිඔන්ස් වලට යන්න පුලුවන්!

Mass Shrinker
Multiple Links
Easy Link
Bookmarklet
API Documentation
Web Analytics
Full Page Script
Website Entry Script
Export Links and Stats
Domains
Pop Ads
Plugins

Full Page Script එකෙන් ඔයලට පුලුවන් ඔයලගෙ මුලු blog හෝ website page එකේ හැම ලින්ක් එකක්ම කවුහරි click කරොත් ඔයාලට amount 1k හම්බවෙන විදිහට හදන්න.

Website Entry Script එකෙන් පුලුවන් ඔයාලගෙ blog හෝ website එකට enter වෙනකොටම ad එකක් load වෙන්න set කරලා ඔයාලට amount 1k හම්බවෙන විදිහට හදන්න. (මම නම් හිතන්නෙ ඒක තමයි හොදම)

තව තව සල්ලි හම්බවෙන විදි ගොඩක් තියෙනවා මේ සිටෙ එකෙ. ඔයාලම බලන්නකො එහෙනම්. 

Wednesday, January 28, 2015

Creating a Drop Down List from CSS

මම හිතනවා ඔයාලට HTML & CSS ගැන basic knowledge 1k ඇති කියල!

අපි හිතමු අපිට හදන්න ඔනි මේ පහලින් පෙන්නලා තියෙන වගෙ drop down list එකක් කියල.



හරි,එහෙනම් අපි මුලින්ම ඩ්‍රොප් ඩව්න් ලිස්ට් එකේ sketch එක හදාගෙන ඉමු.

To create the sketch we use Unordered List in HTML.

Ok now,First we have to create main lists :- locations, The Menu, Our Story, Contact Us

ඒක කරන්නෙ මෙන්න මෙහෙමයි.

<ul>
      <li>Locations</li>
</ul>
<ul>
      <li>The Menu</li>
</ul>
<ul>
      <li>Our Story</li>
</ul>
<ul>
      <li>Contact Us</li>
</ul>

Now we have done creating our main tabs/lists. එහෙත් මේක තාම sketch එක විතරයි.

Now we have to create our drop down list part.

ඒක කරන්නෙ මෙන්න මෙහෙමයි.


<ul class="list1">
      <li>Locations
          <ul class="list2">
               <li>Maps</li>
                <li>Address</li>
          </ul>
     </li>
</ul>
<ul class="list1">
      <li>The Menu
          <ul class="list2">
                <li>Breakfast</li>
                 <li>Lunch</li>
                 <li>Dinner</li>
           </ul>
      </li>
</ul>
<ul class="list1">
      <li>Our Story
          <ul class="list2">
                <li>Breakfast</li>
                 <li>Lunch</li>
                 <li>Dinner</li>
           </ul>
      </li>
</ul>
<ul>
      <li>Contact Us</li>
</ul>

හරි,දැන් අපි අපේ sketch එක හදාගෙන ඉවරයි! දැන් ඔයාල ලියපු file එක .html extention එක එක්ක save කරල web browser එකෙන් open කරලා බලන්නකො. කැතයි නේද?

This is the point that CSS comes in to action! Now we have to write our CSS file.

මම CSS ලියන්නේ <head> tag එක ඇතුලෙ but ඔයලා කැමති නම් external style sheet එකක් ලියලා page එකට link කරත්  අවුලක් නෑ. මම ලියුවෙ <head> tag එක ඇතුලෙ!


<style type="text/css">
*{margin:0; padding:0;}


.list1 ul
{
margin : 0;
padding : 0;
line-height:30px;
/*background-color:#096;*/
}

.list1 li
{
margin : 3px;
padding : 8px;
list-style:none;
float:left;
position:relative;
background-color :green;
border-radius:10px;
}


/*Nested UL*/
ul ul
{
position:absolute;
visibility:hidden;
/*height:30px;*/
}

ul li:hover ul
{
visibility:visible;

}

.list1 li:hover
{
background:#0C6;
}


  ul li:hover  ul li  a:hover
{
background-color:#0C3;
color:#000;
}
</style>

මේ තියෙන්නේ CSS part එක. මම notepad එකෙන් type කරපු නිසා ලොකුවටම ලස්සන කරන්න බැරි වුනා එත් ඔයාල try කරන්න තව ලස්සන කරන්න සහ තව ගොඩාක් වැඩ කෑලි තියෙනවා. හොයගෙන කරන්න!

Further Reference - http://www.w3schools.com/css/default.asp


එහෙනම් පස්සෙ හම්බවෙමු!
එතකන් Good Luck! :)

Monday, January 19, 2015

Connecting Database in PHP

කොහොමද කට්ටිය ගොඩ කාලෙකට පස්සෙ?


අපි අද බලමු කොහොමද MySQL database එකක් අපේ PHP page එකට connect කරගන්නෙ කියලා!


First of all  we have to start our Apache Server in WAMP or XAMP. මම හිතනව ඔයලා ඒක නම් දනටමත් දන්නවා ඇති කියලා. ;)

Now we have to create our basic PHP file and save it in the WAMP or XAMP.

In WAMP you have to save your PHP file in the "www" folder in WAMP folder in "C" directory.
In XAMP you have to save your PHP file in the "htdocs" folder in XAMP folder in "C" directory.

Now we have to create our database in MySQL, so you have to start the MySQL server in XAMP.



දැන් අපි අපේ database එක create කරමු. First of all we have to login to MySQL.

දැන් අපි බලමු කොහොමද command prompt එකෙන් MySQL login වෙන්නෙ කියල.



After typing and pressing Enter button in the command prompt you will be asked to enter a password. Just don't type anything! Just Press Enter Button.

දැන් ඔයලා MySQL වලට login වෙලා ඉන්නෙ.

-u root = root is the default user in MySQL.
-p = password for the user, but root does not have any password so we keep it blank.
-h = this is the host where the database is located. We use localhost because our database is located in our local machine.


We create database with the command:- CREATE DATABASE test123;

test123 කියන්නෙ අපි create කරන database එකේ name එක.

හරි දැන් අපේ database එක create වෙලා ඉවරයි.

Now we have to select our database using:- USE DATABASE test123;

හරි,දැන් අපි PHP පැත්තට හැරෙමු.

First of all we have to establish the connection with the database server. 

$host = "localhost";
$user = "root";
$password = "";

$conn = mysql_connect('$host','$user',$password');    //This will select and establish the connection to the database server
if(!$conn){ die("Could not connect :".mysql_error());}
else { echo "Connection established to the Server!"}

දැන් database server එකට connection එක establish වෙලා තියෙන්නේ.

Now we have to select our database to use.

$dbName = "test123";

mysql_select_db('$dbName','$conn') or die ("Can not select Database".mysql_error());

දැන් අපේ database එකට අපි connect වෙලා ඉවරය.


Die is a PHP function which we use to handle exceptions such as database unavailability. It will terminate the attempt and returns an error if the database in unavailable.


ඊළඟ post එකෙන් අපි database එකෙන් data retrieve කරන හැටි බලමු.


ගැටලු සඳහා පහතින් comment කරන්න.