Professional Documents
Culture Documents
ITP FinalTerm Paper Fall 2018 PDF
ITP FinalTerm Paper Fall 2018 PDF
Subject: Introduction to Programming Exam: Final Term (Fall 2018) Department: Software Engg
Max Marks: 50 Batch: 8th Time Allowed: 2 hour
Q1. Write a program to store and print the roll no., name, age and marks of a student using structures. [5]
Q2. Create a structure to specify data of customers in a bank. The data to be stored is: Account number, Name,
Balance in account. Assume maximum of 20 customers in the bank. [6]
(a) Write a function to print the Account number and name of each customer with balance below Rs. 100.
Q3. Write a program that will display cube of only odd positioned values of a non linear array of size 4*3. [6]
Q4. Write a program to find the length of a string using user defined functions. [6]
Q5. Twenty-five numbers are entered from the keyboard into an array. Write a program to find out how
many of them are positive, how many are negative, how many are even and how many odd. [7]
Q6. Write a program that converts all lowercase characters in a given string to its equivalent uppercase
character. [5]
Page 1 of 1