Wednesday, October 28, 2015

[CareerCup] 12.5 Test a Pen 测试一支笔 - Grandyang - 博客园



[CareerCup] 12.5 Test a Pen 测试一支笔 - Grandyang - 博客园

12.5 How would you testa pen?

 

这道题让我们测试一支笔,我们需要问面试官许多问题来理解"who,what,where,when,how and why",比如我们可以这样:

面试官:你怎样测试一支笔?

候选人:谁将要使用这笔?

面试官:儿童

候选人:有意思,那么他们用来干什么呢,是写字,画画,还是做别的?

面试官:画画

候选人:很棒,在什么上呢,纸,布上还是墙上?

面试官:布上

候选人:不错,笔头是啥样的,毛笔,圆珠笔?可擦出么,还是永久性的?

面试官:可擦除

在问了一系列的问题后,总结如下:

候选人:好的,我的理解是这样的,我们有一支笔,目标位五到十岁儿童,笔头是毛毡的,可以画红的,绿的,蓝的和黑的。在布上涂写,当布清洗的时候,画的东西童谣要被清除。

理解的要测试的东西后,我们就要来进行测试了,步骤为:

事实检查(Fact check):验证笔是否是毛毡头的,而且颜色是否为允许的颜色。

目标用途(Intended use):画画,看此笔能否正常在布上作画。

目标用途(Intended use):冲洗,看画迹是否能被水洗掉,是用热水,温水,还是冷水。

安全性:此笔对儿童安全吗,是否无毒。

非目标用途:儿童还可能怎么用此笔,他们可能在别的地方画,检测是否正确。他们也可能用脚跺笔,扔笔等等。要保证此笔在任何情况下依旧坚挺。


Read full article from [CareerCup] 12.5 Test a Pen 测试一支笔 - Grandyang - 博客园

Labels

Review (572) System Design (334) System Design - Review (198) Java (189) Coding (75) Interview-System Design (65) Interview (63) Book Notes (59) Coding - Review (59) to-do (45) Linux (43) Knowledge (39) Interview-Java (35) Knowledge - Review (32) Database (31) Design Patterns (31) Big Data (29) Product Architecture (28) MultiThread (27) Soft Skills (27) Concurrency (26) Cracking Code Interview (26) Miscs (25) Distributed (24) OOD Design (24) Google (23) Career (22) Interview - Review (21) Java - Code (21) Operating System (21) Interview Q&A (20) System Design - Practice (20) Tips (19) Algorithm (17) Company - Facebook (17) Security (17) How to Ace Interview (16) Brain Teaser (14) Linux - Shell (14) Redis (14) Testing (14) Tools (14) Code Quality (13) Search (13) Spark (13) Spring (13) Company - LinkedIn (12) How to (12) Interview-Database (12) Interview-Operating System (12) Solr (12) Architecture Principles (11) Resource (10) Amazon (9) Cache (9) Git (9) Interview - MultiThread (9) Scalability (9) Trouble Shooting (9) Web Dev (9) Architecture Model (8) Better Programmer (8) Cassandra (8) Company - Uber (8) Java67 (8) Math (8) OO Design principles (8) SOLID (8) Design (7) Interview Corner (7) JVM (7) Java Basics (7) Kafka (7) Mac (7) Machine Learning (7) NoSQL (7) C++ (6) Chrome (6) File System (6) Highscalability (6) How to Better (6) Network (6) Restful (6) CareerCup (5) Code Review (5) Hash (5) How to Interview (5) JDK Source Code (5) JavaScript (5) Leetcode (5) Must Known (5) Python (5)

Popular Posts