`

技术性英文口语面试题

阅读更多
1.       What’s the difference between process and thread?

It’s a complex question.I cannot explain it very clearly in telephone.So I want answer it according textbook.

The Process is unit of resource distribution and the thread is minimum unit of schedule.One process could include multiple thread, but one thread only belong to one process.



That’s all,thanks.



2.       What must be attention in Porting program?

This question come down to two factor. One is hardware architecture and other is os platform.

If we port program in different os platform and same hardware architecture.The primary porting factor is different C runtimes library, of course include correlative header file.

What is this problem caused? I think the mostly reason is that hasn’t standard with C runtimes library.So the following problem will arriving:

(1)    Same behavior function has different name.

(2)    Same function name has different behavior.

(3)    Same function name and same behavior has different implement.Such as memcpy.(memory address overcast)



If we port program in same os platform but different hardware architecture.The primary porting factor is:

(1)    Cache management is different.(Of course, application can ignore this factor)

(2)    Data alignment and memory layout

(3)    Endianness.ect.



Certainly, if we’ll port program to a different platform and different hardware, we should take these factor into account.



3.       Could you tell me the 7 layer of the OSI model?

En, this is simple.I will descript the model from buttom to top.The buttom layer is physical layer, and the following is data link layer, network layer, transport layer, session layer, presatation layer and application layer.



The TCP/IP network model is composed of five layer. They are physical layer, data link layer, network layer, transport layer and application layer. It’s industry standard.



4.       Memory leak, out of bound, double release

Memory leak: You malloc a memory block but forget to release it.This action will bring on memory leak.



Memory out of bound:When write or read a memory block, you access address is out of that block.This lead out of bound.



Double release:If you repeatly release a memory block , this error called memory double release.



5.       What’s the difference between TCP and UDP

TCP and UDP all are transport protocol.But TCP is conecction-oriented transport protocol, and it provide reliable ordered transport mechanism.UDP is connectionless-oriented transport protocol and it provide unreliable not ordered transport mechanism.

TCP is suit of the situation that transport a great deal of data and UDP is suit of transporting a few data.



That’s all. Thanks.



6.       What’s the difference between reload and overwrite?

Reload is that use same function name with different function sign to implement same behavior.

Overwrite is sub-class re-write the function declared in parent-class.



===================================


4.What's the diffrence betweent array and vector?

       Their primary diffrence is that array's size is const and the vector's size is variable.Besides, The array are fast to execute, have implicit type check and easy to handle.But it fail in situations where the size of data is unknown at compile time.In this situation, the vector is a choice(also arraylist).

Attach:

Array vs ArrayList vs Vector

April 11, 2006 at 9:10 pm · Filed under Software Engineer in me, Server Side, Java


I was just browsing through some of my old notes about the ‘research’ I did sometime back on various data structures available in java for handling dynamic data sets. Thought may be this could be helpful to somebody else as well. There are situations in code where you need to handle the data that grows during run time. Usually, as much as possible I prefer arrays to handle any homogeneous collection of elements, as they are fast to execute, have implicit type check and easy to handle. But they fail in situations where the size of data is unknown at compile time. The obvious choices available with java are ArrayLists or Vectors. Or I should say ArrayLists or Vectors?

Most of the time, people use both these data structures interchangeably. Even the documentation say that the ‘only’ difference between an ArrayList and a Vector is just that Vectors are synchronized, and there is no much difference. Here is what I found out

Similarities between ArrayLists and Vectors

Both can grow up during run time.
Both implement List interface.
With both, it is easier to remove or add elements at the end or start, but if you try to add or remove elements somewhere at middle of collection, they suffer performance wise. (Use LinkedLists if your programme need to do that a lot, but LinkList requires more memory and computation)
Now the differences

The major difference, as the documentation says, is just that vectors are synchronized. Now what does that mean, this means that if more than one thread in your code is to use that data, you are in trouble with ArrayList as the data is asynchronous. Though there are ways by which you can make your ArrayLists synchronous, but by default they are not. The obvious downside with vectors is the additional computation to handle threads.
The other difference is that with vectors, you can specify the incremental value, which is the amount with which the data structure will grow during the runtime. But with ArrayLists you have no option but to accept default that is the list will grow up 50% of original size everytime it needs additional space. It is advisable in both the cases to choose the initial size carefully.
My recommendation will be to use Arrays as much as possible, as they are fast and simple; of course you can not do that in cases where data set is completely dynamic. In these cases, go for ArrayList if your code is ‘threadsafe’ else Vectors or synchronous ArrayLists are suitable.

7. Difference between TCP and UDP

附表:tcp协议和udp协议的差别



There are two types of internet protocol (IP) traffic, and both have very different uses.

TCP(Transmission Control Protocol). TCP is a connection-oriented protocol, a connection can be made from client to server, and from then on any data can be sent along that connection.
Reliable - when you send a message along a TCP socket, you know it will get there unless the connection fails completely. If it gets lost along the way, the server will re-request the lost part. This means complete integrity, things don't get corrupted.
Ordered - if you send two messages along a connection, one after the other, you know the first message will get there first. You don't have to worry about data arriving in the wrong order.
Heavyweight - when the low level parts of the TCP "stream" arrive in the wrong order, resend requests have to be sent, and all the out of sequence parts have to be put back together, so requires a bit of work to piece together.
UDP(User Datagram Protocol). A simpler message-based connectionless protocol. With UDP you send messages(packets) across the network in chunks.
Unreliable - When you send a message, you don't know if it'll get there, it could get lost on the way.
Not ordered - If you send two messages out, you don't know what order they'll arrive in.
Lightweight - No ordering of messages, no tracking connections, etc. It's just fire and forget! This means it's a lot quicker, and the network card / OS have to do very little work to translate the data back from the packets.


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/yyzzbb_yang/archive/2006/07/27/985465.aspx
分享到:
评论

相关推荐

    ABB公司java面试题

    - **英语书写及口语表达**:面试中可能包含英文书写的试题,以及英语口语的展示环节。这对于国际化的ABB公司而言非常重要,因为良好的英语沟通能力能够帮助员工更好地完成跨国项目合作。 #### 四、结构化面试准备...

    西安电子科技大学 博士英语口语试题与答案

    此外,通过观看英文影视作品、听英语广播,可以在轻松愉快的环境中提高语言感知能力,尤其是在发音和听力理解方面,这些方法具有不可忽视的辅助作用。 博士英语口语试题与答案的资料集,是对西安电子科技大学博士生...

    2024年软件测试必考50个面试题及答案

    软件测试面试题【2024年软件测试必考50个面试题及答案简介】 内容概要: 本文为初学者提供了一个全面的学习指南,涵盖了50个软件测试面试题及其答案。通过通俗易懂的语言,本文介绍了软件测试的基础知识、高级概念...

    2008年几大公司笔试面试题

    除了技术性问题外,文章还提到了面试中常见的英语问答,如个人背景、家庭情况及对特定城市的看法等。这类问题旨在评估应聘者的英语沟通能力以及对工作地点的适应性。准备这类问题的答案时,应保持真实且正面的态度,...

    世界500强面试题(详细收录)

    12. **英语沟通**:很多世界500强企业有全球化的背景,良好的英语口语和书写能力是必备的。 13. **面试技巧**:保持自信、诚实、专注,并对面试官的问题给予充分思考后再作答。良好的非语言沟通,如眼神交流和身体...

    英语面试试题小结与启发

    - 通过模拟面试和寻求他人反馈来提升英语口语和面试技巧。这可以帮助你在真实面试中更加从容不迫。 记住,成功的英语面试不仅在于语言的流利程度,还在于你如何展示自己的专业技能、适应能力和对公司的热情。提前...

    2019下半年小学语文教师资格考试面试真题.pdf

    - 逻辑思维能力:在面试中,考生需要清晰地表达自己的想法,具备条理性和逻辑性,能够合理地分析和解决问题。 - 应变能力:教师在面试和实际教学中经常会遇到突发情况,应变能力是教师应对突发事件的重要能力。 2. ...

    2021年2021上半年教师资格证小学语文面试真题解析版.docx

    8. 教育理念:教学过程中体现了以学生为中心的教学理念,鼓励学生自主学习,培养他们的问题解决能力和批判性思维。 9. 语言教育目标:除了传授知识,教师还致力于提高学生的语言表达能力,通过朗读和口语练习,提升...

    APP英语口语考试信度的实证分析——以FiF口语训练APP为例.pdf

    研究发现,APP口语考试具有较好的内部一致性和效度,能够与传统面试型口语考试媲美。但是,APP口语考试也存在一些局限性,主要适用于常规能力测试,而交际口试题型应选择传统面试型口语方式考试。 APP英语口语考试...

    39道MySQL高频面试题解析,让你面试少走九十%的弯路

    mysql【40道MySQL高频面试题解析简介】 内容概要: 本文为MySQL面试者提供了一个全面的学习指南,涵盖了40道MySQL高频面试题及其答案。通过通俗易懂的语言,本文介绍了MySQL的基础知识、高级特性以及实战技巧,旨在...

    2024年switch函数面试题常考题.zip

    switch函数内容概要: 本文为编程面试准备者提供了一个全面的学习指南,专注于switch函数的相关知识点和面试题。通过通俗易懂的语言,本文介绍了switch函数的基础知识、使用方法、注意事项以及实战演练。此外,文章...

    HR面试题主要是JAVA方面的!

    【Java HR面试题详解】 在HR面试中,虽然主要考察的是候选人的个人素质、沟通能力和团队协作能力,但针对Java开发岗位,HR也会提出一些与技术相关的问题,以确保候选人具备基本的技术素养和对该行业的热情。以下是...

    2024年Python爬虫面试题常考题万字长文.zip

    同时,文章还提供了100个爬虫面试题及答案,以及面试题实战演练和模拟面试练习,旨在帮助求职者更好地准备爬虫相关的职位面试。 适用人群: 本篇文章主要面向爬虫技术初学者,特别是那些即将参加春招的应届毕业生和...

    西北大学软件工程考研复试资料笔试面试口语资料

    在考研的漫长征程中,复试是至关重要的一环,尤其是对于软件工程这样技术性极强的专业来说,复试往往更侧重于实践能力和专业知识的考察。西北大学作为国内知名高校,其软件工程专业的考研复试自然备受瞩目。本资料...

    Python面试题及答案35个 Python 程序员面试必备问题与答案

    python内容概要: 本文为Python面试者提供了一个全面的学习指南,涵盖了50道Python常考面试题及其答案。通过通俗易懂的语言,本文介绍了Python的基础知识、高级特性以及实战技巧,旨在帮助面试者更好地准备Python...

    中学英语教师面试.pdf

    从提供的文件内容中,我们可以提炼出一些与中学英语教师面试相关的知识点。首先,文件涉及教学材料分析以及教学目标的制定,接下来我们按照文件内容逐步深入分析: 一、教学材料分析 教学材料分析部分涉及了课程的...

    世界500强面试的英语题目

    4. 英语面试技巧,如如何清晰、准确地表达观点,如何用专业词汇和短语,以及如何展示良好的听力和口语技巧。 5. 模拟对话或案例研究,帮助求职者练习在真实场景下的英语交流。 6. 英语面试常见误区和避免策略,提醒...

    重庆大学机械考研复试面试题.doc

    在高等教育体系中,考研复试是考核考生专业能力和综合素质的重要环节,而面试则是复试中不可或缺的一部分,它直接反映了考生的口语表达、专业理解和应急反应能力。对于重庆大学机械工程专业的考生来说,复试面试更是...

    求职-摩托罗拉面试题

    摩托罗拉公司的面试流程可能包括英语口语、技术问题以及对特定知识的深入考察。下面,我们将详细探讨这些知识点。 首先,面试通常会从自我介绍开始,这是展示个人能力和经验的重要机会。在英语环境下,提前准备一个...

Global site tag (gtag.js) - Google Analytics