没有合适的资源?快使用搜索试试~ 我知道了~
首页Symbian开发指南:考试样题与基础讲解
Symbian开发指南:考试样题与基础讲解
需积分: 10 71 下载量 4 浏览量
更新于2024-08-02
收藏 298KB PDF 举报
Symbian 题目是一份针对Symbian OS软件开发认证的教材,由Jo Stichbury和Mark Jacobs合著,由Symbian官方出版,于2006年10月发行,共294页,书号为ISBN 0-470-05827-7。该书名为《Accredited Symbian Developer Primer》,旨在为希望深入了解Symbian OS v9的开发者提供基础知识,帮助他们成为认证的Symbian开发者。 本书的核心内容包括Symbian C++编程的基础概念,它是通过Symbian ASD(Accredited Symbian Developer)考试的官方指南。学习者将在这本书中学到如何编写高质量的Symbian C++应用程序和服务代码,以及为实际的ASD考试做好准备。作者们通过48个示例问题展示了考试中可能出现的类型,这些问题是用来检验考生对于Symbian操作系统架构、编程语言特性和系统服务的理解程度。 参加者可以通过www.majinate.com网站进行认证考试,同时,这本书也已经在亚马逊和其他Symbian Press销售渠道中可以购买。对于批量订购的需求,可以直接联系book_sales@symbian.com进行咨询。 通过这份资料,读者不仅可以提升自己的编程技能,还能确保他们的知识符合Symbian平台的专业标准,这对于寻求在移动设备领域工作的开发人员来说,是一份极其重要的学习资源。因此,对于想要深入探索Symbian技术或者准备进入Symbian开发领域的专业人士来说,理解和掌握这本书中的内容是至关重要的一步。
资源详情
资源推荐
4. Symbian OS Types and Declarations
Question 10
Which of the following statements about Symbian OS C classes are correct?
A. " A C class always has a virtual destructor
B. " When writing a C class, a developer must define public default and copy constructors
C. " A C class may not own data stored on the heap
D. " A C class must always derive from CBase
E. " When they are allocated on the heap, objects of a C class are zero filled on construction
Easy
Question 11
Which of the following are fundamental Symbian types?
A. " int
B. " TUint8
C. " TFloat
D. " unsigned TInt
E. " TBool
Medium
Question 12
Which of the following statements about Symbian OS M classes are correct?
A. " M classes must not be instantiated
B. " Multiple inheritance on Symbian OS uses M classes for dynamic binding
C. ! M classes are used to define interfaces such as “observers”
D. " M classes may contain member variables as long as each variable is a pointer
E. " M class functions must only ever be pure virtual functions
Hard
www.meme-education.com
Copyright Control Version 1.1: 23rd March 2007
5. Leaves and the Cleanup Stack
Question 13
Which of the following statements about exception handling in Symbian OS are correct?
A. " Symbian OS is a robust operating system and handles exceptions internally so that a
developer does not have to do so
B. " If a leave occurs, the system reboots
C. ! If a leave occurs, memory that is not “leave safe” may be leaked
D. " Leaving code is found most often in the system layers and rarely in application level code
E. " The LeaveScan tool can be used to detect functions that may leave
Easy
Question 14
In which of the following cases is it incorrect for code to leave?
A." In a function, which also returns an error, to indicate a significant failure
B. " When heap allocation fails due to insufficient memory
C. " When a file cannot be located, to indicate that a new one must be created
D. " To detect a programming error, such as an off-by-one error, in debug builds
E. " To redirect program logic by skipping to a different point in code
Medium
Question 15
Which of the following suggestions would improve the way TestFunctionL() manages heap
memory or highlight any memory leaks?
void TestFunctionL()
{
_LIT(KHello, "Hello World");
HBufC* helloDes = KHello().AllocL();
LeavingFunctionL();
}
A. " Adding delete helloDes before the function returns so helloDes is destroyed if
LeavingFunctionL() returns normally
B. " Adding the debug macros __UHEAP_MARK and __UHEAP_MARKEND to the start and end of
the function, respectively.
C. " Pushing helloDes onto the cleanup stack in the first line of TestFunctionL()
www.meme-education.com
Copyright Control Version 1.1: 23rd March 2007
剩余41页未读,继续阅读
heshen1978
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C++标准程序库:权威指南
- Java解惑:奇数判断误区与改进方法
- C++编程必读:20种设计模式详解与实战
- LM3S8962微控制器数据手册
- 51单片机C语言实战教程:从入门到精通
- Spring3.0权威指南:JavaEE6实战
- Win32多线程程序设计详解
- Lucene2.9.1开发全攻略:从环境配置到索引创建
- 内存虚拟硬盘技术:提升电脑速度的秘密武器
- Java操作数据库:保存与显示图片到数据库及页面
- ISO14001:2004环境管理体系要求详解
- ShopExV4.8二次开发详解
- 企业形象与产品推广一站式网站建设技术方案揭秘
- Shopex二次开发:触发器与控制器重定向技术详解
- FPGA开发实战指南:创新设计与进阶技巧
- ShopExV4.8二次开发入门:解决升级问题与功能扩展
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功