Keane India
- Biztalk
What are functoids ? String functoids, Value functoids
- Runtime Polymorphism
(or Overloading or Late Binding)
Eg: int function1(int a, int b)
int function1(float a,float b)
int function1(int a, int b,int c)
float function1(int a , int b)
- What is function overriding?
- Difference between interface and abstract?
- Give example for Self Join?
6.
Employee
| EmpId |
DeptId |
EmpName |
| 1 |
1 |
Emp1 |
| 2 |
1 |
Emp2 |
| 3 |
2 |
Emp3 |
| 4 |
2 |
Emp4 |
| 5 |
2 |
Emp5 |
| 6 |
2 |
Emp6 |
Department
| DeptId |
DeptName |
| 1 |
CSE |
| 2 |
MECH |
Required Result should appear like the below:
| DeptId |
DeptName |
NumberOfEmployees |
| 1 |
CSE |
2 |
| 2 |
MECH |
4 |
Ans:
Select Emp.DeptId, Dept.DeptName, Count(*) As NumberOfEmployees from
Employee Emp inner join Department Dept
On Emp.DeptId = Dept.DeptId
Group by Emp.DeptId, Dept.DeptName
7.
Department (Master table)
| DeptId |
DeptName |
| 1 |
CSE |
| 2 |
MECH |
Employee (Child Table)
| EmpId |
EmployeeName |
DeptId |
| 1 |
Emp1 |
Null |
| 2 |
Emp2 |
Null |
Can we insert null value in deptid column in Employee table (child table)?
Ans : Yes (doubt)
8.
Employee table : Here EmployeeName has unique constraint
| EmpId |
EmployeeName |
| 1 |
Emp1 |
| 2 |
Emp2 |
Can we insert a null value for EmployeeName 2 times simultaneously like:
Insert into Employee values(3,null)
… Success
Insert into Employee values(4,null)
… Failure
Insert into Employee values(5,’’)
..Success
Insert into Employee values(6,’’)
..Failure
RealSoft Inc. Bangalore
- Asp.net Caching
Types:
a. Output (Page)
-
- Fragment
- Data
- How values can be maintained in cross paging
Ans: Get,Post,cache, Application variable, Sessionss
- What are delegates ? Different types? How to create and when to use them?
- What are custom controls and user controls in Asp.Net
Custom Controls have these methods: CreateChildNode(), Render()
UserControls have RaiseEvent() method
| UserControl |
Custom Control |
|
|
Will be included in Toolbox framework |
|
|
Can be used in any project |
5.What are the methods of webparts?
CreateChildControls, render
What are the controls that are present in Toolbox for Webpart?
WebPartManager, WebPart Zone etc..
How to debug and deploy a webpart
- Different UML diagrams
Ans:Class Diagrams, Sequence Diagrams
- Xml
- WebServices
- Difference b/w Sqlserver 2000 and 2005
- What are the methods in Ado.net DataView?
Ans: sorting, finding records by using RowFilter
10.If we made any modifications in a dataset then what is the method ?
Ans : Update
How many operations are performed ?
Ans: Only the updated records
If new records are inserted then how it effects?
- Different types of css styles
Ans:
- page level
<script>
Function cssfunction()
{
Font: bold;
Sixe: 10;
}
<form>
<input type = text class= cssfunction()></input>
</form>
2nd Type:
In Form2.css we have defined all functions of css
And in Form3.aspx we are using these functions by using link tag
Form3
……….
<link href=form2.css >
<script>
</script>
<form>
</form>
3rd Type : Control Level
<input type = “text” class = font:bold/>