Welcome to www.programmer2programmer.net tips for IT Programming General Interview Question, Answers


 Microsoft Certification
 Final Year Project Idea
 Connection Strings
 Password Recovery
 SQL Injection
 Encryption & Decryption
 LIVE Academic Project
 Project #1 - VB6, Access
  Project #2 - VB.Net, SQL
 Project #3 - ASP, Access
 Project #4 - ASP.NET, C#
 Project #5 - VB6, SQL
 Project #6 - Stegano
 Project #7 - C
 Project #8 - C++
 Project #9 - JAVA, MySQL
 Project #10- PHP, MySQL
 Project #11- JSP, Oracle
 Project #12- C# Face Exp
 Project #13- Mobile Bank
 Download MBA Project
 MBA Project Topic
 Project Viva Question
  2018 New Projects
 Project Synopsis Download
 University Question Paper, Assignment and Projects
 SMU - Question Paper
 SMU - Assignment
 SMU - Synopsis Projects
 SCDL - Assignment
 IGNOU - Synopsis Projects
 Welingkar - Projects
 Project Report Formats
 Interview Question Answer
 General & HR Round
 Visual Basic 6
 VB.Net & C#
 SQL Server
  Oracle and DBA

100% Tested
Ready Academic IT Projects

 Interview question and Answers for Fresher, Trainee of Programming Technique, Logics, Aptitude Test
Home Personal Member Forum Source Project Tips Contact

Interview Question - Programming General

These are the collection of Interview Question and Answers for fresher, Trainee programmer, software engineer. These Interview questions are not specific to any programming language. These type of interview questions are asked to the fishers, Trainee software Engineer to judge their logics, Programming Technique and IQ level.

Prepare for this programming general and IQ, Aptitude, and Programming Technique are tough, there is no predefined syllabus for this Interview question and answers, I have collected this set of Interview question and answers from different top IT Company in India. If you have any question and answers to share, send to me. I will share it to others.

Interview Question, Answer
1.  Programming General
2.  Web General
3.  Database General
4.  Visual Basic 6
5.  ASP
6.  Visual Basic .NET and C#
7.  ASP .NET
9.  MS SqlServer
10. MySql
1. What is VSS (Visual Source Safe) ?
  You can use VSS to secure code access among the developer and make control over the access right, also can check for multiple version of code.
2. Assume you have an array that contains a number of strings (perhaps char * a[100]). Each string is a word from the dictionary. Your task, described in high-level terms, is to devise a way to determine and display all of the anagrams within the array (two words are anagrams if they contain the same characters; for example, tales and slate are anagrams.)
  Begin by sorting each element in the array in alphabetical order. So, if one element of your array was slate, it would be rearranged to form aelst (use some mechanism to know that the particular instance of aelst maps to slate). At this point, you slate and tales would be identical: aelst.
Next, sort the entire array of these modified dictionary words. Now, all of the anagrams are grouped together. Finally, step through the array and display duplicate terms, mapping the sorted letters (aelst) back to the word (slate or tales).
3. What is the difference between a NULL pointer and a void pointer?
  A NULL pointer is a pointer of any type whose value is zero. A void pointer is a pointer to an object of an unknown type, and is guaranteed to have enough bits to hold a pointer to any object. A void pointer is not guaranteed to have enough bits to point to a function (though in general practice it does)
4. What is encapsulation technique?
  Hiding data within the class and making it available only through the methods. This technique is used to protect your class against accidental changes to fields, which might leave the class in an inconsistent state.
5. Definition of Object Oriented Programming in single line?
  Object oriented programming is a programming paradigm which  uses objects and its interactions to design applications  and computer programs.
6. What is virtual function?
  The virtual keyword means that method, property or function can be overridden
7. What’s a Windows process?
  It’s an application that’s running and had been allocated memory.
8. What is programming?
  Computer programming is writing or editing a computer program. A computer program is a set of instructions which determine how the computer will react to input when that program is running.
9. What is a debugger?
  debugger is a program in which you run another program that you are trying to debug. Inside a debugger, you can step through your program one line or instruction at a time, set break points and have your program run until it hits one, examine the contents of variables and memory, and such other useful things as that.
10. what is a Programming language?
  A programming language is a stylized communication technique intended to be used for controlling the behavior of a machine (often a computer). Like human languages programming languages have syntactic and semantic rules used to define meaning.
11. What's the difference between a programming language, a scripting language?
  The main difference between a "programming language" (C, C++ etc.) and a "scripting language" (ASP, JSP, JavaScript, VBScript) is that code written in a programming language needs to be compiled before it is run. Once it is compiled, it can be run any number of times.

Scripting languages, on the other hand, are interpreted at run-time. This means that every time you want to run the program, a separate program needs to read the code, interpret it, and then follow the instructions in the code. Compiled code has already been interpreted into machine language, so it is will typically execute faster because the conversion into machine language has already been done.
12. What is difference between overloading and overriding?
  Same methods (Names are same) with different signature (parameters) is called overloading, while having same name and parameter functions in base and drive class called overriding.
13. What are the advantages of OOPS?
  Advantages of OOPS are Re-usability, Maintainability, Extensibility, Modifiability, Modularity, Simplicity
14. What are the features of OOPS?

These are the main features of OOPS, a) Abstraction b) Encapsulation c) Inheritance d) Polymorphism

15. What is Class and Object
  A Class is blueprint or a template to create an Object. Whereas an Object is a an actual instance of a Class.
16. Explain modeling and its advantages?
  Modeling is a proven and well-accepted engineering technique which helps build a model. Model is a simplification of reality; it is a blueprint of the actual system that needs to be built.
17. What are the various types of Software Testing?
  There are 7 different types of testing are done for a project, they are a) Unit Testing, b) Integration Testing, c) System Testing, d) Acceptance Testing, e) Alpha and Beta Testing, f) Black Box Testing and g) White Box Testing
18. What is ER Diagram
  ER model is a conceptual data model that views the real world as entities and relationships. A basic component of the model is the Entity-Relationship diagram which is used to visually represents data objects.
19. Write a program to add two numbers without using arithmetic operator?
  public static void main(String args[])
int a=3,b=5;
System.out.println("sum is"+a);
20. Write a program to swap two numbers without using a temporary variable.
  public static void main()
int a=4,b=5;
a=a+b; //a=9
b=a-b; //b=4
a=a-b; //a=5
System.out.println("After swapping"+a,+b);
21. Write a program to find largest of 2 numbers without using if-else
  void main()
cin>>a>>b;; //let a=3and b=2
float c=|(a+b)|/2+|(a-b)|/2; //c=2.5+0.5=3.0
cout<<"largest number is"<<c;

Next  Web General         Go back to Interview Question Main

(C) Atanu Maity, 2006-2018