Do you know that? Always sketch out your ideas first before designing on the computer. next

Contact Email:

<< All Upwork (oDesk) and Elance Tests << Upwork (oDesk) test answers << Mobile Technologies category

Test answers for Knowledge of Symbian C++ Test 2016

(48, CL) Last updated: January 27
Upwork (oDesk) • Mobile Technologies
Questions and answers are regularly updated. Answered and not answered tests questions.

This helps getting job: Hundreds of (cover letter examples , interview questions , profile samples ) • Earn on Upwork (oDesk)
Job assistance: jobs popularityfreelance rates

Popular test answers: HTML, .Net, CSS, English, SEO, Photoshop, iOS, Java, Android, Ruby, Python, JavaScript

See all 6 tests answers updated

Find Upwork (oDesk) and Elance test answers on this website:

Collapse | Expand

48 NOT Answered Yet Test Questions:

(hold on, will be updated soon)
1. What will happen when the following Symbian C++ code is executed?

Line 1        class foo {
Line 2        enum A { AA };
Line 3        int f(A a = AA);
Line 4        int f(B b = BB);
Line 5        enum B { BB };
Line 6        };


• The code will run successfully.

• Line 3 will produce an error because the syntax of the assignment is incorrect.

• Line 4 will produce an error because BB has not been declared above.

• Line 2 will produce an error because of incorrect declaration of AA.

2. Which of the following layers is responsible for managing all plug-ins, Central Repository, DBMS and cryptographic services in Symbian?


• UI Framework layer

• OS Services layer

• Base Services layer

• Mutimedia layer

3. Setting multiple networking profiles is not possible on the S60 platform.


• True

• False

4. Which statement will you use in an S60 resource file to declare the version number of the resource file?





• None of the above

5. Which of the following is NOT a valid integer data type in Symbian OS programming?


• Tint8

• TUint32

• TUint64

• TInt64

6. Which of the following services is/are provided by the ESOCK of the Symbian OS?


• It provides the facility of connection management API for selecting, configuring and monitoring connections.

• It provides the facility for loading and configuring the CPMs based on the contents of various CMI files.

• It provides the lowest level interface to the telephony functionality within Symbian OS.

• It provides the facility for making connections with remote systems and transferring data.

7. Which of the following CANNOT be highlighted, selected or retrieved in a text viewer editor, using the CAKnItemFinder class of the Item Finder API?


• Email Address

• Url Address

• GSM Network

• Phone number

8. What will happen if the following piece of code is executed?

TBool var_a=2 ;
If (var_a == ETrue)
... ... // Some code here


• The code will execute if the var_a equals true.

• The code will execute if the var_a equals false.

• The code will always execute irrespective of the value of var_a.

• The code will never execute irrespective of the value of var_a.

9. Which of the following Avkon controls provided in the S60 platform are window-owning controls?


• Editors

• Lists

• Dialogs

• Setting pages

• Queries

10. Which of the following tools is not necessarily required for developing C++ S60 applications?


• S60 Platform Software Development Kit (SDK) for Symbian OS

• Carbide.c++ Integrated Development Environment

• ActivePerl

• Java Runtime

• .NET Framework

11. Which of the following is/are (an) advantage(s) of lodger controls?


• Lodgers reduce the client-server traffic between an application and the window server.

• Lodgers improve graphics quality.

• Lodgers reduce overheads because controls are much more compact in memory than in windows.

• Lodgers have less demanding processing requirements.

• Lodgers help in drawing objects and implementing themes.

12. What will happen if the following declarations are done?

Line 1        int;
Line 2        int i;


• Line 1 is correct, but Line 2 will show a warning.

• Line 2 is correct, but Line 1 will show a warning.

• Line 1 and Line 2 will each show a warning.

• Line 1 and Line 2 are both error free and warning free.

13. Which of the following is not a typical function of the Arrow up/Arrow down standard keys in S60 devices?


• They move the focus one item up/down in lists and grids.

• They move the cursor one line up/down in editors.

• They change the value in a pop-up field immediately in forms.

• They scroll the view up/down in viewers.

• They adjust the sound volume during calls and sound playback when the device does not have dedicated volume keys.

14. Which of the following functions is/are provided by the Kernel and hardware services of the Symbian Operating System?


• Digital TV hardware abstraction

• Unicode 3.0 and support for different languages

• Demand paging of read-only code and data

• L2 cache support

15. In Symbian C++, the basic class for color is the Trgb: color specification. What is the size of the TRgb: class object?


• 8 bits

• 16 bits

• 32 bits

• 64 bits

16. Which of the following S60 platform services is used for providing services to establish connections and interact with web-based functionality, including browsing, file download, and messaging?


• Web-Based Services

• Multimedia Services

• Communication Services

• Browser Application Services

17. What is the maximum size of values that can be assigned to data type TInt in Symbian C++?


• Signed and unsigned 8-bit integer

• Signed and unsigned 16-bit integer

• Signed and unsigned 32-bit integer

• Signed and unsigned 64-bit integer

18. The default stack size in Symbian OS is :


• 5Kb

• 8Kb

• 16Kb

• 32Kb

19. Which line will produce an error when the following Symbian C++ code is executed?

Line 1.        class foo {
Line 2        virtual int f0();
Line 3        int virtual f1();
Line 4        friend int f2();
Line 5        int friend f3();
Line 6        };


• Line 2

• Line 3

• Line 4

• Line 5

• The code is error free.

20. Which of the following system-provided framework classes of Symbian OS GUI is used to handle the control stack for first-level key event distribution?


• RWsSession

• RWindowGroup

• CCoeEnv

• CCoeAppUi

21. Which of the following Symbian classes can be used to play audio data?


• CmdaAudioPlayerUtility

• CmdaAudioRecorderUtility

• CMMFCodec

• CMMFDevSound

22. Which of the following statements is/are true about the concept of components with regard to Symbian Software Structuring?


• They are a collection of files needed to build and test at least one target file.

• They have their own source tree where all the source files and other package files must be contained.

• They are used to implement programming interfaces that are under change control.

• All components are aggregated into packages owned and maintained by a single organization.

23. Which of the following actions CANNOT be performed using the Extended Skins API?


• Changing the active theme.

• Receiving notifications of change in skin content, configuration.

• Creating a generic parameter list with basic types.

• Deleting skin or copying skin from one location to another.

• Setting idle wallpaper.

24. Which of the following services is NOT provided by the MMFDevSound API?


• The playing of DTMF strings.

• Initialization and configuration of hardware devices, for example, setting microphone gain, setting stereo balance and so on.

• The editing of raw audio data.

• The playing and dynamic control of tones with user specified frequencies.

25. Can a file within a package contain hardcoded references to the package directory location in Symbian?


• Yes

• No

26. When an object is allocated dynamically on the heap, which of the following keywords is used by the programmer to specifically delete the object?


• delete

• free

• refresh

• malloc

27. On the S60 platform, when an application starts, which of the following options shows the correct order in which the objects are created?


• application ->document->UI controller->view controller->view

• application -> UI controller-> document->view controller->view

• application ->document-> view controller->UI controller-> view

• application ->document-> view controller->view ->UI controller

28. Which of the following mechanisms provided by the Symbian OS allows file access control?


• Reference Monitor

• Data Caging

• Trusted Computing Base

• Trusted Computing Environment

29. Suppose you have 2 classes namely, Person and Footballer, as follows:

class Person { virtual void func(void) { ; } };
class Athlete : public Person { /* . . . */ };
and suppose 2 pointers are defined as follows:
Person *Joy = new Person;
Person *Max = new Athlete;

What will be the value of the variable 'a', if the following dynamic_cast statement is executed?
a = dynamic_cast<Athlete*>(Joy);


• Joy

• Max

• 0

• None of the above

30. Which of the following TDisplayMode display modes is used to display 16 shades of gray?


• EGray2

• EGray4

• EGray16

• EGray256

31. Consider the following lines of code. What does it signify if aForeground is set to FALSE?

void CMyViewAppUi::HandleForegroundEventL(TBool aForeground)
    if (aForeground==TRUE)
        iEikonEnv->InfoMsg(_L("Some Message here"));
        iEikonEnv->InfoMsg(_L("Some Message here"));


• The application is switched to the foreground.

• The application has gone to the background.

• The application is not running.

• The application has crashed.

• None of the above

32. Which of the following servers is a serial communications server that drives the communications ports and also runs serial-like protocols that use other communications services?


• C32



• Messaging

33. What function(s) does the Trusted Computing Base (TCB) in Symbian OS perform?


• It is used to control the lowest level of the security mechanisms and also to maintain the integrity of the system.

• It is used to check the trusted software provided in the mobile phone by Symbian and others, such as the UI platform provider and the phone manufacturer.

• It is used to gain access to a system resource and system resources take the form of services provided via an API.

• It is the smallest part of the system that the processes can fully trust.

34. Sending and receiving an SMS without the message tone and without any new message notification can be achieved by sending the SMS through sockets using the SMS Utilities API.


• True

• False

35. For S60 devices, what is the minimum size that an element should have, in order to be considered as index finger usable?


• 5 X 5 mm

• 7 X 7 mm

• 10 X 10 mm

• 12 X 12 mm

36. What does r_name34 represent in the following resource string declaration?

RESOURCE TBUF r_name34 { buf = STRING_value_in_rls_file; }


• It is the keyword for the statement.

• It is a utility structure to contain the string.

• It is the symbolic ID used in your code.

• None of the above

37. Which of the following string functions is/are used in Symbian C++ for the purpose of searching?


• Locate()

• Compare()

• Find()

• Collate()

38. Which of the following services is/are provided by the SyncML Client API?


• Event notification

• SMS notification

• Profile management

• Call Register details

39. Which of the following layers is/are present in the Symbian System Model?


• Multimedia layer

• Base Services layer

• Session Layer

• UI Framework layer

40. Which of the following classes do(es) NOT own any external object, whether directly (by pointer) or indirectly (by handle)?


• 'T' classes

• 'C' classes

• 'R' classes

• 'M' classes

41. While editing text in alpha mode on an S60 device, which of the following keys is used for changing the character case?


• Numeric key 1

• Star (*) key

• Hash (#) key

• Edit key

42. Which of the following APIs will be used to enable or disable "Show call duration"?


• Settings Framework API

• AIW Dial Data Consumer API

• Logs Timers API

• Item Finder API

• Data Connection Log Counters API

43. Which of the following servers is responsible for starting and stopping the communication servers providing dedicated services?


• C32 Serial Server

• ESock Server

• Root Server

• None of the above

44. Which function will you use to set the Origin of the graphics context?


• SetBrushOrigin()

• MoveTo()

• MoveBy()

• SetOrigin()

45. What is the output of the following code?

#include <centralrepository.h>
#include <dclcrkeys.h> # or <dclinternalcrkeys.h>
LIBRARY centralrepository.lib
CRepository* cRepository = CRepository::NewLC( KCRUidDCLLogs );
TBuf<50> bytes;
User::LeaveIfError( cRepository->Get(KLogsGPRSReceivedCounter, bytes ) );
CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
TBuf<100> msg;
msg.Copy(_L("Data in bytes : "));


• It displays the total data received using GPRS.

• It displays the total data sent using GPRS.

• It displays the total data sent using WLAN.

• It displays the total data received using WLAN.

46. In an S60 device, which touch event will activate a menu command under the finger?


• Touch

• Tap

• Touch and cancel

• Touch and drag

• None of the above

47. How will you write a comment in Symbian C++?


• ' text

• / text

• // text

• ** text

48. Every file present in the hierarchy of the Symbian platform is owned by one and only one component, collection, package and layer.


• True

• False