Programming Fundamentals MSCS 3 Semester/Term Islamia University Bhawalpur (IUB) 2014
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
More Programming Fundamentals papers
See all
Programming Fundamentals BS 1 Semester/Term UOS — University of Sargodha 2023
Uploaded 26 days ago
Download ↓
Programming Fundamentals (CMPC-5201) I.T/CS/SE University of Sargodha - ADP/BS 1' Semester Examination 2025
Uploaded 10 months ago
Download ↓
Programming Fundamentals ADP/BS 1 Semester/Term PU — University of the Punjab 2025
Uploaded 11 months ago
Download ↓
Programming Fundamentals ADP 2 Semester/Term University Of Sargodha (UOS) 2024
Uploaded 1 year ago
Download ↓
Programming Fundamentals BS 1 Semester/Term University Of Sargodha (UOS) 2024
Uploaded 2 years ago
Download ↓
Programming Fundamentals MPhil Information Technology/MS Information Technology/MSc Information Technology 1 Semester/Term University Of Sargodha (UOS) 2017
Uploaded 2 years ago
Download ↓
Paper text
com
Class:MCS (3r Semester) Final Term
Subject: Programming Fundamentals
Time: 100 Minutes
Name:
Nudrat Batoal.
The Islamia Unibersity of Bahabalpur, Pakistan
DEPARTMENT OF COMPUTER SCIENCE
IUB Affiliated Colleges
ustadni.co
Session: 2014-16
Code: CSIT 31101
Total Marks: 45
US
Roll. No. 2004
Q#02: Expand and explain with examples
a.
b.
Local and Static Variable
Default Parameters
C.
d.
Structure and Union
e. Post Test and Pre Test Loop
f. getch() and getche
g. Types of Files
[7*3=21)
Q#03: Suppose your Computer does not support% operator. Write a function that performs same
functionality such as remainder operator but don't use remainder operator. J
[08]
Q# 04: Write a menu driven program using Switch, input choice from user and display the following menu:
1. Round No.
2. Search the Array
f entered choice is 1: Invoke user defined "Round No" function to round a floating point number if it:
ractional part is greater than 0.5, and if entered choice is 2: invoke "Binary_Search" function to search a
value in an array[10] of integers using binary search method.
[08]
Q # 05: a. Write a program that creates a file to store name and email of the user using structure. [04]
b. Write a program that inputs five integers and stores it in a file using binary /O.
[04]
Q # 06: a. Write a program that inputs ten integers in an array and passes the array to a Sort function
that sorts the array using selection sort./
[08]
visit website: ustadni.com