题目内容

The phrase divide and conquer is sometimes used to describe 分而治之这个短语有时被用来描述

A. the backbone of the scientific method 科学方法的支柱
B. the process of dividing functions 划分功能的过程
C. the process of breaking a problem down into smaller pieces 把问题分解成更小的部分的过程
D. the process of using division to solve a mathematical problem 用除法解决数学问题的过程

查看答案
更多问题

In a general sense, a method is 一般来说,方法是

A. a plan 一个计划
B. a statement inside a loop 循环中的语句
C. a comment 评论
D. a collection of statements that performs a specific task 执行特定任务的语句集合

Breaking a program down into small manageable methods 将一个程序分解成小的可管理的方法

A. makes problems more easily solved 使问题更容易解决
B. allows for code reuse 允许代码重用
C. simplifies programs 简化了程序
D. all of the above 以上都是

This type of method performs a task and then terminates. 该类型的方法执行一项任务,然后终止。

A. value-returning 值返回方法
B. void 空方法
C. local 本地方法
D. simple 简单方法

num = Integer.parseInt(str) + 5;

A. a value-returning method 值返回方法
B. a void method 空方法
C. a local variable 局部变量
D. a complex method 复杂方法

答案查题题库