IBS Software Services Interview Questions

IBS Software Services Interview Questions

1.Differentiate between Autoboxing and unboxing?
Ans: Autoboxing and unboxing are the process used to convert the one variable type into another automatically.
Autoboxing is used to convert the primitive type into class type while unboxing is used to convert class type into primitive type. If a statement is written in primitive or class type, it is converted vice versa according to the requirement of the compiler. Conversion using Autoboxing and unboxing works only if the type has a value. If objects which are called using constructors are converted, it will result in a compiler error.

2.How to Create Roles in Database?
Ans: Roles in database are created by using the statement CREATE ROLE. DROP ROLE statement is used to drop the created roles in database. The roles are extended with privileges by using GRANT statement. The privileges assigned to a user can be revoked by using the REVOKE statement. A user can obtain all the privileges allied with a role by using the statement SET ROLE. The CURRENT_ROLE function will return the present role in a statement. Only roles which are granted to the user can be set along with the user while setting other role to user is not permitted.

3.What are the differences between Data Mining and Data Warehousing?
Ans: Data mining is based on pattern recognition logic which trend against larger data pool.
Data warehouse extracts and stores data for future references.
Data mining is a range of business process while data warehouse is like typical software package which can process some data.
Data mining is used in various marketing programs while data warehousing provide the data for designing the logic of data mining.
Data warehouse is designed to be a software product but data mining is a logic design based on the results provided by data warehouse.
The entire business process is based on the query of data warehousing.

4.What is the purpose of using statement in C#?
Ans: ‘using’ is a keyword in C# programming. It is used to include a namespace to a program. A program can have several namespace with several using keywords.

5.What are pointer types in C#?
Ans: Pointer type variable in C# stores the memory address of another variaable.Pointers in C# have the same capabilities as the pointers in C or C++.We can declare a pointer in C# like- char* cptr; where ‘char*’ represents a type i.e. character type pointer and ‘cptr’ represents the name of the pointer.

6.Different ways a method can be overloaded in C#.NET
(A) Different parameter data types (B) Different order of parameters (C) Different number of parameters (D) All of above
Ans: The answer is (D) All of above.

7.What is inheritance?
Ans: Inheritance allows us to define a class in terms of another class, which makes it easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and speeds up implementation time.

8.How can we sort the elements of the array in descending order?
Ans: We can sort elements of an array by calling Sort() and then calling Reverse(). The Sort() will sort the elements in ascending order and then Reverse() will arrange it in descending order.

9.In C programming, how do you insert quote characters (‘ and “) into the output screen?
Ans: In C programming every symbol have their unique identity and ASCII value. As ‘ and ” are a special character, before using these you have to be carefull. If you want these to be printed like a siple charater in a statement then just use format specifiers before these to indicate as a simple printable charcter. Example- \’ will print single quote and \” will print double quote.

10.What is the use of a ‘?\0’ character?
Ans: ‘\0’ is used to refer a null value. It is often used at the end of an array of character i,e string to indicate the termination of array.It holds a nothing,not even 0.

11.When is the ?void? keyword used in a function?
Ans: ‘void’ is used to indicate the empty value. We often see ‘void’ keyword is used before a function defination. It indicates that the function will not return any value. If we need to return a value then the ‘void’ keyword will be replaced by the data type of the retuned value. Example- we can use int main() instead of void main() to indicate that it will return integer value.

12.What are compound statements?
Ans: Compound statements often known as block.It appears in the body of another statements using {} curly braces. Unlike other statements it doesn’t end with a semicolon. Example- Writting a if condition or a loop using {} with a random statements within it, is a compound statement.

13.What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Ans: This kind of problem occurs when you do not mention the header properly. You should check if the ‘#include’ is properly maintained in the program or not.

14.What does the format %10.2 mean when included in a printf statement?
Ans: It indicates the decimal number with 2 decimal places after the deccimal point and 10 decimal places before the the decimal point to represent the actual value.If the decimal number has less than the number of the decimal digits, it will be filled with 0 upto 10 where 0 will not be printed.

15.What are linked list?
Ans: Linked list is used for utilize the memory for storage. In C, linked list are created using pointer where each node is connected with other nodes.

16.What are binary trees?
Ans: A binary tree, in C, is implemented using linked list. Here every node has two pointers- left and right. To add or remove from a tree list there is a certain method.Basically linked list forms a tree like structire which is called Binary tree.

17.Not all reserved words are written in lowercase. TRUE or FALSE?
Ans: False. All reserved keywords are written in lowercase letters.Remember C is a case sensitive.

18.What are virtual functions in C#?
Ans: When you have a function defined in a class that you want to be implemented in an inherited classes, you use virtual functions. The virtual functions could be implemented differently in different inherited class and the call to these functions will be decided at runtime.

19.What is a preprocessor directives in C#?
Ans: The preprocessor directives give instruction to the compiler to preprocess the information before actual compilation starts.

20.What is Normalization
Ans:It is an another method for desingning a relationla database is to use a process commonly known as normalization.

21. Which of the following language in Databas is used for define tables ?
1.DDL 2.DML 3.DCl 4.None of these
Ans:DDl(Data-Dafination language).Sqlprovieds a rich DDl that allows one to define Tables,integity constrains Etc.

22.What is E-R model?
Ans:This model describes the relationship between entities.That entities are the part of object .Basically E-R Model is uused to describe relation of an object’s entity which is based on real world.

23.What is a node?
Ans: Two or more computer are connected through a connection that are serv by physical midea.The connected computers are calld Nodes.

24.What is router ?
Ans: Router is basically a device when a node connected two or more Network commonly.it passes or genarate messasge to one device network to other.
it is known as getway.

25.What is Accessibility Testing?
Ans:Veryfing or kind of testing that help to that software is accessible people having disabilities.

26.What is Ad Hoc Testing?
Ans:To brake the system by randomly and trying to doing system functionality done by such kind of testing called Ad Hoc Testing.

27.What is Cyclomatic Complexity?
Ans:During white box testing a masuerment of logical complexity of an algo is called Cyclomatic Complexity.

28.What is the JDK and a JVM?
Ans: jdk stand for java devolopment kits here we can find some java code devolopment feachers.

29. What are packages?
Ans:Collection of same object’s class is called package.

30. What is meant by Inheritance ?
Ans: It is a feachers of OOPL.It inherite the feachers of a class.Basically it helps reusabillity of code.