Full width home advertisement

Grade 10 Revision

Post Page Advertisement [Top]

C-PROGRAMMING CONCEPTUAL QUESTIONS

                                   INTRODUCTION TO C
1) Define C-language.
Ans: C-language is a structured programming language that divides program into many functions.

2)      When and who developed C-language?
Ans: Dennis Ritchie at Bell telephone laboratory developed C-language in 1972 AD.

3) Why is C called middle level language?
Ans: C is called middle level language because it combines elements of high level language with some features of assembler. A high level language tries to give programmer everything through built-in language. A low level language forces programmer to define function directly from user level.

4) What are the uses of C-language?
Ans: C is mostly used to write system program such as operating system, language, compiler, text editor, language interpreters, utilities, etc.

5) List the basic data types used in C with their memory consumption.
Ans: The basic data types used in C are:
Data Type
Description
Byte
Range
Char
Character
1
0-256
Int
Integer
2
33767-32767
Float
Single precision
4
6 digits of precision
Double
Double precision
8
12 digits of precision

6.) List the characteristics of C-language.
Ans: The characteristics are :
i) It is a high level language with some features of low level language.
ii) It is mostly used to prepare system software.
iii) It is structured programming language with function procedure.
iv) It supports local and global variable.


No comments:

Post a Comment

Bottom Ad [Post Page]