当前位置:博学君>学习教育>考研>

笔试题(面向对象)

考研 阅读(1.66W)

现如今,我们最熟悉的就是试题了,试题是命题者根据一定的考核需要编写出来的。你所了解的试题是什么样的呢?下面是小编为大家收集的笔试题(面向对象),仅供参考,希望能够帮助到大家。

笔试题(面向对象)

笔试题(面向对象)1

操作系统

1请解释下列10个shell命令的用途

top、ps、mv、find、df、cat、chmod、chgrp、grep、wc

2、写出下列服务的用途和默认端口

ftp、ssh、http、telnet、https

面向对象

1、写出php的public、protected、private三种访问控制模式的区别

2、写出下列程序的输出结果

class a{

protected $c;

public function

a(){

$this ->c=10;

}

}

class b extends a

{

public function print_data(){

return