[This question paper contains 2 printed pages.]
Sr.No. of Question Paper : 8406 c Roll No...
Unique Paper Code 2 222303
Name of the Paper : PHHP-308 ~ Microprocessor and Computer Programming (P)
Name of the Course : B.Sc. (Hons.) Physics, Part II
Semester 2
Duration : Hour
Maximum Marks : 20
Instructions for Candidates
1. Write your Roll No. on the top immediately on receipt of this question paper.
2. Attempt any twenty questions.
3. All questions carry equal marks.
4. Calculators are not allowed
1. If x=6 predict the values of x and y in the following :
y = (44x) + (44x);
2. If.a=4, b=3 in a C++ program, what will be the value of a && b?
3. Predict the output of the following code segment :
int n=7;
nt=2;
cout<