Você está na página 1de 14
MULTIMEDIA STUDENT 1D NO UNIVERSITY LLL VENUE: ‘TABLENO: MULTIMEDIA UNIVERSITY FINAL EXAMINATION TRIMESTER 1, 20157016 ‘TCP1121 ~ COMPUTER PROGRAMMING. (All setions / Groups ) (Question | Mark 1 | OCTOBER 2015, rc —— 23 pm-430 pm °2 Hours (2 Hous) Toial_| INSTRUCTION TO STUDENT 1. This Question paper consists of 14 pages with $ Questions only. 2. Question 1 is compulsory 3. Attempt any THREE fom Question? t0 Question 5 4. ach question carries 10 marks and the distribution of the marks is given, 5. Please write all your answers in this Question pape. yomu,_____coneummenocawwn ras Qeeston Alstudets mast answer this question ‘ite the ouput asthe result of exection of the following code segments. [10 mas) @ intu=7, v= 6, w= x= dele) Wed else wns © ane nant = walle (nut != 14( ‘cout << muni << endl nami = © for (int 4 ty Seay 4490 ine y= £8 3p suiten (yi ‘case 0: ‘cout < "Certain "<> hedght(4]? cout.sett (ios: :fixed | ios cout -precision(1); showpoint): int: temp: 7 Your Code should be inserted ere cout << Whe height of the players ir descending onde: for(int 60; <5; it) cout << height ti] <<" "y cout <<*\nthe tallest player is "> mnt cout << "Enter the second number: ‘cin >> mond; ‘computatios (numl,nun2,add, au) 7 cout =0 64 mazk<#100) ‘cout<<"Your marks ie "cenarkecendly else Envalid input "<

Você também pode gostar