Exam Details
Subject | programming for problem solving | |
Paper | ||
Exam / Course | b.tech | |
Department | ||
Organization | Institute Of Aeronautical Engineering | |
Position | ||
Exam Date | December, 2018 | |
City, State | telangana, hyderabad |
Question Paper
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. Draw the block diagram and explain in detail the different components of a computer system.
What is an operator? Explain the different types of operators in C Language with a suitable
programming example.
2. What are the steps in creating and running a C program?
Write a C program for calculating the mean and median of numbers.
UNIT II
3. Explain the syntax of a switch statement with an example.
Write a C Program to evaluate simple expressions of the form "number operator number" using
necessary decision making constructs.
4. State the difference between entry and exit controlled loop with an example.
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
Still a baby- age 0 to 5
ii) Attending school age 6 to 17
iii) Adult life-age 18 over
UNIT III
5. What are the different ways of passing parameters to a function? Explain.
Write a C program using the concept of functions to swap the values of variables without using
third variable.
Page 1 of 2
6. Discuss recursion concept in C with a suitable example.
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.
UNIT IV
7. Explain the different ways of passing each member of a structure object as a separate argument
with suitable example.
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.
8. Explain in detail about array of structures and pointer to a structure with example.
Write a C program to store the following information(fields:bookname,page,price) of 100 books
using array of structures.
UNIT V
9. Explain the various file handling functions with its declarations and write C program to explain
them.
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.
10. Write a C Program to sort the given array in descending order using Bubble Sort.
With suitable programming example, explain how random read and write operations can be
performed in C Language using the file I/O system.
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. Draw the block diagram and explain in detail the different components of a computer system.
What is an operator? Explain the different types of operators in C Language with a suitable
programming example.
2. What are the steps in creating and running a C program?
Write a C program for calculating the mean and median of numbers.
UNIT II
3. Explain the syntax of a switch statement with an example.
Write a C Program to evaluate simple expressions of the form "number operator number" using
necessary decision making constructs.
4. State the difference between entry and exit controlled loop with an example.
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
Still a baby- age 0 to 5
ii) Attending school age 6 to 17
iii) Adult life-age 18 over
UNIT III
5. What are the different ways of passing parameters to a function? Explain.
Write a C program using the concept of functions to swap the values of variables without using
third variable.
Page 1 of 2
6. Discuss recursion concept in C with a suitable example.
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.
UNIT IV
7. Explain the different ways of passing each member of a structure object as a separate argument
with suitable example.
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.
8. Explain in detail about array of structures and pointer to a structure with example.
Write a C program to store the following information(fields:bookname,page,price) of 100 books
using array of structures.
UNIT V
9. Explain the various file handling functions with its declarations and write C program to explain
them.
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.
10. Write a C Program to sort the given array in descending order using Bubble Sort.
With suitable programming example, explain how random read and write operations can be
performed in C Language using the file I/O system.
Other Question Papers
Subjects
- ac machines
- advanced databases
- aircraft materials and production
- aircraft performance
- aircraft propulsion
- aircraft systems and controls
- analog communications
- analysis of aircraft production
- antennas and propagation
- applied physics
- applied thermodynamics
- basic electrical and electronics engineering
- basic electrical engineering
- building materials construction and planning
- business economics and financial analysis
- compiler design
- complex analysis and probability distribution
- computational mathematics and integral calculus
- computer networks
- computer organization
- computer organization and architecture
- computer programming
- concrete technology
- control systems
- data structures
- database management systems
- dc machines and transformers
- design and analysis of algorithms
- design of machine members
- digital and pulse circuits
- digital communications
- digital ic applications using vhdl
- digital logic design
- digital system design
- disaster management
- disaster management and mitigation
- discrete mathematical structures
- dynamics of machinery
- electrical circuits
- electrical measurements and instrumentation
- electrical technology
- electromagnetic field theory
- electromagnetic theory and transmission lines
- electronic circuit analysis
- electronic devices and circuits
- elements of mechanical engineering
- engineering chemistry
- engineering drawing
- engineering geology
- engineering mechanics
- engineering physics
- english
- english for communication
- environmental studies
- finite element methods
- fluid mechanics
- fluid mechanics and hydraulics
- fundamental of electrical and electronics engineering
- fundamental of electrical engineering
- gender sensitivity
- geotechnical engineering
- heat transfer
- high speed aerodynamics
- hydraulics and hydraulic machinery
- image processing
- industrial automation and control
- instrumentation and control systems
- integrated circuits applications
- introduction to aerospace engineering
- kinematics of machinery
- linear algebra and calculus
- linear algebra and ordinary differential equations
- low speed aerodynamics
- machine tools and metrology
- mathematical transform techniques
- mathematical transforms techniques
- mechanics of fluids and hydraulic machines
- mechanics of solids
- mechanism and machine design
- metallurgy and material science
- microprocessor and interfacing
- modern physics
- network analysis
- object oriented analysis and design
- object oriented programming through java
- operating systems
- optimization techniques
- power electronics
- power generation systems
- probability and statistics
- probability theory and stochastic processes
- production technology
- programming for problem solving
- pulse and digital circuits
- reinforced concrete structures design and drawing
- software engineering
- strength of materials - i
- strength of materials - ii
- structural analysis
- surveying
- theory of computation
- theory of structures
- thermal engineering
- thermo dynamics
- thermodynamics
- tool design
- transmission and distribution systems
- unconventional machining processes
- waves and optics
- web technologies