PPS Midsem (11) PDF - Mid-Term Exam 2023
Document Details
Uploaded by ZippyDiction
The LNM Institute of Information Technology
2023
LNMIIT
Tags
Summary
This is a mid-term exam paper for Programing for Problem Solving from LNMIIT, 2023, containing questions and programming code examples.
Full Transcript
LNMIIT/B. Tech./CSE/Core/2023-24/0DD/CSEXXX/MT LNMIIT The LM...
LNMIIT/B. Tech./CSE/Core/2023-24/0DD/CSEXXX/MT LNMIIT The LM Iosttutehnology Information f The LNM Institute of Information Technology, Jaipur CSExxx: Programning for Problem Solving 2023-24 Odd Semester Mid-Term Exam Roll No: 23 UME S37 Name: oome Singh 2023 Time: 90 Mins Date: 16th October Max Marks: 30 CO3 C04 COS CO1 CO2 Total Total Questions Marks Q1-4, Q3 - 5, Q4 4, Q5-5 30 Q12 Ql-6, Q2 4 18/30 = 60% 2/30 = 7% 10/30= 33% CO weightage Instructions: mandatory. There are 5 questions. Allthe questions are accompanied by the correct justification. a. just the finalanswer unless b. No marks for providing assumptions precisely, as and when required. C. Make and state [2+2-2-2-2+2-12]| same. Give Proper Explanation state error for codes if its error free else Q1. Find the output of given #include int main( ) int n=5, count = 0, arr[ ]={1,3,2, 1,4,6}; Onl1, uthit: 132+9 int narr, j: for (int i=0; i< n; i++) for (j = 0; j