Current Papers

Midterm Spring 2026
1,518 views
CS201 - CS201

01 Jun 2026 at 05:37 PM

Mcqs were conceptial and mostly from handouts (proper reading needed) 1. how many elements in this 2d array [3][3] ans:9 2. Program should be ____? ans:user friendy 3. one mcq was from linker and load…

Mcqs were conceptial and mostly from handouts (proper reading needed) 1. how many elements in this 2d array [3][3] ans:9 2. Program should be ____? ans:user friendy 3. one mcq was from linker and loader 4. cout<<'''x+y="<<z .. consider x=10 and y=5 5. if x=5 then x%2= --ans:1 6. one was repetition and one from conditions(read handoutsproperly bcz it was hard) 7. we should use this less in programming a) switch b) default c) continue break c) loop .. idk the answer short Q1: Give output of the following program int a=1; while (a<=10) if( a%3 !=0) continue;{ cout<<a<<" ": a++ } Short Q2: how many file modes are there? name atleast any three ( This was from (file handling lecture no 19) which wasnt included in the syllabus) Long Q1: Give an output (i dont remember but it was so easy) Long Q

View Full Paper
Share
Shared by Areefa Ali 1 month ago
© 2026 VUCTN. All rights reserved. v1.0.0