Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Presentatie

Understanding and short answers for easiest way of learning

Beoordeling
-
Verkocht
-
Pagina's
8
Geüpload op
09-05-2026
Geschreven in
2025/2026

This answers are written by the Master of computer science that means the Teacher is qualified M.SC and important lining are highlighted

Instelling
Vak

Voorbeeld van de inhoud

UNIT -5 Class – 9th Part – B
Chapter – Python
Objective Type Questions
A. Select the correct option.
1. What is the full form of IDLE?
a. Integrated Development and Learning Environment b. Interactive Development and Learning Environment
c. Interpreted Development and Learning Environment d. Independent Development and Learning Environment
2. Which one of the following is an extension of the Python file?
a..py b. .python
e. .p d. .Python
3. Which mode of Python enables you to write multiple lines of code?
a. Interactive mode c. Module mode
b. Script mode d. None of these
4. Which of the following is a valid variable name?
a. age_entry b. 18_age
c. age-entry d. @age
5. Which of the following cannot be a variable?
a. int b. into
c. sum d. on
6. Which of the following is a floor division operator?
a. / b.%
c. // d. ///
7. To give a tab space while printing the statement, you can use the
a. Tab key b. Spacebar key
c. "\t" d."/t"
8. The input() function returns ____value.
a. int b. string
c. float d. text
9. Which of the following function is used to convert an integer value to a floating-point value?
a. int() b. float()
c. str() d. input()
10. What will be the output of the following code?
x=y=5
print(x, y)
a. 55 c. 5
b. 10 d. None of these
11. Which of the following is not a Python data type?
a. Tuple b. List
c. Float d. Decimal
12. Which of the following is a mutable data type in Python?
a. int b. float
c. tuple d. list
13. What will be the output of the following statement?
print("Python" 2, "Language")
a. PythonPythonLanguage b. PythonPython Language
c. Python Python Language d. Python 2 Language
14. Which operator returns a remainder when one number is divided by another number?
a. Division b. Modulus
c. Exponentiation d. Floor Division

, 15. What indicates the beginning of a block of statements?
a. Indentation b. Comments
c. Loops d. Statements
16. Which of the following is a valid Python if statement?
a. if (a >= 2) b. if a>-2:
c. if (a => 22) d. if a>=22
17. Which of following is not a decision-making statement?
a. if-elif b. if
c. if-else d. for
18. What will be the output of the following code?
for i in range(55,50,-2):
print(1, end="")
a. 54 53 52 51 b. 55 54 53 52 51 50
c. 55 53 51 d. 51 53 55
19. Which data type should be used to take the input as: 12.4?
a. int c. str
b. float d. list
20. Which keyword is used to add an alternative condition to an if statement?
a. alter c. break
b. else d. elif
21. Which of the following will create a list?
a. list1 [6.5, 5, 7, 1] b. list1=[]
c. list1=['Jan', 'Feb', 'Mar'] d. All of these
22. What will be the output of the following code?
List1-[10, 20, 30, 40, 50, 60]
List1.reverse()
print(List1)
a. [60, 50, 40, 30, 20, 10] b. [50, 30, 50, 40, 20, 10]
c. [10, 20, 30, 40, 50, 60] d. [10, 20, 30]
23. Which of the following is a built-in function in Python that creates a sequence of numbers?
a. range() b. sequence()
c. sort() d. random()
24. Which of the following removes the element at the given index from the list and returns the
removed item?
a. len() b. count()
c. list() d. pop()
25. Which function returns the index of the given element in the list?
a. index() b. count()
c. sort() d. int()
B. Fill in the blanks.
1. A/An Algorithm consists of a set of instructions that are used for solving a problem.
2. A Flowchart is a pictorial representation of an algorithm.
3. You can write codes in Python using its Interactive and Script modes.
4. A Variable is a named memory location that stores data.
5. Typecasting is the process of converting one data type into another.
6. Comments are added to a program to provide explanatory information about the program.
7. In a flowchart, the Decision box indicates a condition that returns either true or false.
8. A line of code that you write to carry out a task is called a Statement.
9. Multi-line comment is written using triple quotes (" ").
10. Keywords are the reserved words that express a special meaning to the Python interpreter.

Geschreven voor

Instelling
Middelbare school
Vak
School jaar
3

Documentinformatie

Geüpload op
9 mei 2026
Aantal pagina's
8
Geschreven in
2025/2026
Type
PRESENTATIE
Persoon
Onbekend

Onderwerpen

$4.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
sonammodi

Maak kennis met de verkoper

Seller avatar
sonammodi
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
1 week
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen