0% found this document useful (0 votes)
4K views38 pages

Question Bank I Puc Computer Science 2024-25-4

Uploaded by

Sanjay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4K views38 pages

Question Bank I Puc Computer Science 2024-25-4

Uploaded by

Sanjay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

CHIKKANAYAKANAHALLI

OFF SARJAPUR MAIN ROAD

BANGALORE – 560035

PRIMUS PU COLLEGE, BANGALORE


I PUC
COMPUTER SCIENCE
QUESTION BANK
[DESCRIPTIVE: 2 MARKS, 3 MARKS AND 5 MARKS]
2024-2025
CHAPTER 1:
COMPUTER SYSTEM
### 2 Marks Questions

1. What is the main difference between a microcontroller and a microprocessor?

2. Why do smart home appliances have a microcontroller instead of a


microprocessor embedded in them?

3. Mention two types of data you deal with while browsing the Internet.
PRIMUS PU COLLEGE, BANGALORE

4. What is a nibble in computer memory?

5. Define primary memory in a computer system.

6. What are the two types of primary memory?

7. Name any two input devices used to enter data into a computer system.

8. Identify the category (system, application, programming tool) of the software


'Compiler'.

9. Name the two primary services of the software required to make a computer
functional.

10. What is the primary role of the system bus?

11. Differentiate between RAM and ROM.

12. What is secondary memory used for?

13. What are the main components of a computer system?

14. What is an operating system's role in device management?

15. Name any two system software installed on your computer.

2 16. What does the term 'bit' represent in computer memory?

17. Why is the execution time of machine code less than that of source code?
18. Name any two secondary storage devices available at your school or home.

19. Define 'memory controller' in a computer system.

20. What is the significance of a computer's clock speed?

### 3 Marks Questions

1. Categorize the following data as structured, semi-structured, and unstructured:


Newspaper, Cricket Match Score, HTML Page, Patient records in a hospital.

2. Explain the need for RAM in a computer system.

PRIMUS PU COLLEGE, BANGALORE


3. What is the difference between proprietary software and freeware software?
Name two software for each type.

4. Describe the components of a computer system's block diagram.

5. How does the computer understand a program written in high-level language?

6. Mention any two device drivers installed on your computer and their functions.

7. Explain the term 'system bus' and its components.

8. How does the operating system manage different I/O devices?

9. What is the need for secondary memory in a computer system?

10. List the types of software required for a computer to function and explain their
primary services.

11. How does a microprocessor differ from a microcontroller?

12. What are the advantages of using a GUI-based operating system over a
command line interface?

13. Describe the role of memory management in an operating system.

14. How does a file management system protect data in secondary memory?

15. Explain the difference between input and output devices with examples. 3
16. What is the function of the memory controller in a computer system?
17. Describe the significance of binary numbers in computer memory.

18. Explain the process of data transfer between components through the system
bus.

19. What are the characteristics of primary memory?

20. Discuss the evolution of personal computing devices from desktops to


wearable gadgets.

### 5 Marks Questions


PRIMUS PU COLLEGE, BANGALORE

1. Draw and explain the block diagram of a computer system, detailing the
functionality of each component.

2. Describe the primary roles of the operating system in resource management,


including memory, file, and device management.

3. Compare and contrast the functionalities of RAM and ROM in a computer


system.

4. Discuss the importance of secondary memory and list various types of


secondary storage devices.

5. Explain the process by which a computer converts high-level language code into
machine code, including the roles of compilers and interpreters.

6. What are the key differences between proprietary software and freeware
software? Provide examples of each and discuss their benefits and drawbacks.

7. Illustrate the data transfer process between CPU, primary memory, and
secondary storage through the system bus. Describe each step in detail.

8. Discuss the significance of the system bus in a computer system, including the
functions of the data bus and address bus.

9. Explain how the operating system manages different I/O devices, including the
role of device drivers and security measures implemented by the OS.
4
10. Describe the evolution of computer memory from primary to secondary
memory, including the different types and their respective roles in data storage
and processing.

11. How do microprocessors and microcontrollers differ in terms of architecture


and application? Provide examples of their usage in different devices.

12. Analyze the role of the memory management system in an operating system
and its impact on the performance of a computer system.

13. What is the significance of the clock speed in a microprocessor, and how does
it affect the performance of a computer system?

PRIMUS PU COLLEGE, BANGALORE


14. Describe the concept of structured, semi-structured, and unstructured data
with examples and their relevance in data management systems.

15. Explain the importance of using both system software and application software
in a computer. Provide examples and discuss their roles in enhancing computer
functionality.

5
CHAPTER 2:

ENCODING SCHEMES AND NUMBER SYSTEMS

### 2-Mark Questions

1. What is encoding?

2. Explain the significance of the code value 65 for the key "A."

3. Define ASCII.

4. How many bits does ASCII use to represent characters?


PRIMUS PU COLLEGE, BANGALORE

5. How is the ASCII value of the key 'A' represented in binary?

6. What is ISCII?

7. How many bits does ISCII use to represent characters?

8. Why was the Unicode standard developed?

9. What is the range of values for the Unicode encoding scheme?

10. Explain the term "cipher."

11. What is the binary equivalent of the decimal number 65?

12. How is the character 'अ' represented in hexadecimal?

13. Name any two Unicode encoding schemes.

14. What is the radix of a number system?

15. How does the computer interpret keys pressed on a keyboard?

16. What is the decimal value of the ASCII code for the character 'D'?

17. How many characters can a 7-bit ASCII code represent?

18. What is the hexadecimal value for the Unicode character 'अ'?
6
19. Explain the importance of standard encoding schemes.

20. What is the main limitation of the ASCII encoding scheme?


### 3-Mark Questions

1. Describe the process of encoding a key pressed on a keyboard.

2. Explain how the word 'DATA' is encoded using ASCII and converted to binary.

3. Discuss the significance of ASCII in the early 1960s.

4. How does ISCII facilitate the use of Indian languages on computers?

5. Compare ASCII and ISCII in terms of character representation.

PRIMUS PU COLLEGE, BANGALORE


6. Explain the concept of Unicode and its importance.

7. How is the Unicode standard different from ASCII and ISCII?

8. What are the main features of the Unicode standard?

9. Describe the process of converting a decimal number to binary.

10. What are the different number systems mentioned in the document?

11. How does Unicode support multiple languages?

12. Explain the concept of a number system with examples.

13. Discuss the advantages of using Unicode over other encoding schemes.

14. How is the binary value of a character obtained from its ASCII code?

15. What are the common issues with non-standard encoding schemes?

16. Explain the significance of the hexadecimal number system in encoding.

17. Describe how special symbols are encoded using ASCII.

18. How does Unicode handle characters from different languages?

19. What is the role of encoding schemes in computer communication?


7
20. Explain the term 'radix' with reference to number systems.
### 5-Mark Questions

1. Discuss the development and evolution of the ASCII encoding scheme.

2. Explain the encoding process of the word 'DATA' using ASCII and its binary
conversion in detail.

3. Describe the ISCII encoding scheme and its impact on Indian language
computing.

4. Compare and contrast ASCII, ISCII, and Unicode encoding schemes.


PRIMUS PU COLLEGE, BANGALORE

5. Explain the Unicode standard, its development, and its global impact on
computing.

6. Discuss the process of converting numbers between different number systems.

7. Explain the significance of encoding schemes in the context of global


communication.

8. Describe the challenges and solutions provided by Unicode in handling multiple


languages.

9. Explain the importance of encoding schemes in data representation and


communication.

10. Discuss the role of encoding schemes in the development of computer


technology.

11. Explain the process of encoding and decoding data in computer systems.

12. Describe the different types of number systems and their applications in
computing.

13. Discuss the advantages and disadvantages of ASCII, ISCII, and Unicode.

14. Explain the role of encoding schemes in data security and encryption.

15. Describe the future trends and developments in encoding schemes and
8
number systems.
PRIMUS PU COLLEGE, BANGALORE

9
CHAPTER 3:

EMERGING TRENDS

### 2 Marks Questions

1. Define the term "Emerging Trends."

2. What are intelligent digital personal assistants powered by?

3. What is the primary goal of Artificial Intelligence?

4. Explain the term "knowledge base" in AI.


PRIMUS PU COLLEGE, BANGALORE

5. What is Machine Learning?

6. Give an example of Natural Language Processing (NLP).

7. What characterizes Big Data?

8. What is the "Internet of Things" (IoT)?

9. What are microcontrollers used for in IoT?

10. Explain the concept of "Web of Things" (WoT).

11. What is an accelerometer?

12. What role does a gyroscope play in mobile devices?

13. Name two types of robots.

14. What is the primary use of sensors in robots?

15. Define the term "veracity" in Big Data.

16. What is the significance of the "value" characteristic in Big Data?

17. How does data analytics help in business decisions?

18. What is the relationship between Big Data and business value?
10
19. What is the role of sensors in the Internet of Things?

20. How can IoT improve everyday household tasks?


### 3 Marks Questions

1. Describe the importance of emerging trends in technology.

2. Explain how AI is integrated into digital personal assistants like Siri or Alexa.

3. Discuss the process of creating a knowledge base for AI systems.

4. How does Machine Learning differ from traditional programming?

5. Illustrate with an example how NLP is used in everyday applications.

PRIMUS PU COLLEGE, BANGALORE


6. What challenges are associated with Big Data?

7. How does the Internet of Things enhance device connectivity?

8. Discuss the concept of smart homes enabled by IoT.

9. Explain the advantages of the Web of Things over traditional IoT.

10. Describe how accelerometers and gyroscopes work together in smartphones.

11. Compare and contrast different types of robots.

12. Discuss the significance of sensors in modern robotics.

13. Explain the importance of veracity in processing Big Data.

14. How can hidden patterns in Big Data be valuable for businesses?

15. What are the main benefits of data analytics in scientific research?

16. Describe the impact of Big Data on data storage and processing techniques.

17. How do microcontrollers contribute to the functionality of IoT devices?

18. Discuss the potential uses of IoT in disaster management.

19. Explain how IoT can transform traditional industries.


11
20. Describe the role of AI in enhancing the capabilities of IoT.
### 5 Marks Questions

1. Discuss the evolution and significance of emerging trends in the digital


economy.

2. How does Artificial Intelligence simulate human cognitive functions? Provide


examples.

3. Describe the process and significance of training and testing models in Machine
Learning.

4. Explain the various applications of Natural Language Processing in different


PRIMUS PU COLLEGE, BANGALORE

fields.

5. Analyze the characteristics of Big Data and their implications on data processing.

6. Discuss the infrastructure and components necessary for the Internet of Things.

7. How does the Web of Things create a unified interface for IoT devices?

8. Explain the role and importance of sensors in IoT and robotics.

9. Compare the characteristics of different types of robots and their applications.

10. Discuss the challenges and solutions in handling the veracity and value of Big
Data.

11. How can data analytics transform decision-making processes in businesses and
research?

12. Explain the relationship between Big Data, AI, and IoT in modern technology.

13. Discuss the potential future developments and challenges in IoT and smart
technologies.

14. Analyze the role of AI and Machine Learning in enhancing IoT capabilities.

15. How can emerging trends like AI, Big Data, and IoT shape the future of digital
societies?
12
CHAPTER 4:

INTRODUCTION TO PROBLEM SOLVING

### 2 Marks Questions (20 questions)

1. Define an algorithm.

2. What is pseudocode?

3. Explain the term "flowchart."

4. What are conditionals in programming?

PRIMUS PU COLLEGE, BANGALORE


5. What is the purpose of a flowchart?

6. Describe the term "sequence" in the context of algorithms.

7. What does iterative mean in algorithm design?

8. Why is it important to verify an algorithm?

9. What is a loop in programming?

10. What is the significance of decision making in algorithms?

11. Write pseudocode to add two numbers.

12. Define "space complexity" in algorithm analysis.

13. Define "time complexity" in algorithm analysis.

14. What are the components of a flowchart?

15. Explain the difference between pseudocode and a flowchart.

16. What is an Armstrong number?

17. Describe the term "branching" in algorithms.

18. What is a single-digit number algorithm? 13


19. Explain the term "aggregate marks."
20. What is the role of an algorithm in problem-solving?

### 3 Marks Questions (20 questions)

1. Write an algorithm to find the greatest of two numbers.

2. Explain the importance of pseudocode before actual coding.

3. Describe the process of writing a flowchart for a given algorithm.

4. How can you improve an algorithm that fails for certain inputs?

5. Write pseudocode for calculating the area and perimeter of a rectangle.


PRIMUS PU COLLEGE, BANGALORE

6. Explain the importance of conditionals with an example.

7. How do you calculate the percentage of marks in three subjects?

8. Describe the algorithm for checking whether a number is within a specific range.

9. Explain how to handle time addition in pseudocode when minutes exceed 60.

10. Discuss the significance of decision-making algorithms with a real-life example.

11. What steps should be taken if an algorithm has multiple approaches?

12. Explain the importance of verifying an algorithm with an example.

13. Describe the pseudocode to classify numbers as "Single Digit," "Double Digit," or "Big."

14. Write an algorithm to calculate the water bill based on consumption.

15. What improvements can be made to an algorithm that only accepts positive integers up to
100?

16. Explain the algorithm for determining the winner in a coin-flipping game.

17. Write the pseudocode to print all multiples of 5 between 10 and 25.

18. How do you write an algorithm to read the marks of three subjects and calculate the
14 aggregate?

19. What is the significance of iterative steps in an algorithm?


20. Describe the process of designing an algorithm to add hours and minutes.

### 5 Marks Questions (15 questions)

1. Write a detailed algorithm to determine the winner in a coin-flipping game.

2. Explain the importance of flowcharts in problem-solving with a detailed example.

3. Describe the algorithm for adding hours and minutes, including the necessary conditionals.

4. Write the pseudocode and draw the flowchart for calculating the area and perimeter of a
rectangle.

PRIMUS PU COLLEGE, BANGALORE


5. Explain the importance of verifying algorithms with multiple examples.

6. Discuss the different approaches to solving a problem using algorithms.

7. Write a detailed algorithm to classify numbers as "Single Digit," "Double Digit," or "Big."

8. Describe the steps involved in writing an algorithm for the total water bill calculation.

9. Explain the process of improving an algorithm that fails for certain inputs with a detailed
example.

10. Write a detailed pseudocode to calculate the factorial of a number.

11. Describe the process of writing an algorithm that accepts only positive integers up to 100.

12. Explain the steps involved in designing an algorithm for a coin-flipping game with detailed
conditionals.

13. Write a detailed algorithm to print all multiples of 5 between 10 and 25.

14. Describe the process of writing an algorithm to read the marks of three subjects and
calculate the percentage.

15. Explain the significance of iterative and branching steps in algorithm design with examples

16. Explain the various steps involved in problem solving.

17. Explain the Characteristics of a good algorithm. 15

18.
CHAPTER 5:

GETTING STARTED WITH PYTHON

### 2-Mark Questions

1. What is a programming language?

2. Define a program.
PRIMUS PU COLLEGE, BANGALORE

3. What is machine language?

4. What is the difference between high-level language and machine language?

5. Name any two high-level programming languages.

6. What is source code?

7. What is the role of a compiler?

8. What is the role of an interpreter?

9. Define Python as a high-level language.

10. What does it mean that Python is an interpreted language?

11. How does Python handle case sensitivity?

12. Mention any two features of Python.

13. What is the extension of a Python script file?

14. Explain the interactive mode in Python.

15. What is script mode in Python?

16. What are Python keywords?

16 17. Define identifiers in Python.

18. What are variables in Python?


19. How are comments added in Python?

20. What is an object in Python?

21. What is implicit conversion?

22. What is explicit conversion?

### 3-Mark Questions

1. Explain the process of program execution in Python using an interpreter.

2. What is the significance of the Python prompt `>>>`?

3. How can Python programs be executed in script mode?

PRIMUS PU COLLEGE, BANGALORE


4. Describe the use of indentation in Python.

5. How is Python useful in web development?

6. Explain the concept of 'interactive mode' with an example.

7. Describe the steps to run a Python program in script mode.

8. What are the rules for naming an identifier in Python?

9. Explain with an example how variables are declared in Python.

10. How does Python handle data types?

11. Describe the purpose of comments in a Python program.

12. Explain the significance of the `id()` function in Python.

13. Differentiate between `None` and `False` in Python keywords.

14. What is meant by 'Python is platform-independent'?

15. Describe how Python uses indentation for blocks and nested blocks.

16. Explain the term 'portable' in the context of Python.

17. What are Python libraries and why are they important? 17
18. Describe how to download and install Python.
19. How does Python handle errors during execution?

20. What is meant by 'Python is free and open source'?

### 5-Mark Questions

1. Discuss the differences between a compiler and an interpreter.

2. Explain the process of writing and executing a Python program from installation to running a
script.

3. Discuss the various features of Python that make it a preferred language for beginners.

4. Explain the concept of 'everything is an object' in Python with examples.


PRIMUS PU COLLEGE, BANGALORE

5. Describe in detail the steps involved in writing a Python program in script mode and running
it.

6. Explain the different data types available in Python with examples.

7. Discuss the significance of Python in the context of modern programming and software
development.

8. Explain the use of comments in Python with examples and describe their importance.

9. Describe the rules for naming identifiers in Python and explain why these rules are
important.

10. Explain the concept of high-level and low-level programming languages and their
differences.

11. Discuss the use of Python in web development and provide examples of popular web
services built with Python.

12. Explain how Python handles memory management and the concept of object IDs.

13. Describe the process of debugging in Python and common techniques used.

14. Explain with examples the different types of operators available in Python.

15. Discuss the role of Python in education and why it is a good choice for learning
18 programming.

16. Explain various types of Errors.


CHAPTER 6:

FLOW OF CONTROL

### 2 Marks Questions (20 Questions)

1. What is the flow of control in programming?

2. Explain the concept of sequence in Python.

3. Define selection structure in Python.

4. How is indentation used in Python?

5. What is the syntax of an `if` statement in Python?

PRIMUS PU COLLEGE, BANGALORE


6. Give an example of an `if..else` statement in Python.

7. What does the `elif` statement do in Python?

8. How does Python handle nested `if` statements?

9. What is the purpose of the `break` statement in loops?

10. Explain the use of the `continue` statement in loops.

11. How do you implement repetition structures in Python?

12. What are the two types of control structures supported by Python?

13. Describe a scenario where a selection structure would be used.

14. What is the role of a flowchart in programming?

15. How does Python ensure code is properly indented?

16. What is the output of the following code: `print("Hello, World!")`?

17. How do you read input from the user in Python?

18. What will be the output of the following code: `num1 = 5; num2 = 3; print(num1 - num2)`?

19. What is the importance of the `if` condition in an `if..else` structure? 19


20. Explain how a simple calculator program can be implemented in Python.
### 3 Marks Questions (20 Questions)

1. Write a Python program to find the positive difference between two numbers.

2. Describe the role of control structures in Python programming.

3. How does indentation affect the execution of a Python program?

4. Explain the concept of nested `if` statements with an example.

5. What are the key differences between `if`, `if..else`, and `if..elif` statements?

6. How does the `elif` statement improve code readability?


PRIMUS PU COLLEGE, BANGALORE

7. Write a Python program to check if a number is positive, negative, or zero.

8. Describe the use of logical operators in selection structures.

9. How can you handle multiple conditions in Python using `elif`?

10. What is the significance of the `else` block in an `if..else` statement?

11. Explain the concept of loops in Python with an example.

12. How does the `break` statement alter the flow of a loop?

13. What is the difference between `break` and `continue` statements?

14. Write a Python program to print the first ten natural numbers using a loop.

15. How can a flowchart help in designing a Python program?

16. Describe the process of creating a simple calculator in Python.

17. Explain the role of the `input()` function in Python.

18. How can you ensure a program outputs only positive differences between two numbers?

19. Write a Python program to check if a user is eligible to vote.

20 20. How does Python handle syntax errors related to indentation?


### 5 Marks Questions (15 Questions)

1. Write a Python program to create a simple calculator that performs basic arithmetic
operations.

2. Explain in detail the concept of flow of control with examples.

3. How can you implement a nested loop structure in Python? Provide an example.

4. Describe the importance of control structures in managing the flow of a Python program.

5. Write a detailed explanation of the different types of selection structures in Python.

6. How does Python handle multiple conditions using `if..elif..else`? Provide a code example.

PRIMUS PU COLLEGE, BANGALORE


7. Explain the process of creating a program that prints the positive difference between two
numbers, with a flowchart.

8. Describe the use of loops in Python with examples of `for` and `while` loops.

9. Write a Python program to print all prime numbers between 1 and 50.

10. How does the `break` statement work within nested loops? Provide a code example.

11. Explain the role of indentation in Python with multiple examples.

12. Write a Python program that uses `if..else` statements to categorize the input number as
positive, negative, or zero.

13. Describe how a flowchart can aid in writing complex Python programs.

14. Provide a detailed explanation of the `continue` statement and its applications with
examples.

15. Write a Python program to simulate a basic login system, validating user input for
username and password.

21
CHAPTER 7:

FUNCTIONS

### 2 Marks Questions

1. Define a user-defined function in Python.

2. What are the benefits of using functions in a program?

3. Explain the concept of a global variable with an example.

4. Explain the concept of a local variable with an example.


PRIMUS PU COLLEGE, BANGALORE

5. How do you call a function in Python?

6. What is the syntax for defining a user-defined function in Python?

7. What is an argument in the context of functions?

8. What is a parameter in the context of functions?

9. What is the difference between a built-in function and a user-defined function?

10. Explain the term "scope of a variable".

11. What does the `global` keyword do in Python?

12. What is the significance of the return statement in a function?

13. Describe how you can import a specific function from a module.

14. What happens if a global variable and a local variable have the same name within a
function?

15. Explain the purpose of the `import` statement in Python.

16. What is the Python Standard Library?

17. How does Python handle multiple imports of the same module?
22
18. What is the role of indentation in Python function definitions?

19. How can you handle an error if a user enters an invalid input in the traffic light program?
20. What message is displayed if the traffic light color entered is "RED" in the traffic light
program?

### 3 Marks Questions

1. Explain the advantages of using functions in a program with examples.

2. Write a short program to demonstrate the use of a global variable.

3. Write a short program to demonstrate the use of a local variable.

4. Explain with an example how a function can return multiple values in Python.

PRIMUS PU COLLEGE, BANGALORE


5. Describe the process of creating a user-defined function with parameters.

6. Write a function that calculates the sum of the first `n` natural numbers.

7. What is the purpose of the `return` statement in a Python function? Give an example.

8. Explain the difference between positional and keyword arguments with examples.

9. How do you handle default values in function parameters? Provide an example.

10. Write a short program to demonstrate the use of the `global` keyword.

11. Describe the flow of execution in a Python program with multiple function calls.

12. Explain the concept of module in Python and how it helps in program development.

13. Write a short program to demonstrate the use of the Python Standard Library.

14. How can you reuse functions from another program or module? Explain with an example.

15. Write a function to simulate a traffic light system and explain its components.

16. Explain the importance of the `def` keyword in Python.

17. Describe how function headers and function calls work in Python.

18.
23
19. Write a short program that includes both user-defined functions and built-in functions.

20. Explain the significance of the colon (`:`) at the end of a function header in Python.
### 5 Marks Questions

1. Write a Python program that demonstrates the use of both global and local variables within
multiple functions.

2. Discuss in detail the advantages of using functions in programming. Use examples to


support your explanation.

3. Write a Python function to calculate the factorial of a number.


PRIMUS PU COLLEGE, BANGALORE

4. Describe in detail the process of creating, calling, and executing a user-defined function in
Python.

5. Write a Python program that simulates a traffic light system using functions. Include
appropriate user input handling and output messages.

6. Explain the concept of scope in Python with detailed examples,

7. Write a comprehensive program that uses functions to perform mathematical operations


(addition, subtraction, multiplication, division) and demonstrates passing arguments and
returning values.

8. Discuss the role and benefits of the Python Standard Library in program development.
Provide examples of commonly used modules and functions.

9.

10. Explain the different types of function arguments in Python (positional, keyword, default,
variable-length) with examples.

11. Write a detailed program that demonstrates the use of modules in Python. Show how to
import modules, use functions from them, and handle namespace conflicts.

12. Discuss the importance of modularity and reusability in programming. Use Python
functions and modules to illustrate your points.

13. Write a comprehensive guide on how to create and use user-defined functions in Python,
24
including examples, best practices, and common pitfalls to avoid.
CHAPTER 8:

STRINGS

### 2-Mark Questions

1. What function in Python returns the length of a string?

2. Describe what happens when a string index is a float value.

3. How can you access the last character of a string using negative indexing?

4. Explain the immutability of strings in Python.

5. How do you concatenate two strings in Python? Provide an example.

PRIMUS PU COLLEGE, BANGALORE


6. What does the `len()` function do in Python?

7. Provide an example of string slicing in Python.

8. How does the `title()` method transform a string?

9. What does the `*` operator do when applied to strings?

10. How can you reverse a string in Python using slicing?

11. What is the output of `str1[0:10:2]` if `str1 = 'Hello World!'`?

12. How does the membership operator `in` work with strings?

13. Describe the use of the `not in` operator with an example.

14. Explain string slicing with the third index specifying step size. Provide an example.

15. What does the `print()` function do in Python?

16. How do you traverse a string using a `for` loop?

17. How do you traverse a string using a `while` loop?

18. Provide an example of string repetition in Python.

19. What error occurs if you try to change a character in a string using indexing? 25
20. How does the `+` operator function when used with strings?
### 3-Mark Questions

1. Explain the difference between positive and negative indexing in strings. Provide examples
for each.

2. What is the output of the following code and why: `str1 = 'Hello World!'; str1[0:5] + str1[-
6:]`?

3. Describe the use of the `len()` function with a string. What does it return?

4. How does the slice operation `str1[n:m:k]` work? Provide an example.


PRIMUS PU COLLEGE, BANGALORE

5. Explain the immutability of strings with an example. What error is produced when trying to
modify a string?

6. What are the membership operators in Python? Explain with examples.

7. How can you use a `while` loop to traverse a string? Provide code and explain the output.

8. Describe the `title()` method and give an example of its use. What is its output?

9. Explain the concept of string slicing. How would you extract a substring from a string?

10. What are built-in functions in Python? Provide examples of three built-in functions used
with strings.

11. How can you concatenate strings using the `+` operator? Provide an example with two
strings.

12. What does the `*` operator do with strings? Provide examples of its use.

13. How does Python handle strings as sequences of characters? What operations can be
performed on them?

14. Provide an example of using the `in` operator with strings. What does it check?

15. What is the output of `str1[::-1]` if `str1 = 'Hello World!'`? Explain the slicing used.

16. Describe the process of traversing a string using a `for` loop. Provide an example.
26
17. How does negative indexing work in string slicing? Provide an example.
18. What are the advantages of using built-in functions in Python? Provide examples of two
such functions.

19. How can you repeat a string multiple times in Python? Provide code examples.

20. Explain the use of the `len()` function with an example. What does it return when applied
to a string?

### 5-Mark Questions

1. Explain the concept of string immutability in Python. Why is it important? Provide examples
and describe the errors that occur when trying to change a string.

PRIMUS PU COLLEGE, BANGALORE


2. Describe string concatenation, repetition, and membership operations in Python with
examples for each. How do these operations differ from each other?

3. What are string slicing and traversal? Explain with examples of how to use slicing to extract
substrings and how to traverse strings using loops.

4. How does Python handle negative indexing in strings? Provide detailed examples and
explain the outputs.

5. Discuss the built-in functions available for string manipulation in Python. Provide examples
and explain how they are used to perform common operations on strings.

6. Describe the process of traversing a string using both `for` and `while` loops. Provide code
examples and explain the output of each method.

7. Explain the slice operation `str1[n:m:k]` in detail. How does it differ from simple slicing?
Provide examples and describe the outputs.

8. What is the significance of the `len()` function in string manipulation? How is it used in
various string operations? Provide detailed examples.

9. Describe the concept of string immutability with respect to memory management and
efficiency in Python. Provide examples and discuss the implications of immutability.

10. How can you use the `+`, `*`, and `in` operators with strings in Python? Provide
comprehensive examples and explain the results of each operation. 27
11. Discuss the various methods for accessing and manipulating string data in Python. Provide
examples for indexing, slicing, and built-in methods. Explain the outputs and any errors that
may occur.

12. Explain the use of built-in string methods like `title()`, `len()`, and `print()`. How do these
methods simplify string operations in Python? Provide examples and describe their outputs.

13. Describe the different ways to slice a string in Python. How can slicing be used to
manipulate and extract parts of a string? Provide detailed examples.

14. How do you handle string traversal in Python? Explain the differences between using `for`
loops and `while` loops. Provide examples and describe their outputs.

15. What are the common string operations available in Python? Describe concatenation,
PRIMUS PU COLLEGE, BANGALORE

repetition, membership, and slicing with examples for each. How do these operations enhance
string manipulation?

28
CHAPTER 9:

LISTS

### 2 Marks Questions:

1. What is a list in Python?

2. How are elements of a list separated and enclosed?

3. Give an example of a list containing mixed data types.

4. How do you access the first element of a list?

5. Explain with an example how to access the last element of a list.

PRIMUS PU COLLEGE, BANGALORE


6. What happens if you try to access an index that is out of range in a list?

7. Explain with an example how lists in Python are mutable.

8. What is list concatenation? Provide an example.

9. What error occurs when you try to concatenate a list with a string?

10. How can you replicate elements of a list?

11. What does the 'in' operator do in the context of lists?

12. What will the 'not in' operator return if the element is not present in the list?

13. What is slicing in lists? Provide an example.

14. How can you traverse a list using a for loop?

15. How can you traverse a list using a while loop?

16. What does the len() function do for lists?

17. How can you create an empty list using the list() function?

18. What does the append() method do in a list?

19. How can you insert an element at a specific index in a list? 29


20. What does the count() method return when used on a list?
### 3 Marks Questions:

1. Explain with examples how a list can contain elements of different data types.

2. How can you use list indices to access elements in a list? Provide examples.

3. Describe the error and its reason when an index is out of range in a list.

4. Illustrate with an example how lists in Python are mutable.

5. What is the result of concatenating two lists? Provide an example.

6. Explain with examples the result of concatenating a list with elements of different data
PRIMUS PU COLLEGE, BANGALORE

types.

7. What is the result of replicating a list using the repetition operator? Provide an example.

8. How do the 'in' and 'not in' operators work in the context of lists? Provide examples.

9. Describe the process of slicing a list and provide examples.

10. How can you traverse a list using both a for loop and a while loop? Provide examples.

11. Explain with examples how to use the len() function with lists.

12. How can you create a list from a sequence using the list() function? Provide examples.

13. Describe the append() method and provide examples showing its usage.

14. What is the difference between the append() and extend() methods in lists? Provide
examples.

15. How does the insert() method work in lists? Provide examples.

16. Explain with examples how the count() method works in lists.

17. Describe how the index() method works and provide examples.

18. How can you remove an element from a list using the remove() method? Provide an
example.
30
19. What is the difference between the pop() and clear() methods in lists? Provide examples.
20. How can you sort a list using the sort() method? Provide an example.

### 5 Marks Questions:

1. Explain with detailed examples the various ways to access elements in a list using indices.

2. Describe with examples the mutability of lists and how it affects the contents of a list.

3. Provide a detailed explanation of list concatenation and the errors that may occur with
examples.

4. Illustrate with examples how repetition and membership operators work with lists.

PRIMUS PU COLLEGE, BANGALORE


5. Describe the process of slicing a list with different step sizes and provide examples.

6. Explain how to traverse a list using both for and while loops with detailed examples.

7. Provide a detailed explanation of the various list methods and built-in functions with
examples.

8. Describe how to use the append() and extend() methods in lists with detailed examples.

9. Explain the process of inserting elements at specific indices in a list with examples.

10. Provide a detailed explanation of the count() and index() methods in lists with examples.

11. Describe how to remove elements from a list using different methods with examples.

12. Explain with detailed examples the difference between the pop() and clear() methods in
lists.

13. Illustrate with examples how to sort a list using the sort() method and explain the optional
parameters.

14. Explain the concept of nested lists and provide examples of accessing elements in nested
lists.

31
CHAPTER 10:

TUPLES AND DICTIONARIES

### 2 Marks Questions (20 questions)

1. What is a tuple in Python?

2. How are elements of a tuple enclosed?

3. How can you access the first element of a tuple named `tuple1`?

4. Give an example of a tuple with mixed data types.


PRIMUS PU COLLEGE, BANGALORE

5. What will be the output of `type((20,))` in Python?

6. Explain how to create a tuple with a single element.

7. How does Python treat a sequence without parentheses?

8. Describe the immutability of tuples.

9. How can you access elements of a tuple using negative indexing?

10. What is the result of concatenating the tuples `(1, 2, 3)` and `(4, 5, 6)`?

11. How does the repetition operator work on tuples?

12. What does the `in` operator check in a tuple?

13. Provide an example of slicing a tuple to get elements from index 2 to 5.

14. How do you create an empty tuple in Python?

15. What does the `len()` function do when applied to a tuple?

16. Write the code to count the number of occurrences of the element `10` in the tuple `(10,
20, 10, 30)`.

17. Explain the use of the `index()` method in tuples.


32
18. How do you modify an element inside a list that is an element of a tuple?

19. What is the output of `tuple1[::-1]` if `tuple1 = (1, 2, 3, 4)`?


20. How can you extend a tuple with more elements using the concatenation operator?

### 3 Marks Questions (20 questions)

1. Explain the difference between lists and tuples in Python.

2. How can you concatenate two tuples and store the result in a new tuple? Provide an
example.

3. Describe the process of accessing tuple elements using slicing.

PRIMUS PU COLLEGE, BANGALORE


4. What will be the result of `tuple1 * 3` if `tuple1 = ('Hello', 'World')`?

5. How can you use the `not in` operator with tuples? Provide an example.

6. Explain the steps to create a tuple from a string.

7. What will be the output of `tuple(range(5))`? Explain.

8. Describe the behavior of the `count()` method in tuples with an example.

9. How can you find the index of an element in a tuple? Provide a code example.

10. Explain how to modify the list element inside a tuple.

11. Describe how the repetition operator works when applied to a tuple with a single element.

12. How can you slice a tuple to get every second element? Provide an example.

13. Explain the use of the `len()` function with tuples and provide a code example.

14. How can you convert a list to a tuple? Provide a code example.

15. What happens if you try to modify an element of a tuple directly?

16. Explain the concept of nested tuples with an example.

17. How can you reverse the elements of a tuple? Provide a code example.
33
18. Describe how to check if an element exists in a tuple.

19. How can you append multiple elements to an existing tuple? Provide a code example.
20. Explain the immutability of tuples and its significance in Python programming.

### 5 Marks Questions (15 questions)

1. Describe in detail how to access elements in a tuple using both positive and negative
indexing with examples.

2. Explain the concept of tuple immutability with relevant examples and discuss its
implications.
PRIMUS PU COLLEGE, BANGALORE

3. How can you concatenate, repeat, and slice tuples? Provide examples and explain the
results.

4. Discuss the use of the `in` and `not in` operators with tuples, providing examples and their
outputs.

5. Explain the methods and built-in functions available for tuples in Python, including `len()`,
`tuple()`, `count()`, and `index()` with examples.

6. Describe the process of creating tuples with different types of elements, including single
elements, lists, and other tuples. Provide code examples.

7. How can you modify a list element inside a tuple? Explain with an example.

8. Discuss the use of the repetition operator with tuples, including its syntax and behavior with
different types of tuples.

9. How can you extend an existing tuple using the concatenation operator? Provide detailed
examples and explain the results.

10. Describe the slicing operation for tuples, including different ways to slice and access
subsets of tuple elements. Provide examples.

11. Explain the concept of nested tuples and how to access their elements. Provide examples
and discuss their applications.

12. How can you convert other data structures, such as strings and lists, to tuples? Provide
34
examples and explain the process.
13. Discuss the significance of tuple immutability in Python programming and its advantages
over mutable data structures like lists.

14. Provide a comprehensive explanation of tuple methods and built-in functions, including
their syntax, usage, and examples.

15. Describe how to reverse the elements of a tuple and explain the different ways to achieve
this. Provide code examples.

PRIMUS PU COLLEGE, BANGALORE

35
CHAPTER 11:

SOCIETAL IMPACT

### 2-Mark Questions

1. Define 'Digital Footprint'.

2. What is a 'Netizen'?

3. Explain the difference between active and passive digital footprints.

4. List two types of net etiquettes.


PRIMUS PU COLLEGE, BANGALORE

5. What is cyberbullying?

6. Describe one impact of digital technologies on daily life.

7. What are social media etiquettes?

8. Explain the term 'Digital Society'.

9. What is the importance of data protection in digital society?

10. Mention one benefit of using digital technologies.

11. Define 'cybercrime'.

12. What does being a good netizen entail?

13. Explain the significance of communication etiquettes.

14. What is a 'Digital Citizen'?

15. How can digital footprints be misused?

16. Mention one responsibility of a digital citizen.

17. Why is it important to respect privacy online?

36 18. Define 'Digital Communication'.

19. What is the role of passwords in online security?


20. Explain the term 'Digital Environment'.

### 3-Mark Questions

1. Discuss the advantages of digital technologies in communication.

2. Explain how digital footprints can be used for targeted advertising.

3. Describe the role of personal computers and the Internet in spreading digital technologies.

4. How can digital footprints impact a person's privacy?

PRIMUS PU COLLEGE, BANGALORE


5. Explain the concept of digital society and its relevance.

6. Discuss the importance of respecting diversity in online interactions.

7. How can netizens avoid cyberbullying?

8. What are the key elements of communication etiquettes?

9. Explain the significance of sharing expertise online.

10. Discuss the potential risks associated with social media usage.

11. Describe the ethical considerations in using digital technologies.

12. Explain the role of net etiquettes in maintaining online harmony.

13. What are the implications of cybercrime on society?

14. Discuss the importance of responsible behavior in digital communication.

15. How can one ensure their digital footprints are secure?

16. Explain the concept of digital footprints with examples.

17. Discuss the impact of digital technologies on health.

18. Explain the role of the Indian IT Act in regulating digital activities. 37
19. What are the best practices for protecting personal data online?
20. Discuss the importance of using strong passwords for online security.

### 5-Mark Questions

1. Discuss the societal impact of digital technologies on different sectors.

2. Explain the significance of digital footprints and their implications for personal privacy.

3. Describe the role of digital technologies in transforming traditional communication


methods.
PRIMUS PU COLLEGE, BANGALORE

4. Discuss the ethical responsibilities of netizens in a digital society.

5. Explain how cybercrime can be prevented and the role of laws in this context.

6. Discuss the impact of social media on culture and politics.

7. Explain the importance of digital communication etiquettes and provide examples.

8. Discuss the concept of a digital citizen and the responsibilities associated with it.

9. Explain the measures one can take to protect their digital footprints.

10. Discuss the advantages and disadvantages of digital technologies in education.

11. Explain the role of digital technologies in enhancing productivity and efficiency.

12. Discuss the importance of data protection laws in the digital age.

13. Explain the concept of net etiquettes and their importance in online interactions.

14. Discuss the impact of digital technologies on personal and professional life.

15. Explain the significance of being a responsible netizen and the practices involved.

******************************
38

You might also like