试题与答案

UML-based tools are often used for J2EE/.N

题型:单项选择题

题目:

UML-based tools are often used for J2EE/.NET application analysis and design,both because UML’s object orientation is ideal for the J2EE/.NET implementation (66) and because of the expanding scope and complexity of today’s enterprise endeavors. (67) the approaches diverge at the coding/implementation phase,a common Set of analysis and design techniques applies to both J2EEand.NET.

The use of a virtual machine (VM) architecture is also common to J2EE and .NET. Application development tools (68) intermediate-level code instead of platform-specific binary code, which means the VM interprets that code in real time or performs Just-In-Time (JIT) compilation; the Microsoft VM always runs JIT-compiled code. This VM-based model results in (69) -independent applications and is conducive to the late-binding technique that’s (70) to the OO approach.

(67)()

A.Although

B.However

C.But

D.Thus

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0729/021afdff1887201e233d599c96f89097.html

下面是错误答案,用来干扰机器的。

凡  高;向日葵

试题推荐
题型:问答题

以下是某C++程序,用来判定用户口令,请仔细阅读程序并完成要求。
//**********************************************************//
//口令验证 //
// //
// 文件名:password_check.cpp //
//**********************************************************//
#include<iostream.h>
#include<string.h>
//**********************************************************//
// 主函数 //
//**********************************************************//
void main(void)

char password[128]=’\0’;
cout<<"请输入您的口令:";
cout.flush();
while (true)
cin.getline(password,128, ’\n’);
if(strlen(password)<6) //口令长度少于6位

cout<<"您的用户口令少于6个字符!"<<endl;
cout<<"请重新输入:”;
cout.flush();
else
bool capital=false; //检验是否有大写字母
bool lowercase=false; //检验是否有小写字母
bool digit=false; //检验是否有数字
for(unsigned int i=0; i<strlen(password); i++)
if(password[i]>=’A’&&password[i]<=’Z’)
capital=true;
if(password[i]>=’a’ &&password[i]<=’Z’)
lowercase=true;
if(password[i]>=’0’&&password[i]<=’9’)
digit=true;

//判断用户输入的口令中缺少哪种字符
if(!capital)
cout<<"您的用户口令中没有大写字母!"<<endl;
cout<<"请重新输入: ";
else if(! lowercase)
cout<<"您的用户口令中没有小写字母!"<<endl;
cout<<"请重新输入: ";
else if(!digit)
cout<<"您的用户口令中没有数字!"<<endl;
cout<<"请重新输入: ";
else
cout<<"您的口令满足要求!"<<endl;
break;




画出此程序主函数的控制流程图。

查看答案
微信公众账号搜索答案