10 NESMA 组合外部输入案例分析

10 COMBINED EXTERNAL INPUTS(组合外部输入)

翻译

问题描述

如下所示的界面提供给用户进行产品数据的维护

在这里插入图片描述

用户输入产品代码后,会出现一个空屏幕,或者出现一个包含先前输入的产品数据的屏幕。当输入新的产品代码时,也可以输入屏幕上的其余数据字段。按“添加/更改”按钮可以将数据保存到文件中。当在屏幕上输入已有的产品代码时,可以使用“添加/更改”按钮更改并保存产品数据。可以使用“删除”按钮删除产品。当用户删除数据时,应用程序会检查该产品是否有库存

讨论

输入新产品的数据是第一个外部输入。同时,添加/更改按钮应作为数据元素类型包含在计数中。

更改产品数据是第二个外部输入。请注意,同一组数据元素类型用于另一种逻辑处理方式:更改产品数据。使用相同的按钮,并且该按钮也被计数用于该外部输入。

删除产品数据是第三个外部输入。从逻辑的角度来看,此函数也与上面的其他两个函数有根本的不同。如果用户将库存数据文件视为单个文件,则在确定该特定外部输入的复杂性时,该数据必须包含在计数中。

显示产品数据不算作单独的功能,因为用户的目标是添加、更改或删除产品数据。只有当用户的目标是使用此功能查询产品数据时,数据的显示才应算作单独的外部查询。

解决方案

共计算3个外部输入

原文

Problem description

An application provides the user with the option to maintain product data via the screen below.

在这里插入图片描述

After the user enters a product code, either an empty screen appears or a screen with product data entered earlier. When a new product code is typed in, other data can then also be entered into the remaining data fields on the screen. The data can be saved into the file by pressing the Add/Change button. When a product code already used for a product is entered onto the screen, the product data can be altered and saved with Add/Change button. A product can be deleted using the Delete button. When the user deletes data the application checks to see whether any stock of this product is present.

How many and what types of functions can be distinguished here?

Discussion

Entering the data of a new product is the first external input. Do not forget that the Add/Change button should be included in the count as a data element type.

Changing product data is the second external input. Note that the same set of data element types is used for another logical way of processing: to change product data. The same button is used and the button is counted for this external input too.

Deleting product data is the third external input. From a logical standpoint, this function also differs fundamentally from the other two above. If the user considers the stock data file as an individual file, this data must be included in the count when determining the complexity of this particular external input.

Displaying product data is not counted as a separate function because the user’s objective is to add, change, or delete product data. Only when the user’s objective is to query the product data with this function should the displaying of data be counted as a separate external inquiry.

Solution

Count three external inputs.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值