软件开发工程师笔试题
一:简答题
您看过哪些编程语言方面的书籍?哪些书对您有影响?看完后有什么体会?
您能够理解哪几种设计模式?请简要描述。
您编程有哪些习惯?尽量多写。
遇到编程难点,通常您用哪些办法去解决?
Java中String类是否可以被继承?为什么?
String si = new String("abc"):会创建几个对象?为什么?
谈谈final,它用在哪些地方?
Java中类、抽象类、接口之间的区别和联系。
Static Nested Class 和 Inner Class 的不同
MVC的各个部分都有那些技术来实现?您知道哪些是MVC框架?
您知道哪些开源框架?简要描述。
您知道测试分哪几个阶段吗?每个阶段有什么不同?简要描述您现从事测试工作 的流程。
有没有工作经验?如果有请简述工作经历。在工作的一年中最深刻的体会是什么? 你离职的主要原因是什么?
如果公司周末加班,你会选择如何处理?
您的目标的是什么,职业规划什么样子?
请列出您的教育背景,自己评价自己的优势是什么?劣势是什么?
二:编程题(必写题)
1) DiskClusters
Problem Statement
You are given a String disk representing the clusters on a disk. An 'X' represents a used cluster, and a represents an available cluster. You are also given an int size representing the size, in clusters, of a file waiting to be written to disk. A file can only be stored in clusters not already being used.
Return the minimum number of groups of consecutive clusters needed to store the file on the disk. (The disk does not wrap around at the end.) Return -1 if the disk does not have enough space available to store the file.
Definition
Class:
DiskClusters
Method:
minimumFragmentation
Parameters:
String, int
Returns:
int
Method signature:
int minimumFragmentation(String disk, int size) (be sure your method is public)
Constraints
dis
java 经典笔试题 来自淘豆网m.daumloan.com转载请标明出处.