Java How to Program学习笔记_第一章_计算机、互联网及Java简介(Introduction to computers, internet and java)——自测题

2018年12月20日补记:修改了一些格式错误(单词间缺少空格等)

---------------------------------------------------------------------------------------------------------------------------------

Java how to program这本书,对本人有着特殊的意义——真正带我进入编程世界的一本书。

学无止境,我愿意用一生来学好、学精、用好Java这门编程语言。

 

以下是JHTP第一章:Introduction to computers, internet and java的课后自测题,贴出来自勉。

 

Source: Java how to program, 10th edition

 

1.1 Fill in the blanks in each of the following statements:

a) Computers process data under the control of sets of instructions called programs.

b) The key logical units of the computer are the input unit,  output unit, memory unit,  ALU,  CPU and secondary storage unit.

c) The three types of languages discussed in the chapter are machine languages, assembly languages and high-level languages.

d) The programs that translate high-level language programs into machine languageare called compilers.

e) Android is an operating system for mobile devices based on the Linux kernel and Java.

f) Release candidate software is generally feature complete, (supposedly)bug free and ready for use by the community.

g) The Wii Remote, as well as many smartphones, use a(n) accelerometer whichallows the device to respond to motion.

1.2 Fill in the blanks in each of the following sentences about the Java environment:

a) The command java from the JDK executes a Java application.

b) The command javac from the JDK compiles a Java program.

c) A Java source code file must end with the file extension .java.

d) When a Java program is compiled, the file produced by the compiler ends with the file extension.class.

e)The file produced by the Java compiler contains bytecodes that are executed by the Java Virtual Machine.

1.3 Fill in the blanks in each of the following statements(based on Section 1.5):

a) Objects enable the design practice of information hiding—although they may know how to communicate

with one another across well-defined interfaces, they normally are not allowed to know how other objects are implemented.

b) Java programmers concentrate on creating classes, which contain fields and the set of methods that manipulate those fields and provide services toclients.

c)The process of analyzing and designing a system from an object-oriented point of view is called OOAD.

d)A new class of objects can be created conveniently by inheritance—the new class (called the subclass) starts with the characteristics of an existing class (called the superclass), possibly customizing them and adding unique characteristics of its own.

e)UML is a graphical language that allows people who design software systems to use an industry-standard notation to represent them.

f)The size, shape, color and weight of an object are considered attributes of the object’s class.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值