Computer Science-IMPORTANT POINTS
Computer Science-IMPORTANT POINTS
UNIT 2
1. Definition of Identifier, Tokens, Keywords
2. Types of data types in Python
3. Identifier rules
4. Built in functions of String, List, Tuple and Dictionaries
5. Slicing of String, List and Tuple
6. Joining (Concatenation) and Replication
7. Difference between
a. append() and extend() function of List.
b. sort() and sorted() function
c. find() and index() function
d. split() and partition() function
e. del statement and pop() function
f. list and tuple
8. Mutability and Immutability of data types in Python
9. Characteristics of keys in Dictionaries.
10. Packing and Unpacking of a tuple
11. Explicit and Implicit conversion of data types in Python
12. Built in functions of Modules: Math, Random and Statistics modules
13. Conversion of for loop to while loop and while loop to for loop.
14. Prepare for “Predict the output” type questions.
UNIT 3
1. Definition of : Phishing, Eavesdropping, Cyber bullying, Cyber stalking, Cyber Trolling,
Hacking, IPR, IT ACT 2000, Worm, Virus, Trojan, Netiquette, Plagiarism, Adware, Spyware,
Spam.
2. Digital Footprints, Active and Passive footprints: Definition and examples
3. Gender and disability issues
4. E-waste, Definition, How it is harmful, safe ways to dispose e-waste
5. Features of strong password.
Programs:
1. Program to calculate and display sum of all odd numbers in a list of integers.
2. Program to take a string as input from user and display the number of vowels, number of
words and number of digits in that string.
3. Program to take a string as input from user and count the frequency of letter ‘e’ in the string.
Display the string after replacing all the occurrences of letter ‘e’ by letter ‘i’.
4. Program to create a new list with all the names ending with letter ‘a’ in CAPITAL letters from
the list.
5. Program to generate random numbers between 0 and 9.
6. Program to count the number of times a character appears in a given string using a dictionary.
7. Program to create a dictionary to store name and marks of students by taking n number of
inputs from the user. Also display the dictionary after creation.
8. Program to input 10 numbers to store in the list and print the third largest number.
9. Program in Python to create a list of words which start and end with the same letter from a
given string.
10. Program in Python to take a string as input from user and display it after removing all the
vowels from the string.
11. Program to read a list of n integers and find their median.
12. program to take a list and two number X and Y, as input from user and create a new list
containing those number which are divisible by both X and Y.
13. Program to create another List(NewList) which contains all the values of original list after
removing duplicate values. Also display the new list.
14. Program to input a string and print each individual word of it along with its length.