Tuesday, 24 November 2020

 

Class 3, Chapter 6 More About Paint by Abhi

Topics:-

  1. Home Tab
  2. Tools group
  3. Shapes group
  4. Size group
  5. Drawing a squar
  6. Drawing a callout
  7. Picking a color
  8. Magnifying an image
  9. Selecting an image
  10. Cropping an image
  11. Rotating an image
  12. Cutting an image
  13. Setting a Drawing Desktop Background




 

Python Programing Solution and Question Answer

A. Tick () the correct answer and fill in the blank.

B. Answer the following as True or False.

C. Fill in the Blanks:

Question and Answer

Q.4 What is an interger?

Ans. Integers are the whole numbers consisting of + or – sign like 75, –22, 0, 9000.
We can print out an integer in a simple way like this:
print(-25)
Output
-25

Q.5 Why do we need computer languages?

Ans. Data type defines type values and the operators that can be done with the data value. The data values we work with can be numbers or fixed. Python identifies the difference between values based on their data type.

Q.6 How can you write a multiline string?

Ans.

Multiline strings can be created by adding a backslash () at the end of the line before pressing enter or by using triple quotation marks (single or double). This will tell the compiler to continue to the next line till the ending quotation mark.

Example:
a= ‘Hello there’
print (a)
b=”Hello there”
print (b)
c=”’Hello there’”
print (c)
d=” Hello \
there \
I love python”
print (d)

Q.7 Why do we need computer languages?

Ans. A computer is an electronic machine that performs its tasks by accepting commands and instructions from the user. We need a programming languages so that we can communicate with the computer.

Q.8 What is a variable? What are the rule for naming variables?

Ans. Variables are the named memory location created in the main memory of computer, used to store data. During the program execution these locations are created and identified by the name given by the user. With the help of these given names, values are stored, used, processed and manipulated to produce the desired results.
Rules for Naming variables:
● Variable names should be meaningful so that they are easy to remember too.
● Can be of any size
● Can have characters a-z, A-Z, 0-9 and underscore(_)
● Should begin with a letter or underscore
● Should not be a keyword
● Are case sensitive .e.g. ‘total’ and ‘TOTAL’ are not same.

Q.9 How are keywords different from variable names? Give two examples.

Ans. Keyword are reserved words that are predefined in programming language. Variables are the named memory location created in the main memory of computer, used to store data. During the program execution these locations are created and identified by the name given by the user. With the help of these given names, values are stored, used, processed and manipulated to produce the desired results.. Each keyword has a specific function.
keywords cannot be used keyword variable.
Keyword Variable
int name
char value

Q.10 State any five features of Python.

Ans. Features of Python
● Python is easy to learn and use. It is developer-friendly and high level programming language.
● Python language is more expressive. That means it is more understandable and readable than other programming languages.
● Python is an interpreted language, i.e. the code is executed line by line at a time. This makes debugging easy and is thus, suitable for beginners.
● Python is portable and can run equally on different platforms such as Windows, Linux, Unix or Mac.
● Python language is freely available from its official web address – https://www.python.org. It is open source, so anyone can make changes in the source code freely.

● Python supports object-oriented languages, and concepts of classes and objects.
● It is extensible. Other languages such as C or C++ can be used to compile the Python code.
● Python has a large library that provides a rich set of module and functions for rapid application development.
● Graphical user interfaces can be developed using Python.
● It can be easily integrated with languages like C, C++, JAVA, etc.

Q.11 What are data types? How are they important?

Ans. Data type defines type values and the operators that can be done with the data value. The data values we workwith can be numbers or fixed. Python identifies the difference between values based on their data type.

Friday, 24 January 2020

279. बस काम ही है जिंदगी "अभि", एक तेरे अलावा कुछ  दिखता भी तो नहीं 💻😘

Saturday, 2 February 2019

278

278 . गुजर गई वो शाम (श्याम)थी, मैं "अभि" हूँ.... तेरे खयालो में

Monday, 8 October 2018

समझने १५ साल लगे "अभि" किसी के अनुभव से समझा तो जा सकता है पर अक्कल खुद की ठोकर से ही आती हैं

Tuesday, 25 September 2018

277

277. हो जाओगे नाराज इस कदर "अभि", मजाक न कर पायेंगे हम कभी ...