Page 1 :
ASSIGNMENT-1, Name:, Roll No:., Class:, Section:, Date:, INTRODUCTION TO PYTHON, Chapter-7, A. Fill in the blanks using the hints given below:, Hints: string, Guido van Rossum, false, input(), assignment, 1. Python was developed by, 2. The., operators are used to assign the value of the right expression to, the left operand., .. value is a collection of one or more characters put in single or, A., double quotes., 3., 4., The, function allows to take user's input while a program executes., 5. Logical OR operator returns., .,if both operands are false., B. Write'T' for true and 'F'for false., 1. The print() function allows to display output on the screen while a, program executes., 2. Assignment operators are used to perform arithmetic operations, between two operands., 3. The relational operators are used primarily in the expression evaluation, to make a decision., ............., 4. A variable can hold different types of values., 5. Comments are the most helpful part of any program., C. What will be the output of the following program?, ............., 1. p, q, r = 10, 20 ,30, print(p, q, r), 2. a = 4.5, b= 2, print (a//b)
Page 2 :
ASSIGNMENT-2, Name, Roll No, Class, Section, Date, INTERNET SERVICES, Chapter-10, A. Tick (v) the correct option., 1. Which of these is a cloud storage service provider?, a. OneDrive, C. Facebook, 2. You must have a, a. Microsoft website, c. Both a. and b., b. Gmail, d. None of these, account to use the OneDrive service., b. Bank, d. None of these, 3. Which of these is an example of social networking website?, a. Facebook, c. Linkedin, b. Twitter, d. All of these, 4. What is the process of writing blogs called?, a. Blog, b. Podcasting, c. Downloading, 5. The process of making digital recordings (audio or video) that are available fo, downloading is called, a. Blogging, c. Auditing, d. Blogging, b. Podcasting, d. None of these, B. Answer the following questions:, 1. Write the names of any three social networking websites., 2 Write the names of any two modes of payments., 3. Mention any two things which you are not allowed to post on Quora., 00 00 0O 00, 00 00000.
Page 3 :
ASSIGNMENT-3, Name, Roll No, Clas, Section:, Date, CONDITIONAL STATEMENTS IN PYTHON, Chapter-8, A. Fill in the blanks using the hints given below:, Hints: false, if, true, else, 1. The., statement is the simplest conditional statement., 2. In Python, the non-zero value is interpreted as., 3. Decision statements may give the results true or., 4. The.., block will be executed if and only if the provided condition evaluates, to false., B. Write 'T' for true and 'F'for false., 1. The if...else statement is the simplest conditional statement., 2. Python does not allow nested if statement., 3. The if.elif.else ladder not a conditional statement in Python,, 4. The if statement executes a command if the provided condition, evaluates to true., 5. The if.elif.else statement allows you to test multiple conditions., C. Answer the following questions:, 1. What is decision making statement?, 2. Write the syntax for the if...elif..else statement.