【单选题】【消耗次数:1】
所谓函数,指的是一段用来表示完成某种特定的运算或功能的程序,并返回一个函数值。( )
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 一个函数的返回值由( )确定。
①  return语句中的表达式
②  调用函数的类型
③  系统默认的类型
④  被调用函数的类型
【单选题】 所谓模块化程序设计是指,在程序设计中把功能相对独立、单一的模块用一个函数实现,再由若干个函数组成完整程序的程序设计方法。对于函数,下列说法不正确的是()。
①  函数结构独立、功能单一,便于编写、调试和修改
②  可以并行开发,加快软件开发速度,缩短开发周期
③  函数的重复使用性好,提高开发效率
④  所有函数都可用于整个程序,即使该程序包含了多个文件
【单选题】 已知:print( )函数是一个类的常成员函数,它无返回值,下列表示中,( )是正确的。
①  void print( ) const;
②  const void print( );
③  void const print( );
④  void print(const);
【单选题】 已知:print( )函数是一个类的常成员函数,它无返回值,下列表示中,( )是正确的。
①  void print( ) ;
②  final void print( );
③  void final print( );
④  void print(final);
【单选题】 已知:print( )函数是一个类的常成员函数,它无返回值,下列表示中,( )是正确的。
①  void print( ) const;
②  const void print( );
③  void const print( );
④  void print(const);
【单选题】 一个函数返回值的类型是由( )决定的。
①  return语句中表达式的类型
②  在调用函数时临时指定
③  定义函数时指定的函数类型
④  调用该函数的主调函数的类型
【简答题】 Excel支持[填空1],即一个函数的返回值是另一个函数的参数。
【判断题】 函数在某一段定义域内,可以分为有界函数与无界函数
①  正确
②  错误
【单选题】 当一个函数没有返回值时,该函数类型应说明为()。
①  void
②  int
③ 
④  任意
【填空题】 Excel支持[填空1][填空2],即一个函数的返回值是另一个函数的参数。
随机题目
【判断题】 替代词one通常可用来替代上文中出现过的名词或以可数名词为中心词的整个名词词组,只可指人,不可指物。
①  正确
②  错误
【单选题】 The position of a grandparent is easier than ______ of a parent.
①  ones
②  this
③  that
④  it
【单选题】 Itsnouse_______menottoworry.
①  you tell
②  your telling
③  for you to have told
④  having told
【单选题】 Ifyouwant______youhavetogetthefundsomewhere.
①  that the job is done
②  the job done
③  to have done the job
④  the job that is done
【单选题】 While _______ the sun, the satellite has sent more than four billion bits of information back to earth.
①  having orbited
②  being orbited
③  having been orbited
④  orbiting
【单选题】 Theyareconsidering______beforethepricesgoup.
①  of buying the house
②  with buying the house
③  buying the house
④  to buy the house
【单选题】 Having no money but _______ to know, he simply said he would go without dinner.
①  not to want anyone
②  not wanting anyone
③  wanted no one
④  to want no one
【单选题】 ______suchagoodchance,heplannedtolearnmore.
①  To be given
②  Having been given
③  Having given
④  Giving
【单选题】 I appreciate_______ to your home.
①  to be invited
②  to have invited
③  having invited
④  being invited
【单选题】 Silveristhebestconductorofelectricity,copper_______itclosely.
①  followed
②  following
③  to follow
④  being followed