面试中的面向对象设计问题 [英] OO Design questions in Interviews

查看:108
本文介绍了面试中的面向对象设计问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我接受采访的几家公司时,我感到非常惊讶,要求我解决建模问题作为初始书面测试的一部分。这些问题模糊不清,范围广泛,从设计餐厅预订系统到设计图书馆借阅和更新图书等。期望是使用你最喜欢的任何uml工具创建一个类图(我选择了Visio并且不得不承认我有一段时间没用过它)并将其作为在线测试的一部分发送。



由于这是在线测试的一部分,我没有机会询问用例,如果没有这些用例,问题很难回答。您是否发现这些问题在面试开发人员时很有用?

I was rather surprised when several companies I''ve been interviewing with, asked me to solve a modelling question as a part of the initial written test. The questions were vague and open ended and ranged from designing a restaurant reservation system to designing a library for borrowing and renewing books. The expectation was to create a class diagram using any of your favorite uml tool (I chose Visio and have to admit i hadn''t used it in a while) and send it as a part of their online test.

Since this was a part of an online test, I didn''t have an opportunity to ask for use cases without which the questions are difficult to answer. Do you find these questions useful in interviewing developers?

推荐答案

是的,它们很有用。 UML是OOP开发人员的基础。您必须了解类如何交互,关联,在彼此之间导航。 UML图符号有助于澄清这些通信。
Yes they are useful. UML is basic for OOP developers. You have to have a knowledge for how classes are interact, associates, navigate between each other. UML diagram symbols help to clarify these communications.


这篇关于面试中的面向对象设计问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆