Coder Social home page Coder Social logo

software-quality-assurance's Introduction

SE187-Software-QA

Installation

To clone and run this repository you'll need Git and JUnit installed

Clone this repository

git clone https://github.com/NivlaCuong/SE187-Software-QA.git

Project Composition:

├── src/                    - Storing all projects of the course 
├── .gitignore              - Files that is not allowed to push on Git 
├── README.md               - Information of the project 
└── SE187-Software-QA.iml    

Authors

Calvin Nguyen - NivlaCuong

Cheng Chin Lim - Cheng Chin Lim

Sanford huynh - Sanford Huynh

License

Use of this source code is governed by an MIT-style license.

software-quality-assurance's People

Contributors

calvinqc avatar chengchinlim avatar sanfordhuynh avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

software-quality-assurance's Issues

Progress Bar

Some progress bars are circles. Assume we have a progress bar, that shows its progress as a sector of a circle. Imagine your screen as a square on the X, Y plane with its bottom-left corner at (0, 0), and its upper-right corner at (100, 100). Every point on the screen is either red or blue. Initially, the progress is 0%, and all points on the screen are blue. When the progress percentage, P, is greater than 0%, a sector of angle (P% * 360) degrees is colored red, anchored by the line segment from the center of the square to the center of the top side, and proceeding clockwise. Given the percentage completed and a point (X, Y), determine out whether that point will be red or blue.

Write a function that takes P (percentage completed), X (x coordinate of a point) and Y (y coordinate of the same point) as arguments and prints “RED” or “BLUE” as output. RED if the given point will be colored red and BLUE if the given point will have blue color for P% progress.

Draw control flow diagram for the same code you wrote above.

Write an Oracle including five test cases (with reasons). Draw the paths executed by these. State what percentage of statement, branch and path coverages are achieved.

Write additional test cases to achieve complete statement and branch coverage. Present these in a table separate from the Oracle.

Tower Of Hanoi

Write a recursive function that implements the Tower of Hanoi problem. Draw a control flow graph for this function

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.