Grade- XI INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION Unit 1 Programming and Computational Thinking Chapter 1 Introduction to Computer Systems 1. What are the functions of computer? 2. What is hardware and software? 3. Define primary memory (main memory). 4. Name and explain two types of main memory. 5. Name and explain two parts of CPU. 6. Name and explain two types of RAM. 7. What is register? 8. Define memory access time. 9. Name and explain different types of ROM. 1. Define system bus and its types. 11. Give any two functions of control unit. 12. Functions of OS 13. What is the function of memory? What are its measuring units? 14. Peta byte= 15. 1 Byte = Bit 16. Define (a) tracks (b) sectors (c) cylinder (d)platter 17. Define cache memory 18. How mobile CPUs different from computer CPUs? 19. Define mobile processor? 2. Name and explain mobile sub-processors? 21. Define SoC. 22. Name the two types of software. Explain. 23. What are the three language translators? 24. How is compiler different from interpreter? 25. What is Assembler? 26. Name the application software. 27. Define utility software. 28. Explain disk defragmenter. 29. What is software library? 3. Compare calculator and computer. Chapter 2 Getting started with Python 1. Write any two features of Python? 2. Define program. 3. Expansion : IDLE 4. Plus and minus of Python. 5. Name the two modes of python. Explain it. 6. File extension of python file. 7. Which keyword is used to print python statement? Subject- Informatics Practices
8. Which keyword is used to read input in python? 9. Write any two use of script mode? Chapter 3 Python Fundamentals 1. Define the following terms with examples: i. Tokens iii. Variables iv. Data types ii. Keywords (Identifiers) v. Literals 2. Differentiate between the following i. Mutable and immutable viii. = and = = ii. int and long ix. == and is operators iii. char and string x. Logical and bitwise operators iv. implicit conversion and explicit conversion xi. Counting loop and conditional loop v. type promotion and type casting xii. Else in loop and else in if vi. unary and binary operators vii. division (/) and floor division (//)operators 3. What is Boolean? 4. What is complex number? Write one ex. 5. How non-graphics characters are represented in python? Write any two examples? 6. What are the two different types of strings? How multiline strings are created? 7. What is None? 8. Explain the following: i. Sequence iv. Tuple vii. dictionaries ii. String v. Set iii. List vi. Mapping 9. What is operator? Write its classification with ex. 1. Define the following terms: i. Expression iii. Comments v. Blocks and ii. Statement iv. Functions indentation 11. What is docstring? 12. What is dynamic typing? 13. What are the three internal key attributes of a value-variable in python? Explain with example.
14. What are augmented assignment operators? Give examples. 15. Name and explain the identity operators. 16. What will be the output of a relational expression? 17. Write the following statement by using chained comparison operator. 1<2 and 2<3 m>4 and m <6 18. Name and explain the bitwise operators. 19. What do you mean by operator associativity? 2. Define coercion. 21. Write the corresponding python expressions for the following mathematical expressions: 22. Identify the data types of the values given below: 3, 3j, 13., 13, 13,2+j, 13,[1,2,3], (1,2,3) 23. What is use of + operator in strings? Result of apple + fruit. 24. Result of the following: i. 5%2 v. 5.5//2 ix. 5=2 ii. 5/2 vi. 5 +2 x. 5**2 iii. 5//2 vii. 5<2 xi. 5>2 or 2<5 iv. 5.5/2 viii. 5==2 xii. not 5<2 25. Solve the expression: i. 4+3-2*5 ii. (4+3)-2*5 iii. 4+(3-2)*5 iv. 5./4+(6-3.) 26. What will the output produced by these? a) 12/4 b) 14//4 c) 14%4 d) 14./4 e) 14.//4 f) 14.%4 27. Given that variable CK is bound to string Raman (i.e., CK= Raman ). What will be the output produced by following two statements if the input given in Raman? Why? DK=input ( Enter name: ) Enter name: Raman a) DK==CK b) DK is CK 28. What will be the output of following code? Explain reason:
a) 5<5 or 1 c) 5<(1 or 5) b) 5<1 or 5 d) 5<(5 or 1) 29. Write the python code for the following: i. Arithmetic calculator ii. String concatenation iii. Find the total and average of five subject marks iv. Find the area and circumference of circle, square etc. (formula will be given at times) 3. What is conditional statement? 31. Define the following terms: a) Infinite loop (endless loop) b) Entry controlled loop 32. Name the jump statements in python. Explain with example. 33. What will be the output of the following functions: a) Range(1,1) b) Range(1,1,2) 34. Use the python range() function to create the following list: [7,3,-1,-5] 35. Write python code for the following: i. Calculate area of the circle, rectangle and square ii. Check whether the person is eligible voter iii. Check the number is positive or negative iv. Check the number is even or odd v. Check divisibility vi. Display grades of a students based on average, marks will be given. vii. Find the salary and tax. viii. Find the biggest among 3 numbers ix. Sort three numbers x. Print natural nos. and its sum. xi. Print sum of even nos and odd nos. xii. Print factorial of a given no. xiii. Print Fibonacci series xiv. Print reverse of a given number.
Unit 3 Data Management (DM -1) 1 What is database? Give example. 2 What is DBMS? Write the advantages and need for it. 3 What is RDBMS? 4 Distinguish between data and information. 5 What is a record? Define rows and columns? 6 Define different keys with suitable example? 7 Difference between candidate key and primary key. 8 Name any two types of relationships that can be set between two tables. 9 What is degree and cardinality? 1 Define the following: Relation Records Attributes View Field 11 What is data independence? Its types. 12 Differentiate the following. DDL and DML Insert and create Select and desc Delete and drop Alter and update 13 Table: ACCOUNT Acc_no Cust_no Transaction Balance A11 Ram Prasad Withdrawl 1 A12 Kamla Deposit 15 A13 Ramakant Deposit 12 A14 Sunita Withdrawl 36 i. Suggest the data types that should be used for each of the fields in the above. ii. Suggest a field from the above table, which can be set as primary key. 14 Table emp empn o ename salar y hiredate job mgr deptno 7234 Keshar 4 17-12-2 Manager 7724 2 7566 Kirti 21 2-2-26 Analyst 7869 3
7724 Kripple 6 7869 Aryan 38 7654 Samsons 25 7756 Biswal 29 2-5-2 President Null 1 19-7-22 Manager 7724 3 3-9-22 Analyst 7234 2 18-3-2 Analyst 7234 2 i. To display the names of employees who are managers or analyst ii. iii. iv. To display empno, name, salary of all having salary range between 1 to 5(both values inclusive) To display details of employees whose name s 2nd character is a Display unique jobs v. Insert one row with following details (7543,john, 3,12\1\29,Analyst,7869,3) vi. Display the details of employees whose hiredate is greater than 21 vii. viii. ix. Display the names of all employees Display the empno, name, salary of employees whose name contains 4 characters. Increase the salary of employees by 1 who are managers. x. Display the name, salary and hiredate of employees who are managers xi. Display the name, empno and salary of employees whose name starts with s xii. Increase the salary of each by 1%. xiii. Display the details of employees who are not in deptno 2 xiv. xv. Add new column telno Display numbers of employees of each department xvi. Display the details of employees who are getting salary more than 5 xvii. Display distinct departments 15 Answer the following questions: i. Create a database named school. ii. How to open a database school. iii. Write a query to display tables. iv. How to eliminate duplicate rows in result. 16 Write an alternate statement: i. Select * from employee where eno in (1,2,3,4); ii. Select * from employee where salary between 2 and 4; 17 Define the following terms: i. Join ii. Project iii. Index
18 Explain the difference between select and project. 19 Write a query to create a table. Table name: Department Column Name DeptID DeptName Data type Number Char Length 2 2 Key type Primary Key Null/ Unique Not null 2 Create table with foreign key