Sample Paper CBSE Class 11 (083) - Answer Key
Sample Paper CBSE Class 11 (083) - Answer Key
1. c) Tuple
2. c) input()
3. c) repeat
4. c) #
5. b) Dictionary
6. a) HelloHelloHello
7. d) len()
8. b) False
9. d) Both a) and c)
10. C) Windows Operating System
11. The range() function generates a sequence of numbers within a specified range.
12. A variable is a named storage location in memory that holds a value.
13. The strip() function removes leading and trailing spaces from a string.
14. is checks object identity (memory location), while == checks for value equality.
15. An identifier is the name used to define variables, functions, classes, etc., in Python.
16. A Boolean data type represents True or False values.
17. An interpreter translates Python code line by line into machine code.
18. Two types of loops in Python: for loop and while loop.
19. Primary Memory is the main memory (RAM) where data is stored temporarily for processing.
20. A Flowchart is a diagrammatic representation of an algorithm using symbols.
21. Cybersecurity refers to protecting computers, networks, and data from unauthorized access.
x = "10"
y = int(x) # Converts string to integer
print(y + 5) # Output: 15
27. Conversions:
a) (1011)₂ → Decimal: 1×8 + 0×4 + 1×2 + 1×1 = 11 (Answer: 11)
b) (34)₁₀ → Binary: 100010
28. Multiplication Table Program:
for i in range(5):
if i == 3:
break # Exits the loop
print(i)
for i in range(5):
if i == 3:
continue # Skips 3
print(i)
32. An Operating System (OS) is system software that manages hardware and software resources,
providing a user interface and application execution environment.
a) Process Management
a. Manages program execution and CPU scheduling.
b. Ensures smooth multitasking.
b) Memory Management
a. Allocates and deallocates memory for processes.
b. Uses virtual memory for efficiency.
c) File System Management
a. Organizes, stores, and retrieves files.
b. Maintains file permissions and directories.
d) Device Management
a. Controls peripheral devices (keyboard, printer, etc.).
b. Uses device drivers for communication.
e) User Interface (UI) Management
a. Provides GUI (Graphical User Interface) or CLI (Command Line Interface).
b. Examples: Windows UI, Linux Terminal.
f) Examples of Operating Systems: Windows, Linux, macOS, Android.
def count_vowels(s):
return sum(1 for ch in s if ch.lower() in 'aeiou')
print(count_vowels("Education")) # Output: 5
Final Answer:
Binary: 10111011₂
Octal: 273₈
Hexadecimal: BB₁₆