Skip to content

Punjab (PTB) · Full book test · Free

1st Year Computer Full Book Paper

75 marks · 2 hours 30 minutes · 39 questions. Covers: 9 chapters (CHAP 1: Introduction to Software Development to CHAP 9:Entrepreneurship in Digital Age).

Your school name

1st Year Computer Full Book Paper

1st Year · Computer · Punjab (PTB)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 75Time: 2 hours 30 minutes

Q1. Multiple choice questions (Attempt all · 15 × 1 = 15)

  1. Which graph allows movement in only one direction between two nodes?

    1. Undirected graph

    2. Weighted graph

    3. Circular graph

    4. Directed graph

  2. Which of the following is a common use of blockchain technology?

    1. Sending emails

    2. Playing games

    3. Tracking products in supply chains

    4. Editing documents

  3. What is Class P in computational complexity?

    1. Problems that take forever to solve

    2. Problems that are unsolvable

    3. Problems that can be solved efficiently

    4. Problems with no inputs

  4. Which of the following is NOT a step in the debugging process?

    1. Identifying bugs

    2. Fixing bugs

    3. Ignoring bugs

    4. Monitoring the program's behavior

  5. Which of the following is a correct way to output text in Python?

    1. display("Hello")

    2. echo "Hello"

    3. print("Hello")

    4. show("Hello")

  6. An essential component of ethical research:

    1. Collecting data regardless of participant privacy

    2. Avoiding plagiarism and giving proper credit

    3. Publishing only positive results

    4. Ignoring consent if research is important

  7. Market segmentation helps businesses to:

    1. Create random prices

    2. Understand everyone in the same way

    3. Serve different groups of customers better

    4. Copy competitors

  8. The type of harmful software that secretly monitors user activity:

    1. Spam

    2. Cookies

    3. Spyware

    4. Pharming

  9. In a linear regression model, what is the role of the intercept?

    1. It shows how much X changes with Y

    2. It is the error value

    3. It represents the starting value of Y when X is zero

    4. It removes outliers

  10. Which data structure has a root node and follows a hierarchy?

    1. Graph

    2. Queue

    3. Stack

    4. Tree

  11. What is one benefit of cloud web hosting?

    1. Less internet usage

    2. Free domain names

    3. Websites can run without a server

    4. Websites can be hosted and accessed globally

  12. Why is Bubble Sort not recommended for large datasets?

    1. It uses too much memory

    2. It requires sorting the list multiple times

    3. It has a high time complexity of O(n²)

    4. It only works with small lists

  13. Which of the following is an example of a software development framework:

    1. Google Chrome

    2. Windows

    3. Django

    4. Excel

  14. How can multiple objects be created from the same class in Python?

    1. By using the new keyword.

    2. By calling the class as a function with different arguments.

    3. By using inheritance.

    4. Multiple objects cannot be created from the same class.

  15. The essential skill for evaluating online sources:

    1. Guessing the source's credibility

    2. Knowing the content creator's name

    3. Checking if content is from a trusted entity

    4. Reading the content multiple times

Q2. Short questions (Attempt any 12 of 18 · 12 × 2 = 24)

  1. What is a graph in data structures?

  2. Give one reason why analyzing data is important.

  3. Which two common tools can be used to create data visualizations easily?

  4. How do you import a module from a package in Python?

  5. Why is the GCD problem considered solvable?

  6. How does a hybrid cloud work?

  7. Write down the phases included in Waterfall Model?

  8. What is the purpose of a patent?

  9. How does the digital divide affect education?

  10. What is a vertex in a graph?

  11. How can storytelling improve a debate?

  12. What is data preparation?

  13. How is the modulus operator % used in Python?

  14. What is the main application of BFS in real-world scenarios?

  15. What is edge computing, and how does it benefit cloud computing?

  16. Write any two examples of debuggers.

  17. How can searching for information online help people in their daily lives?

  18. What is the digital divide?

Q3. Long questions (Attempt any 4 of 6 · 4 × 9 = 36)

  1. Explain the operations on stack with real-life example and Python code.

  2. What is a software development framework, and how does it help in the SDLC process? Give an example. 

  3. Explain the importance of standard deviation in statistical analysis and how it helps in understanding data variation. 

  4. What is the difference between revenue and profit? Provide examples.

  5. Explain the basic concept of cloud computing and how virtualization, scalability and on demand access make it more useful and efficient. 

  6. Discuss the differences between time complexity and space complexity. How do they impact the choice of an algorithm for a specific problem?