Exam Details
Subject | computer programming | |
Paper | ||
Exam / Course | b.tech | |
Department | ||
Organization | SETHU INSTITUTE OF TECHNOLOGY | |
Position | ||
Exam Date | May, 2017 | |
City, State | tamil nadu, pulloor |
Question Paper
Reg. No.
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
First Semester
Civil Engineering
01UCS106 COMPUTER PROGRAMMING
(Common to ALL Branches)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 2 20 Marks)
1. What is an algorithm?
2. What are the advantages and disadvantages of flow charts?
3. What are the types of control structures in
4. Write a C program to print numbers from 1 to 100 using for loop.
5. What is an array?
6. What is a string.?
7. What are pre-defined functions? Give example.
8. Define pointer in C.
9. Define structure.
10. What is the use of Union Function?
Question Paper Code: 31016
2
31016
PART B x 16 80 Marks)
11. Explain the generation of Digital computers in detail.
Or
Explain the basic organization of a computer.
12. Explain the structure of a C program.
Or
Explain the increment and decrement operators and conditional operators in C.
13. Explain some string handling functions with example C programs.
Or
Explain bubble sort with an example.
14. Explain predefined function and user-defined function with an example.
Or
Explain call by value and call by reference.
15. What are pre-processor directives? Explain any four directives with example.
Or
What are the storage classes in Explain them in detail with example.
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
First Semester
Civil Engineering
01UCS106 COMPUTER PROGRAMMING
(Common to ALL Branches)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 2 20 Marks)
1. What is an algorithm?
2. What are the advantages and disadvantages of flow charts?
3. What are the types of control structures in
4. Write a C program to print numbers from 1 to 100 using for loop.
5. What is an array?
6. What is a string.?
7. What are pre-defined functions? Give example.
8. Define pointer in C.
9. Define structure.
10. What is the use of Union Function?
Question Paper Code: 31016
2
31016
PART B x 16 80 Marks)
11. Explain the generation of Digital computers in detail.
Or
Explain the basic organization of a computer.
12. Explain the structure of a C program.
Or
Explain the increment and decrement operators and conditional operators in C.
13. Explain some string handling functions with example C programs.
Or
Explain bubble sort with an example.
14. Explain predefined function and user-defined function with an example.
Or
Explain call by value and call by reference.
15. What are pre-processor directives? Explain any four directives with example.
Or
What are the storage classes in Explain them in detail with example.
Subjects
- applied chemistry
- applied physics
- basic civil and mechanical engineering technical english – ii
- basic electrical & electronics engineering
- computer programming
- digital principles and system design
- electric circuits
- electronic devices
- engineering chemistry
- engineering graphics
- engineering mathematics – i
- engineering mathematics – ii
- engineering physics
- environmental science
- material science