Page 11 - Computer Science V2.0 Class 11
P. 11

Dictionary: introduction, accessing items in a dictionary using keys, mutability of a dictionary (adding a new term, modifying an
                        existing item), traversing a dictionary, built-in functions/methods—len(), dict(), keys(), values(), items(), get(), update(), del(), del,
                        clear(), fromkeys(), copy(), pop(), popitem(), setdefault(), max(), min(), sorted(); Suggested programs: count the number of times a
                        character appears in a given string using a dictionary, create a dictionary with names of employees, their salary and access them.
                        Introduction to Python modules: Importing module using 'import <module>' and using from statement, importing math module
                        (pi,  e,  sqrt(),  ceil(),  floor(),  pow(),  fabs(),  sin(),  cos(),  tan());  random  module  (random(),  randint(),  randrange()),  statistics  module
                        (mean(), median(), mode()).
                     Unit III: Society, Law and Ethics
                        Digital Footprints
                        Digital Society and Netizen: net etiquettes, communication etiquettes, social media etiquettes
                        Data Protection: Intellectual property rights (copyright, patent , trademark), violation of IPR (plagiarism, copyright infringement,
                        trademark infringement), open source software and licensing (Creative Commons, GPL and Apache)
                        Cyber Crime: definition, hacking, eavesdropping, phishing and fraud emails, ransomware, cyber trolls, cyber bullying
                        Cyber safety: safely browsing the web, identity protection, confidentiality
                        Malware: viruses, trojans, adware
                        E-waste management: proper disposal of used electronic gadgets.
                        Information Technology Act (IT Act)
                        Technology and society: Gender and disability issues while teaching and using computers
                 4.  Practical
                       S.No                                Unit Name                               Marks (Total=30)
                        1.                                      Lab Test (12 marks)
                              Python program (60% logic + 20% documentation + 20% code quality)          12
                        2.                                   Report File + Viva (10 marks)
                              Report file: Minimum 20 Python programs                                    7
                              Viva voce                                                                  3
                        3.    Project (that uses most of the concepts that have been learnt)             8
                 5.   Suggested Practical List
                     Python Programming
                        Input a welcome message and display it.
                        Input two numbers and display the larger / smaller number.
                        Input three numbers and display the largest / smallest number.
                        Generate the following patterns using nested loops:
                         Pattern-1            Pattern-2                  Pattern-3
                         *                    12345                      A
                         **                   1234                       AB
                         ***                  123                        ABC
                         ****                 12                         ABCD
                         *****                1                          ABCDE
                        Write a program to input the value of x and n and print the sum of the following series:
                          1 + x + x  + x  + x  + ... x n
                                       4
                                    3
                                2
                          1 – x + x  – x  + x  – ... x n
                                2
                                      4
                                   3
                              x 2  x 3  x 4  x n
                          x +   2   +   3   +   4   + ...   n
                             x 2  x 3  x 4  x n
                          x +   2!   +   3!  +   4!  + ...   n!
                        Determine whether a number is a perfect number, an Armstrong number or a palindrome.
                         Input a number and check if the number is a prime or composite number.
                         Display the terms of a Fibonacci series.
                        Compute the greatest common divisor and least common multiple of two integers.
                        Count and display the number of vowels, consonants, uppercase, lowercase characters in string.
                        Input a string and determine whether it is a palindrome or not; convert the case of characters in a string.
                        Find the largest/smallest number in a list/tuple.
                        Input a list of numbers and swap elements at the even location with the elements at the odd location.
                        Input a list/tuple of elements, search for a given element in the list/tuple.
                        Create a dictionary with the roll number, name and marks of n students in a class and display the names of students who have marks
                        above 75.


                                                                  (ix)
   6   7   8   9   10   11   12   13   14   15   16