c# Dot net interview questions

c#questions and answers

c# interview questions and Answers

1.When call by value, call by reference, call by out?

 
 CALL BY VALUE:
Whenever we want to pass some value to a function. The modifications are not expecting to reflect back. To actual parameter then we will pass it as CALL BY VALUE.
 
CALL BY REFERENCE:
Whenever we want to pass some value and we are expecting the modifications. Should be reflected back to actual parameter then we will pass it as CALL BY REFERENCE.
 
CALL BY OUT:
Whenever we don’t want to pass any values but we are expecting back the modifications. then we will pass the particular parameter as CALL BY OUT.
 
2. What is Encapsulation? How can we achieve?
 
A) Wrapping STATES and BEHAVIOURS called as ENCAPSULATION. (Or) Binding VARIABLES and METHODS called as ENCAPSULATION. By implementing class we can achieve ENCAPSULATION.
 
3. What is abstraction? How can we achieve?
 
Abstraction means HIDING.
 
Abstractions are 2 types.
 
1) data abstraction:-
 
Hiding unwanted data called as data abstraction
 
2) Method abstraction:-
 
Invoking required method and hiding unwanted method called as method abstraction.
 
With the help of FUNCTION OVERLOADING, we can achieve Method ABSTRACTION.
 
4. What is Inheritance? Types of Inheritance?
 
Inheriting or deriving members from one class. To another class called as INHERITANCE.
 
C#.Net will support 5 types of Inheritance. They are
  • Single Inheritance 
  • Multi-level Inheritance 
  • Many Inheritance 
  • Hierarchical Inheritance 
  • Hybrid Inheritance.
 5. Is C#.Net will support much Inheritance?
 
In C#.NET many inheritances are not possible by using classes. which is possible with the help of INTERFACES.
 
6. What sealed class? When will we go for sealed class?
 
While characterizing a class, in the event that we have utilized ―sealed‖ watchword. Then that class can be called as SEALED CLASS. It can’t be acquired.
 
At whatever point we need to confine to get a class we can go for fixed class.
 
7.Why property?

 

  • To assign the value to a class level variable. After creating the object to retrieve the value from the class level variable
     
  • The property will provide SECURITY to variable data.
     
  • The property will provide VALIDATION FACILITY for variable data.
    At the time of Assigning.
 
8. What is static polymorphism and dynamic polymorphism?
 
A) STATIC POLYMORPHISM:
 
A method which will bind at compile time will execute. In runtime called as static polymorphism or early binding or compile time polymorphism
 
DYNAMIC POLYMORPHISM:
 
A method which will bind at compile time will not execute, instead of that a method. which will bind at runtime will execute called as RUNTIME POLYMORPHISM.
 
9. What is function overloading? When will we go for function overloading?
 
A) FUNCTION OVERLOADING: Having many methods with the same name but a different no. of arguments or the different type of arguments or different order of arguments. In a single class or in a combination of base and derived class.
 
WHEN: Whenever we want to install the same method with the different functionalities. Then we have to go for FUNCTION OVERLOADING
 
10.Difference between constructor and property?
 
Constructor
 
It used to initialize the instance variables at the time of creating an object.
 
PROPERTY
 
It used to assign the value to the class level variables as well as can retrieve the value from class level variables
 

For more Dot net interview questions: click here

Dot training in Hyderabad: 

Kosmik provides dot net training in Hyderabad. we are providing lab facilities with complete real-time training and training based on advanced concepts.

c# interview questions and answers

 

 
c#questions and answers

c# interview questions and answers for freshers

1. Why C#.Net?
 
A) To develop any type of application by using Dot NET. we must one Dot NET LANGUAGE to write the business logic of that application.
 
2. Explain about primitive data types?
 
 In C#.NET, according to the type of the data and size of the data, data types classified into 5 types.
 
They are—
 
1. Numerical Data types
 
a) Signed Numerical data types: sbyte, short, int, long
 
b) Unsigned Numerical data types;-byte, ushort, uint, ulong
 
2.Floating
 
float, double, decimal
 
3.Character related Data types a) Char
 
4.Logical Data Types
 
a) bool
 
5. General data Types
 
a) string
 
b) object
 
These data types called as PRIMITIVE DATA TYPES.
 
3. What is the MaxValue and MinValue?
 
A) MaxValue & MinValue predefined constants, which are members. of every primitive data type structure except bool.
 
. Using this Constant we can get the LEAST value and MOST value of a data type.
 
4. Difference between value types and Reference types?
 
VALUE TYPES
 
1.In value types, data will storing in STACK MEMORY
 
2.Value type variable can contain the actual data.
 
3.In primitive data types except General data types called VALUE TYPES. They are Numerical, Floating, Character and Logical Ex: Int, Long, Char
 
4. Structures and Enums are value types
 
REFERENCE TYPES
 
1.In this, Data will be storing in HEAP MEMORY
 
2.Reference type variable will contain the address of the data.
 
3.In primitive data types only General data types will come under REFERENCE TYPE EX: String, Object
 
4.Class, interface, delegates come under this.
 
5. What is the output?
 
static void Main (string [] args)
 
{
 
Char c=’a’; int j=c;
 
Console.WriteLine (j);
 
Console.ReadLine ();
 
}
 
Output: 97
 
6.Can I assign 1 or 0 into bool variable? static void Main(string[] args)
{
 
bool b = 1; Console.WriteLine(b); Console.ReadLine();
 
}
 
A) No.
 
7. What is the output ?
 
static void Main(string[] args)
 
{
 
bool b = true; Console.WriteLine(b); Console.ReadLine();
 
}
 
OUTPUT: True 8.Can we assign null value into value type variable?
 
but we can assign null values into reference type variable.
 
9.How to assign null value into value type variable?
 
A) We have to go for NULLABLE VALUE TYPES.
 
Syntax: <ValueType> ? <VariableName>=NULL;
 
10. What is the difference between GetType() and typeof()?
 
Typeof()
 
1.Type It will return the given data base type 2.It is a operator
 
GetType()
 
1.It will return the given variable data type base type 2.It is a method
 

For more Dot net interview questions: click here

Dot net training in Hyderabad:-Kosmik provides dot net training in Hyderabad. we are providing lab facilities with complete real time training and training based on advanced concepts.

 
 
RPA interview questions

rpa interview questions

rpa interview questions:-

 

1.What is difference between error and exception?
Errors are those occur at development time and exceptions. Are unforeseen errors which occur at run time.
2.hat are two major types of exception?
All the exceptions in blue prism categorised under two types. Business exception and System exception.
3.How do you handle an exception?
In blue prism we handle exception with the help of recover and resume stage.
 
4.What is the role of recover stage and resume stage?
Recover stage catches an exception and Resume stage neutralises exception.
5.What is recovery mode?
Path between recover stage and resume stage called as recovery mode. Recovery mode used to handle an exception.
6.What is exception preserving?
Exception preserving used to re throw an exception to upper pages. To preserve an exception we need to check preserve type and detail of current exception. The check box in the property window of exception stage.
7.What is exception bubbling?
The way in which exception moves upwards through the layers. Of a solution known as exception bubbling. Exception moves towards main pages when it unhandled in lower pages or actions.
8.How many recover and resume stages required to handle all exception in a page?
Only one resume and recovery stage is enough to handle all exceptions on a page.
9.What are exception blocks and why they used
Exception blocks used to isolate an area of exception handling. With the help of exception blocks we can use two or more recover and resume stages in a page.
10.What is use of exception stage?
Exception stage used to throw an exception to recover stage.

Rpa training in Hyderabad:-

Kosmik Technologies Offers RPA Training in Hyderabad.We will give 100% real time training with advanced concepts and tools by real time experienced trainers.

For more RPA interview questions:-  click here

What is Robotic Process Automation
 
 What is Robotic Process Automation
 
 
 
What is Robotic Process Automation
 
 

What meant by RPA (Robotic Process Automation)?

 
“Robotic Process Automation refers to a style of automation. where a computer can mimic human in completing rules based task.”
 
Which is quite mean that creating software robots to perform repetitive and rules-based computer work.
 

2) Where do we use RPA?

 
Certain work or certain process that do not need any manual intervention or any human interference. mean that no need to take any manual decision to complete that work.
 
For example, let say we have an employee whose day in day out job is to download some pdf files from a different web application. And e-mail these files to various users based on certain business rules. The bot can be programmed to do the exactly same that a human would do. It launches the application login with credentials searches the pdf files downloading. That pdf files by clicking save button and then use outlook and send emails. All these done on the front end like a human user would do.
 

3) Limitations in RPA?

 
Advantages:
 
1) No need to change structure of the application.
 
2) Robot work 24/7.
 
3) A robot used by one or more process on different schedules.
 
4) RPA reduce cost and improves efficiency and accuracy.
 
Disadvantages:
 
1) Speed of the bot depends upon the application.
 
2) The bot doesn’t responsible for the logic of the business application.
 
3) Even minor changes to the application need to reconfigure the bot.
 
4) Some RPA tools that are available in IT market?
 
a) Blue Prism
 
b) UI Path
 
c) Automation Anywhere
 
d) Work fusion
 
e) Open span………etc. and some other tools.

 Blue Prism? 

Blue Prism is one of the RPA tool. Which used to automate business applications. like windows applications, web applications, Java applications and mainframe applications. creating flowcharts using flowchart elements called stages in a blue prism. and create business objects that interact with external business. applications mean target application to automatic.

To learn more 

To learn more about Blue Prism: click here

 
Robotic process automation blue prismrobotic process automation blue prism
 

1) Blue Prism?

 
Blue Prism is one of the RPA tool. Which used to automate business applications. like windows applications, web applications, Java applications and mainframe applications. creating flowcharts using flowchart elements called stages in a blue prism. and create business objects that interact with external business. applications mean target application to automated.
 

2) Blue Prism Modules?

 

Blue Prism has six different modules that can be accessed from the tabs on the top or navigation bar of the left.

 Home: Home is the first module that available when we signed into a blue prism. it shows the default dashboard that created on dashboard module by the developer.

 
 Studio: Studio is the place where we create process automation. By drawing flowcharts and creating business objects. that interact with the Business applications. The studio has two sub-modules a) Process studio, b) Object studio.
 
Control Room: This is the place where we run and schedule the processes. Manage queues, sessions and allocating the resources. which are the computers that are running blue prism?
 
 Dashboard: This is the place where we create the dashboard with blocks of graphs. charts called tiles they generated from different datasets. These tiles are self-refreshing and customization.
 
Release Manager: In release manager tab we can create packages and release files. we can move the code between various environments like development, testing, and production.
 
System Manager: This module provides sys admin functionalities. like user account management setting up environment variables, storing and managing credential, manage audit logs …..
 

3) What is process studio in Blue prism?

 
Process Studio:
 
An area of the blue prism where we can create our blue prism process I called process studio.
 

4) What is a process?

 
a) A blue prism process created a diagram that looks like a business flow diagram. (or)
 
Blue prism process nothing. But a computer program that created a diagram in the graphical representation.
 

5) What is object studio in Blue Prism?

 
Object Studio:
 
An area of the blue prism where we can create the business object called Object studio.
 

6) What is Object?

 
Object:
 
An object is an interface between Process and external business application. Object grabs
 
 

7) Differences between Process studio and Object studio?

 
a) In process studio, we can create process. But in object studio, we can create a business object.
 
b) Process studio having the main page as a default page. But in object studio we have two default pages those are “initialize” and Clean Up” pages.
 
c) In process studio, the pages arranged in a hierarchy. But in object studio pages arranged in flat group means in a series format.
 
d) Process studio doesn’t have some stages that are available in object studio. Those stages are navigate, read, write, code and wait for stages

Rpa training in Hyderabad:

 Kosmik Technologies Offers RPA Training in Hyderabad. We will give 100% real-time training with advanced concepts and tools by real time experienced trainers.

click here for Top 10  RPA interview questions

Angularjs interview questions

 

angularjs interview questions

Angularjs interview questions

 

What is dom?

Dom means document object model is representation of html web page in objects relationship model.

Java scripts manipulate HTML elements in the help of DOM methods.DOM can access Html elements ID’s   class, tag names to and modify and delete Html elements.

It can set CSS properties values.

 

2.How methods we have to access DOM elements?

The three main DOM methods to access Html elements.

1.get Element BY ID()

2.get Element BY class()

3.get Element BY TagName()

3.2+4+”3″?

63

 

4.What is use of number?

Number function is used convert a value of character to number format in java script

5.print 2 4  6 8 10 12 ?

<script>

n=2;

For (i=2;i<=2;)

{

document.write (i);

i=i+n;

}

</script>

 6.what is the function?

Function is a block of code which contains JavaScript statments with a specific name and optional arguments

Ex:

<script>

Function Hello()

{

Document.write(Hello);

}

</script>

7.Difference between the while and Do-while and For?

While

This loop is used to execute the statement when condition is true

Ex:var i=10;

While (i=<10)

{

Document.write(i+”<br>”);

I+

}

Do-While

This loop is used to execute the statement when the while condition is true

Var i=11

{

do

Document.Write(i+”<br>”);

I++;

}

while(i<=10)

 

For

This is used to execute the statement when the condition satisfies.

It enter only when condition is satisfie.


8.print Following

1

1 2

1 2 3

for(i=1;i<=3;i++)

{

For(n=1;n<=i;n++)

{

Document.write(n);

Document.write(“<br>”);

}

 

9.print odd numbers upto 20 using for and while loop?

for(i=1;i<=20;i++)

{

Document.write(i+”<br>”);

}

angularjs training in hyderabad:-

Kosmik Technologies provides AngularJs training in Hyderabad. we are providing real time training and hands on experience in all concepts.

 

Angularjs  introduction

 

Angularjs introduction

Introduction to Angularjs:–

AngularJS Introduction AngularJS is a JavaScript framework.Architecture, Advantages Angularjs Architecture Diagram.User events trigger the functions which are stored inside your controller. The user events are part of the controller.

What is angularjs ?

  • Angularjs is a client side (browser side) technologies,which is developed by google & Framework of Javascript.
  • By using Angularjs we can decrease burden at server side so applications most reliable increase  speed, secure, code reusable.
  • using angularjs ,we can develop SPA.spa –> single page application. Even gmail is also a single page application. it means content will asynchronously.

Version of angularjs?

  • Current version–> angular 6.x
Versions

Angulajs1

Angulajs2

angulajs3

angulajs4

angulajs5

angulajs6

Is platform Dependent?

Using angular js , we can develop hylorid application. It means, which will work in different platforms like

Web app

Android

IOS

Window

blackberry

Easy to test -> Karma, jasmine, protractor.

Difference b/w angularjs & angular :–                                             

Angularjs 

  • angularjs is working with js
  • If will work with “CDN”
  • If don’t sperit folder structure
  • specially web app development
  • SEO friendly
  • works with Es5

Angular

  • angular is working with typescript
  • To install angular project,we node node package (npm)manage
  • Angular is well developed,and have good folder structure & Excellent work flow
  • mobile app & web application development
  • more seo friendly than angularjs
  • works with Es6
Important points:                           
  • angular has better performance than angularjs
  • angularjs more testable
  • React js is competitor to angular.
Difference b/w angular & React:–

Angularjs

  • Angularjs developed by google.
  • Javascript framework
  • Supports two-way data binding
  • Works with js and html
  • Current version is angular 6
  • Using angular we can develop hybrid application.using Ionic frame.

Reactjs

  • Reactjs developed by facebook
  • Javascript framework
  • Supports one-way data binding
  • Works with js and js a
  • Current version is react js 16
  • Using reactjs we can develop mobile application.using react native.

Click here: For  AngularJS Interview Questions and Answers

 

 

 

Dot net interview questions and answers

dot net interview questions and answers for freshers

1.Difference between .Net Framework and VisualStudio.Net?

.NET FRAMEWORK

  • It is a run- time environment, which
    we can use to run applications.
  • It is required for .net developers and
    .net application end users
  • It is a freeware which we can
    download from Microsoft Website.

VISUAL STUDIO .NET

  • It is a development environment,
    which we can use to develop
    applications.
  • It is required for only .net developers.
  • It is not freeware which we have to
    purchase from Microsoft.

2 . What is JIT Compiler?

JIT (JUST-IN-TIME) Compiler will convert MSIL (Microsoft Intermediate Language) code to Native code because operating system can understand only Native code or machine code.

3 .What is CLS?
 . CLS (Common Language Specifications) is a set of common language standard defined by the Microsoft for all .NET Languages.

  .Every .NET Language has to follow CLS Standards.

 . Whenever a Programming Language wants to recognize as .NET Language then it has to follow CLS.

4. What is CTS?

–CTS (Common Type System) is a subset of CLS. It is a set of common

based data types defined by Microsoft for all .NET Languages.

–2. Every .NET Language has to map their data types with CTS types.

Common Type System

 

 

 

 

 

5. Explain .net application Execution process?

Diagram for .net application execution process :

A) .Net application Execution process can be divided into 2 steps:

.net applicationcompilation process

Step1. Converting HIGH level language code into MSIL (Microsoft Intermediate Language) with the help of language compilers because .Net execution engine (CLR) can understand only MSIL code.

Step2. JIT (JUST-IN-TIME) compiler will convert MSIL code to NATIVE code because operating system can understand only NATIVE code or MACHINE code.

6. What is MSIL Code?
.Microsoft Intermediate Language (MSIL), is one of the Core component of the

.NET Framework. Any .NET source codes written in any .net supportive language (C#, VB.net etc), when compiled are converted to MSIL. This MSIL, when installed or at Runtime, gets converted to the machine code. The Runtime conversion of MSIL code to the machine code is handled by a component called as the Just In Time (JIT) Compiler.

7.What is Managed Code and Unmanaged Code?

Managed Code

 A) Managed code:

 The code which is taking the help of CLR for execution is called as managed code.

 Example for Managed Code:-

 All .net languages code is managed code.

 VB.Net code, C#.Net code…etc

 B) Unmanaged code: –

 The code which is not taking the help of CLR for execution is called as Unmanaged code..

 Example for Unmanaged Code:-VB Code, VC++ Code…

 Note: – .net application can contain non .net code.

8. What is CLR?

 CLR stands for Common Language Runtime, it is .net execution.

CLR is a common execution engine for all .NET Languages that means

every .NET language application has to execute with the help of CLR.

Dot net training in hyderabad:-

Kosmik provides dot net training in Hyderabad. we are providing lab facilities with complete real time training and training based on advanced concepts. 

for latest Dot net interview questions and answers :-

 

robotic process automation interview questions
Robotic Process Automation Interview Questions  for freshers and experienced, Robotic process automation is the Set of Soft Bot technology that allows a company to configure computer software. Here we provide Top 10 RPA technical Interview questions and Answers.
 
 
Robotic-Process-Automation-Interview-questions

RPA interview questions & answers

 
1. What is RPA?
 
A)RPA alludes to a style of automation. where a PC copies human activities in finishing rules-based assignments.
 
2. What is process studio and how different is it from object studio?
 
A) Process studio is a process diagram developed. where as object studio is where a business object developed.
 
3. What is a process?
 
A) A process is a diagram created in process studio. which is graphical representation of a working computer program. which interacts with external applications (through object), manipulates data, perform decisions and calculations.
 
Process used to combine application functionality (object) with business rules.
 
4. Difference between data item and collection?
 
A) Data item used to store a single value where as a collection used to store data in tabular form. Both these stages are not linked to diagram
 
5. What is exposure field in a data item?
 
A) Data items can have values controlled from outside the diagram. This done by exposing a data item using exposure field in data item.
 
We can expose a data item as environmental variable or a session variable.
 
6. What is difference between global data item and local data item? And how to make a data item as global data item?
 
A) Local data items are available only to the page on which it’s created. Global data items are available to all pages in my process.
 
We can make a data item as global by unchecking visibility checkbox in property window of data item.
 
7. Why an anchor stage used in a process?
 
A) Anchor stage is an inert stage used to link around corner.
 
8. What is stepping, step out, step over?
 
A)  Stepping used to run one stage at a time. Step out and step over used to traverse pages more fast.
 
B)  when step over used on page reference stage of main page. It prevents the flow going to referred page from main page. And execute that referred page in background and flow moves to next stage on main page.
 
C)  Step out used when process flow is on any of lower pages. During the execution of lower page if step out performed on any stage. With slight delay the flow moves back to main page.
 
9. What is use of loop stage?
 
A) Loop stage used to iterate the flow through each row of a collection.
 
10. How to extract a particular field value in a row in collection?
 
A) [CollectionName.FieldName].
 

robotic process automation interview questions 11 To 20 :coming soon

RPA training in Hyderabad

 
KosmikTechnologies Provides RPA training in Hyderabad. We are providing lab facilities with complete real-time training. Training is based on complete advance concepts. So that you can get easily “hands-on experience”. We will give 100% job assistance.