Dotnet developer Interview Questions

332

Dotnet Developer interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
GGK Tech
Dotnet Developer was asked...16 September 2017

Write a logic to reverse each string in a sentence without using builtin functions and minimal loops. Below is the scenario "Welcome to GGKTech" and output should be "emocleW ot hceTKGG"

6 Answers

#include #include void swap(char *a, char *b){ char tmp = *a; *a=*b; *b=tmp; } void reverse(char *str, char *ptr1, char *ptr2){ while(ptr1 Less

class Program { static void Main(string[] args) { string input = "Welcome to GGKTech"; string substr = string.Empty; string reversestr = string.Empty; char[] inputbytes = input.ToCharArray(); for (int i = 0; i -1; i--) { reveresewrd += wordbytes[i]; } return reveresewrd; } } Less

class RevEachSenWord { public static void main(String args[]) { String Raj="Welcome to GGKTech"; String GGK[]=Raj.split(" "); char Raj2[]= new char[GGK.length]; for(int i=0;i=0;j--) { System.out.printf("%s",Raj.charAt(j)); } System.out.printf(" "); } } } Less

Show More Responses
GGK Tech

Write Logic for below scenario with minimal loops * * * * * * * * * * * * * * * * * * * * *

4 Answers

//Took three loops #include void main(){ int n=5,i,temp1,temp2,dumb=0,x; for(i=n;i>0;i--){ temp1=i; temp2=n; while(temp1>0 && i>=((temp2/2)+1) && dumb==0){ printf("* "); temp1--; } if(i==((temp2/2)+1)){ dumb=1; } x=0; while(i0){ x--; printf("* "); } printf("\n"); } } Less

//Sorry there was some error while copy pasting code from editor. //Took three loops #include void main(){ int n,i,temp1,temp2,dumb=0,x; printf("Enter the Length of pattern: "); scanf("%d",&n); for(i=n;i>0;i--){ temp1=i; temp2=n; while(temp1>0 && i>=((temp2/2)+1) && dumb==0){ printf("* "); temp1--; } if(i==((temp2/2)+1)){ dumb=1; } x=0; while(i0){ x--; printf("* "); } printf("\n"); } } Less

class RevEachSenWord { public static void main(String args[]) { String Raj="Welcome to GGKTech"; String GGK[]=Raj.split(" "); for(int i=0;i=0;j--) { System.out.printf("%s",Raj.charAt(j)); } System.out.printf(" "); } } } Less

Show More Responses
SourceHOV

Sustring syntax in sql

2 Answers

How yo read excel file

Hi, how long did it take for them to tell you that you are selected ? I finished all the rounds and they told me they will update the results and it has been a week and no updates. Less

NortonLifeLock

1)Reverse the given sentence without using c#inbuilt function 2) Inheritance 3)Sum the given number 4)Interfaces 5)delegates

2 Answers

Answer to 3rd question :--> Time : O(1) if(number % 9 == 0) return 9; else return number % 9; Less

answer to first question to reverse the string string reverse = ""; string[] split = str.Split(' '); for (int i = split.Length-1;i>=0; i--) { reverse += split[i]+ " "; } return reverse; Less

WebDirekt

Q: Which city name form- from Chaina ,Canada and Goa?

1 Answers

Chicago

Sagitec Solutions

1.oops concept, 2.SQL join and 3.difference between abstraction encapsulation.etc

1 Answers

given explanation about oops and its oops four techniques that we use in programming i.e inheritance, encapsulation and two more. sql query and join answered. Less

Citta Solutions

They ask what is mvc framework

1 Answers

I answered types of framework and some details

Paras Cadd

MCQ's on ASP.NET + implementation of c# terms like all 4 pillars syntax , theory of c# + SQL queries implementations.

1 Answers

I answered all questions but rejected . actually they wants fresher who is all rounder in All . my interview was 98% good but rejected. Less

Cybage Software

This are the questions asked by wise man, Page navigation, abstract class, difference between normal control and custom control, which programming language is your choice, mvc page life cycle that's it

1 Answers

I don't want to say anything in this section

RKIT Software

Q. Do piramid design code in any language What is final values after loop gets over execution

1 Answers

Written in c and calculated value for same

Viewing 1 - 10 of 332 Interview Questions

See Interview Questions for Similar Jobs

dot net developernet software developerasp net developer