Computational Thinking and Getting Started with Python

Computational Thinking and Getting Started with Python for CBSE Class 11, Computer Science (Python). Questions and Answer (Assignment) with solutions from Chapter 5 CS Sumita Arora book. Conceptual and application based question and answer of Computer Science (CS), important for exam point of view.

Question and Answer: Chapter 5: Computer Science (Python) CBSE Class 11

Q.1. What is computational thinking?

Computational thinking refers to the collective thought processes involved in formulating problems and solutions so that they are represented in a form that can be effectively carried out by a computer.

Q.2. Name the principles/characteristics of computational thinking?

The characteristics that define computational thinking are decomposition, pattern recognition / data representation, generalization/abstraction, and algorithms. By decomposing a problem, identifying the variables involved using data representation, and creating algorithms, a generic solution results.

Q.3. What is decomposition? Give some examples?

The process of breaking down a big or complex problem into a set of smaller sub-processes in order to understand a promblem or situation better, is known as decomposition.
Example going to school can be decompose into-
1.wake up
2.Get fresh
4.put clothes on
Academic examples- Writing an essay is a complex task that can be broken down into smaller tasks such as developing a thesis, gathering evidence , and creating a bibliography page.

Q.4.What is pattern recognition ?Give some examples?

Pattern recognition refers to observing or looking for similarities or patterns among and within small, decomposed problems; the identified patterns help solve more complex problems more efficiently.
Example-While driving on roads , switching lanes promptly may cause accidents. So the drivers look for patterns in traffic to decide whether and when to switch lanes.”
Pattern recognition is required when categorizing rocks as either igneous, metamorphic, or sedimentary.

Q.5. What is abstraction/generalisation? Give some examples?

Data abstraction refers to focussing on information relevant to a context/problem and supressing other details.
Example- A veterinary doctor will however focus on details like breed, weight, diseases etc. as they are important details for his context and other details are unnecessary for him.
When we tell a story or describe a movie to our friends, why donot we describe every single detail of the story and movie.

Q.6. What is algorithm design? Give some examples?

An algorithm is a sequence of steps that solves a problems by working on some input data and producing a desired outcome.
Example- When a cook writes a recipe for a dish, he or she is creating an algorithmthat others can follow to replicate the dish.
When constructing a building , foundation size is calculated first considering the height of the building and soil strength.

Q.7. When was python released?

Answer: February 20,1991

Q.8. Who was python developer and which two language contributed to python as a programming language ?

Answer: Guido Van Rossum. ABC language and Modula 3 are the two languages contributed to Python as a programming language.

Q.9. What is a cross-platform software ?

Answer: Software that is compatible across various platforms. (Platform like Window os , Mac os , Linux.

Q.10 . What are the advantages of python programming language ?

Easy to Read, Learn and Write. Python is a high-level programming language that has English-like syntax. …Improved Productivity. Python is a very productive language.
Interpreted Language.
Dynamically Typed.
Free and Open-Source.
Vast Libraries Support.

Q.11.What are some limitation of python programming language?

Slow speed(slow execution).
Not memory efficient.
Weak in mobile computing.
Database access.
Run-time Error.

Q.12. In how many different ways , can you work in Python?

2.Module files
3.Unix-style scripts
4.Embedded in another system.
5.Platform specific launching methods.

Q.13.What are the advantages/disadvantages of working in Interactive mode in Python?

Interactive mode is useful for testing code. We can type the commands one by one and get the result of error immediately for each command. Disadvantages of Interactive mode are that it does not save commands in form of a program and also output is sandwiched between commands.

Q.14. What are the advantages / disadvantage of working in script mode in python?

* It is easy to run large pieces of code.
* Editing your script is easier in script mode.
* Good for both beginners and experts.
* can be tedious when you need to run only a single or a few lines of code.
* You must create and save a file before executing your code.

Application Based Question : Computational Thinking and Getting Started with Python

Q.1. Write instructions to get the following result:

Math is fun so donot be resistant
Just learn the rules , the rules are consistent
And most important , you must be persistent!

Adding fractions, get common denominators.
Mutiply by missing factors to get the denominators.
Add numeratory only, NOT denominators.

Do it both interactive mode and script mode.


Script mode-

Computational Thinking and Getting Started with Python
Computational Thinking and Getting Started with Python
Computational Thinking and Getting Started with Python

Thanks for reading and learning about Computational Thinking and Getting Started with Python, Computer Science (Python) CBSE (assignment)Questions and Answer.

For more solved assignments- Click here

For practical file question – Click here

Leave a Comment

Your email address will not be published. Required fields are marked *