Showing posts with label Education. Show all posts
Showing posts with label Education. Show all posts

Tuesday, January 24, 2023

Nepal ( A short Introduction about)

Leave a Comment


Nepal is a landlocked country in South Asia, located between India and China. The land has a total area of 147,180 km
² (56,826mi²).Kathmandu is the capital city of Nepal. Kathmandu is also called as the town of temple. It is also the home to Mount Everest, the highest (8848.86 meters)peak in the world, and is known for its diverse landscape, which includes the Himalayan mountain range, lush forests, and rolling hills. The country's population is primarily made up of people of Nepali descent, and the official language is Nepali. Nepal is a federal democratic republic, with a multi-party system of government. The country's economy is heavily dependent on agriculture and tourism, which is a significant source of revenue. Despite its natural beauty and rich culture, Nepal is one of the poorest and least developed countries in the world, and is still recovering from a civil war that ended in 2006.

 नेपाल भारत र चीनको बिचमा अवस्थित दक्षिण एसियाको भूपरिवेष्ठित राष्ट्र हो। जमिनको कुल क्षेत्रफल १,४७,१८० किमी² (५६,८२६ मी²) छ। काठमाडौं नेपालको राजधानी सहर हो। काठमाडौंलाई मन्दिरको सहर पनि भनिन्छ । यो माउन्ट एवरेस्टको घर हो, संसारको सबैभन्दा उच्च चुचुरो, र यसको विविध परिदृश्यको लागि परिचित छ, जसमा हिमालय पर्वत श्रृंखला, रमणीय जंगलहरू र घुमाउरो पहाडहरू समावेश छन्। देशको जनसंख्या मुख्यतया नेपाली मूलका मानिसहरूले बनेको छ, र आधिकारिक भाषा नेपाली हो। नेपाल बहुदलीय शासन प्रणाली भएको संघीय लोकतान्त्रिक गणतन्त्र हो। देशको अर्थतन्त्र कृषि र पर्यटनमा धेरै निर्भर छ, जुन राजस्वको महत्त्वपूर्ण स्रोत हो। यसको प्राकृतिक सौन्दर्य र समृद्ध संस्कृतिको बावजुद, नेपाल संसारको सबैभन्दा गरीब र कम विकसित देशहरू मध्ये एक हो, र अझै पनि 2006 मा समाप्त भएको गृहयुद्धबाट पुन: प्राप्ति भइरहेको छ।

Read More...

Saturday, March 7, 2015

Computers Overview

1 comment
Introduction
Computer technology is currently taking center stage in everyday lives. The increasing use of computer technology in our lives has resulted in a new improved way of thinking, living and working. Today, Computers are no longer specialized tools used only by scientists or engineers. They do not hum behind sealed glass walls in climate-controlled environments. Now, they are put to use for all sorts of applications ranging from complex calculations in the field or front line research. engineering simulations, education, printing books and recreational games. They have become so deeply embedded in our society that almost no activity would be possible without them. 

Definition of a computer
The word computer is derived from  the latin word "Computare" which means "to calculate". Computer is a programmable machine that receives input, stores and automatically manipulates data, and provides outputs in a useful format. Computer operates under the control of instructions stored in its own memory unit. A set of detailed, step by step instructions that tells a computer how to solve a problem or carry out a task is known as a computer program. The steps in a computer program are written in a language that the computer can understand.

Data and information
Data is the raw material of computer system. It consists of the raw, unprocessed facts, including text, numbers, images and sound. It simply exists and has no significance beyond its existence. After data is processed through the computer, they formed a desired output which serves some purpose. These resultant facts are known as information. Data becomes information when you understand what it means. Computers process data and people use information. The process of changing data into information is known as information processing cycle. Data processing commonly occurs by stages, and the information from one stages may be considered the raw data of the next. 

Four basic functions of a computer
A computer performs the following four functions.

Input: A compute accepts the input given by the user, Input is any information that a computer collects from the outside world. It can be in the form of data, programs, commands and user response.
Storage: A computer stores data. The input is stored in the memory of the computer for initial or additional processing and it can be retrieved, whenever required.
Processing: A computer process data. Processing is a systematic series of actions that a computer uses to convert input to output.
Output: A computer produces output. Output is any computer generated information displayed in screen or printed on paper. it can be in the form of words, numbers, graphics, sounds, videos and animations.

Importance of a computer:



Read More...

Sunday, February 9, 2014

Database and it's features and advantage

1 comment
Introduction :- In traditional data processing the data is inputted to the computer to get certain output. Each program or application is designed in isolation in the sense that it has it's own set of data files. thus, there is every chance that the same data could be present in more than one files. Such a situation leads to data redundancy and wastage of storage space.

In order that all user can access data with same quality and security, the duplication of file has to be kept to a minimum level by integrating all the files in the form of database. More precisely the database can be defined as an integrated collection of related files that acts an a single centralized data bank for the many data processing application.

Database Management System (DBMS)
Database system are manage by software program called DBMS. DBMS can be defined as a set of program that control the creation, maintenance and utilization of database of an organization. In other words, a database management system is a software that acts as the interface between users, other programs and database itself.  

DBMS provides the following basics services to the user.

(1) Database creation: Database helps to create the necessary database as well as to enter the required data into the database.

(2) Database maintenance : DBMS also performs the database maintenance task such as addition, deletion, correction and updation of data.

(3) Data processing : DBMS process the queries of users and retrieves the necessary information from the table or database.

Feature of DBMS
(1) Creating database file
(2) Entering database record
(3) Sorting the database record 
(4) Deleting records
(5) Updating records
(6) Searching records
(7) Printing records

  • Creating database file : DBMS provides the facility to create a database file, where the user can supply different field's name & data types. After creating database, user can save that for future reference .
  • Entering database records : Once the database has been created, user can display the structure of different files and can supply different records according to field name.
  • Sorting database records : DBMS allows the user to arrange the records in some predefined order is known as sorting of records. We can sort the records of database in two ways, that is either descending or ascending. 
  • Deleting records : Removing unnecessary records from the database is called deleting the records. DBMS  provides the facility to delete any records or file from database which are not usable.
  • Updating records : DBMS also provides the facility to update the records from the database which means to add, delete or changed the existing records of the database.
  • Searching records : Searching records mean to look through a file and to locate the required data from the database. DBMS allows the user to multiple records at a time by entering the search parameter to locate the specific records containing these data. 
  • Printing records : DBMS allows the users to print records of database and customize to output of database records. This is possible of the report generation. 
Advantage of DBMS

(1) Reduce data redundancy : In non-database system, each application has it's own private file. This file can lead to considerable redundancy in data, causing wastage of memory space, but with the application of database approach, such types redundancy can be removed.

(2) Reduce Processing effort : A user need not write program for activities such as quering report generation, addition or deletion of data in database etc. So the processing effort can be reduced with the help of DBMS.

(3) Data independence : Any changes in the layout of data doesn't effect all applications manipulating one database.

(4) Information protection : Since there's a centralized control of various files, the data is protected.
(5) Reduce cost : By using database, we can reduce the wastage of memory space as well as processing effort, which helps to reduce overall cost of the organization.


 
Read More...

Saturday, February 8, 2014

Impact of Computer in Society

Leave a Comment
Computer plays an important roles in humans life. Many products used in everyday life flow incorporate computer system. Following are the some common impact of computer in society.

1. Education :- Computers have become increasingly important in education not only as the field of study but also as a reference & teaching AIDS. Teachers are suing computers and administration use computer to develop application for time table generation, payroll processing, mark-sheet generation and admission selection processing. 

2. Electronic banking :- The banking business has been revolutionized by computer technology. Deposits and withdrawn are instantly logged into computers. Account which may be stored on remote computer. The technology of electronic fund transfer supported by computer networking allow the user to transfer their amount from one place to another within a fraction of second. Similarly networking allows individual to obtained cash immediately and almost all over the world with the help of computer by using Automated Tellered Machine (ATM).

3. Science And technology :- Computers are now increasingly employed to improve scientific and technological advancement. They are being used to scan space and global weather forecasting. They are also used in the design and operation of man-made satellite, space exploration vehicle's and in training purpose. 

4. Health & Care :- Computer have played a very important role in the growth and improvement of health care. It is used in hospital, in keeping records of patient, the symptoms of rare and common diseases and their corresponding medications, monitoring heartbeat pulse, blood pressure and other information related health and care. They are also used to monitored the available of bed's, location's of doctors and patient's in a large hospital and calculation of staff payroll and patient's medical fees.

5. Retail Shop :- Computer technology has a significant impact on retail store. Many of the shop's have replaced the old fashion cash registered with computer system. In a retail computer can be used to sales and purchase the goods by entering the item code through the keyboard or we can use a device into the computer called bar-code reader. With the help of computer the storekeeper can get the available stock just by clicking on the computer.

6. Telephone system :- In the early age of commercial telephone service operators have to make all connection and process the call. The telephone system now is just a multilevel computer network with a software switches in the network computers to route calls to the a destination. The main advantage is that calls get much more quickly and reliably they did in the port. The computer is also used for billing purpose in a telephone service provider.

Computer Animation and Artificial Intelligence :

Animation is one of the important tools of multimedia. It refers to moving text or graphics from one place to another. Animation on multimedia presentation is a series of images that are display in rapid succession, which gives illusion of movement animation makes the presentation live. Computer animation is created by projecting pictures one after another at a certain time.

Artificial intelligence can be define as branch of computer science concern with designing intelligence computer system that exhibits the characteristics associate with intelligence in human behavior.
The AI family includes: - (1) Robotics   (2) Machine Vision     (3) Neutral Language      (4) Export System    (5) Neuron Network 
Read More...

Wednesday, February 5, 2014

Different Phase of System Development Life Cycle

Leave a Comment
System Analysis :- When the problem is defined by the user and identified by the developer then analysis done by the system analysis. In this stage, the manuals system is taken a part an examine piece by piece with the view of information needed and other requirement of the management. 

System Design :- After gathering the requirement of the actual product that must be convert into pictorial form is known as design phase of SDLC. In this phase system designer convert the analyzed information which has collected by system phases to make a software systematic, attractive and user friendly. This stages are also known as linear water fall stages are in linear.

Coding :- When the designer design the problem in different modes as a pictorial form then the program developer translate the inter-machine under standable form. In this stage the developer can use any language that can be understood by computer. For Ex:- They can use hugh level language such as 'C' , c++ , visual basic etc.

Testing :- When the actual program is completed by programmer then next stage is to uncover the covered error to make software 100% accurate and user friendly. In this stage it is better to involve third party member because they don't have any ideas about that system.So different error may occurred and can be solved immediately. So we can say that testing means just to find out the cover error to make the system complete.

Implementation :- After completing the testing phase it is assuming that the system is 100% accurate it is delivered to user for implementation. In this phase, some of the team member of software developing will grow for further processing.

Maintenance :- In this business era, the market is fully competitive. So in software development also there are many companies which are competition with each other. After implementation also the company should give care up that software to be a good company in the market.

So we can conclude that in any software developing process the developer should follow the above phase to make a software systematic, attractive and user friendly. These stages are also known as linear water fall.
Read More...

Sunday, February 2, 2014

Internet, Intranet, Extranet & Cyber Law

Leave a Comment
WWW is a series of services of that interconnected through hypertext. Hypertext is a method of presenting information in which certain text are highlighted and when we sele
ct that, it displays more information on a particular topics/ This can be done by using the hypertext mark up language (html). these highlighted items are called hyperlinks and allows the users to navigate from one documents to another. Combining these all features can develop and design a webpaged which is generally called world wide web. For Ex:- www.yahoo.com

Internet is a network of network. It is generally used to transfer data or program from one computer to another by using a set of rules with the help of telecommunication line. It is design & develop to issue for public use and not restricted for anyone. To use internet we need modem, the specification and password which is provided by Internet service provider. 

An Intranet is the LAN or WAN that uses transmission protocol, Internet protocol but belongs exclusively to an organization, corporation or school. It is accessible to the workers of that organization only. To use this they are provided an individual  id and password which can be used within that organization only. 

An Extranet is similar to intranet but that can be accesed by outside the organization also. To used this, the user must have their own id & password which is provided by their organization. So Extranet is a similar to intranet but it is not restricted within one organization.

Cyber Law governs the illegal issue of cyber space. The term cyber space is not restricted to the internet. Cyber space is a very wide term that includes. 
(1) Computer (2) Computer Network (3) Internet (4) Data

Cyber law includes the laws relative to 
(i) Electronic and digital signature
(ii) Computer Crime
(iii) Intellectual Property
(iv) Data protection and privacy
(v) Tele-communication laws
Read More...

Saturday, February 1, 2014

E-Commerce

Leave a Comment
E-commerce refers to the process of buying or selling a product or service over and electronic network. The most popular medium in which E-commerce is conducted is the Internet. So, E-commerce can be defined as a process of selling or purchasing the goods for services through internet. Where demand can be created by the customer through th
e specific webpage of the supplier & payment can be made by using Credit Card, ATM Card etc. 

Types of business: There are 3 types of business transaction includes in E-commerce. 
They are (1) Business to Customer  (2) Business to Business  (3) Customer to Customer

1.) Business to Customer :- In this process, a business launch it's website and include all types of goods & materials available in his store. The Customer visit that website and get detail information of published product and create a demand in which he is interested. In this way B to C transaction is established. Example of B to C is : www.harilo.com

2.) Business to Business :-  A second and general form of E-commerce transaction involves the transaction between business to business. Example :- A multinational company launches it's websites with it's physical infrastructure on internet and allows a business to communicate for expanding it's branch.

3.) Customer to Customer :- Finally form of E-commerce that has become very popular over the last years involves C to C. Example:- A customer selects any greetings and sends it for another customer. Such as www.khattam.com

Application of E-commerce 
On-line Marketing
Home- Shopping
Remote-Banking
Supply Chain Management

Benifits of E-Commerce 
Quick Response
Improve Customer relationship
Better Department interraction
Read More...

Tuesday, January 28, 2014

HSEB – Grade XII (2013) (Computer Science) Solved Questions

Leave a Comment
Group ‘A’
Long Answer
Q1) What is control statement? Describe ‘Sequence’, ‘Selection’ and ‘Loop’ with flow chart and example.

Answer:
Control Statement: Control statements enable us to specify the flow of program control; i.e., the order in which the instructions in a program must be executed. They make it possible to make decisions, to perform tasks repeatedly or to jump from one section of code to another.  The if else Statement, switch Statement, Loops, while Loop, do while Loop, for Loop, break Statement, continue Statement and goto Statement are the examples of control statements.
There are four types of control statements in C:
         Decision making statements

         Selection statements

         Iteration statements

         Jump statements
Sequence: A sequence point defines any point in a computer program's execution at which it is guaranteed that all effects of previous evaluations will have been performed. They are often mentioned in reference to C, because the result of some expressions can depend on the order of evaluation of their sub-expressions. Adding one or more sequence points is one method of ensuring a consistent result, because this restricts the possible orders of evaluation.



Selection: selection also called a decision, one of the three basic logic structures in c programming. The other two logic structures are sequence and loop. In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event. 


Loop: 'A loop' is a part of code of a program which is executed repeatedly. A loop is used using condition. The repetition is done until condition becomes condition true. A loop declaration and execution can be done in following ways:
⦁             Check condition to start a loop
⦁             Initialize loop with declaring a variable.
⦁             Executing statements inside loop.
⦁             Increment or decrement of value of a variable.

 



Q2) Write a program which reads name of 20 employees and sort them in alphabetic order.

Answer:
#include "stdio.h"
#include "string.h"
#include "conio.h"
void main()
{
      int i,j;
      char name[20][20],temp[20];
      for(i=0;i<20;i++)
      {
       printf("Enter the name of %dth person:\n",i+1);
       scanf("%s",&name[i]);
      }
      printf("\n The names in original order are:\n");
      for(i=0;i<20;i++)
      {
       printf("%d.%s\n",i+1,name[i]);
      }
      for(i=0;i<20-1;i++)
      {
            for(j=i+1;j<20;j++)
            {
                  if(strcmp(name[i],name[j])>0 )
                  {
                     strcpy(temp,name[i]);
                     strcpy(name[i],name[j]);
                     strcpy(name[j],temp);
                   }
              }
        }

      printf("\n\nThe names in alphabetical order are:\n");
      for(i=0;i<20;i++)
      {
        printf("%d.%s\n",i+1,name[i]);
      }
 getch();
 }


Q3) Differentiate between structure and union with suitable examples.

Answer:
Structure: Structure is a method of packing the data of different types. When we require using a collection of different data items of different data types in that situation we can use a structure. A structure is used as a method of handling a group of related data items of different data types.
Example:
#include "stdio.h"

#include "conio.h"

struct comp_info

{

char nm[100];

char addr[100];

}info;

void main()

{

clrscr();

printf("\n Enter Company Name : ");

gets(info.nm);

printf("\n Enter Address : ");

gets(info.addr);

printf("\n\n Company Name : %s",info.nm);

printf("\n\n Address : %s",info.addr);

getch();

}
Union: Union is user defined data type used to stored data under unique variable name at single memory location. Union is similar to that of structure. Syntax of union is similar to structure. But the major difference between structure and union is 'storage.' In structures, each member has its own storage location, whereas all the members of union use the same location. Union contains many members of different types, it can handle only one member at a time. To declare union data type, 'union' keyword is used. Union holds value for one data type which requires larger storage among their members.
Example:
#include "stdio.h"

#include "conio.h"
union techno

{

int id;

char nm[50];

}tch;

void main()

{

clrscr();

printf("\n\t Enter developer id : ");

scanf("%d", &amp;tch.id);

printf("\n\n\t Enter developer name : ");

scanf("%s", tch.nm);

printf("\n\n Developer ID : %d", tch.id);//Garbage

printf("\n\n Developed By : %s", tch.nm);

getch();

}

Q4) What is recursion? Write a program to calculate factorial value of given number using recursive function.

Answer:
Recursion is a programming technique that allows the programmer to express operations in terms of themselves. In C, this takes the form of a function that calls itself. A useful way to think of recursive functions is to imagine them as a process being performed where one of the instructions is to "repeat the process". This makes it sound very similar to a loop because it repeats the same code, and in some ways it is similar to looping. On the other hand, recursion makes it easier to express ideas in which the result of the recursive call is necessary to complete the task.
Example:
#include "stdio.h"

#include "conio.h"

int fact(int);

void main()

{

  int num,f;

  printf("\nEnter a number: ");

  scanf("%d",&num);

  f=fact(num);

  printf("\nFactorial of %d is: %d",num,f);

  }

int fact(int n)

{

   if(n==1)

       return 1;

   else

       return(n*fact(n-1));

 }

Q5) Write a program which reads name, department and age from a file named "Employee.dat" and display them.

Answer:
#include "stdio.h"

#include "conio.h"
void main()
{
  FILE *f;
  char ch;
  f=fopen("employee.txt","r");
  while( ( ch = fgetc(f) ) != EOF )
  printf("%c",ch);
  fclose(f);
  getch();
}



Group ‘B’
Short Answer Questions

Q6) What is system? Explain the basic elements of system.
Answer:
A System may be defined as orderly grouping of interdependent components linked together according to a plan to achieve a specific goal. Each component is a part of total system and it has to do its own share of work for the system to achieve the desired goal.
Purpose, Boundary, Environment, Inputs, and Outputs are some important terms related to Systems.
• A System’s purpose is the reason for its existence and the reference point for measuring its success.
• A System’s boundary defines what is inside the system and what is outside.
• A System Environment is everything pertinent to the System that is outside of its boundaries.
• A System’s Inputs are the physical objects and information that cross the boundary to enter it from its environment.
• A system’s Outputs are the physical objects and information that go from the system into its environment.

Q7) Who is system analyst? List out the roles of system analyst.
Answer:
Systems analyst who designs an information system is the same as an architect of a house. Three groups of people are involved in developing information systems for organizations. They are managers, users of the systems and computer programmers who implement systems. The systems analyst coordinates the efforts of all these groups to effectively develop and operate computer based information systems. Systems analysts develop information systems. For this task, they must know about concepts of systems. They must be involved in all the phases of system development life cycle. It mainly consists of four phases: System Analysis, System Design, System Construction &amp; Implementation and System Support. Every phase consist of inputs, tasks and outputs.
Roles of system analyst:
Change Agent: The analyst may be viewed as an agent of change.
Investigator and Monitor: A systems analyst may investigate the existing system to find the reasons for its failure.
Architect: The analyst’s role as an architect is liaison between the user’s logical design requirements and the detailed physical system design.
Psychologist: In system development, systems are built around people.
Motivator: System acceptance is achieved through user participation in its development, effective user training and proper motivation to use the system.
Intermediary: In implementing a candidate system, the analyst tries to appease all parties involved.

Q8) Differentiate between DBMS and RDBMS with examples.
Answer:
DBMS
A Database Management System (DBMS) is a set of computer programs that controls the creation, maintenance, and the use of the database in a computer platform or of an organization and its end users. A DBMS is a system software package that helps the use of integrated collection of data records and files known as databases. It allows different user application programs to easily access the same database. Example: Perl, Python, IMS etc..
RDBMS
A Relational Database Management System (RDBMS) is a Database Management System (DBMS) that is based on the relational model. RDBMS is a DBMS in which data is stored in the form of tables and the relationship among the data is also stored in the form of tables. Example: Microsoft SQL Server, Oracle, Access, DB2 etc..

Q9) Describe the data types which are used in C programming.
Answer:
Followings are the most commonly used data types in C.

Q10) Describe the types of network topologies with clear diagram.
Answer:
Network topologies are:
Bus Topology:
In local area networks where bus topology is used, each node is connected to a single cable. Each computer or server is connected to the single bus cable. A signal from the source travels in both directions to all machines connected on the bus cable until it finds the intended recipient. If the machine address does not match the intended address for the data, the machine ignores the data. Alternatively, if the data does match the machine address, the data is accepted.

Star Topology:
Star networks are one of the most common computer network topologies. In its simplest form, a star network consists of one central switch, hub or computer, which acts as a conduit to transmit messages.
This consists of a central node, to which all other nodes are connected; this central node provides a common connection point for all nodes through a hub.

Ring Topology:
A ring network is a network topology in which each node connects to exactly two other nodes, forming a single continuous pathway for signals through each node - a ring. Data travels from node to node, with each node along the way handling every packet. Because a ring topology provides only one pathway between any two nodes, ring networks may be disrupted by the failure of a single link. A node failure or cable break might isolate every node attached to the ring

Tree Topology:
The type of network topology in which a central 'root' node (the top level of the hierarchy) is connected to one or more other nodes that are one level lower in the hierarchy (i.e., the second level) with a point-to-point link between each of the second level nodes and the top level central 'root' node, while each of the second level nodes that are connected to the top level central 'root' node will also have one or more other nodes that are one level lower in the hierarchy (i.e., the third level) connected to it, also with a point-to-point link, the top level central 'root' node being the only node that has no other node above it in the hierarchy (The hierarchy of the tree is symmetrical.) Each node in the network having a specific fixed number, of nodes connected to it at the next lower level in the hierarchy, the number, being referred to as the 'branching factor' of the hierarchical tree. This tree has individual peripheral nodes.

Mesh topology:
Mesh networking (topology) is a type of networking where each node must not only capture and disseminate its own data, but also serve as a relay for other nodes, that is, it must collaborate to propagate the data in the network. A mesh network can be designed using a flooding technique or a routing technique. When using a routing technique, the message is propagated along a path, by hopping from node to node until the destination is reached. To ensure all its paths' availability, a routing network must allow for continuous connections and reconfiguration around broken or blocked paths, using self-healing algorithms. A mesh network whose nodes are all connected to each other is a fully connected network. Mesh networks can be seen as one type of ad hoc network.


Q11) Explain polymorphism and inheritance with example.
Answer:
Polymorphism:
Polymorphism – means the ability of a single variable of a given type to be used to reference objects of different types, and automatically call the method that is specific to the type of object the variable references. In a nutshell, polymorphism is a bottom-up method call. The benefit of polymorphism is that it is very easy to add new classes of derived objects without breaking the calling code that uses the polymorphic classes or interfaces.

Inheritance:
Inheritance – is the inclusion of behavior (i.e. methods) and state (i.e. variables) of a base class in a derived class so that they are accessible in that derived class. The key benefit of Inheritance is that it provides the formal mechanism for code reuse. Any shared piece of business logic can be moved from the derived class into the base class as part of refactoring process to improve maintainability of your code by avoiding code duplication. The existing class is called the super class and the derived class is called the subclass. Inheritance can also be defined as the process whereby one object acquires characteristics from one or more other objects the same way children acquire characteristics from their parents.
Example:
#include "iostream.h"
class   vehicle
{
int    wheels;
float  weight;
public:
void  message(void)
{
cout<<"Vehicle message, from vehicle, the base class\n";
}
};
class  car : public  vehicle
{
int   passenger_load;
public:
void   message(void)    // second message()
{
cout<<"Car message, from car, the vehicle derived class\n";
}
};
class  truck : public  vehicle
{
int  passenger_load;
float   payload;
public:
int  passengers(void)
{
return  passenger_load;
}
};
class  boat : public  vehicle
{
int  passenger_load;
public:
int  passengers(void) {return  passenger_load;}
void  message(void)     // third message()
{
cout<<"Boat message, from boat, the vehicle derived class\n";
}
};
int  main()
{
vehicle  unicycle;
car      sedan_car;
truck    trailer;
 boat     sailboat;
unicycle.message();
sedan_car.message();
trailer.message();
sailboat.message();
// base and derived object assignment
unicycle = sedan_car;    
unicycle.message();
return 0;
}

Q12) Describe computer crime and its various forms.
Answer:
Computer crimes:
Computer crime, or Cyber crime, refers to any crime that involves a computer and a network. The computer may have been used in the commission of a crime, or it may be the target. Net crime refers, more precisely, to criminal exploitation of the Internet. Physical presence is not essential for the cyber-crime to take a place. The requirements to commit Cyber Crimes are few, compared to the possible repercussions caused and easy to get as programs and software are available on the Internet. Such crimes generate threats to the nation’s security and the personal financial health Issues surrounding this type of crime have become high‐profile, particularly those surrounding cracking, copyright infringement, child pornography, and child grooming. There are also problems of privacy when confidential information is lost or intercepted, lawfully or otherwise.
Forms of Cyber Crime
⦁             Cyber Crime has various forms which may include
⦁             hacking (illegal intrusion into a computer system without the permission of owner),
⦁             phishing (pulling out the confidential information from the bank or financial institutional account holders by deceptive means),
⦁             spoofing (getting one computer on a network to pretend to have the identity of another computer in order to gain access to the network),
⦁             cyber stalking (following the victim by sending e-mails or entering the chat rooms frequently),
⦁             cyber defamation (sending e-mails to all concerned or posting on websites, the text containing defamatory matters about the victim),
⦁             threatening (sending threatening e-mails to victim),
⦁             salami attacks (making insignificant changes which go unnoticed by the victim),
⦁             net extortion,
⦁             pornography (transmitting lascivious material),
⦁             software piracy (illegal copying of the genuine software), email bombing,
⦁             virus dissemination (sending malicious software which attaches itself to other software),
⦁             IPR theft, identity theft, data theft, etc.

Q13) List out the advantages and disadvantages of multimedia.
Answer:
Advantages of multimedia:
⦁      Increases learning effectiveness.
⦁      Is more appealing over traditional, lecture-based learning methods.
⦁      Offers significant potential in improving personal communications, education and training efforts.
⦁      Reduces training costs.
⦁      Is easy to use.
⦁      Tailors information to the individual.
⦁      Provides high-quality video images &amp; audio.
⦁      Offers system portability.
⦁      Frees the teacher from routine tasks.
⦁      Gathers information about the study results of the student.

Disadvantages of multimedia:
⦁      Expensive
⦁      Not always easy to configure
⦁      Requires special hardware
⦁      Not always compatible

Q14) What are the objectives of e-governance? Explain.
Answer:
E-Governance implies technology driven governance. E-Governance is the application of Information and Communication Technology (ICT) for delivering government services, exchange of information communication transactions, integration of various stand-alone systems and services between Government-to-Citizens, Government-to-Business, Government-to-Government as well as back office processes and interactions within the entire government frame work. Through the e-Governance, the government services will be made available to the citizens in a convenient, efficient and transparent manner. The three main target groups that can be distinguished in governance concepts are Government, citizens and businesses/interest groups. In e-Governance there are no distinct boundaries. Generally four basic models are available: Government to Customer (Citizen), Government to Employees, Government to Government and Government to Business.

Q15) Write short notes on:
a)      Normalization
Answer:
Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy and dependency. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships.
b)      Expert system
Answer:
In artificial intelligence, an expert system is a computer system that emulates the decision-making ability of a human expert. Expert systems are designed to solve complex problems by reasoning about knowledge, like an expert, and not by following the procedure of a developer as is the case in conventional programming. An expert system has a unique structure, different from traditional computer programming. It is divided into two parts, one fixed, independent of the expert system: the inference engine, and one variable: the knowledge base. To run an expert system, the engine reasons about the knowledge base like a human.


***Thank you*** 
Read More...