O Level Previous Paper Group
O Level Previous Paper Group
February 11, 2025 at 01:49 PM
Q(1) Write a Program That takes two integers as input and Performs The Following Bitwise Operations 👉AND 👉OR 👉XOR 👉Left Shift ( by 2 ) 👉Right Shift ( by 2) a=1 b=2 result = a & b print (result) result = a | b print ( result ) result = ~a print ( result ) result = a ^ b print ( result ) Q(2) Writer a Program To Print Reverse Of Strings s="Hello World " rev = s [ : : -1] Print (rev) Q(3) Write a Program That Calculated The final Grade of a Students based on Scores in Assignment, Quizzes, and Exams use a Modular Approach Where Each Part ( Calculating Average ) is implement function 11 February #m3r5 ✍️ Satya Sir 👉https://t.me/O_levelpaper

Comments