Technology Questions

Q:

Which of the following methods doesn't use sorting?

A) Insertion B) Deletion
C) Exchange D) Selection
 
Answer & Explanation Answer: A) Insertion

Explanation:

Using insertion we can perform insertion sort, using selection we can perform selection sort, using exchange we can perform the bubble sort.But by using deletion we cannot perform any sort.

Report Error

View Answer Report Error Discuss

Filed Under: C++

1 4908
Q:

Does not overriding hashcode() method has any performance implication ?

Answer

A poor Hashcode() function will result in frequent collision in HashMap which eventually increase time for adding an object into Hash Map.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

2 4900
Q:

What is APIPA? How would you recognize it?

Answer

Automatic Private IP Addressing


for small network if u see something default automatic numeric values entered in a device that is attached you can see someone novice has done that using APIPA


 

Report Error

View answer Workspace Report Error Discuss

1 4892
Q:

What is the importance of XML-based layouts?

Answer

The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format. In common practice, layout details are placed in XML files while other items are placed in source files.

Report Error

View answer Workspace Report Error Discuss

2 4890
Q:

How do you convert flat files to VSAM files?

Answer

Use IDCAMS REPRO to load the flat file into the VSAM file.


 

Report Error

View answer Workspace Report Error Discuss

0 4881
Q:

What are the properties and different Types of Sub-Queries?

Answer

Properties of Sub-Query


- A sub-query must be enclosed in the parenthesis.


- A sub-query must be put in the right hand of the comparison operator, and


- A sub-query cannot contain an ORDER-BY clause.


- A query can contain more than one sub-query.


Types of Sub-Query


- Single-row sub-query, where the sub-query returns only one row.


- Multiple-row sub-query, where the sub-query returns multiple rows,. and


- Multiple column sub-query, where the sub-query returns multiple columns

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 4870
Q:

What is AIDL?What data types are supported by AIDL?

Answer

- AIDL is the abbreviation for Android Interface Definition Language. 


- It handles the interface requirements between a client and a service to communicate at the same level through interprocess communication. 


- The process involves breaking down objects into primitives that are Android understandable.


 


AIDL supports following data types:


- String


- List


- Map


- CharSequence


- All native Java data types like int,long, char and Boolean

Report Error

View answer Workspace Report Error Discuss

1 4868
Q:

How can you make sure your dependencies are safe ?

Answer

When writing Node.js applications, ending up with hundreds or even thousands of dependencies can easily happen.
For example, if you depend on Express, you depend on 27 other modules directly, and of course on those dependencies' as well, so manually checking all of them is not an option!


The only option is to automate the update / security audit of your dependencies. For that there are free and paid options:


1. npm outdated
2. Trace by RisingStack
3. NSP
4. GreenKeeper
5. Snyk

Report Error

View answer Workspace Report Error Discuss

1 4849