Skip to main content

Posts

Showing posts from January, 2015

W3 Lab Lottery

Write a console application that mimic popular lottery. Ensure that you choose the right data structure to complete this exercise. The application asks user how many QuickPick numbers she wants. Once the user enters an integer, application should generate specified number of QuickPick numbers. The each QuickPick will have 6 integers in the range of 1-49 inclusive sorted in the ascending order without any duplicates.. Once QuickPick numbers are generated they are sorted in the ascending order and displayed on console.  Then, Winning Number is generated. If the winning number is matches the User Number. The application should calculated the reward, if any, and display appropriate message on the Console screen.    The reward is based on the following  Number of Matches Win 6/6 80.5 % of the 30million 5/6 + Bonus 5.75 % of the 30million 5/6 4.75 % of the 30million 4/6 9 % of the 30million 3/6 $10 prize 2/6 + Bonus $5 prize Here is a s

Introduction to System Analysis and Design

Information Systems  Organization today uses information systems to achieve strategic, tactical and operational advantage. Information systems capture, process, stores and retrieve information that satisfies the business requirements. They are either built for the organization or they are procured as an off-the-shelf software.   Traditional systems development life cycle (SDLC) SDLC The software systems can be built in-house. Software system development consists of a number of phases. A traditional SDLC consists of four phases - System planning and selection , system analysis , system design , and system implementation and usag e. System analysis and system design are critical phases of SDLC. System Analysis and Design System analysis and design is performed by a system analyst to ensure the effectiveness of the information system. An information system is considered to be effective when it is capable of catering the information requirements of an organization.

Composite Pattern

Composite pattern is useful when Group of items and an individual item need to be handled uniformly. For example, operations cut, copy and paste should work uniformly for both an individual file or a directory. Leaf Branch Contact Contact Group File Directory Address Address group