Your school name
10th Class Computer Chapter 3 Test10th Class · Computer · Punjab (PTB)
Q1. Multiple choice questions (Attempt all · 10 × 1 = 10)
In Python logical-and operator represented by:
Install software tool means:
In Python logical-or represented by:
Which function converts string to integer?
Popular Python IDE is:
In Python, print( ) is a:
What should you do when installing Python to run it from the command line more easily?
Google Colab is a:
Python use .......... translator:
As compare to other languages Python is:
Q2. Short questions (Attempt any 6 of 8 · 6 × 2 = 12)
If x = 10 and y = 5, what will be the output of x >= y and x <= y?
If x = True and y = False, what will be the output of not(x) and not(y)?
State any two advantages of using Google Colab.
Discuss three basic data types in python.
Define the comparison operator with an example.
Differentiate between boolean and string variables in Python.
Solve 8+3
4
2.
What is the purpose of placing "f" before a string in Python?
Q3. Long questions (Attempt any 2 of 3 · 2 × 4 = 8)
Describe the types of variables used in Python.
Write a program in Python that will take a name from user and display greeting message to the given name.
Solve the following expression: