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
15UCS107 COMPUTER PROGRAMMING
(Common to ALL branches)
(Regulation 2015)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 1 10 Marks) 1. C language was developed by Dennis Richie Martin Richards Bill Gates Ken Thompson 2. A character variable can store x characters at a time 1 character 8 character 256 character None of these
3. Which of the following special symbol allowed in a variable name?
(asterisk) (pipeline) (hyphen) (underscore)
4. Which of the following is the correct usage of conditional operators used in a>b c=30 a>b max a>b return 5. Which operator is used to continue the definition of macro in the next line?
Question Paper Code: 50207
2
50207
6. What will the statement char store in variable ch? The character A ASCII value of character A A along with inverted commas all the above 7. In an array there is one to one correspondence between set of and set of values. Indices Memory Locations Constants Variables 8. What is the built in library function to adjust the allocated dynamic memory size malloc calloc realloc resize 9. What is Representation of null pointer Representation of void pointer Error None of these 10. In which header file is the NULL macro defined? stdio.h stddef.h stdio.h and stddef.h math.h
PART B x 2 10 Marks)
11. Find the decimal equivalent of the hexadecimal number 4D.C8.
12. What is a pseudocode? Write the rules for pseudocode.
13. Write a C program to print the leap year from 2000 to 2015.
14. What is meant by recursion?
15. How structure different from array?
PART C x 16 80 Marks)
16. Explain in detail about the different types of memory.
Or
List in detail about the steps involved in problem solving.
17. Describe in detail formatted and unformatted I/O with example
Or
3
50207
Categorize different types of operators in C with the operator precedence chart. Give example programs.
18. Write a C program to search for element using binary search.
Or
Write a menu driven program which has following options: Factorial of a number Prime or not Odd or even Exit.
19. Explain about the different parameter passing method with examples.
Or
Discuss any four string handling functions in C.
20. Explain briefly the preprocessor directives.
Or
Write notes on storage classes in C with example.
4
50207
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
First Semester
Civil Engineering
15UCS107 COMPUTER PROGRAMMING
(Common to ALL branches)
(Regulation 2015)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions
PART A (10 x 1 10 Marks) 1. C language was developed by Dennis Richie Martin Richards Bill Gates Ken Thompson 2. A character variable can store x characters at a time 1 character 8 character 256 character None of these
3. Which of the following special symbol allowed in a variable name?
(asterisk) (pipeline) (hyphen) (underscore)
4. Which of the following is the correct usage of conditional operators used in a>b c=30 a>b max a>b return 5. Which operator is used to continue the definition of macro in the next line?
Question Paper Code: 50207
2
50207
6. What will the statement char store in variable ch? The character A ASCII value of character A A along with inverted commas all the above 7. In an array there is one to one correspondence between set of and set of values. Indices Memory Locations Constants Variables 8. What is the built in library function to adjust the allocated dynamic memory size malloc calloc realloc resize 9. What is Representation of null pointer Representation of void pointer Error None of these 10. In which header file is the NULL macro defined? stdio.h stddef.h stdio.h and stddef.h math.h
PART B x 2 10 Marks)
11. Find the decimal equivalent of the hexadecimal number 4D.C8.
12. What is a pseudocode? Write the rules for pseudocode.
13. Write a C program to print the leap year from 2000 to 2015.
14. What is meant by recursion?
15. How structure different from array?
PART C x 16 80 Marks)
16. Explain in detail about the different types of memory.
Or
List in detail about the steps involved in problem solving.
17. Describe in detail formatted and unformatted I/O with example
Or
3
50207
Categorize different types of operators in C with the operator precedence chart. Give example programs.
18. Write a C program to search for element using binary search.
Or
Write a menu driven program which has following options: Factorial of a number Prime or not Odd or even Exit.
19. Explain about the different parameter passing method with examples.
Or
Discuss any four string handling functions in C.
20. Explain briefly the preprocessor directives.
Or
Write notes on storage classes in C with example.
4
50207
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