Project Manager Questions


Q:

Which of the following data structure is linear type?

A) Tree B) Binary Tree
C) Queue D) Graph
 
Answer & Explanation Answer: C) Queue

Explanation:

A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways.

 

Linear data structure: A linear data structure traverses the data elements sequentially, in which only one data element can directly be reached.

Ex: Arrays, Linked Lists, Stack, Queue, Any type of List all are linear.

 

Trees like Binary Tree, B Tree or B+ Tree are examples of non linear data structure.

Report Error

View Answer Report Error Discuss

5 2360
Q:

Difference between Arraylist and Linked list?

Answer

ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes.


 


But there are many differences between ArrayList and LinkedList classes that are given below.


 

ArrayList    V/s     LinkedList ::


 

1) ArrayList internally uses dynamic array to store the elements.


                   Whereas


LinkedList internally uses doubly linked list to store the elements.


 

2) Manipulation with ArrayList is slow because it internally uses array. If any element is removed from the array, all the bits are shifted in memory.


                   Whereas


Manipulation with LinkedList is faster than ArrayList because it uses doubly linked list so no bit shifting is required in memory.


 

3) ArrayList class can act as a list only because it implements List only.


                   Whereas


LinkedList class can act as a list and queue both because it implements List and Deque interfaces.


 

4) ArrayList is better for storing and accessing data.


                   Whereas


LinkedList is better for manipulating data.

Report Error

View answer Workspace Report Error Discuss

3 2323
Q:

Autocorrect was originally designed to replace

A) Misspelled words B) Grammatically incorrect
C) Repetitive words D) All of the above
 
Answer & Explanation Answer: A) Misspelled words

Explanation:

autocorrect_was_originally_designed_to_replace1561613833.jpg image

 

Autocorrect was originally designed to replace Misspelled words. Its purpose is as part of the spell checker to correct common spelling or typing errors, saving time for the user. It is commonly found in word processors and text editing interfaces for smartphones, computers, etc.

Report Error

View Answer Report Error Discuss

6 2318
Q:

Statement: A large number of students who have passed their XII Std. terminal examination in the country could not get admission to colleges as the number of seats available are grossly inadequate.
Courses of action:
a. The evaluation system of XII Std. terminal examination should be made more tough so that fewer students pass the examination.
b. The Government should encourage the private sector to open new colleges by providing them land at cheaper rate.
c. The rich people should be asked to send their wards to foreign countries for higher studies enabling the needy students to get admission in colleges within the country.

A) only a and b follows B) Only c follows
C) Only b follows D) All a, b & c follows
 
Answer & Explanation Answer: C) Only b follows

Explanation:

Clearly, reducing the number of aspirants for admission to colleges or sending the students of well-to-do families to foreign countries for higher studies, is no proper solution. So, both I and III do not follow. The right solution is to increase the number of colleges so as t accommodate the increasing number of admission-seekers. So, only II follows.

Report Error

View Answer Report Error Discuss

4 2286
Q:

What areas would you like to further develop professionally?

Answer

Why they ask this and what they are looking for:


 


This question "What areas would you like to further develop professionally?" will uncover whether you are interested and knowledgeable about your own development and as such will can be a cloaked attempt to discover your weaknesses.


A common target of the question is to discover how motivated you are to extend yourself. If you are motivated to learn, then you are probably more motivated to do the job well.


 


How to answer this:


First show that you are concerned and active about your own development. You can indicate how development has worked for your in the past.


You're right, continued learning and development is important and I continue to work to improve key skills.


Do answer the question, of course, but do not show gaping holes in your skill set and especially those in key areas required in the job. A good trick is to talk about developing your skills in new areas that will be of future benefit to the company.


 


For example : I am in programming now and love the work, but one day I would like to develop into a management role.


 


Hope this helps you..!

Report Error

View answer Workspace Report Error Discuss

1 2278
Q:

What are intents, shared preference in android ?

Answer

An Android Intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background Service.The intent itself, an Intent object, is a passive data structure holding an abstract description of an operation to be performed.
Android provides many ways of storing data of an application. One of this way is called Shared Preferences. Shared Preferences allow you to save and retrieve data in the form of key,value pair.


In order to use shared preferences, you have to call a method getSharedPreferences() that returns a SharedPreference instance pointing to the file that contains the values of preferences.

Report Error

View answer Workspace Report Error Discuss

3 2244
Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss

1 2229
Q:

Which is a reserved word in the java programming language?

A) Variable B) Identifier
C) Keyword D) Main
 
Answer & Explanation Answer: C) Keyword

Explanation:

Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.

Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).

If a reserved word was used as a variable you would get an error or unexpected result.

 

Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...

 

 

Report Error

View Answer Report Error Discuss

1 2213