我最近遇到的一些面试问题 [英] Some interview question that I recentlly faced

查看:78
本文介绍了我最近遇到的一些面试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友.

我最近遇到了一次面试,并且遇到了以下我无法回答的问题.

1.假设我在网络浏览器中键入一个域名,然后按Enter键,最初是如何请求页面的?
我回答说,在最初阶段,请求发送到IIS服务器,但访问员阻止了我,并且
当询问该页面如何标识应将请求发送到IIS服务器时,还有许多其他服务器.例如,如果该网站是
用PHP语言开发,并且有一个Apache服务器和一个IIS服务器,页面如何标识应发送请求
到Apache服务器而不是IIS服务器?

2.有时我们会编写代码以将电子邮件发送到特定用户的电子邮件地址,但是该电子邮件会进入垃圾邮件文件夹.您将如何解决此问题?

3.与2002年相比,SQL Server 2005中有哪些新功能?

4.静态变量和常量变量有什么区别?

5.正则变量(meaninig public int myInt = 0;)和静态变量之间有什么区别?

6.在什么情况下我们应该使用委托人?

谢谢
Imrankhan

Hello friends.

I recently faced an interview and I faced following questions that I was not able to answer.

1. Suppose, I type a domain name in a web browser and hit enter key, how is the page initially requested?.

I answered that at an initial stage, the request goes to the IIS server, but the interviewer stopped me and
asked how the page identifies that request should be send to the IIS server, there are also many other servers. for example, If the site is
developed in PHP language and there is an Apache server and an IIS server, How does the page identify that the request should be sent
to the Apache server instead of the IIS server?

2. Sometimes we code to send email to a particular user''s email address but the email goes to the spam folder. How will you troubleshoot this problem?

3. What are the new features in SQL server 2005 compared to 2002?

4. What is the difference between Static variables and constant variables?

5. What is the difference between regular variables (meaninig public int myInt=0;) and static variables?

6. In what situations should we use delegates?

Thanks
Imrankhan

推荐答案

1)浏览器将尝试通过查询dns服务器来确定服务器的ip地址.接下来,根据协议(http,ftp,https ...),浏览器将打开具有该地址/端口的TCP会话.
2)您想对哪一端进行故障排除?在发送方,发起中继的smtp服务器应具有反向dns条目(in-addr.arpa),在某些情况下,据说从其发出邮件的域授权机构中存在MX记录也可能很有用. .服务器也不应列入黑名单.在接收方,这取决于所使用的垃圾邮件软件.

3)不记得了.我确定Microsoft的产品页面会告诉您所有差异.

4)没有常量变量之类的东西.它可以是变量,也可以是常量.在大多数语言中,静态变量具有全局范围,而不是局部范围.常量是相同的,但它是常量,即它的值不能更改.

5)参见问题4

6)每当您将使用指向函数的指针时.
1) The browser will try to determine the ip address of the server by querying a dns server. next depending on the protocol (http, ftp, https...), the browser will open a TCP session with that address/port

2) which end do you want to troubleshoot? On the sending side, the smtp server which originates the relay should have a reverse dns entry (in-addr.arpa), insome cases it may also be usefull that an MX record exists in the domain authority from which the mail is said to originate. The server should also not be black listed. On the receiving side, it depends on the spam software used.

3) Can''t remember. I''m sure Microsoft has a product page telling you all the differences.

4) There is no such thing as a constant variable. It''s either a variable, or a constant. In most languages a static variable has global scope, as opposed to local scope. A constant is the same but it is constant, i.e. it''s value cannot be changed.

5) see question 4

6) Whenever you would use a pointer to a function.


这篇关于我最近遇到的一些面试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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