帮助 - 搜索 - 坛友 - 日历
完整版本: 非常基础的几个CS问题
大家谈论坛 > 大家坛 > 留学问题求助,解答
gaog
谁能不翻书,不查网马上回答一下以下问题?老实说,我能完整地答上的只有OOP的第2个问题...反思中...

关于OOP

1. 解释什么是class, 什么是instance...
2. 解释什么是polymorphism...

关于Unix

1. 解释什么是shell...
2. 解释什么是unix signal...

关于数据库

1. 解释什么是key field...
2. 描述index的用途...

以上几道题是其实很有现实意义的,是某大公司developer的interview笔试题...
Roronoa
class: abstraction of a class of things

eg: class Human for all individual human beings
class Student for all the student individuals in a uni

instance(not T): a specific member of that classe
eg: gaog is an instance of a class DJTmember

Polymophism: a method can be implemented in different ways in different class

Shell: console...
unix signal: no idea
i am generally unix idiot

key field: the field used to uniquely identify a record
index: fast search
Jie.jz
QUOTE (Roronoa @ 2006-01-16, 09:15)
class: abstraction of a class of things

eg: class Human for all individual human beings
class Student for all the student individuals in a uni

instance(not T): a specific member of that classe
eg: gaog is an instance of a class DJTmember

Polymophism: a method can be implemented in different ways in different class

Shell: console...
unix signal: no idea
i am generally unix idiot

key field: the field used to uniquely identify a record
index: fast search

em18.gif em18.gif 这些基础概念是最容易忽视的。
gaog
QUOTE (Jie.jz @ 2006-01-17, 06:53)
QUOTE (Roronoa @ 2006-01-16, 09:15)
class: abstraction of a class of things

eg: class Human for all individual human beings
      class Student for all the student individuals in a uni

instance(not T): a specific member of that classe
eg:  gaog is an instance of a class DJTmember

Polymophism: a method can be implemented in different ways in different class

Shell: console...
unix signal: no idea
i am generally unix idiot

key field: the field used to uniquely identify a record
index: fast search

em18.gif em18.gif 这些基础概念是最容易忽视的。

是呀,想解释好还真不容易。实事上我觉得这题目考的并不是OO概念。但凡会编程的人大概都知道class是什么。我认为这些题目考的是一个人的综合表述能力。
Roronoa
quite difficult...... these are not even tested in exams
这是我们主要内容的一个简化版本. 若您想查看包含更多信息和格式化的完整版本请您访问这里.
Invision Power Board © 2001-2008 Invision Power Services, Inc.
Translated By IBForce