• Tidak ada hasil yang ditemukan

INSTITUTE OF AERONAUTICAL ENGINEERING - IARE

N/A
N/A
Protected

Academic year: 2024

Membagikan "INSTITUTE OF AERONAUTICAL ENGINEERING - IARE"

Copied!
2
0
0

Teks penuh

(1)

Hall Ticket No Question Paper Code: ACSB01

INSTITUTE OF AERONAUTICAL ENGINEERING

(Autonomous)

Four Year B.Tech I Semester End Examinations (Regular) - November, 2018 Regulation: IARE – R18

PROGRAMMING FOR PROBLEM SOLVING

Time: 3 Hours (Common to AE | ME) Max Marks: 70

Answer ONE Question from each Unit All Questions Carry Equal Marks

All parts of the question must be answered in one place only

UNIT – I

1. (a) Draw the block diagram and explain in detail the different components of a computer system.

[7M]

(b) What is an operator? Explain the different types of operators in C Language with a suitable

programming example. [7M]

2. (a) What are the steps in creating and running a C program? [7M]

(b) Write a C program for calculating the mean and median of ‘n’ numbers. [7M]

UNIT – II

3. (a) Explain the syntax of a switch statement with an example. [7M]

(b) Write a C Program to evaluate simple expressions of the form “number operator number” using

necessary decision making constructs. [7M]

4. (a) State the difference between entry and exit controlled loop with an example. [7M]

(b) Write a C program to read the age of 15 persons and find out how many of them fall under the

following categories using while loop [7M]

i) Still a baby- age 0 to 5

ii) Attending school - age 6 to 17 iii) Adult life-age 18 & over

UNIT – III

5. (a) What are the different ways of passing parameters to a function? Explain. [7M]

(b) Write a C program using the concept of functions to swap the values of variables without using

third variable. [7M]

Page 1 of 2

(2)

6. (a) Discuss recursion concept in C with a suitable example. [7M]

(b) What is a string? How to declare the strings using array and pointer? Discuss the string handling functions. Write a C program to count the vowels in the given string. [7M]

UNIT – IV

7. (a) Explain the different ways of passing each member of a structure object as a separate argument

with suitable example. [7M]

(b) Define NULL pointer. List any 4 advantages of using pointers? Write a C program to display the pointer address before and after incrementing the pointer using arithmetic operation. [7M]

8. (a) Explain in detail about array of structures and pointer to a structure with example. [7M]

(b) Write a C program to store the following information(fields:bookname,page,price) of 100 books

using array of structures. [7M]

UNIT – V

9. (a) Explain the various file handling functions with its declarations and write C program to explain

them. [7M]

(b) What are command line arguments? Write a program to check if a single argument is supplied

on the command line when the program is invoked. [7M]

10. (a) Write a C Program to sort the given array in descending order using Bubble Sort. [7M]

(b) With suitable programming example, explain how random read and write operations can be

performed in C Language using the file I/O system. [7M]

− ◦ ◦ ◦ ◦ −

Page 2 of 2

Referensi

Dokumen terkait

a Discuss working methods of various turbo jet engine with suitable sketches.. [7M] b Discuss about different types of air breathing engines and non-air breathing

[7M] UNIT-V 9.a Explain different components of aircraft wing with help of diagram and explainabout the types load bared by each component.. [7M] .b What do you understand by the

a Explain in detail about different flame holders used inside a combustion chamber with a neat diagram.. [7M] b Explain in brief different types of combustion chamber with neat

[7M] b Explain solid based rapid prototyping systems and laminated object manufacturing model and its working principle.. a Explain the critical factors that influence the performance

a List the properties of cross power density spectra of input and output random processes of a LTI system.. [7M] b A random process has the power density spectrum SXXw=w2/w2+1.Find

a Explain the working principle of a full wave bridge rectifier with neat circuit diagram and list its advantages and disadvantages.. [7M] b Classify types of

[7M] b Briefly explain the sequence of steps to be followed to prepare a formal organisation structure of an organization... a What do you mean by organizational

[7M] b The time perspective principle and incremental cost concepts are both special application of opportunity cost reasoning, Explain.. a Define elasticity of