Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #9 (i) Write a program to print the following patterns: Python Program: (ii) Write a program to generate below pattern: Python Program: (iii) Write a program to generate below pattern: Python Program: NCERT Computer Science Class 11 Chapter 6 Solutions […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #13
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #8 Write a function that checks whether an input number is a palindrome or not. Python Program: You can checkout the code from Github here – Programming Exercises – 8 Explanation of the Code: Example Output: NCERT Computer Science Class […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #12
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #7 Write a program to find the sum of digits of an integer number, input by the user. Python Program: You can checkout the code from Github here – Programming Exercises – 7 Explanation of the Code: Example Output: NCERT […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #11
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #6 Write a program to find the sum of 1+ 1/8 + 1/27……1/n3, where n is the number input by the user. Python Program: You can checkout the code from Github here – Programming Exercises – 6 Explanation of the […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #10
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #5 Write a program to generate the sequence: –5, 10, –15, 20, –25….. upto n, where n is an integer input by the user. Python Program: You can checkout the code from Github here – Programming Exercises – 5 Explanation […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #9
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #4 Write a program to check if the year entered by the user is a leap year or not Python Program: You can checkout this code from Github here – Programming Exercise – 4 Explanation of the Code: Example Output: […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #8
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #3 Write a program that prints minimum and maximum of five numbers entered by the user. Python Program You can checout this code from Github here – Programming Exercise – 3 Explanation of the Code: Example Output: NCERT Computer Science […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #7
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #2 Write a function to print the table of a given number. The number has to be entered by the user. Python Program: You can checkout this code from Github here – Programming Exercises – 2 Explanation of the Code […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #6
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – PROGRAMMING EXERCISES #1 Write a program that takes the name and age of the user as input and displays a message whether the user is eligible to apply for a driving license or not. (the eligible age is 18 years). Python Program […]
NCERT Computer Science Class #11 – Chapter #6 Solutions – Q #5
Chapter #6 – Flow of Control Class 11 – Chapter 6 Solutions – Q 5 – Find the output of the following program segments: (i) Give output of the following: Explanation of the Code Output (ii) Give output of the following: Explanation of the Code Output When you run this code, the output will be: […]