We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Data Science
BSc. I Yr
BSDS-101T: Paper-I (Theory): Problem Solving and Python Programming
Fill in the blanks:
1. __________ is a set of instructions. 2. Sequence of characters is called as __________ 3. IDLE stands for __________________ 4. ___________ is the extension of python script. 5. Prompt in python language is called as ____________ 6. ___________ translates one line of the program at a time. 7. ___________ is another programming analysis tool that is used for planning a program. 8. _____________operator is used to calculate floor division. 9. _________function is used to convert string to float data type. 10. A ______________ is a visual representation of the sequence of steps and decision needed to perform a process. Multiple Choice Questions: 1. Which of the following is an output statement in python? a) Output b) printf() c) print() d) cout() 2. Who has developed Python language? a) Dennis Ritchie b) Guido Von Rossum c) Charles Babbage d) Ivor 3. Which of the following is not a feature of python? a) Interactive b) Hard language c) Scalable d) Interpreted 4. Triple quotes are used to display _____________data. a) Multiline b) Images c) Videos d) Music 5. ________function is used to convert string data to integer data. a) float() b) str() c)int() d)dict() 6. Which of the following is not a arithmetic operator? a) + b) % c) ** d) *** a) ‘;. / ,.,/,n’.mj’n/ 7. In which mode the results are displayed immediately? a) Script mode b) Interactive Mode c) Running Mode d) Reading mode 8. In which translator errors are displayed after entire code is checked? a) Google b) Assembler c) Interpreter d) Compiler 9. In which mode we cannot save the python code? a) Script mode b) Interactive Mode c) Running Mode d) Reading mode Short Answer Quesitons: 1. Define Algorithm 2. Define Flowchart 3. Differentiate between interpreter and script mode. 4. List the mathematical operations which can performed on numeric data. 5. What is type casting?