CE010502 Computer Programming B.Tech Model Question Paper : mgu.ac.in
Name of the University : Mahatma Gandhi University
Department : Civil Engineering
Degree : B.Tech
Subject Code/Name : CE 010502/Computer Programming
Sem : V
Website : mgu.ac.in
Document Type : Model Question Paper
Download Model/Sample Question Paper : https://www.pdfquestion.in/uploads/mgu.ac.in/5335-CE502(1).doc
Computer Programming Model Question Paper :
B. TECH Degree Examination, May 2012 :
Fifth Semester :
CE 010502
Time: Three Hours
Maximum Mark: 100
Related : Mahatma Gandhi University Aerodynamics II B.Tech Model Question Paper : www.pdfquestion.in/5334.html
PART A :
(Answer All Questions)
1. Differentiate between Identifiers and keywords
2. Compare ‘while’ and ‘do-while’?
3. What is meant by ‘pointers’ in C.?
4. Briefly explain with an example, a structure definition and declaration in C.
5. What is meant by ‘data files’ in C. Write a ‘C’ statement to open a data file. (5×3 = 15)
PART B :
(Answer All Questions)
6. Briefly explain with examples,
i] if-else
ii] Switch
7. Differentiate between ‘break’ and ‘continue’ with examples.
8. Briefly explain how arrays are passed to functions in ‘C’ programs.
9. Briefly explain dynamic memory allocation in C.
10. Briefly explain any five file handling functions in C with examples. (5×5 = 25)
PART C :
Module I :
11. Given a set of hundred integers. Evolve an algorithm to find,
i] The total number of even integers
ii] The total number of odd integers
iii] Sum of all numbers divisible by 5.
OR
12 a] Explain the input –output functions used in C programming.
b] Write a C program to find the average of ‘n’ numbers.
Module II :
13. a] Explain various storage classes used in C-programming with examples.
b] Explain different ways of passing arguments to a function.
OR
14. Write a C program to find the sum of the series
Module III :
15. Write a C program to sort a set of names in alphabetic order
OR
16 Write a C-program which uses a function to find the transpose of a given Matrix.
Module IV :
17. Write a C-program to read the details of employees working in a company. The details include name, age, date, of joining and salary. Make use of a structure to develop the program.
OR
18 Write a C-program to sort a set of mark sheets of ‘n’ students. The mark sheet consists of the register number, name, marks of four subjects and total marks. Make use of a structure to develop the program.
Module V :
19. Write C program to copy the contents of one file to another file.
OR
20. A file name DATA contains a set of ‘n’ integers. Write a C program to read these numbers and write the numbers divisible by 7 to a file named DIV7 and divisible by 9 to a file named DIV9.
Design Of Concrete Structures – I :
Time : 3 hours.
Max:100 marks
PART A : Short answer questions (one/two sentences) 5 x 3 marks=15 marks
All questions are compulsory.
1. What is a balanced section according to the working stress theory?
2. Write about partial safety factors in the limit state method of RC design.
3. Write in short on flat slabs.
4. What is the minimum eccentricity to be considered in the design of short columns?
5. Name the two types into which the slab types of stair case can be broadly divided into.
PART B : Analytical/Problem solving questions 5 x 5 marks=25 marks
All questions are compulsory.
6. A rectangular beam is 300 mm wide and 550mm effective depth. Determine the area of tension reinforcement required in the section for it to be a balanced section.M20 concrete and Fe 250 steel are used.
7. Determine the minimum effective depth required and the corresponding area of tension reinforcement for a rectangular beam having a width of 200mm to resist an ultimate moment of 200 kNm, using M20 concrete and Fe 415 HYSD bars.
8. Distinguish between the structural actions of one way and two way slabs.
9. What are the advantages of columns with helical reinforcement?
10. Explain the structural action of a combined footing.
PART C : Descriptive/Analytical/Problem solving questions 5 x 12 marks=60marks
11. A rectangular beam 300 mm x 600mm is reinforced with 3 nos. of 20mm diameter rods on the tension side and 2 nos. of 16 mm diameter rods on the compression side. Effective cover to both faces may be taken as 50mm. Estimate the moment of resistance of the section by working stress method. Use M 20 grade concrete and Fe 415 steel.
OR
12. a) A rectangular beam of M15 concrete is 250mm wide and 500mm deep overall. Four 20mm dia steel rods of Fe 415 grade are provided as tension reinforcement at an effective cover of 40mm. Find the depth of neutral axis. 4 Marks
b) Calculate the moment of resistance of a singly reinforced concrete beam having 300mm width and 400mm effective depth. It is reinforced with 3 bars of 12mm diameter. M20 concrete and Fe 415 steel are used. 8 Marks