Vous êtes sur la page 1sur 7

Visit us at:

http://mritsece.blogspot.com
Collected, Edited & Typed by: G Ashwini Reddy
st
The CDS 1 unit:
FUNDAMENTAL CONCEPTS OF ‘C’
AND INPUT OUTPUT CONTROL
STATEMENTS
1) Write about space requirement for variables of
different data types?
(Aug/sep-07, Set-1, Set-4
April/may-07, Set-1, Set-4
Aug/sep-06, Set-4
May/june-06, Set-1, Set-02)
‘OR’
List the entire data types in C. What is the size of each
of these data types?
(Aug/sep-06, Set-3
May/June-06, Set-1)
‘OR’
Name and describe any four basic data types in C.
(Nov/Dec-04, Set-2
May/June-04, Set-2
June-05, Set-1)
‘OR’
Name the different data types that C supports and
explain them in detail.
(June-05, Set-1
April-03, Set-3
June-02, Set –3
June-01, Set-1)
2) Write the various steps involved in executing a C
program and illustrate it with the help of flow chart?
(May/jun-06, Set-4
June –05- Set-4
Nov-03, Set-1)
3) Give and explain structure of C program.
(Nov/Dec-04, Set-1
May/ june-04, Set-1
June-05, Supp)
4) What are the general characteristics of C?
(Nov/Dec –04, Set-1
May/June-04, Set-1)

5) What is the difference between signed integer and


unsigned integer in terms of memory and range?
(Aug/Sep –06, Set-3
May/June-04, Set-1)
6) Name and describe the four data type qualifiers. To
which data types can each qualifier be applied?
(Nov/Dec-04, Set-2
May/June-04, Set-2)
7) What are constants? Explain any four basic types of
constants.
(May/June-04, Set-2
June-05, Set-1
Nov/Dec-04, Set-2
April-03, Set-3)
‘OR’
What are different types of integer constants, character
constants, string constants, backslash character
constants?
(June-05, Set-1
May/June-04, Set-3
June-02, Set-2 )

8) What is variable? How can variable be


characterized? Give the rules for variable declaration.
(April/May-07, Set-2
May/June-04, Set-4)
9) What is an operator? Describe different types of
operators that are included within the ‘C’ language with
an example for each.
(Aug/Sep-06, Set-1
Nov/Dec-05, Set-4
Nov/Dec-04, Set-4
June-02, Set-4)
10) What are logical operators used in C? Illustrate
with examples.
(Aug/Sep-07, Set-2
April/May-07, Set-1
Nov-03, Set-3)
11) What is an expression? What kind of information is
represented by an expression?
(Aug/Sep-06, Set-1
Nov/Dec-05, Set-4
Nov/Dec-04, Set-4)
12) What are the commonly used input functions in C?
How are they accessed?
(Aug/Sep-07, Set-1
April/May-07, Set-3
Nov/Dec-04, Set-1)
13) Summarize the standard escape sequences in C.
Describe them.
(April/May-07, Set-2
May/June, Set-4)
14) What is the purpose of switch statement? How does
this statement differ from the other statement?
(Aug/Sep-06, Set-2
Nov/Dec-05, Set-3
June-01, Set-1)
15) Write a C program to determine and print the sum
of the following series for a given values of n:
(a) 1+1/2+1/3+…………+1/n.
(b) 1+x+x2+x3+……..+xn,0<x<1
(Aug/Sep-07, Set-2
April/May-07, Set-1
May/June-04, Set-1
June-05, Set-3
Nov-03, Set-3)
16) Write a C program to print the Pascal’s triangle.
(Nov/Dec-04, Set-1
May/June-04, Set-1)
17) An electric power distribution company its domestic
consumers as follows,
Consumption Rate of
Units charge
0-200 Rs.0.50 per
unit
201-400 Rs.100 plus
Rs.0.65 per
unit excess
200
401-600 Rs.230 plus
Rs.0.80 per
unit excess
of 400

Write a C program that reads the customer number and


power consumed and prints the amount to be paid by
the customer.
(Aug/Sep-06, Set-2
Nov/Dec-05, Set-3)

18) What is an algorithm? What are the basic


characteristics of an algorithm . Explain with an
example.
(April/May-03, Set-1
June-02, Set-1)
19) Write an algorithm to find the roots of a quadratic
equation foe all the class?
(April/May-03, Set-1)
20) Write an algorithm and flowchart for finding the
maximum and minimum for a given set of numbers.
(June-2000)
21) What is flowchart? Explain the different symbols
used in flowchart?
(June-05, Set-2
Nov/Dec-05, Sup
April-03, Set-2)
22) Discuss the various steps that are needed in
preparation and execution of a ‘C’ program and
illustrate it with help of flowchart?

23) Write a program to find the maximum and


minimum of given numbers?
(June-05, Set-2
June -2000)
24)
(a) What is the difference between break and continue
statements? Explain with examples.
(b) What is the purpose of go to statement? How is the
associated target statement identified?
(June-05, Set-3)
24) Explain with examples the bit-wise, increment and
decrement operators in C. Give one application that
uses bit wise operators.
(Nov/Dec-2000
Dec-01 supp)
25) Write a C-language program to list all the prime
numbers below 100?
(Nov/Dec-2000)
26) Write a flowchart for determining whether the given
triangle is equilateral or isosceles or right angled or
none of these from the sides of the triangle.
(Nov/Dec-2000)
27) Explain different control structures in ‘C’ with
program examples
(June 2000)
28) Explain different storage classes supported in C.
(june-01)
29) What is token? Explain tokens in C-language.
(June-02, Set-4)
30) Distinguish between algorithm and program?
(June –02, Set-3)
31) Give the syntax of the following C construct and
explain them
(a) Input - output statement
(b) Function declaration
(c) Case statement
(June-02, Set-1)
32) Write a program to read the values of x ,y ,z and
print the results for following expression in one line
a =x + y + z/x – y - z;
b =x – y – z/3
c =(x + y)(x – y)(y – z)
(Nov-03, Set-4)

Vous aimerez peut-être aussi