Monday, January 2, 2017

Asset-Centric Engineering

Asset Centric Engineering can be applied to
a)      Unified Process Development Methodology
b)      Scrum Methodology
c)       Extreme Programming Methodology
d)      Waterfall Methodology
e)      None of the above
f)       All of the above

Friday, December 30, 2016

SOA and SOI

Q: IS SOI (Service Oriented Integration) Reference Architecture a subset of SOA (Service Oriented Architecture) reference Architecture?

a)  True
b)  False

Tuesday, December 27, 2016

SOA Capabilty Maturity Levels

SOA capability Maturity levels

Level - 0 No SOA : You have not pursued SOA Approach
Level - 1 AD HOC : You are just trying to play around with SOA
Level -2 Opportunistic : you are trying SOA for quick implementation, may be a demo
Level -3 Systematic : you are getting serious with SOA, consistent application with share and reuse Level - 4 Managed : you have step further, considering to drive business value
 Level - 5 Optimized : you are getting full benefit of SOA strategy, cost-effectiveness, business intiatives, standards, processes

Thursday, September 15, 2016

bool Data Type in C++

While making decisions, it is human to think in terms of true or false. In C Programming language false is represented by Zero value and true by Non-Zero. C++ introduced bool data type to hold true or false values.
Code example :
#include <iostream>
using namespace std;
int main()
{
    int x=10,y=20;
    bool b=x>y;
    cout<<" x> y = "<<b<<endl;
    return 0;
}

On execution :




Even though  we can use keywords : true or false for assigning purposes to bool variable, the values stored in a bool variable for true is 1 and false is 0.

bool b=true;
cout<<b<<endl;

The outcome is 1.

std::boolalpha function can be used for text values for bool type.  With boolalpha, cout statement will look like :
    cout<<" x> y = "<<std::boolalpha<<b<<endl; 
On execution :



boolalpha is a format flag...

Wednesday, July 20, 2016

Another way to convert an int to String

import java.util.Scanner;
public class IntToStrMethodsDemo {
    public static void main(String[] args) {
        int num;
        num=readInt();
        String str=intToStr(num);
        System.out.println(intToStr(num)+1);
    }
    public static int readInt(){
        System.out.println("enter an int");
        return new Scanner(System.in).nextInt();
    }
    public static String intToStr(int num){
        return ""+num;
    }

}
Or use the code below :

String str = ""+new Scanner(System.in).nextInt();
        System.out.println(str+1);


It does the same

Saturday, July 16, 2016

Simple utility to convert an int to String

package utilities;
import java.util.Scanner;
public class IntToStr {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("Enter an integer :");
        int num = scanner.nextInt();
        String str = intToStr(num);
        System.out.println("number String : "+str);
    }
    public static String intToStr(Integer num){
        return num.toString();
    }

}

Monday, March 21, 2016

Business Model Canvas

BMC is a single page view, which is works like a strategic management tool for an enterprise to show
  • What you want to do or what you do?
  • How you want to go about it?

It lays out crucial activities and challenges and their relationship. The intention of a company to deliver a service or a product is described by nine building blocks :
  • Customer Segments
  • Value propositions
  • Channels
  • Customer Relationships
  • Revenue Streams
  • Key Resources
  • Key Activities
  • Key partnerships
  • Cost Structures
A Single page view of BMC from hbr.org :