Home /UOG — University of Gujrat /Hafiz Hayat Campus /Programming Fundamentals

Programming Fundamentals BE/BSSE UOG — University of Gujrat 2022

Programming Fundamentals BE/BSSE UOG — University of Gujrat 2022 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Bushra· 21 hours ago

    BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…

    0 replies Reply →
  • Khadija· 2 days ago

    Civics course code GCCE101

    1 reply Reply →
  • Tasddaq hussain· 2 days ago

    BS 4the semester2025 civics and community engagement past paper According UOs

    0 replies Reply →
  • Humna Khan· 3 days ago

    Bs public administration 1st semester mid term past papers

    0 replies Reply →
  • Rania· 3 days ago

    BS English from uni of Sargodha Functional English, history of old English literature, literary devices and genres,

    0 replies Reply →
Ad

Paper text

11:26 You January 12, 3:29 PM Neira RelI ne 090 University of Gujrat, Gujrat Department of Software Engineering Mid Tom Exams Fall 2022 Course: Programming Fundamentals (SE-101) Program: BSSE Marks: 25 Time: 90 Mins Question No 1: Answer the following short questions (EX2=10] a) Write down the output, also mention how did you draw b) Wilte down the output, also mention how did you draw that output Int mainOi for(int i=0; k<5; I*+) int main() #(==3}; forint i=0; (<5; i++) continue; cout<b || b%7==0) couteek cout<<(a>b); #cout<<"Good Luck": e) Write down a short program to calculate the square root of an integern and print it on the consale Question No 2: Write down a program to take an integer form the user in print its factorial. [7 5] Question No 3: Write down a program to faciliate a milkman who can input the price of milk per liter and the milk sold each day, to a customer and pet the total amount to be collected from that specific customer. The program should continue to take input from the user until -t is not entered as date The output may be as following 17.51 Enter the price of milk per liter. 160 Date Quantity (liters) 1 1:5 1 price 240 160 -1 Total 400 GOOD LUCK