ip 26
ip 26
PUBLIC SCHOOL
TERM-2 (2022-2023)
CLASS - XI
SUBJECT:- INFORMATICS PRACTICES
SECTION –A ( 1x18=18)
Q1 component of CPU which is responsible for comparing the contents of two
pieces of data is
a. ALU. b. CU. C. Memory. D. Register
Q2.Logical operators ________ are used to connect relational expressions in the
WHERE clause.
a. OR b. AND c. NOT d. All of the above
Q3. Compiler can check ................. error.
a) logical. b) syntax. C) content. D) both a and b
Q4. Write the full form of PCB.
Q5. vertical columns in table are called .............
Q6. Which of the valid identifies ?
a) my name b) _myname
C) myname d) my-name
Q7.Which one of the following if statement will not execute successfully?
a. If (1, 2) :
Print (' foo')
b. if ( 1,2)
Print('foo')
c. If (1,2):
Print ('foo')
d. if (1):
Print('foo')
Q8. Function range (10,5,-2) will yield an iterable sequence like
a) [ 10,8,6]. b. [ 9,7,5]
c) [ 6, 8,10]. d. [ 5,7,9]
Q9 Select correct statement:-
1) Duplicate items are not allowed to store in list
2) We can use both index and negative index of a list item to access it
a) First true second false
b) First four second true
c)Both are true
d)Both are false
Q10. Give the example of DDL command .
Q11 _________ command is used to create databases and tables.
a). Create b). Select c). Insert d). Modify
Q12. Flash memory and Blue-ray disc are the example of
a) hardware. b) software. c) CPU. d) none of these
Q13. What will be the result of the expression
125%12
Q15. Which of the following is/are not legal string operators?
a) in. b). +. c). *. d). /
Q16. SQL is a case sensitive language.
A) true B) false
Q17. In an RDBMS data is stored in _________.
a). Table b). Form c). Query d). Report
Q18. Arithmetic and logical unit along with control unit of a computer combined
into a single unit, is known as
a) control processing unit. b) communication unit
C) calculating unit. d) memory unit
SECTION -B (2x7=14)
Q19. Discuss the difference between multi programming operating system and
multiprocessing to operating system.
Q20. how is primary key different from candidate key.
Q21. Difference between flat file database and RDBMS.
Q22. Difference between explicit and implicit type casting..
Q23. Create a dictionary to assign day number as key and day name as value.
Q24. Explain the terms
1. NLP. 2. Big data
Q25. Write a program to print a pattern like
4321
432
43
4
Or
Write a function to print the table a given number. the number has to be entered by
the user.
SECTION- C (3x5=15)
Q26. Draw the basic architecture of computer system. Explain ALU in detail.
Q27. Explain the following sting operation in detail with example.
a. String concatenation
b . String replication
c. Membership
Or
Explain iteration statement with example. Also explain its type.
Q28. write a any five features of DBMS.
Q30 a) What are the difference between DELETE and DROP commands of SQL?
b) how Many types of language are there in the database?
SECTION- D (5x3=15)
Q31 (a) Write a program to input the radius of a sphere and calculate its
(. V = 4/3 πr )
(b)Program that read three number and print them in ascending order.
Q 32.a) write a program to input two numbers and swap them.
b) what is the role of indentation in python
c) write a program to find the area of triangle.
or
write a program to implement a simple calculator for two input number. Offers
choice through a menu.
Q33.consider the CUSTOMERS TABLE having the following records:-
ID NAME AGE ADDRESS SALARY
1 RAMESH 25 UP 2000
2 AMIT 32 DELHI 4000
3 PANKAJ 25 PUNJAB 5000
4 SURAJ 22 HARYANA 2500
5 RAVI 24 MUMBAI 5200
6 ANITA 25 BHOPAL 5600
SECTION –E (2x4=8)
Q 34 a) Explain the function of operating system.
b). Difference between AR and VR.
Q36. Write a python program to find maximum and minimum numbers among the
given 4 numbers.
Or
Compare string, list and tuples with suitable example.