面试中提出的一些问题 [英] Some Questions Asked in Interview

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

问题描述

我是专业人士找工作。在采访这些问题时

被问到我回答的其他一些问题。但是他们中的一些人留下了

未答复.Plz帮助。


以下是关于C / C ++,OS内部的一些问题?

Q1。指向数组的指针有什么用?

Q2。指针数组有什么用?

Q3。指针用于函数有什么用?

Q4。如何通过串口打印?什么是流量控制(Xon,Xoff)



Q5。什么是IOCTL解释。

Q6。如何在C中创建中断服务程序?

Q7。日程安排的内部是什么?

Q8。静态变量在堆或堆栈中声明?

解决方案



" Jatinder" < JS ******* @ sancharnet.in>在消息中写道

新闻:22 ************************* @ posting.google.co m ... < blockquote class =post_quotes>我是专业人士找工作。在采访中这些问题与其他一些问我被回答。但其中一些人没有得到答复.Plz帮助。


这些都不是C问题,也可能有很长的答案。

这里有一些关于C / C ++,OS内部的问题?
Q1。指向数组的指针有什么用?
Q2。指针数组的用途是什么?
Q3。指针用于什么功能?
Q4。如何通过串口打印?什么是流量控制(Xon,Xoff)

Q5。什么是IOCTL解释。
Q6。如何在C中创建中断服务程序?Q7。调度表的内部是什么?
Q8。静态变量在堆或堆栈中声明?




我不会给出任何答案因为我觉得C问题太模糊了。

关于IOCTL的详细信息可以在网上找到,有关XON的信息,

XOFF。




Jatinder写道:

我是专业人士找工作。在采访中这些问题与其他一些人提出了问题。但是他们中的一些人离开了。 /> unanswered.Plz帮助。

以下是关于C / C ++,OS内部的一些问题?
Q1。指向数组的用法有什么用?
很多Q2。指针数组有什么用?
很多Q3。指针对函数有什么用?
对匿名反向调用很有用。最有用的是从库中调用

应用程序的功能。 Q4。如何通过串口打印?什么是流量控制(Xon,Xoff)

这不是问题。 Q5。什么是IOCTL解释。
man ioctl。你会得到很好的解释Q6。如何在C中创建中断服务程序?
我们只能编写软件中断,它们被称为信号

处理程序。这些就像普通的c函数那样取整数(sig

num)作为参数Q7。日程安排的内部是什么?
不是c问题。它需要模糊的解释Q8。静态变量在堆或堆栈中声明?






----- BEGIN PGP签名消息-----

哈希:SHA1


Dhananjaya Reddy Eadala写道:

Jatinder写道:



[snip]

以下是关于C / C ++,OS内部的一些问题?
[snip] Q5。什么是IOCTL解释。



man ioctl。你会得到很好的解释




实际上,这不是一个C问题。 IOCTL超出了

标准C语言的范围。 /和/ unix''man''命令不一定是OP可用的



[snip]

Q8。静态变量在堆或堆栈中声明?






也许不是。标准C语言既不识别术语''堆'',

也不识别术语''堆栈'',因此这个问题实际上与

无关。 C.至于具体的实现,''堆''和''堆栈''都有资格

来存储静态变量,虽然恕我直言''堆栈''将需要更多的工作来

工具。


- -


Lew Pitcher,IT顾问,企业应用程序架构

企业技术解决方案,道明银行金融集团


(这里表达的意见是我自己的,不是我的雇主的)

--- --BEGIN PGP SIGNATURE -----

版本:GnuPG v1.2.4(MingW32)

iD8DBQFApOLIagVFX4UWr64RAmmEAJ9RadHvs / U6vO + FZ5UGeptgAaedjACeP7Dg

uVMv7O4 + 6DMhR0ucYdz8Ecg =

= xRlU

----- END PGP SIGNATURE -----


I ''m a professional looking for the job.In interview these questions
were asked with some others which I answered.But some of them left
unanswered.Plz help.

Here are some questions on C/C++, OS internals?
Q1 . What is the use of pointer to an array?
Q2 . What is the use of array of pointers?
Q3 . What is the use of pointer to function ?
Q4 . How to print through serial port? What is Flow Control(Xon,Xoff)
?
Q5 . What is IOCTL Explain .
Q6 . How to create an interrupt service routine in C?
Q7 . What are the internals of a schedular ?
Q8 . The static variables are declared in heap or stack ?

解决方案


"Jatinder" <js*******@sancharnet.in> wrote in message
news:22*************************@posting.google.co m...

I ''m a professional looking for the job.In interview these questions
were asked with some others which I answered.But some of them left
unanswered.Plz help.
These are not all C questions, and can also have quite lengthy answers.
Here are some questions on C/C++, OS internals?
Q1 . What is the use of pointer to an array?
Q2 . What is the use of array of pointers?
Q3 . What is the use of pointer to function ?
Q4 . How to print through serial port? What is Flow Control(Xon,Xoff)
?
Q5 . What is IOCTL Explain .
Q6 . How to create an interrupt service routine in C?
Q7 . What are the internals of a schedular ?
Q8 . The static variables are declared in heap or stack ?



I won''t give any answer becuase I feel the C questions are too vague.
Details on IOCTL can be found on the web, as can information about XON,
XOFF.




Jatinder wrote:

I ''m a professional looking for the job.In interview these questions
were asked with some others which I answered.But some of them left
unanswered.Plz help.

Here are some questions on C/C++, OS internals?
Q1 . What is the use of pointer to an array? many Q2 . What is the use of array of pointers? many Q3 . What is the use of pointer to function ? Useful to for anonymous reverse invocation. Most useful to invoke
application''s function from library. Q4 . How to print through serial port? What is Flow Control(Xon,Xoff)
? It is not c question. Q5 . What is IOCTL Explain . man ioctl. You will get nice explantion Q6 . How to create an interrupt service routine in C? We can write only software interrupts and they are called signal
handlers. These are like normal c functions those take an integer (sig
num) as argument Q7 . What are the internals of a schedular ? not a c question. It requires vague explanation Q8 . The static variables are declared in heap or stack ?


heap


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dhananjaya Reddy Eadala wrote:

Jatinder wrote:


[snip]

Here are some questions on C/C++, OS internals? [snip] Q5 . What is IOCTL Explain .



man ioctl. You will get nice explantion



Actually, this is not a C question. IOCTLs are outside the scope of the
standard C language. /And/ the unix ''man'' command isn''t necessarily
available to the OP.

[snip]

Q8 . The static variables are declared in heap or stack ?



heap



Perhaps not. The standard C language neither recognizes the term ''heap'',
nor the term ''stack'', and thus the question doesn''t actually relate to
C. As for specific implementations, both ''heap'' and ''stack'' are eligible
to store static variables, although IMHO ''stack'' would take more work to
implement.


- --

Lew Pitcher, IT Consultant, Enterprise Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer''s)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFApOLIagVFX4UWr64RAmmEAJ9RadHvs/U6vO+FZ5UGeptgAaedjACeP7Dg
uVMv7O4+6DMhR0ucYdz8Ecg=
=xRlU
-----END PGP SIGNATURE-----


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

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