UPWORK TEST » Blog Archives

Author Archives: upworktest

Top 10 popular test answers

Android Programming Test 2016

Published by:

1. Which of the following are UI elements that you can use in a window in an Android application?

Answers:

  1. TextBox
  2. TextView
  3. TextField
  4. TextElement
  5. EditText
  6. RichText

2. What is the correct way to fix if checking the status of the GPS_PROVIDER throws SecurityException?

Answers:

  1. request permission for ACCESS_COARSE_LOCATION
  2. request permission for ACCESS_FINE_LOCATION
  3. request permission for INSTALL_LOCATION_PROVIDER
  4. None of the above

3. Which of the following is not Content Provider?

Answers:

  1. Contacts
  2. Contacts
  3. Shared Preferences
  4. MediaStore
  5. Bookmarks
  6. Settings

4. Which of the following statements are correct with regards to signing applications?

a) All applications must be signed.
b) No certificate authority is needed.
c) When releasing application special debug key that is created by the Android SDK build tools can be used.

Answers:

  1. a) and b) are true
  2. a) and c) are true
  3. b) and c) are true
  4. all statements are true

5. What does the following code do?

SensorManager mgr = (SensorManager) getSystemService(SENSOR_SERVICE);
List<Sensor> sensors = mgr.getSensorList(Sensor.TYPE_ALL);
for (Sensor sensor : sensors) {
System.out.println(“”+sensor.getName());
}

Answers:

  1. prints names of all available sensors in device
  2. prints names of all available sensor types in device
  3. prints names of all sensors which are not available
  4. none of above

6. What does the following code do?

try {
String token = GoogleAuthUtil.getToken(this, email, “https://www.googleapis.com/auth/devstorage.read_only”);
System.out.println(token);
} catch (IOException e) {
System.out.println(“IOException”);
} catch (UserRecoverableAuthException e) {
System.out.println(“UserRecoverableAuthException”);
} catch (GoogleAuthException e) {
System.out.println(“GoogleAuthException”);
}

Answers:

  1. prints token
  2. prints IOException
  3. prints UserRecoverableAuthException
  4. prints GoogleAuthException

7. Which of the following is correct to use for data transfer regularly and efficiently, but not instantaneously?

Answers:

  1. AsyncTask
  2. IntentService
  3. Sync adapters
  4. All of these

8. What is the ListActivity class used for?

Answers:

  1. Create a view to display a list of items from a data source.
  2. List all the activities currently running on the Android device.
  3. List all the activites that are installed on the Android device.
  4. List the activities whose IntentFilters match with a particular Intent type.

9. Using a content provider, which of the following operations are able to perform?
a) create
b) read
c) update
d) delete

Answers:

  1. a, b and c
  2. b, c and d
  3. all of these
  4. none of these

10. Which of the following widgets helps to embed images in activities?

Answers:

  1. ImageView
  2. ImageButton
  3. both of above
  4. none of these

11. What is the best way of opening camera as sub-activity?

Answers:

  1. Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivity(takePictureIntent);
  2. Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (takePictureIntent.resolveActivity(getPackageManager()) != null) { startActivityForResult(takePictureIntent, 1); }
  3. Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(takePictureIntent, 1);
  4. Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (takePictureIntent.resolveActivity(getPackageManager()) != null) { startActivityForResult(takePictureIntent, -1); }

12. What is the correct way to restrict app visibility on Google Play to devices that have a camera?

Answers:

  1. <uses-feature android:name=”android.hardware.camera”/>
  2. <uses-feature android:name=”android.hardware.camera” android:required=”true” />
  3. <uses-feature android:name=”android.hardware.camera.front” android:required=”true” />
  4. <uses-permission android:name=”android.permission.CAMERA”/>

13. Which of the following sensors is only hardware-based?

Answers:

  1. linear acceleration sensor
  2. gravity sensor
  3. rotation vector sensor
  4. accelerometer sensor

14. Which of the following formats is not supported in Android?

Answers:

  1. MP4
  2. MPEG
  3. AVI
  4. MIDI

15. Which of the following permissions and configurations must be added in manifest file for implementing GCM Client?

A) com.google.android.c2dm.permission.RECEIVE
B) android.permission.INTERNET
C) android.permission.GET_ACCOUNTS
D) android.permission.WAKE_LOCK
E) applicationPackage + “.permission.C2D_MESSAGE”
F) A receiver for com.google.android.c2dm.intent.RECEIVE, with the category set as applicationPackage. The receiver should require the com.google.android.c2dm.SEND permission

Answers:

  1. A, B, C and D
  2. C, D, E and F
  3. A, B, E and F
  4. all of these

16. Which of the following permissons is needed to perform the network operations through internet?
a) INTERNET
b) ACCESS_NETWORK_STATE

Answers:

  1. a
  2. b
  3. both
  4. none

17. Consider the following snippet of code:

@Override
protected void onStop
{
Super.onStop();
SharedPreferences setting = getSharedPreferences(“MyPrefs”, 0);
SharedPreferences.Editor editor = settings.edit();
editor.putBoolean(“MyBool”, true);

<some more code here>
}

Which of the following should be used <some more code here>?

Answers:

  1. editor.save(); editor.close();
  2. editor.save(); editor.finish();
  3. editor.commit();
  4. editor.save();
  5. editor.close();
  6. editor.finish();

18. What does the following statement define?

It provides query(), insert(), update(), and delete() methods for accessing data from a content provider and invokes identically-named methods on an instance of a concrete content provider.

Answers:

  1. CursorLoader
  2. ContentResolver
  3. ContentProvider
  4. Loader

19. What is the advantage of using AsyncTaskLoader instead of AsyncTask?

Answers:

  1. a bit easier to work with
  2. the possibility easily update progress bar
  3. no comparison, because it implements completely different functionality
  4. less work with the configuration of applicationM

20. What does the following code do?

public boolean isOnline() {
ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
return (networkInfo != null && networkInfo.isConnected());
}

Answers:

  1. checking Network connection.
  2. checking only WIFI network connectivity.
  3. checking only Bluetooth data connection.
  4. checking only Ethernet data connection

21. Which of the following statements are correct with regards to running of the Sync Adapter?

A) Running sync adapter in response to a user request.
B) Running sync adapter periodically by setting a period of time to wait between runs, or by running it at certain times of the day, or both.

Answers:

  1. Statement A is true, while Statement B is false.
  2. Statement B is true, while Statement A is false.
  3. Both statements are true.
  4. Both statements are false.

22. Which of the following statements are correct with regards to calling place GoogleAuthUtil.getToken()?
A) call getToken() on the UI thread
B) call getToken() on AsyncTask

Answers:

  1. Statement A is true, while Statement B is false.
  2. Statement B is true, while Statement A is false.
  3. Both statements are true.
  4. Both statements are false.

23. Which of the following protocols are provided by Google for GCM Connection Servers?
A) HTTP
B) XMPP
C) SOAP
D) RMI

Answers:

  1. A and B
  2. A, B, C
  3. C, D
  4. all of these

24. Which of the following 4 classes does not relate to others?

ApplicationInfo, SyncInfo, ActivityInfo, PackageInfo

Answers:

  1. ApplicationInfo
  2. SyncInfo
  3. ActivityInfo
  4. PackageInfo

25. Which of the following are valid ways to deploy an Android application to a device?

Answers:

  • Using the “adb install /path/to/apk” command from the command prompt/terminal, when USB Debugging Mode is enabled in the device.
  • Exporting and signing the package, then browsing it to install.
  • Launching the application from an IDE, when USB Debugging Mode is enabled in the device.
  • All of these.

26. Which of the following classes is not used in working with database?

Answers:

  1. SQLiteOpenHelper
  2. SQLiteDatabase
  3. ContentProvider
  4. DatabaseHelper

27. Consider the XML fragment below, which is taken from one of the files in an Android project:
<MyElement xmlns:”http://schemas.androd.com/apk/res/android”
android:layout_width = “fill_parent”
android:layout_height = “fill_parent”
android:text = “Some Text”>
</MyElement>
Which of the following are true about the XML fragment above?

Answers:

  1. It is taken from the manifest XML file of the Android project.
  2. It is taken from an XML file used to define a view.
  3. It is taken from the package file (.apk) of the Android project.
  4. The xmlns: attribute is a compulsory attribute.
  5. If this is not the outer most tag in the XML file then it need not contain the xmlns: attribute.
  6. MyElement should be the name of a class derived, directly or indirectly, from the View class.

28. Which of the following statement is correct regarding StrictMode?

Answers:

  1. StrictMode detects improper layouts
  2. StrictMode detects operation which blocks UI
  3. StrictMode detects the speed of the connection
  4. All of the above

29. Consider the code snippet below:
MediaPlayer mp = new MediaPlayer();

mp.setDataSource(PATH_TO_FILE);

<Some code here>

mp.start();
Which of the following should be placed at <Some code here>?

Answers:

  1. mp.prepare();
  2. mp.prepareAsync();
  3. mp.loadMedia();
  4. mp.loadSource();
  5. mp.loadSource(); mp.prepare();
  6. No code is required at <Some code here> to start playback.

30. Consider the code snippet below:

public class MyReceiver extends PhoneStateIntentReceiver

{

@Override

public void onReceiveIntent(Context context, Intent intent)

{

if (intent.action == Intent.CALL_ACTION)

{

}

}

}

Assuming that notifyPhoneCallState has been called to enable MyReceiver to receive notifications about the phone call states, in which of the following cases will the code in get executed?

Answers:

  1. When the device receives an incoming phone call.
  2. When an outgoing phone call is initiated on the device.
  3. When the user presses the CALL button on the device.
  4. The code in will never get executed.

31. Which of the following are true about enabling/disabling menu items from an Activity class?

Answers:

  1. onCreateOptionsMenu can be used to enable/disable some menu items in an Android application.
  2. onPrepareOptionsMenu can be used to enable/disable some menu items in an Android application.
  3. onShowOptionsMenu can be used to enable/disable some menu items in an Android application.
  4. The menu items in an Android application cannot be disabled.

32. Which of the following should be used to save the unsaved data and release resources being used by an Android application?

Answers:

  1. Activity.onStop()
  2. Activity.onPause()
  3. Activity.onDestroy()
  4. Activity.onShutdown()
  5. Activity.onFreeze()

33. Which of the following statements are correct with regards to publishing updates of apps on Google Play?

Answers:

  1. The android:versionCode attribute in the manifest file must be incremented and the APK file must be signed with the same private key.
  2. The android:versionCode attribute in the manifest file must be same and the APK file must be signed with the same private key.
  3. The android:versionCode attribute in the manifest file must be incremented and the APK file must be signed with the new private key.
  4. The android:versionCode attribute in the manifest file must be same and the APK file must be signed with the new private key.

34. Which of the following would you have to include in your project to use the SimpleAdapter class?

Answers:

  1. import android.content;
  2. import android.widget;
  3. import android.database;
  4. import android.database.sqlite;
  5. import android.util;

35. Which of the following is/are appropriate for saving the state of an Android application?

Answers:

  1. Activity.onFreeze()
  2. Activity.onPause()
  3. Activity.onStop()
  4. Activity.onDestroy()

36. Which of the following is the parent class for the main application class in an Android application that has a user interface?

Answers:

  1. MIDLet
  2. AndroidApp
  3. Activity
  4. AppLet
  5. Application

37. Which of the following can be used to bind data from an SQL database to a ListView in an Android application?

Answers:

  1. SimpleCursor
  2. SimpleCursorAdapter
  3. SimpleAdapter
  4. SQLiteCursor
  5. SQLLiteAdapter

38. Consider the code snippet below:

MediaPlayer mp = new MediaPlayer();

mp.setDataSource(PATH_TO_FILE);

<Some code here>

mp.start();

Which of the following should be placed at <Some code here>?

Answers:

  1. mp.prepare();
  2. mp.prepareAsync();
  3. mp.loadMedia();
  4. mp.loadSource();
  5. mp.loadSource(); mp.prepare();
  6. No code is required at <Some code here> to start playback.

39. Which of the following packages provide the classes required to manage the Bluetooth functionality on an Android device?

Answers:

  1. android.hardware
  2. android.bluetooth
  3. android.bluez
  4. org.bluez

40. Which of the following can be accomplished by using the TelephoneNumberUtil class?

Answers:

  1. Save a phone number to the contacts in the phone device.
  2. Retrieve a phone number from the contacts in the phone device.
  3. Delete a phone number from the contacts in the phone device.
  4. Format an international telephone number.
  5. Setting and retrieving the call forwarding phone number on the phone device.

41. Which of the following is the best way to request user permission if an Android application receives location updates from both NETWORK_PROVIDER and GPS_PROVIDER?

Answers:

  1. Adding this line to the Android manifest file: <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” />
  2. Adding these two lines to the Android manifest file: <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” /> <uses-permission android:name=”android.permission.ACCESS_COARSE_LOCATION” />
  3. Adding this line to the Android manifest file: <uses-permission android:name=”android.permission.ACCESS_FINE_LOCATION” />
  4. Adding this line to the Android manifest file: <uses-permission android:name=”android.permission.CONTROL_LOCATION_UPDATES” />

42. Which of the following are true about PhoneStateIntentReceiver.notifyPhoneCallState?

Answers:

  1. notifyPhoneCallState has to be called if your application wishes to receive a notification about an incoming phone call.
  2. notifyPhoneCallState is a call back function that is called when the call state changes.
  3. notifyPhoneCallState is called to initiate a call from the device.
  4. notifyPhoneCallState is used to send notifications about call states.
  5. notifyPhoneCallState gets called when the device receives an incoming phone call.

43. Which of the following statements are correct with regards to Content Providers?

A) A content provider allows applications to access data.
B) A content provider must be declared in the AndroidManifest.xml file.

Answers:

  1. Statement A is true, while Statement B is false.
  2. Statement B is true, while Statement A is false.
  3. Both statements are true.
  4. Both statements are false.

44. Which of the following functions will return all available Content Providers?

Answers:

  1. List<ProviderInfo> returnList = new ArrayList<ProvderInfo>(); for (PackageInfo pack : getPackageManager().getInstalledPackages(PackageManager.GET_PROVIDERS)) { ProviderInfo[] providers = pack.providers; if (providers != null) { returnList.addAll(Arrays.asList(providers)); } } return returnList;
  2. return getContext().getPackageManager().queryContentProviders(“com.google”, Process.myUid(), 0);
  3. List<ActivityInfo> returnList = new ArrayList<ActivityInfo>(); for (PackageInfo pack : getPackageManager().getInstalledPackages(PackageManager.GET_RECEIVERS)) { ActivityInfo[] providers = pack.receivers; if (providers != null) { returnList.addAll(Arrays.asList(providers)); } } return returnList;
  4. None of these.

45. What is the purpose of the ContentProvider class?

Answers:

  1. To play rich media content files.
  2. To create and publish rich media files.
  3. To share data between Android applications.
  4. To access the global information about an application environment.
  5. To maintain global application state.

46. Which of the following are true?

Answers:

  1. Both startActivity and startSubActivity start an activity synchronously.
  2. Both startActivity and startActivityForResults start an activity asynchronously.
  3. startActivity is an asynchronous call, but startSubActivity is synchronous.
  4. startActivity is a synchronous call, but startSubActivity is asynchronous.

47. Which of the following is the immediate base class for Activity and Service classes?

Answers:

  1. Application
  2. ApplicationContext
  3. Context
  4. Component
  5. Object

48. Which of the following are classes that can be used to handle the Bluetooth functionality on a device?

Answers:

  1. Adapte
  2. Manage
  3. Matche
  4. BluetoothAdapte

49. How many expansion files can an APK file have? Select all correct options.

Answers:

  1. one
  2. two
  3. three
  4. four

50. Which of the following are Android build modes?

Answers:

  1. Debug mode
  2. Release mode
  3. Production mode
  4. Development mode

51. What is “Android-dx”?

Answers:

  1. A command line tool to create Android project files.
  2. A framework to create unit tests for Android projects.
  3. A resource editor to create user interface for Android applications.
  4. A tool to generate Android byte code from .class files.
  5. An emulator to execute and debug Android projects.

52. Consider the XML fragment below, which is taken from one of the files in an Android project:

<MyElement xmlns:”http://schemas.androd.com/apk/res/android”

android:layout_width = “fill_parent”

android:layout_height = “fill_parent”

android:text = “Some Text”>

</MyElement>

Which of the following are true about the XML fragment above?

Answers:

  1. It is taken from the manifest xml file of the Android project.
  2. It is taken from an XML file used to define a view.
  3. It is taken from the package file (.apk) of the Android project.
  4. The xmlns: attribute is a compulsory attribute.
  5. If this is not the outer most tag in the XML file then it need not contain the xmlns: attribute.
  6. MyElement should be the name of a class derived, directly or indirectly, from the View class.

53. Which of the following fields of the Message class should be used to store custom message codes about the Message?

Answers:

  1. tag
  2. what
  3. arg1
  4. arg2
  5. userData

54. Suppose Screen1 is the main screen of an Android application MyAndroid. Now if another screen, Screen2 has to be opened from Screen1, then which of the following are true?

Answers:

  1. Screen2 has to be a part of MyAndroid.
  2. Screen2 can exist in any other Android application installed on the device.
  3. Screen2 will always be launched asynchronously.
  4. Screen2 can be launched synchronously.
  5. Screen2 can return a result code to Screen1 if launched with startActivity.
  6. Screen2 can return a result code to Screen1 if launched with startActivityForResult.

55. Select the two function calls that can be used to start a Service from your Android application?

Answers:

  1. bindService
  2. startService
  3. runService
  4. startActivity

56. Which of the following Integrated Development Environments can be used for developing software applications for the Android platform?

Answers:

  1. Android IDE
  2. Eclipse
  3. Visual Studio 2005
  4. Visual Studio 2008

57. Which of the following can you use to display an HTML web page in an Android application?

Answers:

  1. WebBrowser
  2. BrowserView
  3. WebView
  4. Browser
  5. HtmlView

58. Consider the following snippet of code:
<font size =2>
@Override
protected void onStop
{
Super.onStop();
SharedPreferences setting = getSharedPreferences(“MyPrefs”, 0);
SharedPreferences.Editor editor = settings.edit();
editor.putBoolean(“MyBool”, true);

<some more code here>
}

Which of the following should be used <some more code here>?
</font

Answers:

  1. editor.save(); editor.close();
  2. editor.save(); editor.finish();
  3. editor.commit();
  4. editor.save();
  5. editor.close();
  6. editor.finish();

59. What is “Android-Positron”?

Answers:

  1. A command line tool to create Android project files.
  2. A framework to create unit tests for Android projects.
  3. A resource editor to create user interface for Android applications.
  4. A tool to generate Android byte code from .class files.
  5. An emulator to execute and debug Android projects.

60. Which of the following can you use to add items to the screen menu?

Answers:

  1. Activity.onCreate
  2. Activity.onCreateOptionsMenu
  3. Constructor of the Activity class.
  4. Activity.onCreateMenu
  5. Activity.onStart
  6. Activity.onPrepareOptionsMenu

61. Which of the following is not a life-cycle methods of an Activity that can be implemented to perform various operations during the lifetime of an Activity?

Answers:

  1. onCreate
  2. onInit
  3. onCompleteThaw
  4. onRestart

62. What is the interface Spannable used for?

Answers:

  1. Manipulate text that can span across multiple pages.
  2. Manipulate text that can span across multiple TextView windows.
  3. This is the interface for text to which markup objects can be attached and detached.
  4. String parsing.

63. What is correct regarding GCM – Google Cloud Messaging service?

Answers:

  1. It does server to device communication.
  2. It does device to server communication.
  3. It does device to server communication and vice versa.
  4. It does device to device communication.

64. Which of the following procedures will get the package name of an APK file?

Answers:

  1. Looking for the package attribute’s value of the <manifest> element in the manifest file.
  2. Executing the command, “pm list packages -f”, in the ADB shell.
  3. Programmatically, using PackageManager in an installed Android app.
  4. Using the AAPT platform tool, “aapt dump badging apkName.apk”.

65. What is the maximum supported file size for a single APK file (excluding expansion packages) in the Google Play Store?
Answers:

  1. 50MB
  2. 2GB
  3. 30MB
  4. unlimited

66. What is Android?
Answers:

  1. A new programming language that can be used to develop applications for mobile devices.
  2. A new IDE that can be used to develop applications for mobile devices.
  3. A software stack for mobile devices that includes an operating system, middleware and key applications.
  4. A new mobile device developed by Google.

67. Which of the following can be used to navigate between screens of different Android applications?

Answers:

  1. Binde
  2. Flow
  3. Navigate
  4. Intent
  5. ApplicationContext

68. Which of the following are valid features that you can request using requestWindowFeature?

Answers:

  1. FEATURE_NO_TITLE
  2. FEATURE_NO_ICON
  3. FEATURE_RIGHT_ICON
  4. FEATURE_NO_MENU
  5. FEATURE_TRANSPARENT_WINDOW

69. Which of the following are true?

Answers:

  1. startActivity and startActivityForResult can both be used to start a new activity from your activity class.
  2. Only startActivityForResult can be used to launch a new activity from your activity class.
  3. startActivity(myIntent); and startActivityForResult(myIntent, -1); have the same result.
  4. startActivity(myIntent); and startActivityForResult(myIntent, 0); have the same result.
  5. When startActivity is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed.
  6. When startActivityForResult is used to launch a new activity from your activity class then your activity class gets notified when the new activity is completed.

70. Which of the following can you use to display a progress bar in an Android application?

Answers:

  1. ProgressBa
  2. ProgressDialog
  3. ProgressItem

71. Which of the following can be used to handle commands from menu items in an Android application?

Answers:

  1. commandAction
  2. onMenuItem
  3. onMenuItemSelected
  4. onMenuItemClicked
  5. onOptionsItemSelected

72. Fill in the blank:

Once an app is published, the ________ cannot be changed. It should be unique for each APK.

Answers:

  1. private key
  2. package name
  3. main activity
  4. APK file name

73. Which of the following attributes in the manifest file defines version information of an application for the Google Play Store (as opposed to defining version information for display to users)?

Answers:

  1. android:versionCode
  2. android:versionName
  3. android:targetSdkVersion
  4. android:maxSdkVersion

74. Which of the following are true about Intent.CALL_ACTION and Intent.DIAL_ACTION?

Answers:

  1. Both of them are used to dial a phone number on the device.
  2. Intent.action == Intent.CALL_ACTION is true when a phone call is received on the device.
  3. Intent.action = Intent.CALL_ACTION is used when a phone number is to be dialled without showing a UI on the device.
  4. Intent.action = Intent.DIAL_ACTION is used when a phone number is to be dialled without showing a UI on the device.
  5. Intent.action = Intent.CALL_ACTION is used when a phone number is to be dialled without the user having to explicitly initiate the call.
  6. Intent.action = Intent.DIAL_ACTION is used when a phone number is to be dialled without the user having to explicitly initiate the call.

75. Suppose MyView is a class derived from View and mView is a variable of type MyView. Which of the following should be used to display mView when the Android application is started?

Answers:

  1. Call setCurrentView(mView) in the startApp() of the main application class.
  2. Call setContentView(mView) in the startApp() of the main application class.
  3. Call setContentView(mView) in the onStart() of the main application class.
  4. Call setContentView(mView) in the onCreate() of the main application class.

76. Which of the following programming languages can be used to develop software applications for the Android platform?

Answers:

  1. Java
  2. C# with .NET Compact Framework for mobile devices.
  3. C programming language.
  4. Android programming language.

77. Which of the following would you have to include in your project to use the APIs and classes required to access the camera on the mobile device?

Answers:

  1. import android.drivers;
  2. import android.hardware.camera;
  3. import android.camera;
  4. import android.util;
  5. import android.hardware;

78. What is “Android-activityCreator”?

Answers:

  1. A command line tool to create Android project files.
  2. A framework to create unit tests for Android projects.
  3. A resource editor to create user interface for Android applications.
  4. A tool to generate Android byte code from .class files.
  5. An emulator to execute and debug Android projects.

79. What is the maximum supported size for a single expansion file in the Google Play Store?

Answers:

  1. 50MB
  2. 2GB
  3. 30MB
  4. unlimited

80. Which of the following tools can be used to reduce apk package size?

Answers:

  1. lint
  2. ProGuard
  3. zipalign
  4. etc1tool

10,935 total views, 74 views today

Top 10 popular test answers

English Spelling Test (U.S. Version) 2016

Published by:

1. Identify the misspelled word in the list below.

Answers:

  1. Pageant
  2. Poignant
  3. Plummage
  4. Priggish

2. Choose the correct spelling of the word from the options below.

Answers:

  1. Persue
  2. Parsue
  3. Persou
  4. Pursue

3. Complete the following sentence by choosing the correct spelling of the missing word.

The judge granted the reluctant witness complete ____________ from prosecution for his part in the crime.

Answers:

  1. amnesty
  2. amnasty
  3. anmesty
  4. emnesty

4. Choose the correct spelling of the word from the options below.

Answers:

  1. Vacuum
  2. Vaccuum
  3. Vacumm
  4. Vaccum

5. Complete the following sentence by choosing the correct spelling of the missing word.

Arthur spent hours admiring the gothic ____________of all those French cathedrals.

Answers:

  1. architecture
  2. arkhitecture
  3. arcitecture
  4. arckitecture

6. Choose the correct spelling of the word from the options below.

Answers:

  1. Forfiet
  2. Forfeit
  3. Forefeit
  4. Fourfit

7. Complete the following sentence by choosing the correct spelling of the missing word.

The waitress brought me a plate of squid even though I _____________ asked for clams.

Answers:

  1. specificaly
  2. specifically
  3. specifycally
  4. specificly

8. Choose the correct spelling of the word from the options below.

Answers:

  1. Posess
  2. Poesess
  3. Possess
  4. Pozess

9. Choose the correct spelling of the word from the options below.

Answers:

  1. Idiosyncracy
  2. Idiosincrasy
  3. Idiosyncrasy
  4. Ideosyncracy

10. Choose the correct spelling of the word from the options below.

Answers:

  1. Manoeuvar
  2. Manouver
  3. Maneuver
  4. Manuver

11. Identify the misspelled word in the list below.

Answers:

  1. CouncelorM
  2. Condescend
  3. Camouflage
  4. Criticize

12. Complete the following sentence by choosing the correct spelling of the missing word.

Sam _________ a successful political campaign.

Answers:

  1. orchestraited
  2. orchestrated
  3. orchestreated
  4. orcestrated

13. Identify the misspelled word in the list below.

Answers:

  1. Rhythmical
  2. Reminiscence
  3. Rheumatism
  4. Resevoir

14. Choose the correct spelling of the word from the options below.

Answers:

  1. Reminiscience
  2. Reminiscence
  3. Reminescence
  4. Reminisense

15. Identify the misspelled word in the list below.

Answers:

  1. Yacht
  2. Youthful
  3. Yeilding
  4. Yesterday

16. Identify the misspelled word in the list below.

Answers:

  1. Wierd
  2. Wired
  3. Whined
  4. Willful

17. Choose the correct spelling of the word from the options below.

Answers:

  1. Embarassment
  2. Embrassement
  3. Embarrasment
  4. Embarrassment

18. Complete the following sentence by choosing the correct spelling of the missing word.

He __________ a summer house, an exercise bike, and a hamster in the divorce settlement.

Answers:

  1. accquired
  2. ecquired
  3. acquired
  4. akquired

19. Identify the misspelled word in the list below.

Answers:

  1. Cachet
  2. Connoisseur
  3. Charateristic
  4. Catastrophe

20. Choose the correct spelling of the word from the options below.

Answers:

  1. Adress
  2. Addrress
  3. Addres
  4. Address

21. Choose the correct spelling of the word from the options below.

Answers:

  1. Temperamental
  2. Tempermental
  3. Temperamentle
  4. Temparamental

22. Identify the misspelled word in the list below.

Answers:

  1. Accomodate
  2. Analyze
  3. Acknowledgment
  4. Asterisk

23. Choose the correct spelling of the word from the options below.

Answers:

  1. Heinous
  2. Henous
  3. Heinus

24. Complete the following sentence by choosing the correct spelling of the missing word.

The protesters hurled ___________ insults at us as we walked by.

Answers:

  1. vicous
  2. vicious
  3. vicoius
  4. vicius

25. Choose the correct spelling of the word from the options below.

Answers:

  1. Gauge
  2. Gaje
  3. Guage
  4. Gaige

26. Complete the following sentence by choosing the correct spelling of the missing word.

Their relationship was plagued by __________ problems.

Answers:

  1. perpetual
  2. perpechual
  3. purpetual
  4. perptual

27. Choose the correct spelling of the word from the options below.

Answers:

  1. Excesive
  2. Exccesive
  3. Excessive
  4. Exceesive

28. Choose the correct spelling of the word from the options below.

Answers:

  1. Priveledge
  2. Privilage
  3. Privilege
  4. Privelege

29. Complete the following sentence by choosing the correct spelling of the missing word.

The purpose of your report should be to ___________ the most relevant facts, not to obscure them.

Answers:

  1. illumenate
  2. iluminate
  3. illuminate
  4. elluminate

30. Complete the following sentence by choosing the correct spelling of the missing word.

On the ____________ day of Christmas, Lucy was annoyed to find her yard full of noisy drummers drumming.

Answers:

  1. twelvth
  2. twelfth
  3. twelfeth
  4. twelth

31. Choose the correct spelling of the word from the options below.

Answers:

  1. Exhilirate
  2. Exhilarate
  3. Exhilireat
  4. Exhilrate

32. Choose the correct spelling of the word from the options below.

Answers:

  1. Bureaucrasy
  2. Buroucracy
  3. Bureaucracy
  4. Beuraucracy

33. Complete the following sentence by choosing the correct spelling of the missing word.

Hazel Dormouse is a _________ creature.

Answers:

  1. nocternal
  2. nocturnal
  3. noctarnal
  4. nacturnal

34. Complete the following sentence by choosing the correct spelling of the missing word.

The church members accused the cult of _______________ practices.

Answers:

  1. sacreligious
  2. sacrelegious
  3. sacrilegious
  4. sacrilgious

35. Identify the misspelled word in the list below.

Answers:

  1. Hemorrhage
  2. Harass
  3. Hankerchief
  4. Hypocrisy

36. Identify the misspelled word in the list below.

Answers:

  1. Sophomore
  2. Supersede
  3. Susceptable
  4. Spontaneous

37. Choose the correct spelling of the word from the options below.

Answers:

  1. Conscentiuos
  2. Consentious
  3. Conscientous
  4. Conscientious

38. Identify the misspelled word in the list below.

Answers:

  1. Enhancement
  2. Elicit
  3. Enegma
  4. Ecstasy

39. Complete the following sentence by choosing the correct spelling of the missing word.

No one knew what devious experiments the scientist conducted in his ______________ .

Answers:

  1. labretory
  2. laboratary
  3. laboratory
  4. labratory

40. Complete the following sentence by choosing the correct spelling of the missing word.

Emma has always been fascinated by the way the mind works, so she’s decided to get a degree in __________.

Answers:

  1. pshycology
  2. psycology
  3. psyhcology
  4. psychology

41. Complete the following sentence by choosing the correct spelling of the missing word.

Helen was surprised by the __________ stature of her blind date.

Answers:

  1. diminutive
  2. diminuative
  3. deminutive
  4. dimminutive

42. Complete the following sentence by choosing the correct spelling of the missing word.

Peter always makes such a _____________ of himself!

Answers:

  1. nuisance
  2. nuisents
  3. newsanse
  4. nuisince

43. Complete the following sentence by choosing the correct spelling of the missing word.

Mrs. Baker took her ______________ class on a field trip to the zoo.

Answers:

  1. kindergarden
  2. kindegarten
  3. kindergarten
  4. kindegarden

44. Complete the following sentence by choosing the correct spelling of the missing word.

The crowd ________________ me on my acceptance into Mensa.

Answers:

  1. congradulated
  2. congrachulated
  3. congratulated
  4. congratilated

45. Complete the following sentence by choosing the correct spelling of the missing word.

The annual _____________ was ruined when a family of bears stole all the hotdogs.

Answers:

  1. barbecue
  2. barbequeue
  3. barbycue
  4. barbcue

46. Complete the following sentence by choosing the correct spelling of the missing word.

Sally’s nervous __________ left her standing at the altar.

Answers:

  1. fiancé
  2. finance
  3. feancé
  4. fience

47. Complete the following sentence by choosing the correct spelling of the missing word.

Clara the cat simply chose to ignore the ______________ of our dog.

Answers:

  1. existence
  2. existance
  3. existense
  4. existanse

48. Complete the following sentence by choosing the correct spelling of the missing word.

My father does not believe in ____________ , but my mother does.

Answers:

  1. reincanation
  2. reincarenation
  3. reincarnation
  4. reincantation

49. Complete the following sentence by choosing the correct spelling of the missing word.

The savvy dancer acted as a __________ between the detective and the cabaret owner.

Answers:

  1. liasion
  2. liaison
  3. liasone
  4. leason

50. Which of the following options means, “the owner or manager of a restaurant”?

Answers:

  1. Restaureter
  2. Restaurater
  3. Restaurateur
  4. Restourateur

51. Complete the following sentence by choosing the correct spelling of the missing word.

Be sure to leave your travel __________with the secretary so he’ll know how to reach you while you’re away.

Answers:

  1. tenreray
  2. itinerary
  3. iteneray
  4. itinirary

52. Complete the following sentence by choosing the correct spelling of the missing word.

The clown’s performance was _______________, to say the least.

Answers:

  1. dissapointing
  2. dissappointing
  3. disapointing
  4. disappointing

53. Complete the following sentence by choosing the correct spelling of the missing word.

_________animals feed almost exclusively on meat.

Answers:

  1. Carnivorus
  2. Carnivorous
  3. Carnivoures
  4. Carnivoreus

54. Complete the following sentence by choosing the correct spelling of the missing word.

After my grandfather was diagnosed with chronic_________, he moved to Arizona.

Answers:

  1. Neumonia
  2. Penumonia
  3. Pneumonia
  4. Pnuemonia

55. Complete the following sentence by choosing the correct spelling of the missing word.

He wrote __________on every topic from shoestrings to string theory.

Answers:

  1. prollifically
  2. prolificaly
  3. prollificaly
  4. prolifically

56. Complete the following sentence by choosing the correct spelling of the missing word.

Let me tie your mittens to your sleeves so you don’t ______________ them.

Answers:

  1. loose
  2. looze
  3. lose
  4. louse

57. Complete the following sentence by choosing the correct spelling of the missing word.

Many would-be travelers were _____________ by the price of gas last summer.

Answers:

  1. flabergasted
  2. flabberghasted
  3. flabbergasted
  4. flabbergashted

58. Complete the following sentence by choosing the correct spelling of the missing word.

The professor made it clear that ___________ would not be tolerated.

Answers:

  1. plagiarism
  2. plagiarizm
  3. plagerism
  4. plagirism

10,497 total views, 41 views today

Top 10 popular test answers

Search Engine Optimization Test 2016

Published by:

1. Which of the following factors have an impact on the Google PageRank?

Answers:

  1. The total number of inbound links to a page of a web site
  2. The subject matter of the site providing the inbound link to a page of a web site
  3. The text used to describe the inbound link to a page of a web site
  4. The number of outbound links on the page that contains the inbound link to a page of a web site

2. If your site is not appearing in Google search results because of some unethical SEO practices in the recent past, _________________.

Answers:

  1. abandon and close your website permanently.
  2. modify the page contents, make them useful and relevant to the human users, and request Google to reconsider your site.
  3. start a PPC campaign to get your site included in the sponsored results.
  4. it is better to discontinue the website and shift your webpages to a fresh website with a new domain name.

3. What does the term Keyword Prominence refer to?

Answers:

  1. It refers to the fact that the importance of choosing high traffic keywords leads to the best return on investment
  2. It refers to the importance attached to getting the right keyword density
  3. It refers to the fact that the keywords placed in important parts of a webpage are given priority by the search engines
  4. It refers to the fact that the keywords in bold font are given priority by the search engines

4. What will happen if you type the words ‘Certification -Networking’ in the Google search box?

Answers:

  1. Google will find the web pages about Certification and also containing the word “Networking”
  2. Google will find all the web pages containing the words “Certification” and “Networking”
  3. Google will find all the web pages in which the words “Certification” and “Networking” appear together
  4. Google will find the web pages about Certification that do not contain the word Networking

5. Which black hat SEO technique is characterized by a method to deceive search engines, by detecting the search engine bot and “feeding” it with a different HTML code than the HTML actually served to users?

  1. Answers:
  2. Coating
  3. Foisting
  4. Slighting
  5. Cloaking

6. Which of the following statements is correct with regard to the description meta tag?

Answers:

  1. It should be about 50 characters in length
  2. The description should not contain the keywords
  3. If the meta description is not included, the search engines will use the meta keywords for information
  4. Google uses the meta description to generate the search engine results pages

7. Which of the following factors contribute towards link popularity of a website?

Answers:

  1. The number of websites that link to it
  2. The number of pages of the website indexed by Google
  3. The number of pages in the website
  4. The quality of websites that link to it

8. Which of the following statements about the Google Sitemap are correct:

Answers:

  1. Repeated submission of the Sitemap to Google could be penalized
  2. It is possible to create and submit specialized Sitemaps to Google for Video and Mobile content
  3. The Sitemap acceptable to Google follows an XML format

9. Which of the following statements about Google’s technical and quality guidelines are true?

Answers:

  1. It is advantageous if your web server supports the If-Modified-Since HTTP header
  2. If using dynamic pages, it helps to keep the parameters short and the number of them few
  3. Avoid using robots.txt to prevent crawling of search results pages or other auto-generated pages, even if they don’t add much value for users coming from search engines
  4. Submitting new pages of your website at http://www.google.com/addurl.html as soon as they are online, helps to speed up indexing

10. Which of the following conditions will Google treat favorably from the ‘Relevancy’ perspective?

Answers:

  1. The website offering products and services to the visitors country
  2. A website that provides free content for the related keywords
  3. Hidden keywords on the home page matching the search term
  4. Image Alt tags on the home page matching the search term

11. Some words, when followed by a colon, have special meanings to Yahoo. What is performed by the link: operator?

Answers:

  1. It shows all the outbound links from the URL
  2. It shows how many pages of the site Yahoo is pointing to
  3. It shows all the pages that point to that URL
  4. It shows URLs with broken links

12. Search engines do not index some common words (such as “or”, “and”, “when”, and “in”) within the webpage. What are these common words called?

Answers:

  1. Barrier words
  2. Non-indexable words
  3. Slow words
  4. Stop words

13. Which of the following statements about search engine optimization techniques are correct:

Answers:

  1. Making a keyword bold does not influence the way that the search engine looks at the keyword
  2. Websites with deep linking are looked at favorably by search engines
  3. Search engine robots follow the first link they find to any particular page and they do not follow additional links to the same page
  4. It is not a good idea to have the same anchor text for all inbound links as it could look automated to the search engines

14. Which of the following can be termed as good keyword selection and placement strategies?

Answers:

  1. Targeting synonyms of the main keyword
  2. Targeting the highest searched keywords only
  3. Copying competitor keywords
  4. Optimizing five or more keywords per page

15. What is Keyword Density?

Answers:

  1. The number of times the keyword is used / (DIVIDED BY) the total word count on page – (MINUS)the total words in HTML on the page
  2. The number of times the keyword is used X (MULTIPLIED BY) the total word count on page
  3. The number of times the keyword is used in the page description
  4. The number of times the keyword is used in the page title
  5. The number of times the keyword is used and multiplied by hundred / (DIVIDED BY) the total word count on the page.

16. If a website’s search engine saturation with respect to a particular search engine is 20%, what does it mean?

Answers:

  1. 20% of the webpages of the website have been indexed by the search engine
  2. Only 20% of the pages of the website will be indexed by the search engine
  3. 20% of the websites pages will never be indexed
  4. The website ranks in the first 20% of all websites indexed by the search engine for its most important search terms

17. _________________ use both crawlers and directories to generate relevant results.

Answers:

  1. Crawler-based Search Engines
  2. Human-Powered Directories
  3. Hybrid Search Engines
  4. Meta Search Engines

18. What term is commonly used to describe the shuffling of positions in search engine results in between major updates?

Answers:

  1. Waves
  2. Flux
  3. Shuffling
  4. Swaying

19. Which of the following statements about FFA pages are true?

Answers:

  1. They are greatly beneficial to SEO
  2. They are also called link farms
  3. They are paid listings
  4. They contain numerous inbound links

20. Which of the following actions could get you banned by Google?

Answers:

  1. Hiding text on the webpage
  2. Stuffing keywords on the webpage
  3. Linking to sites banned by Google
  4. None of the above

21. Which of the following website design guidelines have been recommended by Google?

Answers:

  1. Having a clear hierarchy and text links
  2. Every page should be reachable from at least one static text link
  3. If the site map is larger than 100 or so links, you should break the site map into separate pages
  4. Keeping the links on a given page to a reasonable number (fewer than 100)
  5. Use less than 30 images or graphics per page

22. While grading your website, Google gives credit to outbound links pointing to authority websites?

Answers:

  1. True
  2. False

23. Google looks down upon paid links for enhancing page rank. If a website sells links, what action/s does Google recommend to avoid being penalized?

Answers:

  1. The text of the paid links should state the words “paid text link” for Google to identify it as a paid link
  2. Only Paid text links to non profit websites should be accepted
  3. Paid links should be disclosed through the “rel=nofollow” attribute in the hyperlink
  4. Paid links should be disclosed through the “index=nofollow” attribute in the hyperlink

24. All major search engines are case sensitive.

Answers:

  1. True
  2. False

25. 10 people do a web search. In response, they see links to a variety of web pages. Three of the 10 people choose one particular link. That link then has a __________ click through rate.

Answers:

  1. less than 30%
  2. 30 percent
  3. more than 30%

26. Which of the following is an ethical SEO Technique?

Answers:

  1. Creating a subdomain with the hottest keyword and creating duplicate copies of existing pages on it
  2. Filling your pages with keywords, whether relevant to the page content or not
  3. Creating a page which serves a different content to the search engine bots and different to human users
  4. None of the above

27. What will the following robots.txt file do?

User-agent:Googlebot
Disallow:/*?
User-agent:Scooter
Disallow:

Answers:

  1. It will allow Google to crawl any of the dynamically generated pages. It will also allow the altavista scooter bot to access every page
  2. It will disallow Google from crawling any of the dynamically generated pages. It will also disallow the altavista scooter bot from accessing any page
  3. It will disallow Google from crawling any of the dynamically generated pages. It will allow the altavista scooter bot to access every page
  4. None of the above

28. What is Anchor Text?

Answers:

  1. It is the main body of text on a particular web page
  2. It is the text within the left or top panel of a web page
  3. It is the visible text that is hyper linked to another page
  4. It is the most prominent text on the page that the search engines use to assign a title to the page

29. Why is it a bad idea from the seo perspective to host free articles and write ups that are very common on the internet.

Answers:

  1. Because they will not lead to fresh traffic
  2. Because you could get penalized by search engines for using duplicate content
  3. Because you will not get the benefits of proper keyword targeting
  4. Because people could turn up claiming copy right infringement

30. Cloaking is a controversial SEO technique. What does it involve?

Answers:

  1. Increasing the keyword density on the web pages
  2. Offering a different set of web pages to the search engines
  3. Hiding the keywords within the webpage
  4. Creating multiple pages and hiding them from the website visitors

31. Which of the following statements is correct with regard to the images within a webpage?

Answers:

  1. Images cannot be spidered by the search engines
  2. Important keywords related to the image should be placed in the ALT text
  3. Images should always be kept close to the top of a webpage
  4. Image maps should be used while including the images

32. Which of the following statement about RSS is correct?
Answers:

  1. It is a form of XML
  2. It stands for Realtime streamlined syndication
  3. It is a good way of displaying static information
  4. It is a Microsoft technology

33. What is the function of “indexer” part of the Google search engine?

Answers:

  1. It helps to retrieve web pages from the world wide web
  2. It helps to gather information from other search engines
  3. It helps to sort the documents that Google has retrieved
  4. It helps to generate meaningful results based upon the user’s search term

34. Which of the following free tools/websites could help you identify which city in the world has the largest search for the keyword – “six sigma”?

Answers:

  1. Yahoo Search Term Suggestion Tool
  2. Alexa
  3. Google Traffic Estimator
  4. Google Trends
  5. WordTracker

35. Do search engines such as Google detect unnatural linking patterns by checking the Class C IP address of the page where the link to the website originates?

Answers:

  1. Yes
  2. No

36. What does the 302 server response code signify?

Answers:

  1. It signifies conflict, too many people wanted the same file at the same time
  2. The page has been permanently removed
  3. The method you are using to access the file is not allowed
  4. The page has temporarily moved
  5. What you requested is just too big to process

37. While optimizing your website it is important to generate the right type of traffic, how does the Bounce Rate information help in this regard?

Answers:

  1. By letting you know the percentage of users who entered the website and then went on to visit additional pages
  2. By letting you know the percentage of users who entered the website and then left without viewing any other page
  3. By letting you know the percentage of users who decided to go back to the source from where they found your website
  4. By letting you know the percentage of users who left your website within 10 seconds of viewing the first page

38. Which of the following statements is correct with regard to natural links?

Answers:

  1. They are two way links (reciprocal links)
  2. They are from authority websites
  3. They are voluntary in nature
  4. They are from .edu or .gov extension websites

39. Which of the following facts about Alexa are correct?

Answers:

  1. Alexa provides free data on relative website visitor traffic
  2. Alexa and Quantcast provide information on visitor household incomes
  3. Alexa is biased towards US based traffic
  4. Quantcast only tracks people who have installed the Quantcast toolbar

40. Are RSS/Atom feeds returned in Google’s search results?
Answers:

  1. Yes
  2. No

41. How are site maps important for the search engine optimization process?

Answers:

  1. Site maps help the search engine editorial staff to quickly go through a website, hence ensuring quicker placement
  2. Google gives credit to the websites having site maps. The GoogleBot looks for the keyword or title “Site Map” on the home page of a website.
  3. Site maps help the search engine spider pick up more pages from the website
  4. None of the above

42. Implementing a 301 Permanent Redirects on the old pages to redirect to the new pages is a good idea from the SEO perspective.

Answers:

  1. True
  2. False

43. What is the name of the search engine technology due to which a query for the word ‘actor’ will also show search results for related words such as actress, acting or act?

Answers:

  1. Spreading
  2. Dilating
  3. RSD (real time synonym detection)
  4. Stemming
  5. Branching

44. What is the illegal act of copying of a page by unauthorized parties in order to filter off traffic to another site called?

Answers:

  1. Trafficjacking
  2. Visitorjacking
  3. Viewjacking
  4. Pagejacking

45. Google gives priority to themed inbound links.

Answers:

  1. True
  2. False

46. What is the main reason for the effectiveness of optimizing a webpage towards a long tail keyword search?

Answers:

  1. There are more long tail searches than shorter keyword queries
  2. Search engines often pass on long tail searches to lesser known and new websites
  3. Search engines do not pass on long tail search traffic to websites that rank high for shorter keyword searches
  4. There are fewer websites that have targeted such keywords

47. Google displays up to _____ characters of a webpage’s Title Tag.

Answers:

  1. 56
  2. 60
  3. 70
  4. 80

48. What is the term for Optimization strategies that are in an unknown area of reputability/validity?

Answers:

  1. Red hat techniques
  2. Silver hat techniques
  3. Grey hat techniques
  4. Shady hat techniques

49. A Hallway Page is used to:

Answers:

  1. Attract visitors from the search engines straight onto the Hallway Page
  2. Organize the Doorway Pages
  3. Help people navigate to different Doorway Pages
  4. Enable search engine bots to index the Doorway Pages

50. Which of the following search engines or directories provides the directory search results for Yahoo?

Answers:

  1. Windows Live
  2. Yahoo Directory
  3. Google
  4. Wikipedia
  5. DMOZ

51. _________ is usually the best web page to get linked to while receiving a themed in-bound link from another website.

Answers:

  1. The sitemap
  2. The contact page
  3. The home page
  4. The page which you would like to improve in the search engine rankings

52. The following robots meta tag directs the search engine bots:

<META NAME=”robots” CONTENT=”noindex,nofollow”>

Answers:

  1. Not to index the homepage and not to follow the links in the page
  2. Not to index the page and not to follow the links in the page
  3. To index the page and not to follow the links in the page
  4. Not to index the page but to follow the links in the page

53. If you enter ‘Help site:www.expertrating.com’ in the Google search box, what will Google search for?

Answers:

  1. It will open up the Google help pages applicable to www.expertrating.com
  2. It will find pages about help within www.expertrating.com
  3. It will only find page titles about help within www.expertrating.com
  4. It will direct you to the request page for re-indexing of www.expertrating.com

54. Which of the following activities could be looked down upon by Google as per their quality guidelines?

Answers:

  1. Using automated website submission software
  2. Loading pages with irrelevant links
  3. Intentionally adding keywords to the TITLE tags and ALT attributes
  4. Registering misspellings of well-known websites

55. Which search engine technology prevents a website from appearing in numerous top positions in the search engine result pages?

Answers:

  1. Clustering
  2. Normalizing
  3. Sifting
  4. Combing

56. If you search for the term “iq test” in the Word Tracker keyword suggestion tool, will it return the number of independent searches for the term “iq”?

Answers:

  1. Yes
  2. No

57. Which of the following factors does Google take into account while assessing whether or not a website is an authority website?

Answers:

  1. The frequency with which the content of the website is updated
  2. The number of web pages containing relevant information on the main theme of the website
  3. The number of in-bound natural links related to the website’s theme (or keywords)
  4. None of the above

58. State whether true or false.

The Yahoo Directory listing is a free service for commercial sites.

Answers:

  1. True
  2. False

59. State whether the following statement is true or false.

A Sitemap provides a list of internal links to user accessible pages on a website.

Answers:

  1. True
  2. False

60. Which of the following statements regarding website content are correct?

Answers:

  1. If you have two versions of a document on your website, Google recommends that you only allow the indexing of the better version
  2. Linking to a page inconsistently does not affect the way Google views the page/s. Examples of inconsistent linking could be http://www.expertrating.com/page/ and http://www.expertrating.com/page and http://www.expertrating.com/page/index.htm
  3. Syndicating your content could lead to Google viewing the material as duplicate
  4. Placeholders for pages which do not have content are never viewed as duplicate content by Google

61. Which of the following does Google uses to display characters of a web page’s Title Tag?

Answers:

  1. Pixel Width
  2. Title Tag Character count
  3. None of the above

8,620 total views, 30 views today

Top 10 popular test answers

WordPress Test 2016

Published by:

1. You can limit the number of revisions WordPress stores by _____Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can’t assign them the same slug.

Answers:

  1. adding the following line to your wp-config.php file: define(‘WP_POST_REVISIONS’, 3);
  2. using a plugin
  3. changing a setting on admin panel

2. Which of the following will hash a string/password to its md5 equivalent?

Answers:

  1. md5()
  2. wp_generate_password()
  3. wp_generate_md5()
  4. password_md5()

3. Which conditional tag checks if the dashboard or the administration panel is attempting to be displayed by returning “true’ (if the URL being accessed is in the admin section) or “false” (for a front-end page).

Answers:

  1. my_admin()
  2. view_admin()
  3. is_admin()
  4. root_admin()

4. Which of the following functions are used to add administration menu item in WordPress ?

Answers:

  1. add_menu_page();
  2. add_admin_item();
  3. add_admin_page();
  4. add_admin_option();

5. Which of the following WordPress Multisite functions allows for getting content from one blog and display it on another?

Answers:

  1. switch_blog()
  2. switch_to_blog()
  3. restore_current_blog()
  4. restore_to_current_blog()

6. What is the BEST way to get last inserted row ID from WordPress database ?

Answers:

  1. Use the following code snippet $lastid->$wpdb=$last->get_row;
  2. The call to mysql_insert_id() inside a transaction should be added: mysql_query(‘BEGIN’); // Whatever code that does the insert here. $id = mysql_insert_id(); mysql_query(‘COMMIT’); // Stuff with $id.
  3. The following code snippet should be added $last = $wpdb->get_row(“SHOW TABLE STATUS LIKE ‘table_name'”); $lastid = $last->Auto_increment;
  4. Straight after the $wpdb->insert() insert, the following code should be added: $lastid = $wpdb->insert_id;

7. Which of the follow is a WordPress alternatives for Ruby on Rails?

Answers:

  1. Refinery
  2. Typof
  3. Symenta
  4. Rubyalt

8. Which of the following code snippets can be used to create custom POST status in wordpress 3.0 +?

Answers:

  1. register_new_post()
  2. register_post_status()
  3. add_new_post_status()
  4. modify_post_status()

9. How can the upload media panel be included in a WordPress template/plugin?

Answers:

  1. By using function wp_enqueue_script(‘media-upload’)
  2. By using function wp_add_media( );
  3. By using function wp_enqueue_script(‘upload’);
  4. By using function wp_add_script(‘media-upload’);

10. What are the database privileges that are required for WordPress?
Answers:

  1. insert, delete, update, drop and alter
  2. select, insert, delete, update, create, drop and alter
  3. insert, delete, update, create, drop and alter
  4. insert and delete

11. Which of the following is an example of a WordPress plugin that provides multilingual capabilities?

Answers:

  1. WP Super Cache
  2. qTranslate
  3. BuddyPress
  4. Hotfix

12. Which of the following functions can be used to create a WordPress page?

Answers:

  1. wp_insert_post()
  2. wp_insert_page()
  3. wp_create_post()
  4. wp_create_page()

13. Which function is used to display the name of current page in wordpress?
Answers:

  1. get_the_title()
  2. content_title()
  3. page_name()
  4. post_name()

14. Which of the following methods can be used to make permalinks SEO friendly?

Answers:

  1. Updating the database.
  2. Changing the source code.
  3. Configuring the feature in the config file.
  4. Configuring the feature in the admin settings.

15. User Level 7 converts to _________?

Answers:

  1. Contributo
  2. Autho
  3. Edito
  4. Subscribe
  5. Administrato

16. Which of the following is the correct way to add custom excerpts length identifiers in WordPress?

Answers:

  1. By adding excerpt_length filter in function.php
  2. Can’t declare custom excerpts in wordpress
  3. Custom exceprts are already available in wordpress
  4. Using the_excerpt(‘long’); or the_excerpt(‘short’)

17. Which of the following is the correct sequence of steps to adapt a WordPress plugin to a multisite?

Answers:

  1. 1. Use $wpdb to iterate through all blogs 2. Hook according to the $blog_id 3. Install the plugin as Network only 4. Uninstall depends the specific plugin
  2. 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. IInstall the plugin as Network only 4. Uninstall depends the specific plugin
  3. 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. Install other activations except Network 4. Uninstall is the same for all the plugins
  4. 1. Use $wp_posts to iterate through all blogs 2. Hook according to the $function 3. Install the plugin as Network only 4. Uninstall is same for all the plugins

18. On which of the following databases can WordPress be installed by default?

Answers:

  1. MySQL
  2. Oracle Database
  3. Microsoft SQL Server
  4. PostgreSQL

19. Which of the following actions must be performed to import data from wordpress.com?

Answers:

  1. Enter the full access to wordpress.com into the data import form so that it can automatically connect and directly retrieve content.
  2. Import from wordpress.com’s RSS.
  3. Login to wordpress.com, then the export data using the export tool, then import an exported xml file to the site.

20. Meta tags can be added to WordPress pages by ________________.

Answers:

  1. using plug-ins
  2. adding them to the header.php file
  3. updating the database
  4. a and
  5. and c

21. Which of the following codes will return the current plugin directory in WordPress?

Answers:

  1. <!–?php plugin_basename($file); ?–>
  2. <!–?php plugin_basename(‘url’); ?–>
  3. < !–?php bloginfo_plugin(‘url’); ?–>
  4. < !–?php content_plugin_url( $path ); ?–>

22. WordPress’s requirements are modest. At minimum, which of the following standards should your server support for WordPress 3.1?

Answers:

  1. PHP version 4.4.9 or greater, MySQL version 4.0 or greater
  2. PHP version 4.3 or greater, MySQL version 4.1.2 or greater
  3. PHP version 4.4.9 or greater, MySQL version 5.1 or greater
  4.  PHP version 4.3 or greater, MySQL version 5.1 or greater

23. Which of the following will give the option to add inline Ajax for comment posting?

Answers:

  1. Enabling Ajax in the wp-config.php file
  2. Activating Ajax from the admin settings of WordPress
  3. Using the Ajax Comment Posting plugin
  4. WordPress doesn’t support inline Ajax.

24. What is the limitation to the depth of your categories?

Answers:

  1. 10 levels
  2. 20 levels
  3. No limit levels

25. Can the contents of the wp-content folder be moved or renamed without changing any settings?

Answers:

  1. Yes
  2.  No

26. Which of the following code snippets best protects a system from SQL injections?

Answers:

  1. sql_real_escape_strong()
  2. mysql_real_escape()
  3. mysql_real_escape_string()
  4. mysql_not_real_delete_string()

27. Which of the following role levels has the highest privilege?

Answers:

  1. Level_0
  2. Level_10
  3. Depends on your settings.
  4. Every role level has the same privilege.

28. How can the Home link be disable from the WordPress top nav?

Answers:

  1. Using Jquery to hide it
  2. By adding this code in functions.php function page_menu_args( $args ) { $args[‘show_home’] = FALSE; return $args; } add_filter( ‘wp_page_menu_args’, ‘page_menu_args’ );
  3. wp_nav_menu( array(‘menu’ => ‘news’, ‘show_home’ => false))
  4. Can not disable the default Home link from wordpress top nav

29. Which of the following is the correct way to retrieve a featured image from a post?
Answers:

  1. <!–?php echo get_post_thumb($page->ID, ‘thumbnail’); ?–>
  2. <!–?php echo get_featured_image($page->ID, ‘thumbnail’); ?–>
  3. <!–?php echo get_the_post_thumbnail($page->ID, ‘thumbnail’); ?–>
  4. <!–?php echo get_post_thumbnail($page->ID, ‘thumbnail’); ?–>

30. Which of the following will correctly load localized (translated) text for a WordPress plugin?

Answers:

  1. function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); load_theme_textdomain(‘tutsplus’, $lang_dir); } add_action(‘after_setup_theme’, ‘custom_theme_setup’);
  2. function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); add_action(‘after_setup_theme’, ‘custom_theme_setup’); }
  3. function custom_theme_setup() { $lang_dir = get_template_directory() . ‘/lang’); add_action(‘after_setup_theme’, ‘custom_theme_setup’); } load_theme_textdomain(‘tutsplus’, $lang_dir);
  4. function load_theme_textdomain(‘tutsplus’, $lang_dir); { $lang_dir = get_template_directory() . ‘/lang’); custom_theme_setup(); } add_action(‘after_setup_theme’, ‘custom_theme_setup’);

31. Image size limits can be set _______________.

Answers:

  1. directly in the posts
  2. in the wp-imageresize plug-in
  3. in the admin settings
  4. a and

32. How can a user be found through its meta data?

Answers:

  1. User can not be retrieved through its meta data
  2. get_user_by_metadata($metaid,$metavalue)
  3. get_user($args)
  4. get_users($args)

33. Which PHP method(s) can be used to send form data that is persistent across succeeding page views (such as for a language selection feature) in WordPress?

Answers:

  1. POST
  2. GET
  3. SESSION or COOKIE
  4. POST or GET

34. Which of the following will call the WordPress media uploader form element?

Answers:

  1. <form enctype=”multipart/form-data” method=”post” action=”<?=bloginfo(“siteurl”);?>/wp-admin/media-upload.php?inline=&upload-page-form=” class=”media-upload-form type-form validate” id=”file-form”>
  2.  <a onclick=”return false;” title=”Upload image” class=”thickbox” id=”add_image” href=”media-upload.php?type=image&TB_iframe=true&width=640&height=105″>Upload Image</a>
  3. <a href=”media-upload.php?type=image&TB_iframe=true&width=640&height=105″>Upload Image</a>
  4. <form enctype=”multipart/form-data” method=”post” action=”<?=bloginfo(“bloginfo”);?>/wp-admin/media-upload.php?inline=&upload-page-form=” class=”media-upload-form type-form validate” id=”file-form”>

35. Which of the following is the correct way to print the slug property of $firstTag object in this code snippet?$tags = wp_get_post_tags($post->ID);
$firstTag = $tags[0];

Answers:

  1. $firstTag[‘slug’];
  2. $firstTag->slug
  3. $firstTag.slug
    $firstTag[0][‘slug’]

36. Which of the following code snippets is the correct way to get content from Tinymce via javascript ?

Answers:

  1. document.getElementById(‘content’)
  2. tinymce.activeEditor.getContent();
  3. tinymce.element.getContent();
  4. document.getElement(‘tinymce_content’)

37. Is super cache a built-in plugin of WordPress?

Answers:

  1. Yes
  2. No

38. A possible way to allow the display of several authors’ names on one post is to ______

Answers:

  1. update the database
  2. change the admin settings
  3. change the config files
  4. use a plug-in

39. In which way MD5 hash does wordpress stores and represents?

Answers:

  1. In Hex string
  2. In Base64 string
  3. in raw data file
  4. text file

40. What is the first action you need to take for enabling WordPress MU feature?

Answers:

  1. Enable WordPress MU feature on admin panel
  2. Enable Network feature
  3. Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

41. What is Automated Testing in WordPress?

Answers:

  1. Automated testing is running test cases where manual intervention is not required to run each one.
  2. It is a plugin which is used to test your custom template or plugin.
  3. It is a function available in WordPress to test the custom template/plugin.
  4.  There is no such thing as Automated Testing in WordPress.

42. Which of the following snippets disable depreciated warnings in WordPress like this one ?

“Deprecated: Assigning the return value of new by reference is deprecated in /home//public_html/hub/wp-settings.php on line 647”

Answers:

  1. define(E_DEPRECATED, false);
  2. error_reporting(E_ALL ^ E_DEPRECATED);
  3. define(E_NOTICE, false);
  4. error_reporting(WP_DEBUG, true)

43. One possible way to collect realtime statistics about traffic on a WordPress site is:

Answers:

  1. using a built-in tool
  2. using a plugin
  3. using a widget
  4. Traffic statistics cannot be collected on a WordPress site.

44. _____________ can publish, edit, and delete their own posts. They cannot write pages. They can upload some kinds of media files, and they are allowed to use only the limited set of HTML tags.

Answers:

  1. Contributo
  2. Autho
  3. Edito
  4. Subscribe
  5. Administrato

45. How can an < li >tag’s class and ID attributes be removed from menu items and page lists?

Answers:

  1. add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘page_css_class’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { return is_array($var) ? array() : ”; }
  2. add_filter(‘nav_menu_css_class’, ‘my_css_attributes_filter’, 100, 1); add_filter(‘nav_menu_item_id’, ‘my_css_attributes_filter’, 100, 1); function my_css_attributes_filter($var) { if(is_array($var)){ $varci= array_intersect($var, array(‘current-menu-item’)); $cmeni = array(‘current-menu-item’); $selava = array(‘selectedmenu’); $selavaend = array(); $selavaend = str_replace($cmeni, $selava, $varci); } else{ $selavaend= ”; } return $selavaend; }
  3. add_filter (‘wp_nav_menu’,’strip_empty_classes’); function strip_empty_classes($menu) { $menu = preg_replace(‘/ class=([“‘])(?!active).*?1/’,”,$menu); return $menu; }
  4. None of the above

46. ____________ can publish, edit, and delete posts and pages written by any user. They can upload some kinds of files, and they can write HTML without restrictions. They can manage links and categories, and they can moderate comments. Editors and administrators are also the only users allowed to read private posts and pages.

Answers:

  1. Contributor
  2. Author
  3. Editor
  4. Subscriber
  5. Administrator

47. Which of the following will show the most recent post (by date) from a custom taxonomy?

Answers:

  1. select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_term_taxonomy as c on (b.term_taxonomy_id = c.term_taxonomy_id) join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
  2. select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
  3. select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_term_taxonomy as c on (b.term_taxonomy_id = c.term_taxonomy_id) join wp_terms as d on (c.term_id = d.term_id) having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)
  4. select * from wp_posts where ID in( select ID from ( select wp_posts.ID , wp_posts.post_date, d.name from wp_posts as a join wp_term_relationships as b on ( a.ID = b.object_id) join wp_terms as d on (c.term_id = d.term_id) where c.taxonomy = ‘post-series’ group by d.name having (wp_posts.post_date = max(wp_posts.post_date)) )tmp)

48. What are the correct steps in wordpress plugin development:

Answers:

  1. Step 1 – Create your file and let it be known as a plugin Step 2 – Create the objects of your plugin Step 3 – Adding your actions and filters Step 4 – Adding settings/options to your plugin Step 5 – Finishing the code
  2. Step 1 – Adding settings/options to your plugin Step 2 – Create your file and let it be known as a plugin Step 3 – Create the objects of your plugin Step 4 – Adding your actions and filters Step 5 – Finishing the code
  3. Step 1 – Create the objects of your plugin Step 2 – Adding settings/options to your plugin Step 3 – Create your file and let it be known as a plugin Step 4 – Finishing the code
  4. Step 1 – Create the objects of your plugin Step 2 – Adding settings/options to your plugin Step 3 – Finishing the code

49. What is the output of the following code?

<li>example 1

<li>example 2

<li>example 3

<li>example 4

$(document).ready(function(){
$(‘#sortable’).sortable({
update: function(event, ui) {
var newOrder = $(this).sortable(‘toArray’).toString();
$.get(‘saveSortable.php’, {order:newOrder});
}
});
});

Answers:

  1. Removes positions from data base based on the user input
  2. Saves sortable positions to data base based on the user input
  3. Adding new sortable positions from another data base
  4. Sorting out existing positions without updating the data base with the new user inputs

50. Which of the following is the correct way to assign a category to a WordPress post?

Answers:

  1. wp_set_post_categories($postId,$categories)
  2. wp_set_category($catId,$postId)
  3. By XML-RPC call to wpc.newPost
  4. This is not possible

51. Conditional tags can be used to _______________________.

Answers:

  1. get all comments from one post
  2. get all posts from one category
  3. change the content to be displayed
  4. None of the above: conditional tags are not available in WordPress.

52. Which of the following commands can change the ownership of WordPress directory to www-data (for Apache)?

Answers:

  1. sudo chown -Rf www-data *
  2. chown -Rf www-data *
  3. sudo crown -Df www-data *
  4. Alldo chown -Rf www-data *

53. How can a custom content filter be added?

Answers:

  1. By using add_action(‘the_content’,’my_custom_filter’)
  2. By using add_filter(‘the_content’,’my_custom_filter’)
  3. By using wp_filter(‘the_content’,’my_custom_filter’)
  4. By using add_action(‘content’,’my_custom_filter’)

54. How can a post ID be retrieved from the permalink?

Answers:

  1. Its not possible to retrieve the post ID from a permalink due to its structure.
  2. It can be retrieved by using a Regular Expression.
  3. wp_get_post_id($permalink)
  4. url_to_postid($permalink)

55. Which of the following is the correct way to redirect the default login and registration page URL to a custom login and registration page URL?

Answers:

  1. add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { return(‘Your custom url’); exit(); } }
  2. add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { wp_redirect(‘Your custom url’); exit(); } }
  3. add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { redirect(‘Your custom url’); exit(); } }
  4. add_action(‘init’,’possibly_redirect’); function possibly_redirect(){ global $pagenow; if( ‘wp-login.php’ == $pagenow ) { wp_return(‘Your custom url’); exit(); } }

56. How can a WordPress template be integrated inside a codeigniter framework using WordPress functions like wp_header,wp_footer,wp_sidebar?

Answers:

  1. Include the file wp-blog-header.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
  2. Include the file wp-settings.php from WordPress installation directory to codeigniters index.php and create template inside codeigniter’s view.
  3. Create template inside WordPress theme directory and include the file in codeigniter’s view.php file.
  4. It is not possible to integrate wordpress with codeigniter.

57. What is the first action you need to take for enabling the WordPress multisite (MS) feature?

Answers:

  1. Enable the WordPress multisite feature on admin panel
  2. Enable the Network feature
  3. Add this code to wp-config.php file: define( ‘WP_ALLOW_MULTISITE’, true );

58. Which of the functions below is required to create a new taxonomy?

Answers:

  1. add_taxonomy
  2. register_taxonomy
  3. create_taxonomy

59. Which of the following actions cannot be hooked in with add_submenu_page() function?

Answers:

  1. admin_submenu
  2. admin_menu
  3. user_admin_menu
  4. network_admin_menu

60. Which of the following is the correct way to filter the content for a few posts?

Answers:

  1. By using apply_filters(filter,postId)
  2. This is not possible in wordpress
  3. Can create filter for posts in a specific wordpress category
  4. Passing arguments into the_content()

61. What is the function of add_filter in WordPress?

Answers:

  1. It registers a filter for a tag.
  2. It removes line breaks from the pages list.
  3. It is a companion function to apply_filters().
  4. All of the above.

62. Which of the following code snippets will create plugins back-end page without showing it as menu item?

Answers:

  1. add_submenu_page with parent slug = null
  2. add_menu_page with parent slug = null
  3. add_submenu_page without parent slug = null
  4. add_menu_page without parent slug = null

63. ____________ can manage their own profiles, but can do virtually nothing else in the administration area.

Answers:

  1. Contributor
  2. Author
  3. Editor
  4. Subscriber
  5. Administrator

64. Are categories and tags available for pages?

Note: Categories must have distinct slugs. Even if two categories have different parents and would therefore have different permalinks, you can’t assign them the same slug.

Answers:

  1. Yes
  2. No

65. Which of the following is the correct way to get WordPress Post ID from the Post title?

Answers:

  1. $page = get_page_title( ‘About’ ); wp_pages( ‘exclude=’ . $page->ID );
  2. $page = get_page_by_title( ‘Home’ ); $page_id = $page->ID;
  3. $page = get_page_by_title( ‘About’ ); wp_pages( ‘exclude=’ . $page->ID );
  4. None of the above

66. Which of the following will correctly add custom mod rewrite rules to .htaccess from a WordPress plugin?

Answers:

  1. $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, “generate_rewrite_rules”)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $POST[“wp_rewrite”]; }}
  2. $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, “generate_rewrite_rules”)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $GLOBALS[“wp_rewrite”]; } }
  3. $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, “generate_rewrite_rules”)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $GLOBALS[“wp_rewrite”]; } function mod_rewrite_rules($rules) { return preg_replace(‘#^(RewriteRule ^.*/)?$plugin_name .*(http://.*) [QSA,L]#mi’, ‘$1 $2 [R=301,L]’, $rules); } }
  4. $custom_mod_rewrite = new custom_mod_rewrite; register_activation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); register_deactivation_hook( __FILE__, array($custom_mod_rewrite, ‘flush_rewrite_rules’)); add_action(‘generate_rewrite_rules’, array($custom_mod_rewrite, “generate_rewrite_rules”)); class custom_mod_rewrite { function __construct() { $this->wp_rewrite = & $SESSION[“wp_rewrite”]; } }

67. Which of the following is the correct code to get an array of every image uploaded to a particular post?

Answers:

  1. $images =& get_children( ‘post_type=attachment&post_mime_type=image&post_parent=10’ );
  2. $images = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
  3. $images = get_post(7, ARRAY_A);
  4. It cannot be done

68. Which of the following will echo the base URL of a WordPress site?
Answers:

  1. <?php echo get_bloginfo(‘base_url’) ?>
  2. <?php echo get_bloginfo(‘url’) ?>
  3. <?php echo get_bloginfo(‘site_url’) ?>
  4. <?php echo get_website_url() ?>

69. Which of the following functions are used when adding CSS and jQuery codes on a WordPress plugin?

Answers:

  1. wp_register_style
  2. wp_enqueue_style
  3. wp_enqueue_script
  4. None of these.

70. In order to display a widget, the user must _________________.

Answers:

  1. set the “show property” of the desired widget to “true”
  2. drag the desired widget to the side ba
  3. add the desired widget to the post
  4. change the source code

21,620 total views, 82 views today

Top 10 popular test answers

U.S. English Basic Skills Test 2016

Published by:

1. Which of the following sentences illustrates correct usage of articles and conjunctions?

Answers:

  1. Celine lives on Arthur Street; however, she works on Beatrice Boulevard.
  2. I would eat a peach every day if I could, nor the doctor told me I couldn’t.
  3. Will Gertrude play the piano or an harp at the concert?
  4. Although she is angry at them, neither her son and her father will be at the party.

2. Choose the series of verbs and phrases that best completes the following passage.

Answers:

  1. is, did the chef have to use
  2. was, the chef is using
  3. is, did the chef use
  4. was, the chef used
  5. a and c

3. Choose the series of articles and conjunctions that best completes the following sentence.
Neither we ________ Sal, our neighbor, could understand ________ it had been our dog Rover or Sal’s cat’s kittens _________ had destroyed all the flower beds in the middle of _______ night.

Answers:

  1. nor, whether, that, the
  2. or, if, who, the
  3. and, whether, than, a
  4. nor, if, that, a

4. Choose the series of verbs that best completes the following sentence.

Alison regrets _________ you with her remarks; she never meant _________ so.

Answers:

  1. to hurt, doing
  2. to hurt, to do
  3. hurting, doing
  4. hurting, to do

5. Which of the following sentences is NOT punctuated correctly?

Answers:

  1. We expect only three things from our dog: loyalty, affection, and tail wagging.
  2. I need you to pick up several boxes of paperclips, pens, and pencils; three pounds each of potatoes, carrots, and peas; and my dry cleaning.
  3. Marcy, my parrot, squawked for an hour, before finally calming down.
  4. All of the above are punctuated correctly.

6. Which of the following sentences illustrates the proper use of apostrophes?

Answers:

  1. Helga borrowed her friend’s skates for the day; however, she failed to return them.
  2. Thousand’s of bargains are available during the holiday season, but I cant find time to shop.
  3. The koala bear closed it’s eyes and fell fast asleep.
  4. Although I like the Joneses, I’m angry at them for breaking all of Ralphs’ tools.

7. Which of the following sentences does NOT illustrate correct verb and verb tense usage?

Answers:

  1. These repetitive and misleading guidelines could easily be interpreted in several different ways.
  2.  Clarabelle’s mother absolutely hated nicknames and always calls her daughter by her full name.
  3.  The Imagist movement in poetry is commonly regarded as having begun in the early twentieth century.
  4.  We all danced across the lawn and lifted Zoe above our heads in triumph.

8. Which of the following sentences illustrates incorrect pronoun usage?

Answers:

  1. The wet dog shook itself off, wagged its tail, and proceeded on its way.
  2. Don’t take the silver goblet out of its protective case or you’ll ruin it.
  3. You should wear that jacket to their wedding because it’s the nicest one you have.
  4. It’s not too late to answer their ad for a waitress, is it?
  5. None of the above

9. Which of the following sentences illustrate(s) the proper use of commas?

Answers:

  1. Randy wanted to end the meeting, but Amy wanted to prolong it.
  2.  After pouring herself a glass of water in silence, Nicky answered my question.
  3.  The committee, which had failed to come to a consensus decided to meet again on Tuesday.
  4. Mr. Bridges is never home on the weekends, he always goes to his home in the country.
  5. a and b
  6. All of the above

10. Choose the series of pronouns that best completes the following sentence.

Victor, who stole _______ ideas and used them to make _______ a millionaire, never once offered _______ a word of thanks.

Answers:

  1. our, himself, we
  2. their, them, himself
  3. your, us, you
  4. our, himself, us

11. Choose the series of prepositions that best completes the following sentence.

Although the issue was very serious, the committee disposed ______ it in a few minutes and moved _______ to other business.

Answers:

  1. onto, off
  2. of, away
  3. on, out
  4. of, on

12. Choose the series of prepositions that best completes the following passage.

Although Marvin said he had hidden the keys _______ the flower pot, we were unable to find them _______ the dark. In the end, we waited for him at the coffee shop ___________ the corner.

Answers:

  1. under, in, around
  2. in, with, at
  3. around, at, on
  4. beside, from, around.

13. Rearrange the following words to create the most logical and grammatically correct sentence .work . is always to brother willing not My

Answers:

  1. My brother is not willing to work always.
  2. My brother is not always willing to work.
  3. is not willing to work always My brother.
  4. My work is not willing to always brother.

14. Change the following sentence from a quotation to indirect speech.”I’m not feeling well,” Agatha said.
< strong>Answers:

  1. Agatha has said that she doesn’t feel well.
  2. According to Agatha, she isn’t feeling well.
  3. Agatha said she wasn’t feeling well.
  4. Agatha says she isn’t feeling well.

15. Which of the following sentences illustrates proper sentence structure?

Answers:

  1. Everyone knows that a mango is much sweeter to an orange.
  2. I saw the girl with my own eyes who said she had been abducted by aliens.
  3. Either one of you should try and to fix their broken fence.
  4. The queen had hardly finished her speech when the people began to disperse.

16. Choose the verb that best completes the following sentence.Do you know if Harlon ____________Japanese before moving to Japan?

Answers:

  1. has studied
  2. has been studying
  3. will have been studying
  4. will be studying

17. Which of the following sentences is NOT punctuated correctly?

Answers:

  1. All of the apple’s at the grocer’s were rotten, so I bought oranges instead.
  2. “Seven canteens full of water should be enough for the hike,” said Tabitha.
  3. Until the stove is fixed, there’s no way I can bake a lemon meringue pie.
  4. The woman, whose name escapes me at the moment, disappeared into the limousine.

18. Choose the series of prepositions that best completes the following sentence.Jeremy drove his motorcycle _______ the bridge, _______ the hill, and _______ the diner before finally parking it _______ two police cars.

Answers:

  1. beside, among, behind, near
  2. beneath, over, under, on
  3. across, down, past, between
  4. under, around, through, into

19. Choose the series of prepositions that best completes the following sentence.The deer ran quickly _______ the trees, its hooves pounding _______ the forest floor.

Answers:

  1. amid, from
  2. over, at
  3. through, on
  4. throughout, on

20. Which of the following sentences illustrates correct verb and verb tense usage?

Answers:

  1. Until the snow is melting, the train is not able to move.
  2. Until the snow does not melt, the train will not be able to move.
  3. Until the snow melts, the train will not be able to move.
  4. Until the snow will melt, the train will not be able to move.

 

21. Choose the series of articles and conjunctions that best completes the following sentence.I think Fran could be ______ great public speaker, _______ she is still too shy to try it.

Answers:

  1. the, although
  2. a, but
  3. an, however
  4. a, and

22. Which of the following sentences illustrates proper sentence structure?

Answers:

  1. Walking down the street, my eyes were drawn to a diamond in a store window.
  2. A small red car pulled up behind the woman with tinted windows.
  3. The man in the black cape mounted his powerful stallion and rode away.
  4. The cats chased the birds around the yard with the yellow beaks.

23. Which of the following sentences illustrates the proper use of parallel construction?

Answers:

  1. Terry hoped to find a new job that would let him earn extra cash in the summer and to work fewer hours.
  2. Although Tommy was failing his biology class at college, he was passing his chemistry class.
  3. Trina loved to sail, skate, swim, and surfing.
  4. Tatiana declared that the people in her office are smarter than the people who work in Tad’s office.

24. Choose the series of pronouns that best completes the following sentence.After realizing that our hosts hadn’t actually invited ______ to ______ party, ______ excused ______ from the table and slipped out the back door.

Answers:

  1. us, their, we, ourselves
  2. ourselves, theirs, we, us
  3. them, our, they, themselves
  4. us, our, we, himself

25. Read the following question and choose the response that uses the correct corresponding verb tense.Does Jack wear that furry hat often?

Answers:

  1. No, he just liked to wear it for fun sometimes.
  2. Yes, but don’t said anything about it to him.
  3. Yes, and it can so annoying!
  4. No, he only wears it when his ears are cold.

26. Complete the following sentence by choosing the phrase with the best word order from the options given.The excited children, who had run toward the loud _____________ .

Answers:

  1. music and then told the others about the ice cream truck outside
  2. music, are telling to the others about the ice cream truck outside
  3. ice cream truck to tell the others about the music outside
  4. music, told the others about the ice cream truck outside

27. Choose the series of verbs that best completes the following passage.I find it very hard to remember _________ letters that are entrusted to me. In fact, I remember _________ to do so dozens of times!

Answers:

  1. to mail, forgetting
  2. mailing, to forget
  3. to mail, to forget
  4. mailing, forgetting

28. Choose the series of prepositions that best completes the following sentence.Charlotte knew ___________ the secret investigation _________ her past, but she closed her eyes to it and pretended it wasn’t happening.

Answers:

  1. of, about
  2. on, of
  3. about, to
  4. of, after

29. Which of the following sentences illustrates correct verb and verb tense usage?

Answers:

  1. Did Annabel knowingly lie on the witness stand?
  2. We think the judge will have noticed something strange in her behavior.
  3. The lawyers had decided to keep her testimony a secret.
  4. Somehow, all of the newspapers gotten hold of the story.

30. Choose the series of adjectives and adverbs that best completes the following sentence.I think Pamela deserves to be punished for her __________ stupid and __________ behavior.

Answers:

  1. irresponsible, totally
  2. totally, irresponsibility
  3. totally, irresponsible
  4. total, irresponsibly

31. Rearrange the following words to create the most logical and grammatically correct sentence.with can’t phone . on Whenever always to the time spend I speak I my friend , him

Answers:

  1. Whenever I always phone on my friend to speak, I can’t spend the time with him.
  2. Whenever I spend time on the phone to him, I can’t always speak with my friend.
  3. Whenever I speak to him, I can’t always spend time with my friend on the phone.
  4. Whenever I can’t speak to him on the phone, I always spend time with my friend.
  5. Whenever I can’t spend time with my friend, I always speak to him on the phone.

32. Choose the series of articles and conjunctions that best completes the following sentence._______ she was feeling ill, Teresa wanted to eat only _____ apple _____ some soup.

Answers:

  1. Yet, the, or
  2. After, an, and
  3. Because, an, or
  4. If, a, and

33. Choose the series of pronouns that best completes the following sentence.That house used to be ______ , but ______ have given it to ______.

Answers:

  1. my, I, her
  2. mine, me, her
  3. mine, I, her
  4. myself, she, her

34. Change the following sentence from a quotation to indirect speech.”It may snow tomorrow,” he said.

Answers:

  1. He said it should snow tomorrow.
  2. He might say it will snow tomorrow.
  3.  He says it may snow tomorrow.
  4. He said it might snow the next day.

35. Which of the following sentences illustrates correct usage of articles and conjunctions?

Answers:

  1. The cake that I ate was better that the one you had.
  2. An house is not the home, or so they saying goes.
  3. For my birthday, I would like a book, an hourglass, and the keys to a new boat.
  4. Has a package I’ve been waiting for been delivered yet, nor must I wait longer?

36. Change the following sentence from a quotation to indirect speech.Rhonda says, “I get to work early every day.”

Answers:

  1. Rhonda says she gets to work early every day.
  2. Rhonda said she gets to work early every day.
  3. Rhonda has said that she got to work early every day.
  4. Rhonda says she had gotten to work early every day.

37. Read the following question and choose the response that uses the correct corresponding verb tense.Did you see the show last night?

Answers:

  1. No, because by the time I got there all the tickets had already been sold.
  2. Yes, and it was one of the best shows I had ever seen.
  3. Yes, but my seat was behind a pole so I couldn’t barely see anything.
  4. No, but I am hope to see it tonight.

38. Choose the series of adjectives and adverbs that best completes the following sentence.While __________ of our relatives live on the __________ hill in the county, __________ of our friends live in the __________ __________ areas of the valley.

Answers:

  1. more, windy, many, most, protection
  2. most, windier, more, most, protective
  3. many, windiest, most, more, protected
  4. many, winding, more, most, protected

39. Rearrange the following words to create the most logical and grammatically correct sentence.last what ! it’s did you night, over After

Answers:

  1. After what night, it’s over you did last!
  2. After what you did last night, it’s over!
  3.  over what you did last night, it’s After!
  4. After, it’s over what you did last night!

40. Choose the series of pronouns that best completes the following sentence._______ is the name of the opera, and _______ role did you say Maria would play?

Answers:

  1. This, which
  2. Who, that
  3. What, which
  4. Which, what

41. Which of the following sentences does NOT illustrate proper use of articles and conjunctions?

Answers:

  1. I thought about keeping an orangutan as a pet; however, my apartment complex does not allow exotic animals on the premises.
  2. Bertha decided to change a locks of her house after burglars stole a computer or an oil painting.
  3. After thinking about the problem for half an hour, Glen finally came up with a perfect solution.
  4. Arlene loves nature and the outdoors in general, yet she spends most of her time inside because of her job.

42. Choose the series of adjectives and adverbs that best completes the following sentence.The helium-__________ balloon rose __________ into the air; the villagers knew then that their __________ leader was off on another mission.

Answers:

  1. power, powerful, powered
  2. powered, powered, powerful
  3. powered, powerfully, powerful
  4. powerful, powered, powerfully

43. Rearrange the following words to create the most logical and grammatically correct sentence.days . for last has good weather few The been the not

Answers:

  1. weather for The last few good has not been the days.
  2. The good days has not been for the last few weather.
  3. The few days has not been good for the last weather.
  4. The weather has not been good for the last few days.

44. Which of the following sentences is punctuated correctly?

Answers:

  1. Come here, she said, and let me get a good look at you.’
  2. Come here she said, and let me get a good look at you.
  3. “Come here,” she said. “and let me get a good look at you.”
  4. “Come here,” she said, “and let me get a good look at you.”

45. Change the following sentence from a quotation to indirect speech.Carol has said, “I am responsible for this project.”

Answers:

  1. Carol has said that she is responsible for this project.
  2. Carol says she is responsible for this project.
  3. Carol said that she was responsible for this project.
  4. Carol had said that she would be responsible for this project.

46. Choose the phrase that best completes the sentence below without creating a run-on sentence.Mr. Peach has sent his four children to Ivy League colleges __________ he has sacrificed his health working day and night in that dusty factory.

Answers:

  1. however
  2. ; however,
  3. , however
  4. however,

47. Choose the series of pronouns that best completes the following sentence.Don’t ________ think Larry should call ________ wife if ________ is going to be late for dinner?

Answers:

  1. you, his, he
  2. we, your, his
  3. he, his, he
  4. you, his, himself

48. Choose the series of adjectives and adverbs that best completes the following sentence.Knowing that February was the _________ month of the year, Cheryl planned her vacation ___________.

Answers:

  1. short, in accordance
  2. shortest, accordingly
  3. shorter, according
  4. shortness, accordion

49. Choose the series of prepositions that best completes the following sentence.I placed my notes _______ my desk and referred to them _______ the meeting.

Answers:

  1. at, among
  2. beside, during
  3. with, at
  4. upon, around

50. Which of the following sentences illustrates correct pronoun usage?

Answers:

  1. Is those the set of plates the bride wanted, or did she want this set?
  2. Which of these glasses is half full—that one or this one?
  3. To whom did them give the gold medal?
  4. Whose book is that—his or our?
  5. None of the above

51. Choose the series of prepositions that best completes the following sentence.Jack, leaning casually ________ the tree, watched as Sally walked slowly ________ him.

Answers:

  1. against, toward
  2. toward, against
  3. upon, past
  4. off, beside

52. Read the following question and choose the response that uses the correct corresponding verb tense.Will you be going to the company picnic this year?

Answers:

  1. Yes, I will have always gone every year.
  2. No, unfortunately I didn’t have time this year.
  3. Yes, and I plan on swimming, fishing, and eating all day!
  4. I might go if I had known about it sooner.

53. Choose the series of verbs that best completes the following sentence.Everyone __________ too busy cooking and __________ the campsite __________ the family of bears __________ from the woods.

Answers:

  1. were, setting up, to notice, watch
  2. was, set up, noticing, to watch
  3. is, setting, to notice, watching
  4. was, setting up, to notice, watching

54. Change the following sentence from a quotation to indirect speech.”I can meet with you at noon,” said Peter.

Answers:

  1. Peter says he can meet with me at noon.
  2. Peter said he will meet with me at noon.
  3. Peter said he could meet with me at noon.
  4. Peter can meet with me at noon, so he said.

55. Choose the phrase that best completes the sentence below without creating a run-on sentence.It’s never too late to learn how to swim ________________ you may fall off a boat!

Answers:

  1. you never know when
  2. you never know when
  3. you never know as
  4.  you never know when

56. Complete the following sentence by choosing the phrase with the best word order from the options given.Only after they had completed an exhaustive study __________ how to adapt the technology to the needs of our company.

Answers:

  1. did they understand to begin
  2. did they begin to understand
  3. they did begin to understand
  4. to understand did they begin

57. Choose the series of adjectives and adverbs that best completes the following sentence.Of the two books, Sam’s is definitely the __________ ; however, even though Sandra’s didn’t turn out as __________ as expected, she still did a __________ job of writing it.

Answers:

  1. better, well, good
  2. best, good, good
  3. better, good, better
  4. best, well, well

58. Change the following sentence from a quotation to indirect speech.”I will be moving soon,” said Alma.

Answers:

  1. Alma said she would be moving soon.
  2. Alma said she will move soon.
  3. Alma says she’ll be moving soon.
  4. Alma says she would move soon.

59. Choose the series of adjectives and adverbs that best completes the following sentence.The archaeologists were ________ to discover such a __________ and __________ _________ artifact at that mostly uncovered site.

Answers:

  1. amazing, rarely, incredible, beautifully
  2. amazed, rare, incredibly, beautiful
  3. beautiful, rarity, amazingly, incredible
  4. amazingly, beautiful, rarely, incredible

60. Read the original sentence below and then choose the rewritten sentence that illustrates proper sentence structure.

ORIGINAL SENTENCE:
It is easy to carry solid objects, but the same cannot be said of liquids.

REWRITTEN SENTENCES:

Answers:

  1. Unlike liquids, solid objects are easy to carry.
  2. Unlike liquids, we can easily carry solid objects.
  3. Unlike liquids; solid objects can easily be carried.
  4. Unlike liquids, solid objects easy to be carried.

61. Complete the following sentence by choosing the phrase with the best word order from the options given.Those who are not wise ____________ .

Answers:

  1. do not need be necessarily stupid
  2. need not necessarily be stupid
  3. need not to be necessarily stupid
  4. does not need to be necessarily stupid

62. Change the following sentence from a quotation to indirect speech.Jerry said, “I saw my cousin at the fair.”

Answers:

  1. Jerry had said he’d seen his cousin at the fair.
  2. Jerry said he had seen his cousin at the fair.
  3. Jerry said he’d saw his cousin at the fair.
  4. Jerry says he saw his cousin at the fair.

63. Choose the series of adjectives and adverbs that best completes the following sentence.The _______ , _______ odor was ________ coming from the chemistry lab up the street.

Answers:

  1. pungent, nastily, clearness
  2. pungently, nastily, clearly
  3. pungently, nasty, clear
  4. nasty, pungent, clearly

64. Choose the series of verbs that best completes the following sentence.If Harry __________ to the party too early, don’t let him in; he __________ outside like everyone else.

Answers:

  1. gets, will have to wait
  2. got, waits
  3. gets, is waiting
  4. has gotten, must be waiting

65. Choose the series of prepositions that best completes the following sentence.Whiskey, my pet squirrel, jumped ________ my head and ________ the windowsill.

Answers:

  1. over, onto
  2. through, into
  3. from, under
  4. into, onto

66. Rearrange the following words to create the most logical and grammatically correct sentence.sleeping likes the . midday Katie until on weekends

Answers:

  1. sleeping Katie likes until midday on the weekends.
  2. Katie likes sleeping until weekends on the midday.
  3. Katie likes on sleeping until the midday weekends.
  4. Katie likes sleeping on midday until the weekends.
  5. Katie likes sleeping until midday on the weekends.

67. Choose the series of adjectives and adverbs that best completes the following sentence.We were surprised when the ________ parade ________ turned into a ________ party!

Answers:

  1. dull, suddenly, wild
  2. duller, all of a sudden, wilder
  3. dullest, suddenly, wildest
  4. dull, sudden, wild

68. Choose the option that correctly changes the original sentence from active voice to passive voice.ORIGINAL SENTENCE:

That tall man is carrying a lot of lumber.

REWRITTEN SENTENCES:

Answers:

  1. The tall man carries a lot of lumber.
  2. Is being carried by that tall man, the lumber.
  3. The lumber is carried by the tall man.
  4. A lot of lumber is being carried by that tall man.

69. Rearrange the following words to create the most logical and grammatically correct sentence.would I have it anything if had . I you known said would not bother

Answers:

  1. Would I have not said anything if you had known it would bother I?
  2. I would not have said anything if I had known it would bother you.
  3. Had I known if it would bother you I would not have said anything.
  4. If I had known it would not bother you I would have said anything.

70. Change the following sentence from a quotation to indirect speech.”Sharon must go to the bank today,” said Albert.

Answers:

  1. Albert says Sharon will have to go to the bank today.
  2. Albert said Sharon has to go to the bank today.
  3. Albert says Sharon must go to the bank today.
  4. Albert said Sharon had to go to the bank that day.

71. Choose the series of articles and conjunctions that best completes the following sentence.Lilacs ______ violets are usually purple, ______ I have seen some ______ are white.

Answers:

  1. and, however, that
  2. or, yet, which
  3. and, although, that
  4. or, but, and

72. Choose the series of articles and conjunctions that best completes the following sentence.Julia, who is studying to be _______foreign correspondent, is currently doing _______ internship in _______ Middle East _______ will return before the end of _______ year.

Answers:

  1. (no article required), an, the, but, the
  2. the, a, the, however, a
  3. a, an, (no article required), yet, a
  4. a, an, the, but, the

73. Rearrange the following words to create the most logical and grammatically correct sentence.your company name ? of What the is

Answers:

  1. What is the company of your name?
  2. your company What is the name of?
  3. What is the name of your company?
  4. The name of your company What is?

14,501 total views, 33 views today