Page 1 :
Answer Key, IT Vision - 7, Chapter 7: Introduction to Python, Exercises (Pgs. 121–122), A. Tick (✓) the correct answers., 1. b, 2. c, , 3. b, , 4. c, , 5. c, , B. Fill in the blanks., 1. Python, 2. Guido Van Rossum, 3. variable, 4. Data type, C. Write T for True and F for False., 1. F, 2. T, , 3. T, , 4. T, , D. Answer the following questions., 1. Python is one of the most popular programming languages, invented by Guido Van Rossum. It is, an interpreted language that reads code in its raw form, and then executes it at a time without, being first compiled. It is an easy to learn language. Python is considered as a cross platform, language, which means that apps made in other languages can also be modified using Python., 2. The difference between interpreter and compiler are as follows:, ³³ Interpreter translates one statement at a time in a program. Compiler scans the entire, program and translates it as a whole into machine code., ³³ Interpreter takes less amount of time to analyse the source code, but the overall execution, time is slow. Compiler takes huge amount of time to analyse the source code, but the overall, execution time is fast., ³³ Interpreter continues translating the program until the first error is cited. This makes, debugging easy. Compiler, on the other hand, generates error message only after scanning the, whole program. This makes debugging comparatively hard., ³³ Languages like Python and Ruby use interpreters. Language like C and C++ use compilers., 3. The locations in which values are stored in a computer‘s memory are known as variables. You, can store only one data value at a time in a variable. When a new value is stored in a variable,, the previous value gets overwritten., The rules for forming valid variable names are as follows:, ³³ A variable name should start with an alphabet (small or capital) or an underscore (_)., ³³ A variable name can comprise of digits, alphabet, and underscore. No other character is, allowed. Space is not allowed in a variable name., ³³ Variable name cannot start with a digit., ³³ Special characters and full stop (.) are not allowed in a variable name., ³³ “else” is a keyword in Python, so it cannot be used as a variable name.
Page 2 :
4. The following are two basic modes of Python:, ³³ Interactive, , Mode: This is the line processing mode. Each line or command that is typed is, processed as soon as you press the Enter key., ³³ Script Mode: This is the batch processing mode. The entire program is typed and saved in, an editor. The program is run as a single unit., 5. Keywords are reserved words that cannot be used as variable names, function names, or any, other identifiers. A few keywords for the Python programming language include and, as, else,, and many more.
Page 3 :
Answer Key, IT Vision - 7, Chapter 8: Working with Python, Let’s Review (Pg. 127), What will be the output of the following?, 1. 20, 2. Enter your name, 3. Enter your salary, 4. 2030, 5. 132, Exercises (Pgs. 131–133), A. Tick (✓) the correct answers., 1. a, 2. a, , 3. b, , 4. a, , 5. b, , 3. T, , 4. T, , 5. T, , B. Fill in the blanks., 1. +, 2. binary, 3. Unary, Binary, 4. String, 5. Plus, Replication, C. Write T for True and F for False., 1. T, 2. F, , D. Answer the following questions., 1. Operators are symbols that represent arithmetic and logical operations on operands, and provide, a meaningful result. For performing any operation, the operator requires one or more operands., Examples of some operators are +, −, *, /, and so on., 2. Relational operators (<, >, <=, >=, and so on) are used for depicting the relationship between, operands. These operators compare two values, and determine the result in Boolean expression,, which can be either True or False., Assignment operator (=) is used for assigning the value of an expression to a variable. The value, is assigned on the right side of the variable written on the left of it. For example, a = 10, b = 20,, age = 17, and so on., 3. The ‘*’ operator is used for replicating a given string a number of times. It is also known as, replication operator., 4. Unary operators are the operators which operate only on one operand. For example, −100,, + 500, and so on., 5. PEDMAS, an extension of BODMAS, is an acronym that expands as Parenthesis, Exponents,, Division, Multiplication, Addition, and Subtraction. BODMAS expands as Bracket, Of, Division,, Multiplication, Addition, and Subtraction. It explains the order of operations to solve an, expression.
Page 4 :
Answer Key, IT Vision - 7, Chapter 9: Internet Services, Let’s Review (Pg. 137), Answer in one word., 1. Social networking sites, , 2. Blog, , Exercises (Pgs 141–142), A. Tick (✓) the correct answers., 1. a, 2. b, B. Fill in the blanks., 1. Mark Zuckerberg, 2. Microposts, 3. Khan Academy, 4. real-time, 5. E-banking, , 3. a, , 4. a, , 5. a, , 4. F, , 5. T, , (This answer may vary.), , C. Write T for True and F for False., 1. T, 2. T, , 3. T, , D. Answer the following questions., 1. Social networking is one of the most popular and commonly used services of the Internet. It, enables the Internet users to connect with other people regardless of their geographical location., It also allows users to share their views, ideas, and suggestions with others., 2. E-commerce stands for Electronic Commerce. It includes buying and selling of goods and services, in exchange for money over the Internet. On the E-Commerce platform, every activity except, delivery of goods is done using online and electronic media. The goods are advertised over, the Internet and satellite channels. The buyer places the order for goods and services online, and transfers the funds electronically through an online banking system. The goods are then, delivered by the supplier at the buyer’s doorstep. The status of the order placed can also be, tracked online., As the usage of Internet services has increased, e-commerce has also grown. E-Commerce, includes E-Learning, E-Banking, and so on. With the evolution of E-Commerce, the consumption, of products has increased exponentially., 3. Some advantages of E-commerce are as follows:, ³³ 24, , × 7 access: The online portals are available 24 × 7., ³³ Global market: There is no geographical or distance barrier. Customers can buy products from, anywhere without moving around physically. It allows consumers to make a global choice., 4. Some benefits of E-learning are as follows:, ³³ It, , allows flexible learning hours and schedules., can study at home, an online study center, library, office or anywhere across the world., ³³ It is cost and time effective since one does not have to spend money on travelling., ³³ One
Page 5 :
³³ A, , student can usually access and download the study material anytime and anywhere., ³³ Instructors can be contacted for assistance whenever required., ³³ The assignments are not only submitted online, even exams are conducted online. The result, and course certificates can be retrieved over the internet., 5. UPI is a real-time payment system. It was developed by National Payments Corporation of India, (NPCI), launched on 11th April 2016. It is designed to transfer money between two accounts, through a mobile platform. UPI is regulated by Reserve Bank of India (RBI). UPI is a step towards, making India a cashless economy. It is an efficient step in making cashless payments faster, and easier for millions of people in our country. It is a safe and secure method to perform, transaction, as it is done in a highly encrypted format.