Revision Test-1 Class-11 Sc.
Revision Test-1 Class-11 Sc.
Q1. Which smaller unit of the CPU performs all arithmetic and logical functions in a computer?
a) CU b) ALU b) Processor d) All of these
Q2. Which of the following is not valid symbol in hexadecimal number system?
a) 2 b) 8 c) 9 d) G e) F
Q3. Which of the following is the universal logic gate?
a) OR b) AND c) NAND d) NOT
Q4. Which of the following is an escape sequence for a tab character?
a) \a b) \t c) \n d) \b
Q5. Which of the following is not an immutable type in Python?
a) String b) Tuple c) List d) Integer
Q6. Function range(0 ,5 ,2) will yield on iterable sequence like.
a) [0,2,4] b) [13,5] c) [0,1,2,5] d) [0,5,2]
Q7. Which of the following will return the last three characters of a string s ?
a) S[[3:] b) s[:3] c) s[-3:] d) s[:-3]
Q8. If a list l=[10,20,30,40,50,60,70], what would L[-3:99] return ?
a) [20,30,40] b) [30,40,50] c) [4050,60] d) [50,60,70]
Note :- In Q9 and Q10, a statement of Assertion(A) is followed by a statement of reason(R).
Mark the correct choice as:-
a) Both A and R are true and R is the correct explanation of A.
b) Both A and R are true and R is not the correct explanation of A.
c) A is true but R is false.
d) A is false but R is true.
Q9. Assertion (A) : A list slice is an extracted part of a list.
Reason ( R) : A List slice is a list in itself.
Q10. Assertion (A) : The position and index of string characters are different.
Reason ( R) : The position for string characters vary from 1 ……. N, where n is the size of the
string. The indices for strig characters vary from 0 to n-1.
Q11. What is the difference between RAM and ROM?
Q12. What are the various categories of software?
Q13. Do the following operations on binary Nos.:-
a) 111011 +10011 b) 110000 – 1111
Q14. Do the following operations on binary Nos.:-
a) 11110 X 101 b) 101111 / 110
Q15. What is Demorgan’s Law? Prove it using Truth Table.
Q16. Draw the circuit design of F=A’BC’ + AB’C’ + C’D
Q17. What factors guide the choice of identifiers in a program?
Q18. What is comment statement? Explain with Example.
Q19. What do you mean by mutable and immutable data types in Python? Explain with Example.
Q20. Explain the difference between break and continue statements in python with example.
Q21. Write a program to take a No. of any digits, calculate and print Reverse No.
Q22. Write a program to take a No. , calculate and print Factorial of it.
Q23. Write a program to take a string form user, count and display no. of vowels present in it.
Q24. Write a program to create a list of N integer Nos. , search an element into it using linear search
method.