BCA Raipur - BCA Notes S-1

Post your notes and other just by mailing us at bcaraipur@live.com

BCA Raipur - BCA Notes S-2

Post your notes and other just by mailing us at bcaraipur@live.com

BCA Raipur - BCA Notes S-3

Post your notes and other just by mailing us at bcaraipur@live.com

BCA Raipur - BCA Notes S-4

Post your notes and other just by mailing us at bcaraipur@live.com

BCA Raipur - BCA Notes S-5

Post your notes and other just by mailing us at bcaraipur@live.com

google search

Popular Posts


Welcome to BCA Notes

>>>>>>>>>>>>>>>>

Visitors

Search This Blog

Blogger templates

Visitor Map


Thursday, 21 August 2014

Program on Bubble sort algo

#include<iostream.h>
#include<stdio.h>
#include<conio.h>
class List
{
public:  
// Array of integers to hold values
int arr[20];
// Number of elements in array
int n;

// Function to accept array elements
void read()
{
while (1)
{
cout<<"\nEnter the number of elements in the array: ";
cin>>n;
if (n <= 20)
break;
else
cout << "\nArray can have maximum 20 elements\n";
}

//Display the header

cout<<"\n";
cout<< "-----------------------\n";
cout<< "Enter array elements  \n";
cout<<"-----------------------\n";

// Get array elements
for( int i = 0; i < n; i++ )
{
cout<<"<"<<i+1<<"> ";
cin>>arr[i];
}
}

// Bubble Sort function
void BubbleSortArray()
{
for (int i = 1; i < n ; i++) //For n-1 passes
{
//In pass i, compare the first n-i elements
//with their next elements

for (int j = 0; j < n-i; j++)
{
if (arr[j] > arr[j+1]) //If the elements are not in the correct order
{
//Swap the elements
int temp;
temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
}
}
}

// Function to display the contents of the array
void display()
{
cout<<endl;
cout<<"-----------------------\n";
cout<<" Sorted array elements \n";
cout<<"-----------------------\n";
for( int j = 0; j < n; j++ )
{
cout<<arr[j]<<' ';
}

cout<<endl<< "Press Return to exit.";
getchar();
}
};


void main()
{
// Instantiate an instance of the class
clrscr();
List myList;

    // Function call to accept array elements
    myList.read();

    // Function call to sort array
    myList.BubbleSortArray();

    // Function call to display the sorted array
    myList.display();

}

Program on binary selection>>>

#include<iostream.h>
#include<conio.h>
void main()
{
    clrscr();
    int arr[20];    //Array to be searched
    int n;      //Number of elements in the array
    int i;

    // Get the number of elements to store in the array
    while (1)
    {
cout << "Enter the number of elements in the array: ";
cin >> n;
if ((n>0) && (n <= 20))
   break;
else
   cout << "\nArray should have minimum 1 and maximum 20 elements.\n\n";
    }

    //Accept array elements
    cout << "\n---------------------------------------\n";
    cout << " Enter array elements in ascending order\n";
    cout << "----------------------------------------\n";

    for (i = 0; i < n; i++)
    {
cout << "<" << (i + 1) << "> ";
cin >> arr[i];
    }

    char ch;

    do
    {
//Accept the number to be searched
int item;
cout << "\nEnter the element you want to search: ";
cin >> item;

//Apply binary search
int lowerbound = 0;
int upperbound = n - 1;

//Obtain the index of the middlemost element
int mid = (lowerbound + upperbound) / 2;
int ctr = 1;
while ((item != arr[mid]) && (lowerbound <= upperbound))
{
   if (item > arr[mid])
lowerbound = mid + 1;
   else
upperbound = mid - 1;
   mid = (lowerbound + upperbound) / 2;
   ctr++;
}

if (item == arr[mid])
   cout << "\n" << item << " found at position " << (mid+1) << endl;
else
   cout << "\n" << item << " not found in the array" << endl;

cout<<"\nNumber of comparisons: " <<ctr;

cout << "\n\nContinue search (y/n):";
cin >> ch;
    } while ((ch == 'y') || (ch == 'Y'));
}






Monday, 11 August 2014

System Analysis & Designing FAQ

System Analysis & Designing
Frequently asked questions

Q.1 What is a system?

Ans:- The term system is grieved from the Greek work systema, which means an organized relationship among functioning units or components.

Q.2 Explain phases of system development life cycle?

Ans:- Following arr the phases of system development life cycle :-
  1. Recognition of need.
  2.  Feasibility study.
  3. Analysis.
  4. Design.
  5. Implementation.
  6. Post-implementation
  7. Maintenance.
Q.3 Name the different types of system?

Ans:- Following are the different types of system:-
  1.  Physical or Abstract System.
  2.  Man Made System.
  3. Open & Closed System.
Q.4 Write down the characteristics of system?

Ans:- Following are the characteristics of System:-
  1. Organization.
  2. Interaction.
  3. Interdependence.
  4. Integration.
  5. Central objective.
Q.5 Roles of System Analyst ?

Ans:- Follow the link

Wednesday, 23 July 2014

Web & Mobile app development services

Dear Sir/Madam,

 

Hope you are doing well,

 

Thank you in advance for taking the time out of your busy day to read and consider this.

 

My name is Rahul Sharma and I represent a leading software solutions provider located in India.

 

We have been helping our clients to shape their IT eco system and move up the value chain. Our team has wealth of experience in serving the clients from all over the world and most of our clients are from US, Canada, Australia and Kuwait.

 

We have a team of 50+ highly skilled engineers who have loads of experience in handling and delivering multi million projects in timely fashion. With years of experience of working with a range of technology stacks - both open source and proprietary, we ensure that our clients get the best of what the technology industry has to offer. 

 

Some of the stacks we have successfully delivered are Microsoft Azure, Web API, MVC 4.0, LAMP Frameworks and technologies like asp.net, Unity 2D/3D, RubyonRails, Python, Angular.js, Node.js, Mobile Platforms (Android, iPhone & Crossed Platform), HTML5 & Big Data.

 

We offer following Services at Reasonable Cost

 

Web Development

Mobile Application development

Web Application Development

Software Product Engineering

Mobile Games Development

HRMS

iOS/Android

Apps

IT Consulting

Ecommerce Solutions

Unity 2D/3D

Web Design

Mobility Solutions

Accounting Software

ERP Software

Html5

 

I'd be happy to send you our pricing and past work details, if you'd like to assess our work. We provide high quality services at much lower cost.

 

If you have any query, we will be more than happy to address that.

 

Sounds interesting? Feel free to email us or alternatively you can provide me your phone number and the best time to call you.

 

Looking for the positive reply from your end. A quick revert would be highly appreciated.

 

Best Regards,

Rahul Sharma

Business Development Manager

Skype: rahul.sharma3880

 

PS: We specialize in helping companies/Individuals turning their ideas into apps, websites and revenue.

 

Disclaimer: Though this is not an automated email and we are not spammers of any kind. We are sending these emails to all those people whom we find eligible of using our services. If you are in the same business then we would like you to offer our best deal as an Agency.

Saturday, 12 July 2014

General air pollution control devices / equipments for industries

The commonly used equipments / process for control of dust in various industries are

(a) Mechanical dust collectors in the form of dust cyclones;

(b) Electrostatic precipitators – both dry and wet system;

(c) particulate scrubbers;

(d) Water sprayer at dust generation points;

(e) proper ventilation system and

(f) various monitoring devices to know the concentration of dust ingeneral body of air.

The common equipments / process used for control of toxic /flue gases are the

(a) process of desulphurisation;

(b) process of denitrification;

(c) Gas conditioning etc. and

(d) various monitoring devices to know the efficacy of the systems used

(e). Steps, in general, to be taken for reduction of air pollution -To change our behavior in order to reduce AIR POLLUTION at home as well as on the road, few following small steps taken by us would lead to clean our Environment.

Monday, 7 July 2014

Write a c program to find out sum of digit of given number

//Write a c program to find out sum of digit of given number

#include<stdio.h>
int main()

{
  int num,sum=0,r;
  printf("Enter a number: ");
  scanf("%d",&num);
  while(num){
      r=num%10;
      num=num/10;
      sum=sum+r;
  }
  printf("Sum of digits of number:  %d",sum);
  return 0;
}

Sample output:
Enter a number: 123
Sum of digits of number:  6

Thursday, 26 June 2014

c++ program for finding HCF and LCM




Source Code:-
#include<iostream.h>
#include<conio.h>
 
int main()
 {
  int a,b,x,y,t,hcf,lcm;
 
  cout<<"Enter 1st number"<<endl;
  cin>>x;
  cout<<"Enter 2nd number"<<endl;
  cin>>y;
 
  a=x;
  b=y;
 
  while(b!=0)
  {
    t=b;
    b=a%b;
    a=t;
  }
 
  hcf=a;
  lcm=(x*y)/hcf;
 
  cout<<"HCF : "<<hcf<<endl;
  cout<<"LCM :"<<lcm;
 getch();
  return 0;
}

For any questions,query,suggestion & output :-
Contact Me
write to me
@
rishabhbaid96@gmail.com