0% found this document useful (0 votes)
39 views1 page

Worksheet 1 Chapter 5

cs

Uploaded by

n73928957
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)
39 views1 page

Worksheet 1 Chapter 5

cs

Uploaded by

n73928957
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/ 1

PM SHRI KV PITAMPURA DELHI – 110034

SUBJECT: COMPUTER SCIENCE (083)


CLASS: XIC
CHAPTER-5 (PYTHON INTRODUCTION)
WORKSHEET - 1

(1) Which of the following is not the feature of Python?


(A) Open Source Software (B) Portable
(C) Not Case Sensitive (D) Interpreted Language

(2) Which of the following is the editor of Python?


(A) IDLE (B) Turbo (C) Netbeans (D) Excel

(3) What is the symbol of Interactive Mode of Python?


(A) >> (B) >>> (C) > (D) <<<

(4) What is the extension name of the Python Script Program File?
(A) .pyt (B) .p (C) .prg (D) .py

(5) Which of the following is type of Python Interactive Mode?


(A) Compiler (B) Interpreter (C) Both (D) None

(6) From which function we can get output in Scripting mode python program
(A) input() (B) output() (C) print() (D) int()

(7) What will be the output of the following command


>>> 2 + 3 * 5
(A) 25 (B) 50 (C) 17 (D) 22

(8) From which function we can convert string to integer value


(A) input() (B) output() (C) print() (D) int()

(9) From which symbol we can separate string and variable in print function in python
(A) , (Comma) (B) + (Plus) (C) : Semicolon (D) None

(10) Interpreter converts High level language to machine language

(A) Line by Line (B) All code in one go


(C) 5 lines in one go (D) Any of the above.

(11) Which data type, input( ) function returns by default?


(A) int (B) string (C) list (D) tuple

(12) Write the full form of IDLE and GUI.


(13) Python is an Interpreted language. What does it mean?
(14) Write four features of Python.
(15) What do you understand by interactive and script mode in Python?

****************************************************************************************************************
Prepared by: Vijay Chawla, PGT(CS), PM Shri KV Pitampura, Delhi – 110034

****************************************************************************************************************

You might also like