正确答案: D

报表设计格式的定义

题目:Visual FoxPro的报表文件.FRX中保存的是

解析:本题考查Visual FoxPro中常见文件的文件扩展名,属常考题目。.FRM表示报表文件,.FRX表示报表设计格式的文件。正确答案为D。

查看原题 点击获取本科目所有试题

举一反三的答案和解析:

  • [单选题]有以下程序includeincludeusing namespace std;class base{private:charbas
  • 有以下程序 #includeiostream> #includestring> using namespace std; class base { private: charbaseName[10]; public: base() { strcpy(baseName,"Base"); } virtual char*myName() return baseName; } char *className() { return baseName; } }; class Derived: public base { private: char derivedName[10]; public: Derived() { strcpy(derivedName,"Derived"); } char *myName() { return derivedName; } char *className() { return derivedName; } }; void showPtr(base &p) { coutp.myName0" "p.className(); } int main() { base bb; Derived dd; showPtr(dD.; retum 0; } 动行后的输出结果为

  • Derived Base

  • 解析:解析:本题考核虚函数的应用。类Derived是从基类Base公有派生而来的。因此,Derived是基类Base的子类型。main()函数中定义了一个基类对象bb和一个派生类对象dd。从程序中可看出派生类Derived的对象dd交给了处理基类Base的对象的函数showPtr进行处理。由于在基类中函数myName被定义成虚函数。所以在函数showPtr中调用的myName函数为派生类的成员函数myName,从而输出Derived。然后输出className,即基类名称Base。

  • [单选题]有以下程序: #inclydeiOStream> using namespace std; int main() { int x=15; while(x>10&&x50) { x++; if(x/3) { x++;break; } } coutxendl; return 0; } 执行后的输出结果是
  • 17

  • 解析:解析:本题考核选择语句与循环语句的嵌套。由程序可知,当x=16时,满足if条件表达式,进入if分支,执行“x++;break;”,所以最后程序输出x的值为17。

  • 推荐下载科目: 计算机二级 计算机四级 微软认证 JAVA认证 华为认证 计算机一级 软考高级 职称计算机 通信工程师 计算机操作员初级
    @2019-2026 不凡考网 www.zhukaozhuanjia.com 蜀ICP备20012290号-2