BASIC

Some basic concept question and Answer about C Language


1. What is a Programming Paradigm?

Ans.:- Programming paradigm means the principle that is used for organizing programs. There are two major Programming Paradigms, namely Structured Programming and Object Oriented Programming (OOP). C language uses the structured Programming Paradigm, whereas C++, C#, VB.NET or Java make use of OOP. OOP has lots of advantages to offer, But even while using this organizing principle you would still need a good hold over the language elements of C and the basic programming skills.

2. Device Driver and Embedded System Applications are created in C language or not?

Ans.:- Yes, Device Drivers are programs that are used to driver different devices attached to machine. Some device driver programs don’t actually drive a device, but perform a low level task like monitoring any changes in the windows registry. All these programs are almost exclusively written in C.

Most Embedded System programs are written in C, through assembly language is also preferred by some programming for building Embedded Systems.

3. Is it true that Operating systems like Windows, Linux and Unix are written in C?

Ans.:- Major parts of popular operating systems like Windows, Unix, Linux are still written in C. This is because every today when it comes to performance (speed of execution) nothing beats C. Also, the functions exposed by the Operating System API can be easily called through any language.

Moreover, if one is to extend the operating system to work with new devices one needs to write Device Driver programs. These Programs are exclusively written in C.

4. Which compiler should I use to learn C programming?

Ans.:- If you are a beginner you would be better off using a simple compiler like Turbo C or Turbo C++. You can also use the more sophisticated and more modern compilers like Visual Studio under windows or gcc under Linux. Note that all C++ compilers are also able to compile C programs.

5. What is the different between Visual Studio Professional and Visual C++ Express Edition?

Ans.:- Visual Studio Professional is for professional software development. As against this, the Express edition compiler has been made available by Microsoft for student and learners community completely free of cost.


0 comments:

Post a Comment