威盛公司软件C++工程师笔试题
1.How good do you see yours programming skills?Please circle your answers
C: Fair/Good/Excellent
C++: Fair/Good/Excellent
2.Please estimate your programming experince:
How many lines of code are your biggest C Program ever written excluding thestandard linked library?
How many lines of code are your biggest C++ program ever written excluding the standard linked library?
3.Please explain the following terms
Data Encapsulation
Inheritance
Polymorphism
4.What is a virtual base class?How do you declare such a class?How would you use it in a design?
5.What is a template or container class?How do you declare such a class?
6.Which are the access control levels for C++ language?
7.What is RTTI?How do you achieve RTTI in your design?
8.What are the major differences between static and non-static member functions?
9.How do you call a regular member function from a static member function?
Please use psendo-code to provide your answer
10.How do you declare/define a type of pointer to a class member function?
Please use psendo-code to provide your answer
11.Please explain the following tyoes:
Here is a short lise of combinations and their meanings:
1.Reference-Can change the referenced object
2.Const-Reference
3.Const-Pointer-
4.Pointer-Const-
5.Const-Pointer-Const-
CFoo Instance
CFoo &ReferenceToInstance=Instance; //1
const CFoo &ConstReferenceToInstance=Instance; //2
const CFoo *pConstPointer=&Instance; //3
CFoo *const pPointerConst=&Instance; //4
const CF00 *const pPointerConst=&Instance; //5
12.What are top-down and bottom-up approach?How do you usually use them?
13.Please use pseudo-code to design a set of stack operations with template
14.Please use pseudo-code to design a set of double linked list operations with template
Optional Questions:(for extra credits)
15.Please write a unix makefile for Question13
16.Please explain these common sections:text,data,bss
版权声明:此文自动收集于网络,若有来源错误或者侵犯您的合法权益,您可通过邮箱与我们取得联系,我们将及时进行处理。
本文地址:https://www.gunzhua.com/jiuye/bishi/45687.html