Address: http://www.ibm.com/developerworks/cn/rational/r-usecase-atm/index.html
Level: elementary
Fu chunyi, technical sales manager of Rational China, software department of IBM China Co., Ltd.
November 01, 2004
Use Case is a method used to
Case modeling GuideFu chunyi, technical sales manager of rational China, software department of IBM China Co., Ltd.November 01, 2004Original URL: http://www-128.ibm.com/developerworks/cn/rational/r-usecase-atm/@
Use case is a method used to describe system requirements. The process of describing system requirements using use cases is case modeling. The use case method was first proposed by Dr. IVA jackboson and was later integrated into the UML
Day 4: loop structure (while, do... While, ),... While1. Loop Structure (while, do... While,)
1.1. What is a loop structure
In daily life, there will be a lot of things that need to be done repeatedly, such as four seasons of every year, 7 days of
1.while:Convert for to while,a//for (int i = 1; i B//int i=1;-------in front of the whilewhile (iThe difference between the two is that the for parenthesis contains: initial conditions, cyclic condition, state change, and curly braces.While:
Structure of the while, until, case, and select statements in bash
Case statement:
Use the case structure in the script:Case $ {VAR_NAME} inPATTERN1)COMMAND...;;PATTERN2)COMMAND...;;...EsacPATTERN can be the following types of characters:1. common
First, using the For loop structureTarget:This case requires writing a shell script chkhosts.sh that uses a for loop to detect the surviving status of multiple hosts, with the following requirements and instructions:1> Ping Detection of 192.168.4.0/2
1. Loop Structure (while, do... While,)
1.1. What is a loop structure
In daily life, there will be a lot of things that need to be done repeatedly, such as four seasons of every year, 7 days of every week, 3 meals a day, and 50 copies of each
First, use the FOR Loop statement1) structure of the For statementFor variable name in value listDoCommand sequenceDoneExecution process:First assigns the 1th value in the list to the variable, executes the command sequence in the Do......done loop
Foreword: It is difficult to write all the code in sequential order when it is hard to satisfy the requirements when facing various lists and repeating tasks. Use other program control structures such as loops, branches, and more to make it easier
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.