Introduction to the test of software testing

Source: Internet
Author: User

1. evaluate someone else's software

Please download the Railway 12306 mobile app, by using this software, write a software evaluation (more than 300 words), evaluation content can be the advantages of this software, or you feel particularly good place, software defects, software can improve the place and so on.

Software a total of 4 navigation, divided into: ticket booking, order inquiry, my 12306, more features. Objectively speaking, the software interface design is very concise and practical at a glance. The ticket booking interface provides one-way and round-trip booking options, as well as dates, Sibe, train types, and passenger selection and addition (up to 5 persons per order), as well as two ticket options for both ordinary and student.

Order Enquiry and my 12306 provide order inquiries, management of commonly used contacts, and modification of personal data and passwords. In the more functional, we can add common settings (such as the departure of the frequent train station and the choice of terminal), in more, there is a "travel leisure" function, content is some of the app's recommendations.

Overall feeling, the client is still very good, in addition to the individual functions need to be perfected, in many places the design is much better than the 12306 site.

2. Write a software yourself

Write an input two-digit number to implement the subtraction program. And compared with the students a variety of functions, the similarities and differences of implementation methods and so on. Write down the flaws in your program, and do better than others.

Import Java.util.Scanner;


public class test{
public static void Main (string[] args) {
Scanner sc = new Scanner (system.in);
System.out.println ("Enter an expression (e.g. 1 + 2):");
int a = Sc.nextint ();
char ch = sc.next (). charAt (0);
int b = Sc.nextint ();
Switch (CH) {
Case ' + ': Jia (A, b);
Break
Case '-': Jian (A, b);
Break
Case ' * ': Cheng (A, b);
Break
Case '/': Chu (A, b);
Break
DEFAULT:SYSTEM.OUT.PRINTLN ("input error");
Break
}
}

private static void Cheng (int a, int b) {
int sum = a * b;
System.out.println ("Two count product:" + sum);
}

private static void Jian (int a, int b) {
int sum = a-B;
System.out.println ("Two number difference:" + sum);
}

private static void Chu (int a, int b) {
if (b = = 0) {
SYSTEM.OUT.PRINTLN ("divisor cannot be zero ~");
} else {
int sum = A/b;
System.out.println ("Two number quotient:" + sum);
}
}
private static void Jia (int a, int b) {
int sum = a + b;
System.out.println ("Two number and:" + sum);
}
}

Introduction to the test of software testing

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.