Showing posts with label Upwork > Mobile Technologies. Show all posts
Showing posts with label Upwork > Mobile Technologies. Show all posts

Thursday, 12 November 2015

Knowledge of Windows Phone 7 Skills Test

Knowledge of Windows Phone 7 Skills Test

:: Home > Upwork > Mobile Technologies > Knowledge of Windows Phone 7 Skills Test



Questions are under process will be updated soon...... Thnx




Knowledge of Windows Mobile Skills Test

Knowledge of Windows Mobile Skills Test

:: Home > Upwork > Mobile Technologies > Knowledge of Windows Mobile Skills Test



Questions are under process will be updated soon...... Thnx




Knowledge of Symbian C++ Test

Knowledge of Symbian C++ Test

:: Home > Upwork > Mobile Technologies > Knowledge of Symbian C++ Test



Questions are under process will be updated soon...... Thnx




iPhone Programming OS 4.0 Test

iPhone Programming OS 4.0 Test

:: Home > Upwork > Mobile Technologies > iPhone Programming OS 4.0 Test



Questions are under process will be updated soon...... Thnx




iOS Programming Test

iOS Programming Test

:: Home > Upwork > Mobile Technologies > iOS Programming Test



Questions are under process will be updated soon...... Thnx




Design Considerations for Mobile Web Applications Development Test

Design Considerations for Mobile Web Applications Development Test

:: Home > Upwork > Mobile Technologies > Design Considerations for Mobile Web Applications Development Test



Questions are under process will be updated soon...... Thnx




Android Programming Test

Android Programming Test

:: Home > Upwork > Mobile Technologies > Android Programming Test



Questions are under process will be updated soon...... Thnx




Thursday, 20 August 2015

iOS 5 Programming Skills Test

iOS 5 Programming Skills Test

:: Home > Upwork > Mobile Technologies > iOS 5 Programming Skills Test

Which of the following is NOT allowed in iOS?

a. Creating a file in the Documents directory.
b. Creating a file in a bundle directory.
c. Moving a file from a bundle directory to the Documents directory.
d. Copying a file from a bundle directory to the Documents directory.

Which of the following is FALSE about the NSFetchRequest class?

a. You can fetch only one type of entity per fetch request.
b. You can fetch only two types of entity per fetch request.
c. You can fetch multiple types of entity per fetch request.

What is the default compiler in an iPhone project?

a. LLVM GCC4
b. Apple LLVM Compiler 3.2
c. GCC 2.0
d. CC

Which of the following signing certificates is NOT supported by iOS5?

a. SHA1
b. SHA2
c. MD5
d. None of the above

Which of the following are true regarding the AVAudioSession class?

a. AVAudioSession allows your application to access the audio hardware resources.
b. To record audio with the AVAudioRecorder, you must initialize an AVAudioSession before you start recording.
c. AVAudioSession allows you to define the preferred audio hardware sample rate and the I/O buffer duration.
d. All of the above.

In which situations does the following error occur?

EXE_ACCESS_BAD_ACCESS

a. When an invalid memory address is accessed.
b. When the function of a deallocated object is called.
c. When an object with retain count 0 is accessed.
d. All of the above.

Which of the following map APIs does iOS5 use?

a. Apple Map Kit
b. Google Maps
c. Route-Me
d. MapBox
e. None of these

Which two of the following are most preferable when an application is communicating with the network services?

a. The application should check the speed of the network before sending any request.
b. The application should send asynchronous request to the server.
c. The application should show a progress bar/progress indicator while downloading a large amount of data.
d. The application should use cache to speed up the network request.

Which property of CSS was NOT available in Safari and WebKit before iOS5?

a. -webkit-overflow-scrolling
b. -webkit-touch-callout
c. -webkit-padding-start
d. -webkit-transition-delay

Is it possible to store NSRect or CGColor type data in a Core Data class?

a. Yes
b. No

Which of the following can be used to set the frame rate of the screen?

a. framesPerSecond
b. preferredFramesPerSecond
c. framesDisplayed
d. None of the above

Which of the following statements is true regarding NSObject?

a. NSObject is a class and not a protocol.
b. NSObject is a protocol and not a class.
c. NSObject is both a protocol and a class.
d. NSObject is neither a protocol nor a class.

What will happen if you programmatically select the picker row?

a. The delegate method - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component will be called.
b. There will be no call to - (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSIntegeR)row inComponent:(NSInteger)component method.
c. Depends on the iOS SDK version for development.
d. None of the above.

Is Core Data a relational database management system?

a. Yes
b. No

Which of the following is true regarding iCloud?

a. You can upload and share files on multiple devices with iCloud.
b. There is a new framework for iCloud.
c. You can upload files to iCloud with the help of NSFileManager.
d. You can't use iCloud in your applications. It works automatically.

Which of the following third party frameworks are used for developing games?

a. Sencha Touch
b. Cocos2d
c. Box2d
d. Unity

Which of the following is the correct syntax for calling a function in Objective-C?

a. obj.method()
b. obj.method
c. obj->method()
d. [obj method]

Which of the following are the uses of the new Assets Library?

a. Allows access to the photo stream.
b. Lets you create a new library and add new images to an album.
c. Lets you create thumbnails from an asset.
d. Helps you modify and save existing assets.
e. Lets you sync photo stream between different devices.

In what format are the strings defined in the .xib file stored?

a. UTF 8
b. Base64
c. ANSCII
d. UTF 16

How many main() method/s can you have in a single iPhone application?

a. 1
b. 2
c. As many as you want
d. no need of main

Which new security framework was introduced in iOS5?

a. GSS .framework
b. Generic Security .framework
c. System Security .framework
d. System Configuration .framework

Which of the following is true in the context of storyboards and view controllers?

a. They can be used together.
b. They cannot be used together.
c. Storyboards can be used within a single page application.

Which of the following frameworks is required for real-time audio output?

a. AudioToolbox
b. AVFoundation
c. OpenAL
d. OpenGLES

Which of following is true of Core Data?

a. You can create more than one data model in one application, where each data model can have more than one table.
b. You can have more than one managed contexts in one application.
c. Database schema needs to be defined using ManagedObjectContext.
d. You can rollback the changes made in the managed object contact with the help of rollback, reset and undo methods.

Where can NSPredicate be used?

a. CoreData Query
b. Search in NSArray
c. String compare
d. Sorting

Which of the following statements is true in the context of  Objective-C?

a. Function overloading is supported in Objective-C.
b. Function overloading is not supported in Objective-C.
c. Framework classes cannot be inherited.
d. While creating categories, we can create new variables.

If an application is created using a storyboard, then which of the following is true?

a. The application will work only on iOS 5 and above.
b. The application will work on all iOS.
c. The application will not work on iPod touch 4G with iOS5.

Which of the following features are new in iOS 5?

a. Siri
b. Twitter integration
c. Notification Center
d. All of the above

Which of the following frameworks provides a single sign-on model?

a. Twitter
b. Accounts
c. System
d. GSS

Is Core Data framework thread safe?

a. Yes
b. No

Which of the following is true?

a. ARC is a feature of Xcode.
b. ARC is a feature of Compiler.
c. ARC is a feature of Linker.
d. ARC is a feature of Debugger.

Which framework is used for video/image editing?

a. UIkit
b. AVFoundation
c. CoreImage
d. CoreGraphics
e. All of the above

Which of following is/are (a) new gaming framework/s introduced in iOS 5?

a. GLKit
b. GSS
c. OpenGLES
d. All of the above

What is the meaning of ARC (Automatic Reference Counting) in the context of Objective-C?

a. The whole program runs under autorelease pools.
b. Referencing is taken care of at compile time in accordance with the life cycle of the variable.
c. Memory management is handled at compile time by Xcode.
d. Memory management is handled by the compiler.

Which of the following classes are NOT thread safe?

a. NSArray
b. NSAutoreleasePool
c. NSMutabelArray
d. NSNumber
e. NSUserDefaults

Is it possible to disable a track of a composition?

a. Yes
b. No

Which of the following is true of ARC?

a. ARC can be enabled at the time of project creation only.
b. ARC can also be enabled after the project has been created.
c. ARC can be enabled/disabled for individual files.
d. Once enabled, ARC cannot be disabled.

Which of the following is NOT an OpenGLES method?

a. glclear()
b. glClearColor()
c. glDrawArrays()
d. glDrawTexture()

Which of the following properties can be used to make changes to the keyboard in iOS?

a. InputView
b. inputtype
c. inputAccessoryView
d. keyboardType

Which of the following is NOT an AVAudioSessionMode?

a. AVAudioSessionModeDefault
b. AVAudioSessionModeVoiceChat
c. AVAudioSessionModeMoviePlayback
d. AVAudioSessionModeVideoRecording

Mobile Game development using Android OS

Upwork Test Categories

:: Home > Upwork > Mobile Technologies > Mobile Game development using Android OS

If you are creating a new Android game using Eclipse, which of the following is the correct procedure to do so?

a. File–>New–>Android Application Project–>Fill in the required Details and click Finish.
b. File–Android –>New Project–>Fill in the required Details and click Finish.
c. File–>java–>Android–> Application Project–>Fill in the required Details and click Finish.
d. File–>projects–>New Game Project–>Fill in the required Details and click Finish.

In order to create pop-up windows inside an Android game, a/an ________ class is used.

a. Dialog
b. ActivityWindow
c. PopupActivity
d. PopupWindow

Suppose you are developing an Android game using eclipse. If you want to change the version number of your game, which file should you edit to do so?

a. MainActivity.java
b. BuildConfig.java
c. AndroidManifest.xml
d. Style.xml
e. None of the above

In an Android project which of the files should not be modified?

a. BuildConfig.java
b. R.java
c. AndroidManifest.xml
d. MainActivity.java

In the method given below, which code line sets the class "MainGamePanel" as the handler of the events happening on the actual surface?

1. public class MainGamePanel extends SurfaceView implements
2. SurfaceHolder.Callback {
3. public MainGamePanel(Context context) {
4. super(context);
5. getHolder().addCallback(this);
6. setFocusable(true);
7. }

a. 4
b. 5
c. 6
d. None of the above

Which of the following log(s) is/are supported by Android.Util.Log class?

a. Error
b. Warning
c. Verbose
d. Debug
e. All of the above

The application context for the current process can be retrieved using which of the following methods in Android?

a. Context context=New Context(this);
b. Context context=getApplicationContext();
c. Context context=getContext(this);
d. Context context=New Applicationcontext();

The base class for Android Activity class is_______________.

a. Android.app.Activity
b. java.lang.Object
c. Android.app.admin
d. None of the above

This question is based upon the figure shown below


In Eclipse, which of the following is the icon of Android SDK Manager?

a. I
b. II
c. III
d. IV
e. V
f. VI

Suppose you want to draw an image, roboimage.png to coordinates (20, 20). The image is already present in the respective folder. Which of the following is the correct syntax to do so?

a. protected void Draw(Canvas canvas) {
    canvas.drawimage(BitmapFactory.Resource(getResources(),
    R.drawable.roboimage), 20, 20);
b. protected void Canvas() {
    canvas.drawimage(BitmapFactory.decodeResource(getResources(),
    R.drawable.roboimage), 20, 20, null);
c. protected void onDraw(Canvas canvas) {
    canvas.drawBitmap(BitmapFactory.decodeResource(getResources(),
    R.drawable.roboimage), 20, 20, null);
d. protected void Canvas() {
    drawimage(BitmapFactory.decodeResource(getResources(),
    R.drawable.roboimage), 20, 20);
e. None of the above

Which of the following image formats is/are supported by Android?

I. .jpg
II. .gif
III. .png
IV. .webp

a. I, II, III
b. II, III, IV
c. I, III, IV
d. III, IV
e. All of the above

Which of the following options is valid to create an AVD in Eclipse?

a. Go to Window menu –> select Android virtual device manager –> Android virtual devices tab –> New –> Fill in the details for AVD –> Click Ok.
b. Go to Source– >Select Android Virtual Device –> Android virtual devices tab –> Fill in the details for AVD–>Click Create AVD.
c. Go to Window– >Select New Android Virtual Device–> Android virtual devices tab –> Enter name of AVD–>Click Create AVD.
d. Go to Refractor –> Select Android –> Select Android Virtual Device–> Android virtual devices tab –> Enter name of AVD-Click Create AVD.

While creating an Android Virtual Device (AVD) which of the following hardware options is fixed and cannot be changed by the user?

a. RAM size
b. Battery Support
c. Cache partition size
d. DPad Support
e. None of the above

If a developer wants to modify the fundamental characteristics and components of an Android application developed using Eclipse, then which file he should edit to do so?

a. MainActivity.java
b. AndroidManifest.xml
c. BuildConfig.java
d. both b and c

The architecture used by DVM (Dalvik Virtual machine) is ___________ based.

a. queue
b. stack
c. register
d. All of the above
e. None of the above

Study the method given below and answer the following question:

public Triangle() {
1.ByteBuffer vertexByteBuffer = ByteBuffer.allocateDirect(vertices.length * 4);
2. vertexByteBuffer.order(ByteOrder.nativeOrder());
3. vertexBuffer = vertexByteBuffer.asFloatBuffer();
4. vertexBuffer.put(vertices);
5. vertexBuffer.position(0);
}

Which code line allocates memory from byte buffer?

a. 1
b. 2
c. 3
d. 4
e. 5

In order to retrieve a vibrator for interacting with the vibration hardware, which of the following code is used in Android .java file (in eclipse)?

a. Vibrator vibrator = getSystemService(Activity.VIBRATOR_SERVICE);
    model.setVibrator(vibrator);
b. Vibrator vibrator = (Vibrator) getService(Activity.VIBRATOR_SERVICE);
    setVibrator(vibrator);
c. Vibrator vibrator = (Vibrator)getSystemService(Activity.VIBRATOR_SERVICE);
    model.setVibrator(vibrator);
d. None of the above

Which of the following Android code is used to access the Android device's sensor service?

a. private SensorManager sensor_M;
    Sensor_M= (SensorManager) getSystemService(SENSOR_SERVICE);
b. private Sensor sensor_M;
    sensor_M= getSystemService(SENSOR_SERVICE);
c. private SytemSensorManager sensor_M;
    sensor_M= (SensorManager) getService(SENSOR_SERVICE);
d. private Manager sensor_M;
    Sensor_M= (Sensor) getSystemService(SENSOR.SERVICE);

State whether the following statement is true or false.

For handsets (mobile phone) debugging of Android applications, you cannot use eclipse.

a. True
b. False

How can you view the LogCat in your Eclipse editor?

a. Window–>Open perspectives–>Android–>LogCat
b. Window–>Others–>General–>LogCat
c. Window–>Show View–>Java–>General–>LogCat
d. Window–>Show View–>Other–>Android–>LogCat

For Android games, which of the following font types should we use so that the font size remains consistent on different types of devices with different screen sizes?

a. 3D font
b. Dotted Font
c. Bitmap Font
d. Modern Font

In mobile games, what is the ideal frame rate in frame per second (fps) for no noticeable glitches in the motion of objects?

a. ~20fps
b. ~30fps
c. ~40fps
d. ~50fps
e. ~60fps

In Android, a tool called DX is used to convert java .class files into _________format.

a. .dx
b. .dex
c. .exd
d. .exe
e. None of the above

Which of the following is the suggested location for storing the string resources in an Android application?

a. /res/values/string.xml
b. /res/values/styles.xml
c. /layout/values/string.xml
d. /layout/values/styles.xml

Suppose you are developing an Android game for mobiles. If you want to set the volume button of your phone to handle sounds of the game, which of the following is the correct syntax to do so?

a. context.setVolumeControlStream(AudioManager.STREAM_MUSIC);
b. setVolumeControlStream(context.AudioManager.STREAM_MUSIC);
c. context.setVolumeControlStream(SoundManager.STREAM_MUSIC);
d. setVolumeControlStream(context.SoundManager.STREAM_MUSIC);

Which of the following methods is used to display text on screen in eclipse?

a. public void displayString(String text, int x, int y){
    Canvas canvas;
    for (int i = 0; i < text.length(); i++) {
    Character Ch = text.CharAt(i);
    if (glyphs.get(ch) != null) {
    canvas.drawBitmap(glyphs.get(ch), x + i, (y* width), null); } } }
b. displayString(Canvas canvas, String text) {
    int x;
    int y;
    for (int x = 0; x < text.length(); x++) {
    Character ch
    if (glyphs.get(ch) != null) {
    canvas.drawBitmap(glyphs.x + (i * width.y, null); } } }
c. public void displayString(Canvas canvas, String text, int x, int y){
    for (int i = 0; i < text.length(); i++) {
    Character Ch = text.CharAt(i);
    if (glyphs.get(ch) != null) {
    canvas.drawBitmap(glyphs.get(ch), x + (i * width), y, null); } } }
d. public void displayString(Canvas canvas, String text, int x){
    for (int y = 0; y < text.length(); y++) {
    Character ch
    if (glyphs.get(ch) != null) {
    canvas.drawBitmap(glyphs.get(ch), x * width), null); } } }

Which of the following code lines is needed to be added in Android manifest file (in eclipse),outside of the block, for retrieving a vibrator that interacts with the vibration hardware?

a. <uses-permission Android:name="permission.VIBRATE"></uses-permission>
b. <uses-permission Android:name="Android.permission.VIBRATE"></uses-permission>
c. <uses-permission Android:name="Android.VIBRATE"></uses-permission>
d. <uses-permission Android ="Android.permission.VIBRATE"/>
e. It is not required to be added.

What are application assets in Android?

a. They are used very infrequently to store uncompiled files within the application package file that is installed on the handset.
b. They are used very frequently to store uncompiled files within the application package file that is installed on the handset.
c. They are used very infrequently to store compiled files within the application package file that is installed on the handset.
d. They are used very frequently to store compiled files within the application package file that is installed on the handset.

Study the Android method given below and answer the following question:

getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);

What is the function of the given method?

a. It shows all the menus on the device in a zoomed in view.
b. It sets the application window to full screen mode.
c. Both a and b.
d. None of the above.

Suppose you want to add a new XML file named "colorDim" to your Android project. How can you do so?

a. Right Click on the project to which you want to add the new XML file–>New–>Class–> Enter Name "colorDim.XML"–>Finish
b. Right Click on the folder–>New–>Untitled xml file–>–> Enter Name"colorDim.XML"–>Finish
c. Right Click on the project to which you want to add the new XML file –>New–>Android XMLFile–> Enter Name "colorDim.XML"–>Finish
d. Right Click on the folder–>New–>Class–>Enter Name "colorDim.XML" –>Finish

State whether the given statement is true or false.

OpenGL is used only for writing 3D Graphics that are rendered on GPU (Graphics Processing Unit).

a. True
b. False

Which of the following devices can be used to run an Android application developed using Eclipse?

I) Android Refractor
II) Android Emulator
III) ProGuard
IV) Android device

a. I and IV
b. I, II and III
c. II and IV
d. All of the above
e. II, III and IV

Which of the following data type(s) is/are used by Android?

a. Primitive objects
b. Non persistent objects
c. Both a and b
d. None of the above

Which of the following is the correct way to retrieve a string instance named "hello" from the application resource of Android by using its resource id?

a. String rID= getString(R.string.hello);
b. String rID= getResources(R.string.hello);
c. String rID= getString().getResources(R.string.hello);
d. String rID= getResources().getString(R.string.hello);

Suppose you want to retrieve a system resource string called "Yes" from within an Activity class. Which of the following queries should you use to do so?

a. String getYes= Resource.getString().getSystem().(Android.R.string.Yes);
b. String getYes= Resources.getSystem().getString(Yes);
c. String getYes= Resources.getSystem().getString(Android.R.string.Yes);
d. String getYes= Resources.getString.getSystem(Android.R.string.Yes);

The Android operating system is based upon which of the following Kernel/s?

a. Mac
b. Linux
c. Solaris
d. All of the above

Which of the following adapters exposes data from a Cursor to a ListView widget?

a. BaseAdapter
b. AdapterView
c. BaseExpandableListAdapter
d. CursorAdapter

This question is based upon the figure shown below


In Eclipse, inside an Android project the style.xml file contain styles related to element of project or application being developed. Which of the following icons provide an option to display only the Style/Theme element of the project?

a. I
b. II
c. III
d. IV
e. None of the above

Which of the following code lines describes a map to associate a bitmap to each character?

a. private Map<Bitmap, Character> glyphs = new HashMap<Character, Bitmap>(62);
b. private Map<Bitmap, Character> glyphs = new BitMap<Bitmap, Character>(62);
c. private Map<Character, Bitmap> glyphs = new HashMap<Character, Bitmap>(62);
d. private Map<Character, Bitmap> glyphs = new BitMap<Character, Bitmap>(62);
e. private Map<Character, Bitmap> glyphs = new glyphs<Character, Bitmap>(62);

State whether the following statement is true or false.

While creating a new Android application using eclipse, we need to set the Android version for "Minimum Required SDK" and "Compile With" fields. Android version greater than or equal to Android 4.1 should be selected for both the fields.

a. True
b. False