MS Rumi. Powered by Blogger.

Sunday, 19 October 2014

Bubble Sort With Pointer

Bubble Sort With Pointer In Data Structure

C++ Coding In Microsoft Visual 6

#include<iostream.h>
void bubleSort (int *arr);
//Main Function
void main ()
{
    int arr[5];
    cout<<"Enter Numbers To Store In Array"<<endl;
    for(int i=0; i<5; i++)
    {
        cin>>arr[i];
    }
   
   
    cout<<"Beofre Sorting"<<endl;
    for(i=0; i<5; i++)
    {
        cout<<arr[i]<<",";
    }

    //sorting array
    bubleSort(arr);
   
    cout<<"After Sorting"<<endl;
    for(i=0; i<5; i++)
    {
        cout<<arr[i]<<",";
    }

}

// Sorting Function
void bubleSort (int *arr)
{
    for(int i=0; i<4; i++)
        {
            for(int j=0; j<4; j++)
            {
                if(arr[j]>arr[j+1])
                {
                    arr[j]=arr[j]+arr[j+1];
                    arr[j+1]=arr[j]-arr[j+1];
                    arr[j]=arr[j]-arr[j+1];
                }
            }
        }
}

Saturday, 18 October 2014

Object Oriented Programming Task For Time Clock In C++

OOP Time Clock Parametrized and Default Constructor

Task To Convert Twenty Four Hour Format To Twelve Hour Format

Complete the function definitions of the following ADT
class Time
{
public:
void setTime( int, int, int ); // set hour, minute, second
void setHour( int ); // set hour
void setMinute( int ); // set minute
void setSecond( int ); // set second
int getHour(); // return hour
int getMinute(); // return minute
int getSecond(); // return second
void printTwentyFourHourFormat(); // print universal time

void printTwelveHourFormat(); // print standard time 

private:
int hour; // 0 - 23 (24-hour clock format)
int minute; // 0 - 59
int second; // 0 - 59
};


Task Solution

#include<iostream.h>
#include<iomanip.h>
class Time
    {
        public:
            void setTime( int hour, int minute, int second ) // set hour, minute, second
            {
                setHour(hour);
                setMinute(minute);
                setSecond(second);
            }
            void setHour( int h ) // set hour
            {
                hour=(h>=0 && h<24)? h:0;
            }
            void setMinute( int m ) // set minute
            {
                minute=(m>=0 && m<60)? m:0;
            }
            void setSecond( int s ) // set second
            {
                second=(s>=0 && s<60)? s:0;
            }
            int getHour() // return hour
            {
                return hour;
            }
            int getMinute() // return minute
            {
                return minute;
            }
            int getSecond() // return second
            {
                return second;
            }
            void printTwentyFourHourFormat() // print universal time
            {
                cout << setfill( '0' ) << setw( 2 ) << hour << ":" << setw( 2 ) << minute << ":" << setw( 2 ) << second;
            }
            void printTwelveHourFormat() // print standard time
            {
                cout << ( ( hour == 0 || hour == 12 ) ? 12 : hour % 12 )
                << ":" << setfill( '0' ) << setw( 2 ) << minute
                << ":" << setw( 2 ) << second << ( hour < 12 ? " AM" : " PM" );
            }
            //Void incSec(int=1); // increment in the second (01)
            //Void incMin(int=1); // increment in the minute (01)
            //Void incHour(int=1); // increment in the hour (01)
        private:
            int hour; // 0 - 23 (24-hour clock format)
            int minute; // 0 - 59
            int second; // 0 - 59
    };

void main ()
{
    Time t;
    t.setTime(21,4,55);
    t.printTwelveHourFormat();
    cout<<endl;
    t.printTwentyFourHourFormat();
}

Tuesday, 14 October 2014

Free Download Top Coke Studio Pakistani Hit Songs 2014

Coke Studio Season 7 Pakistani

Free download coke studio season 7 Episode 1-3 Pakistani songs with just one click.

Song On Number 1

Song   Sub Akho ALLAH ALLAH
Singer Asrar
Studio Coke Studio
Category   Pakistani
Season   7 Episode 1
Download Mp3  Click Here To Download
Play Online Click Here To Play Song

 

 Song On Number 2

Song   Tum Naraz Ho
Singer Sajjad Ali
Studio Coke Studio
Category   Pakistani
Season   7 Episode 1
Download Mp3  Click Here To Download
Play Online Click Here To Play Song

Song On Number 3

Song   Lai Beqadran Naal Yaari
Singer Niazi Brothers
Studio Coke Studio
Category   Pakistani
Season   7 Episode 1
Download Mp3  Click Here To Download
Play Online Click Here To Play Song

 

Song On Number 4

Song   Nadiya
Singer Rahma Ali and Jimmy Khan
Studio Coke Studio
Category   Pakistani
Season   7 Episode 3
Download Mp3  Click Here To Download
Play Online Click Here To Play Song

Song On Number 5

Song   Washmallay
Singer Komal , Akhter , Momin
Studio Coke Studio
Category   Pakistani
Season   7 Episode 2
Download Mp3  Click Here To Download
Play Online Click Here To Play Song

Saturday, 6 September 2014

Some important question before studying Software Engineering



Q1. Why we need software engineering?

Software engineering is need to make sure development of software systems (Large Software) that are
  • Reliable
  • Maintainable
  • Efficient
  • Meet the needs of customers
Production of system meets
  • Schedule
  • Budget

Q2. What is difference between Search and Research?



When someone searches, it finds something and that found something is again searched, you find something either new or missing or not there at all. So, searching something from something already searched is research in literally.

Q3. History of Software Engineering?


Mastering the Machine (1956–1967)
During this session Software Engineering was not been coined. The main reason of any part of software was to get exploitation of the limited hardware.  First compiler was defined and operating system was non interactive.  These primitive environments defined first low level CASE tools for editing, compiling, and debugging. Lack of software development and high risk was easily noticeable.
Mastering the Process (1968–1982)
First software crisis faced in this session and led to the birth of software engineering. Its aim was to improve productivity, quality and reduce risk. In this stage formal modeling introduced that enables implementation automation.  But for industry, this formal approach was unfeasible due to a lack of tools and training. Furthermore, formal methods become unmanageable for large system development. In conclusion, in this stage, the need to focus on predesign phases and the use of more or less formal models for software specification began to appear. A number of structured methods, such as Software Requirement Engineering Methodology (SREM) and the Structured Analysis and Design Technique (SADT) were developed allowing the development of specification documents for business management software.
Mastering the Complexity (1983–1992)
The up to then dominion of hardware over software ended. Personal computers arrived and opened the fields of computer applications. The software development process would now comprehensively address analysis and design from the specification. Graphical user interface and visual programming brought software closer to customers. The use of structured family and data modeling methodologies was extended . Several CASE tools facilitated software development. However, data modeling (database) and function modeling (structured methods) still followed separate paths. These two modeling paths converged in object-oriented (OO) methods like early on in structured methodologies, they were first introduced in coding and design, and finally in specification and analysis . This approach enables efficient reuse of object-oriented software and thus improves building software productivity.
Mastering the Communications (1993–2001)
The emergence of the Internet brought with it a new software concept. The decentralization of functions and data led to the rapid development and expansion of areas of computing, such as concurrent programming and distributed architectures, which up to then had been limited to a narrower context. In addition to client/server applications, and in general, any distributed system development, there was now a new engineering software discipline called Web engineering. Moreover, software development was viewed as an industrial process in which quality should be monitored. This requires an effective separation between process and product. Some tasks related to managing and improving both the product and process appeared as new SE components, such as CMM (capability maturity model) and CMMI (capability maturity model integrated) .
Mastering the Productivity (2002–2010)
Most software systems created in this stage are called management information systems. They were designed to be an important part of business management in large companies. This has led to a need for the methodologies to be adapted by increasing the abstraction levels in software engineering tasks up to the abstraction level in which the problem is described. New tools enabling analysis level programming, such as Model Driven Architecture (MDA), appeared in this stage. The other major significant period in this stage was marked by the emergence of agile methodologies. Agile projects focus on creating the best software to meet customer needs. This means that the development team focuses only on tasks and processes that provide the customer with added value in the product being created, improved, or implemented. The most popular methodologies are Extreme Programming (XP) and Scrum.
Mastering the Market (2011–…)
Now, there are new platforms for integration and interoperability between different information systems. The concept of Service Oriented Architecture (SOA) coined in the early decade is widely extended. It is based on the combination of basic services (own or outside) that provide the functionality at business level for a specific domain problem. These services are orchestrated to perform more complex tasks, becoming composite services. These ubiquitous real-time services can be sold as a product, which is the origin of Cloud computing. On the other hand, customers demand several applications to be used in their smartphones, tablets, or laptops. The applications (i.e., apps) are small programs that can be downloaded and installed on mobile devices that allow users to perform some tasks at the place that they are in any moment. They are grouped into virtual stores and many of them are free, so usually they are closer to marketing challenges than software development challenges. They tend to be more dynamic than traditional programs and are the ultimate expression of agile methods and MDA.

Q4.  Difference Between computer science and Software Engineering?

Computer Science
It is Science of Computers. Everything that is related to computers is covered in CS.CS basically involves research and development of both your hardware, software and different techniques involved with them e.g Networking, Artificial Intelligence and Cryptography. It also involves making NEW tools and technologies in the field of Computers and combination of computers with other subjects  i-e Use of computers to solve non-computer problems. Also, an important point to remember is whatever you do as a computer scientist, it becomes a part of your arsenal. You can build upon it in future. 
Software engineering SE
It deals with the application of computer science and software; to commerce or industry i-e How software effects the business objectives (Making something within reasonable time with use of reasonable labor and expenses etc). Apart from development it also deals with verification and validation e.g Software Product is according to customer requirements and according to specifications and standards.

Q5. Importance of Software Engineering in software houses?

In Software House developing large software is a complex and often difficult process requiring the synthesis of many disciplines. From modeling and design to code generation, project management, testing, deployment, change management and beyond, a UML (Unified Modeling Language) based modeling tool like Enterprise Architect has become an essential part of managing that complexity these all things are covered in software engineering.

Peekay (PK) Movie and Songs Free Download

Peekay (PK) - Information

Director  RajKumar Hiran
Producer Vidhu vindo Chopra and Rajkumar Hiran
Writer of Movie Abhijat Joshi
Category Bollywood
Actor / Actresses Amir Khan, Anushka Sharma, Sanjay Dutt, Sushant Singh
Type/ Genre Drama
Movie Done By Vindhu Vindo
Release Date December 19, 2014
Running Time Unknown
Language Hindi
Country India
Music byShantanu Moitra
Cinematography Muraleedharan
Songs Name Unknown
Songs ByArray
Budget Of Movie Unknown
Done Business Unknown
StoryThis movie is about current situation of Political satire, that hitting country.

Free Download Songs Of Peekay Movie

Songs are available after release. 

Free Download Wallpaper Of Peekay Movie


 

Full Movie Peekay (PK) Free Download For Mobile and PC

 Link will available after movie release.

Tuesday, 19 August 2014

New Pakistani Action Movie In October - Operation 021

Operation 021 - Information

Director  Jami, Summer Nicks
Producer  Sami khan, Zeba Bakhtiar
Writer of Movie Unknown
Category Lolly-Wood
Actor / Actresses Shaan Sahid, Shamoon Abbasi, Aamina Sheikh, Ayub khoso, Mustafa Changazi,
Type/ Genre Action, Thrill
Movie Done By Rizwan A.Q
Release Date
October5, 2014
Running Time Unknown
Language English, Urdu, Pashto and Dari 
Country Pakistan
Music byAlfonso Gonzalez Aguilar
Cinematography Mo Azmi
Songs Name Unknown
Songs By Rahat Fateh Ali Khan
Budget Of Movie  4.75 Crore
Done Business Unknown
StoryUnknown

Trailer Of Movie 021


Wallpaper Of Movie 021

 







Friday, 15 August 2014

About Us

About Us

Introduction

My name is Muhammad Sohaib Roomi and  I'm doing MSc-IT from University Of Sargodha Lahore Campus Pakistan. My place of birth is Rawalpindi, Pakistan and date of birth is 17 August 1992. Recently I
got experience in SEO from The Fas Solutions Company located in township Lahore, Pakistan.

Blog- My Daily Entertainment

Daily Entertainment is a site with lots of information about music, movies, sports, education, latest technology news and many more. These all things are collected from daily life through internet and also from university life. In this site I have all my experience bad and good.

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles

TOP