Skip to content

Punjab (PTB) · Half book test · Free

10th Class Computer First half Book Paper

50 marks · 1 hour 30 minutes · 35 questions. Covers: 4 chapters (UNIT 01: OPERATING SYSTEMS: STRUCTURE AND SERVICES to UNIT 04: CONTROL STRUCTURES IN PYTHON).

Your school name

10th Class Computer First half Book Paper

10th Class · Computer · Punjab (PTB)

Name: ____________Roll No: ________Class/Section: ________Date: ________Total marks: 50Time: 1 hour 30 minutes

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

  1. The IBM 5150 personal computer (1981) was equipped with how much RAM?

    1. 16 MB

    2. 16 KB

    3. 16 GB

    4. 512 Bytes

  2. Items inside a Python list are separated from each other using which punctuation?

    1. Semicolon(;)

    2. Colon(:)

    3. Commas(,)

    4. Dot(.)

  3. In Python logical-and operator represented by:

    1. and

    2. or

    3. not

    4. &&

  4. To open the Run dialog box for launching Event Viewer, which shortcut key combination is used?

    1. Ctrl + Shift + Esc

    2. Windows + E

    3. Windows + R

    4. Alt + F4

  5. Which part of the OS manages the process of reading a file from the hard drive and sending it to the screen?

    1. Graphical Shell

    2. Command-line Shell

    3. Kernel

    4. Application Software

  6. What does the function random.randint(1, 10) do?

    1. Generates a floating-point number between 1 and 10

    2. Generates a random integer between 1 and 10 inclusive

    3. Adds 1 and 10 together

    4. Finds the maximum value

  7. Install software tool means:

    1. Configuring necessary tools

    2. Configuring necessary tools & libraries

    3. Configuring necessary libraries

    4. Configuring OS libraries

  8. What does Resource Monitor provide compared to the quick overview of Task Manager?

    1. Less data

    2. Graphical animations only

    3. No information

    4. More detailed information

  9. An independent program that is currently being executed by the computer is called a:

    1. Task

    2. Process

    3. Thread

    4. All

  10. PDB is a:

    1. Python Translator

    2. Python Module

    3. Python Debugger

    4. None of them

  11. In Python logical-or represented by:

    1. and

    2. &&

    3. or

    4. ||

  12. Keeping important records is important because:

    1. Installing software

    2. Fixing issues

    3. Performing updates

    4. All

  13. When task performed by more than one processor it is called:

    1. Multitasking

    2. Multiprocessing

    3. Multithreading

    4. Multi management

  14. if statement within an if statement:

    1. Multiple if

    2. if-elif-else

    3. if-else

    4. Nested if

  15. Which function converts string to integer?

Q2. Short questions (Attempt any 10 of 15 · 10 × 2 = 20)

  1. If x = 10 and y = 5, what will be the output of x >= y and x <= y?

  2. Write down the steps to check the partition style in windows.

  3. What is the purpose of regression testing?

  4. List any four attributes included in a file's metadata.

  5. If x = True and y = False, what will be the output of not(x) and not(y)?

  6. How do temporary files and background processes cause slow performance?

  7. What is the purpose of the end parameter in print( )?

  8. Describe advantages of FCFS.

  9. State any two advantages of using Google Colab.

  10. Why should you never install recovery software on the same drive where lost files were stored?

  11. What are control structures? Name their main types.

  12. What is the role of a file system?

  13. Discuss three basic data types in python.

  14. What is windows defender?

  15. Can a Python list contain items of different data types? Give an example.

Q3. Long questions (Attempt any 3 of 5 · 3 × 5 = 15)

  1. Describe the types of variables used in Python.

  2. Write down the syntax to import the random library and generate a random number between 1 and 10.

  3. What is a Task manager? Describe its responsibilities? What do you know about processing tab and performance tab?

  4. Explain types of operating systems with their key features and applications in daily life.

  5. Write a program in Python that will take a name from user and display greeting message to the given name.