习题02章-Lotus Domino 65基本设计元素详解.doc_第1页
习题02章-Lotus Domino 65基本设计元素详解.doc_第2页
习题02章-Lotus Domino 65基本设计元素详解.doc_第3页
习题02章-Lotus Domino 65基本设计元素详解.doc_第4页
习题02章-Lotus Domino 65基本设计元素详解.doc_第5页
已阅读5页,还剩27页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

习题02章:Lotus Domino/Notes 6.5基本设计元素1.问答题准备使用Domino6开发一个软件系统,需要收集和显示用户个人信息,需要实用Domino的什么设计元素?42.问答题视图的作用是什么?43.问答题视图和文件夹的区别是什么?举一个使用文件夹的例子。44.问答题Domino提供了哪些自动功能特性?55.问答题完成Domino数据库设计后,希望能够把所有的设计属性和代码输出的一个文档中,并进行打印,便于浏览和检查,应该怎么做?66.问答题什么是数据库模板?77.问答题使用Domino邮件模板文件mail6.ntf创建邮件文件admin.nsf后,实用Designer对大纲WebMailOutline做了修改,增加了一个大纲项链接到日志数据库。第二天发现这个大纲项丢失了,请问什么原因,如何解决?78.问答题数据库拷贝和数据库复本有什么区别?89.问答题数据库在复制时,是否可以选择复制内容?910.问答题Domino的页面中,如何使用JavaScript?1011.问答题表单和页面的区别是什么?1112.问答题表单和文档的关系是什么?1113.问答题用表单formA创建了一个文档后,在视图ViewA中打开文档,发现不是用表单formA显示文档,而是用表单formB显示文档,为什么?1114.问答题如何为数据库中的表单命名?1215.问答题表单有哪几种类型?1216.问答题哪些表单事件可以使用JavaScript?1317.问答题如何删除表单和文档中的域?1318.问答题域接受数据有几种方式,分别有什么不同?1319.问答题一般可编辑域,在文档的阅读模式下,不能输入数据,在编辑模式下可以输入数据,但是,现在想创建一个可编辑域,在编辑模式下,只有对数据库有“编辑者”存取级别的用户能够使用,如何做?1420.问答题视图有哪几种类型?1421.问答题如何将视图的列显示为文档?1522.问答题如何创建分类视图?1523.问答题帧结构集的作用?1624.问答题请回答以下代理的特点?1625.问答题图像资源有什么特点?1626.实验题创建能够继承域的值的表单和文档。1727.实验题创建主文档和答复文档。1728.选择题Marry wants to create a new application on his laptop that does not have any design elements in it.Which one of the following should he do to begin his process?1829.选择题joe wants to display a company logo throughout his sales application.in which one of the following places can joe display the graphic?1830.选择题Eduardo chose native style (use native control )when he created an editable field on a form.how will the field appear to notes users?1831.选择题tony wants to create a duplicate of the video application.He wants to keep a version of the data on the same server as the production application but does not want any new documents or documents modifications to be replicated into his new database once he creates it. Which one of the following should tony do to create his archive?1932.选择题Carmine has create a new design for her vedeo application .Carmine would like to post the design to the server and make it available so other database can automatically inherit the design changes when the design server tasks runs.which one of the following shouled Carmine to do make the new design available on the development server?1933.选择题ken would to allow remote salespeople to replicate information from the videoinfo.nsf datavase to their laptops.so that the replications are fast and the dtabase on each laptop isnt too big.Each saelsperson should only replicate the information from their temtory, which ont of the following does ken need to do to configure this?2034.选择题which one of the following database elements is not updated when the design task is run?2035.选择题management has asked bob to post an introductory welcome page when notes users first open the video application in which one of the following places should bob put the welcome messange?2036.选择题shirin plans to change the form and views of a production database.she will make the changes locally and then update the applications de. template with the changes. which one of the following server tasks does the administrator run in order for the changes to take effect?2137.选择题cindy has created a private agent .she wants her colleagues to be able to use it.which one of the following should she do to achieve this?2138.选择题which one of the following accurately describes field names?2139.选择题a response document created by hans appears as not categorized in a database view. It was intended to appear as a response to a review document. Which one of the following could have caused the problem?2240.选择题norma has a form action that will allow users to create commets to the existing doc. When Notma views the form in her web browers.she sees the action . but when she opens the form in her notes client she cannot see the action .which one of the forlling should she do to correct the problom?2241.选择题when a user clicks a link in the left frame of the Review application,the linked data displays in the frame on the right.What did kristin do to. allow this to happen?2242.选择题cheng wants to write a view selection statement to include documents created with the review form and any reopnses .which one of the following statements should chengh write?2343.选择题furio is designing some graphic images to use on hotspot actions in the video application forms. The hotspots will be used in all of the forms in the application. which one of the following lists the types of graphic images furio can creat and use as image resources?2344.选择题Krstin has created a page in the videos application .which one of the following statements about pages is not true ?2345.选择题nadia would like to position overlapping blocks of content on a form in the video application .she wants the flexibility to control the size and content of the information.which one of the following should nadia use when creating her form?2446.选择题Derek has created a view in the products.nsf database. Derek wants the markup column in the view to display the selling price of the .he cost. He wants this value to display in currency. Which one of the following should derekl do?2447.选择题tommy has created a seles view in his sales.nsf database. Tommy wants negative numbers in the sales number column in the view parenthesis. which one of the following should tommy do?2448.选择题Jackie wants to remove an action hotsopt but leave the image on his video form , in which one of the following ways can he do this ?2549.选择题jim has created a field hint for the address field. Users tell him this text disappears when they click in the address field. which one of the following is most likely reason?2550.选择题when robert created a response form.he set the formulas inhert values from selected documentoption on the form propertities, the field name on the review form is the same as the field name on the inherting form ,howerver the form does not inherit any data ,why ?2551.选择题which one of the following types of actions can be used on unopened doc?2552.选择题hans is designing the reviews application.the application will include two forms :review and response, in the view ,the response documents do not appear under the review documents from which they were created, what could be causing this to happen .2653.选择题which one of the following best decribes the use of hidden column formula?2654.选择题Karen has posted a template, “newvideo.ntf”,for the video application on the development, denise want to create a new video application using the new template. which one of the following does denise need to do?2655.选择题chnstopher is making a new db using the “newvideo” Design Template that he plans to customize .He wants to make sure that his new application will not get future modifications to the “newvideo” Design Template. Which one of the following should he do to accomplish this ?2756.选择题machil would like to create a replica of a db from serverA to serverB, but only wants the doc that use formA. which one of the following will allow him to accomplish this?2757.选择题jayne has asked her domino server adminatrator to enable doc locking on the server. which one of the following must she do to enable it for her application?2758.选择题mary would like to display a collapsed section on her video catalog form, she has created a section buy when she display the form in the client the section always opens expanded .which one of the following should mary do to collapse the section?2859.选择题olga wants to have one action on the video form that will give the options to print ,save and exit the document when it is clicked .how can she accomplish this?2860.选择题the video form has a graphic hotspot that opens the IMDB web page. Which one of the following did hillary do to create the hotspot?2861.选择题to capture the date a document is created ,maria uses today in a formula .however, when she edits a document and saves it again .the date changes from the creation date to the current date, which one of the following caused the date to change.2962.选择题when eduar tried open the coming attactions view. he got the following error message :incorrect data type for operator or function :text expected. What did he do to cause this to happen?2963.选择题nancy used a rich text field on a form to capture data .she would like to display the data in a view.which of the following should she do?2964.选择题Derek has created a view in the sales.nsf db.Derek wants the sales value column in the view to be punctuated to display two decimal places . which one of the following should he do?3065.选择题which one of the following best where layer can be used?3066.选择题bill would like to create a frameset where the upper left frame has his company logo in it. He has created an image resource for the logo in the database . which one of the following is the best way bill can place the image resource into the frame3067.选择题Which one of the following can be printed from the domino designer IDE?301. 问答题准备使用Domino6开发一个软件系统,需要收集和显示用户个人信息,需要实用Domino的什么设计元素?答:Domino用于收集和显示信息的设计元素有:页面、表单、文档和域。页面是用来显示信息的数据库设计元素。表单可以像页面一样显示信息。页面可以完成的所有工作都可以通过表单来完成。表单与页面的区别就在于表单可用来收集信息。表单提供了用于创建和显示文档的结构框架。域是收集数据的元素,域只能在表单上创建。表单上的每个域都存储单一类型的某种信息。域收集到的信息将保存在文档中。根据上面的分析需要使用表单、文档和域。还需要创建视图才能访问数据库中的文档。2. 问答题视图的作用是什么?答:视图用来在数据库中组织文档。视图是经过排序或分类的文档列表。它是访问存储在数据库中数据的入口。每个数据库必须至少包含一个视图,可以根据公式创建视图来显示数据库中的所有文档,或者只显示部分文档。3. 问答题视图和文件夹的区别是什么?举一个使用文件夹的例子。答:文件夹是用来存储文档的容器。文件夹与视图具有相同的设计元素,而且设计文件夹的方法也与视图大致相同。文件夹与视图的区别在于视图具有可自动收集并显示文档的文档选择公式,但是,如果用户或程序不向文件夹中添加文档,文件夹就一直是空的。Domino提供的邮件数据库中的“收件箱”就是一个文件夹,刚开始是空的,新来的邮件被Domino服务器放到了文件夹($Inbox)中。图表 1 收件箱文件夹4. 问答题Domino提供了哪些自动功能特性?答:向应用程序添加自动功能可以加速执行重复任务、路由文档、更新信息、执行计算、运行程序以及检查错误。 可以向 Domino 应用程序中的设计元素(例如:数据库、视图、表单或文档)添加自动化的组件。自动功能特性主要有三种:操作,热点和代理。5. 问答题完成Domino数据库设计后,希望能够把所有的设计属性和代码输出的一个文档中,并进行打印,便于浏览和检查,应该怎么做?答:可以使用数据库的“摘要”功能。在Lotus Designer中打开数据库。按照下面的图形做出选择。图表 2 活动数据库设计摘要6. 问答题什么是数据库模板?答:模板是一个包含数据库结构(即页面、表单和视图)但不包含文档的数据库文件。模板以 .NTF 作为文件扩展名。模板可以直接套用或根据组织需要进行定制。Designer 所带的模板可以用作主模板。主模板的特殊之处在于对主模板所做的更改将传递给所有从该模板创建的数据库。7. 问答题使用Domino邮件模板文件mail6.ntf创建邮件文件admin.nsf后,实用Designer对大纲WebMailOutline做了修改,增加了一个大纲项链接到日志数据库。第二天发现这个大纲项丢失了,请问什么原因,如何解决?答:可能的原因就是,在admin.nsf数据库的属性中,选择了“从主模板继承设计”,被Domino服务器自动执行Design任务覆盖掉了。图表 3 继承模板解决方法有两种:1)在数据库属性中取消“从主模板继承设计”2)在模板中修改大纲。8. 问答题数据库拷贝和数据库复本有什么区别?答:数据库创建时会被分配一个复本标识符,所有的数据库复本共享这个复本标识符。两个数据库复本可以有不同的文件名,并且每个数据库复本可以包含不同的文档或有不同的数据库设计,但是只要复本标识符相同,它们之间就可以发生复制。数据库的复本与数据库的拷贝不同。数据库的拷贝是通过选择“文件”“数据库”“拷贝”得到的。虽然数据库拷贝看起来也许与源数据库相同,但是拷贝并不与源数据库共享复本标识符,也不能使用此标识符进行复制。图表 4 复本标识符9. 问答题数据库在复制时,是否可以选择复制内容?答:可以选择复制内容。缺省情况下,如果复本所在的服务器拥有足够的权限,那么两个复本就可以交换所有的编辑、添加以及删除内容。同样,也可以进行定制复制。例如:可以禁止传送与所在站点无关的文档,以节省磁盘空间。使用复制设置可以:l 限制复本的内容 l 限制复本发送给其他复本的内容l 指定诸如复制优先级的各种复制设置在复制文档时可以设置:l 删除最近 x 天内未修改过的文档l 仅复制在如下时间后保存或修改的文档:日期l 仅接收摘要和 40 KB 的 RTF 文本l 复制文档子集,复制指定视图或文件夹的文档,也可以通过选择公式选择文档。图表 5 复制设置-定制复制内容10. 问答题Domino的页面中,如何使用JavaScript?答:页面对象有一个JS Heaer 事件,可以在这里定义JavaScript代码。可以在页面中创建热点按钮,操作等使用JavaScript编写程序。图表 6 在页面中使用JavaScript11. 问答题表单和页面的区别是什么?答:表单如同页面一样可以显示信息。在页面中可以完成的事情在表单中也可以完成。表单与页面的区别在于:表单可以用来收集信息。12. 问答题表单和文档的关系是什么?答:表单提供了用于创建和显示文档的结构,而文档是数据库中保存数据的设计元素。当用户向表单中填入信息并进行保存时,此信息就作为文档保存。当用户打开该文档时,该文档将把该表单作为模板来提供显示数据的结构。当我们打开一个文档时,Domino会自动决定用哪一个表单显示文档。13. 问答题用表单formA创建了一个文档后,在视图ViewA中打开文档,发现不是用表单formA显示文档,而是用表单formB显示文档,为什么?答:用表单创建文档后,文档中会有一个名称为form的域存储表单的名称formA。但是先生文档的时候不一定是formA。Domino在查找显示文档的表单时按照下面的顺序:1) 保存在文档中的表单2) 视图的表单公式决定的表单3) 创建文档的表单(一般是form域指定的表单)4) 数据库的缺省表单对于整个题目,可能是视图的表单公式确定使用表单formB。或者是文档中的域form的值被修改为formB。14. 问答题如何为数据库中的表单命名?答:数据库中的每个表单必须具有唯一的名称。名称是区分大小写的,可以是字符(包括字母、数字、空格和标点)的任意组合。完整的表单名(包括所有的同义名和层次名称)不能超过 256 字节。可以为表单增加几个别名。表单名和别名是用竖线 | 分隔的。如果表单具有两个或者更多的名称,则总是它的第一个(最左边的)名称出现在“创建”菜单中,而最后一个(最右边的)名称(典型的别名)将出现在 FORM 域中。图表 7 命名表单15. 问答题表单有哪几种类型?答:表单的类型有三种:主文档,答复,答复的答复。1) 主文档:表单层次的最高级,用户创建主文档。2) 答复:创建主文档的答复文档。当用户写完答复之后,在视图中,答复文档将显示在突出显示的主文档的下面。设计者通常创建从主文档继承数据的答复文档。例如:主文档的标题。答复文档不能独立存在,依赖于主文档。3) 答复的答复:创建主文档或答复文档的答复文档。也不能独立存在。使用表单创建的文档通常是主(父)文档,除非将其指定为创建答复文档的表单。16. 问答题哪些表单事件可以使用JavaScript?答:表单有很多事件,可以使用LotusScript、公式,JavaScript的编程,在编写Web应用时,很多时候需要使用JavaScript 。表单的很多事件都可以使用JavaScript编程序 。可以使用JavaScript编程的事件有:JS Header:主要用于定义应用于当前页面的JavaScipt变量和函数。还有onClick,onSubmit等函数。更多请参考配套电子书。17. 问答题如何删除表单和文档中的域?答:1) 删除表单中的域,直接在表单中选择,按delete键删除就可以了。2) 当删除表单中的域后,用表单创建的文档中的对应的域并没有删除,删除文档中的域需要使用公式语言。公式语言在下一章中讲解。以删除subject域为例,使用公式:SELECT Form=MainTopic;Field Subject:=DeleteField;18. 问答题域接受数据有几种方式,分别有什么不同?答:创建域时,在“域属性”框中,可选择域是可编辑域或计算域。如果域是可编辑的,用户可以输入或更改域值。如果域是计算域,则用公式计算域值。用户不能更改计算域的域值。数字、日期/时间、作者、读者和名称域一般是可计算的。文本、RTF 文本和选项列表域通常是可编辑的。计算域有三种:表格 1 计算域的类型计算域类型公式计算计算用户创建、保存或刷新文档一次,“计算”域公式计算一次。创建时计算“创建时计算”域公式仅在用户第一次创建文档时计算一次。在域中使用此种类型公式可保存关于文档最初的信息,例如:创建日期或原作者;或创建其初值不会更改的域,例如:文档序列编号。显示时计算用户每次打开或保存文档,“显示时计算”域公式将重新计算一次。 在域中使用这种类型的公式可显示仅与即时会话有关的信息,例如:不需保存的当前时间或计算结果。其域值仅存在于当前会话中且不被保存。不能在视图中显示“显示时计算”域的内容。19. 问答题一般可编辑域,在文档的阅读模式下,不能输入数据,在编辑模式下可以输入数据,但是,现在想创建一个可编辑域,在编辑模式下,只有对数据库有“编辑者”存取级别的用户能够使用,如何做?答:创建一个可编辑域,设置域的属性对话框的高级附签中,设置域的安全性选型为“必须至少具有编辑者权限才能使用“。如下图。图表 8 域的安全性20. 问答题视图有哪几种类型?答:主要分为共享视图和私有视图。共享视图可供任何至少具有数据库“读者”存取级别的用户使用。为数据库设计的大部分视图都是共享视图。共享视图又细分为很多类型。私有视图是只有某个用户可以使用的视图。Web不支持私有视图。21. 问答题如何将视图的列显示为文档?答:图标列有两个必要条件: 选择了“将值显示为图标”这个列属性。 在列中使用公式,生成与希望显示的图标相关的数字。下列公式判断文档是否含有附件,如有,显示附件图标(数字 5):If(Attachments;5;0)若要将列保留为空,那么可使用数字 0 表示“false”的情况。这样,当文档中不包含附件的时候,上面的公式返回 0,列中不做任何显示。22. 问答题如何创建分类视图?答:选择视图中的一列,一般是第一列,设置列的类型属性为“分类”,见下图。图表 9 分类视图23. 问答题帧结构集的作用?答:帧结构集是帧结构的集合而且可以向 Web 站点或 Notes 数据库添加结构。帧结构是较大的帧结构集窗口的一个区段或窗格,并且可以独立滚动。帧结构可以包含表单、文件夹、页面、文档、视图、导航器或帧结构集。帧结构也可以包含 Web 页面并与指定的 URL 关联。帧结构集允许创建链接和并关联帧结构。例如:在用户滚动或链接至其他页面或数据库时可以依旧显示某一个页面。24. 问答题请回答以下代理的特点?答:代理是在一个或多个数据库中执行特定任务的独立程序。代理是自动控制中最灵活的类型,因为: 代理可以在前台由用户运行,或者在后台作为定时代理自动运行。 代理不能与特定的设计元素相关联。 代理可运行于特定的服务器、多个服务器、工作站或 Web。 代理可以调用其他代理。 代理可以由单个操作、公式、LotusScript 或 Java 程序组成。 由于代理可以复制,所以很易于分发。 代理可以是个人使用或共享。25. 问答题图像资源有什么特点?答:使用图像资源只需在一个地方维护图像。如果图像有任何更改,则源文件的更改和刷新将发布到所有引用该图像的地方。26. 实验题创建能够继承域的值的表单和文档。答:有两个关键步骤,以“讨论数据库”的“答复表单”为例。(Domino自带模板)第一步:设置表单的属性为“公式继承选定文档中的数值”,见下图。图表 10 继承文档中的值第二步:设置域的公式,缺省值公式或者计算公式。以“答复表单”的OriginalSubject为例,继承了主文档的Subject域。指定域的公式时,可以引用被继承文档的域的名称。If(IsAvailable(OriginalSubject); OriginalSubject; Subject)自己创建一个表单可以做练习。参考SWF动画 动画2.26 公式继承选定文档中的数值2.26 公式继承选定文档中的数值.swf27. 实验题创建主文档和答复文档。答:以“讨论数据库”为例创建主文档和答复文档。并查看其表单的类型,分析可显示答复文档的视图。请看SWF动画演示。动画2.27 创建主文档和答复文档2.27 创建主文档和答复文档.swf28. 选择题Marry wants to create a new application on his laptop that does not have any design elements in it. Which one of the following should he do to begin his process?A) select file-Database-new and give it a filename of “blank.nsf”B) select file-Database-new, choose local as the server, and chose the blank templateC) select file-Database-new, choose local as the server, and chose the default.ntf templateD) select file-Database-new, give it a filename of “blank.nsf”,and chose the blank template29. 选择题Joe wants to display a company logo throughout his sales application. In which one of the following places can Joe display the graphic?A) in a view backgroundB) in a layer backgroundC) in an action bar backgroundD) all of the above30. 选择题Eduardo chose native style (use native control )when he created an editable field on a form. How will the field appear to notes users?A) fixed size outlined rectangleB) blank space marked off by red bracketsC) blank space marked off by black bracketsD) The field will not appear to notes users. it will only be visible to web users31. 选择题Tony wants to create a duplicate of the video application. He wants to keep a version of the data on the same server as the production application but does not want any new documents or documents modifications to be replicated into his new database once he creates it. Which one of the following should Tony do to create his archive?A. create a new copy of the databaseB. create a replica of the databaseC. Use the windows explorer to create a copy of the database file.D. Create a replica copy of the database and disable replication on the database file.32. 选择题Carmine has create a new design for her video application .Carmine would like to post the design to the server and make it available so other database can automatically inherit the design changes when the design server tasks runs. Which one of the following should Carmine to do make the new design available on the development server?A. copy the database to the development server ,and name it “newvideo.ntf”B. copy the database to the development server ,and name it “newvideo.nsf”C. copy the database to the server ,and name it “newvideo.ntf”,select “inherit design from master temlate”,and give it a template name in the database design properties.D. copy the database to the development server ,and name it “newvideo.ntf”,select “database file is a master temlate”,and give it a template name in the database design properties.33. 选择题ken would to allow remote salespeople to replicate information from the videoinfo.nsf database to their laptops. So that the replications are fast and the database on each laptop isnt too big. Each salesperson should only replicate the information from their temtory, which one of the following does ken need to do to configure this?A. use a selective replication formulaB. give the salespeople reader access to the databaseC. give the salespeople group the terntoryonly roleD. use author name fields to limit access to information34. 选择题which one of the following database elements is not updated when the design task is run?A. formsB. viewsC.

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论