CHAPTER NO 5
QUESTIONS PAGE NO 110
1. Answer the following.
a. Define programming language. What are the most commonly used programming
languages?
A programming language is a computer language used by programmers and developers to
write and develop different programs and software. A programming language uses words
from English language. The most commonly used programming languages are C++,
JavaScript, Visual Basic, C and Python etc.
b. Differentiate between the types of programming languages.
Programming languages can mainly be classified as low-level and high-level programming
languages. Although simple compared to human languages, high-level languages are more
complex than low-level languages.
c. How do you install Python on your computer?
4 Steps to Install Python on Windows 10
1. Go to Python's website and download the latest version of Python.
2. Select “Windows installer” and click download.
3. Follow the on-screen instructions.
4. Verify the installation by opening a command prompt and typing: python -V.
d. How do you create and run a Python program?
Steps for creating and running a Python program are as under:
Step 1: Install Python
Step 2: Choose a Text Editor or IDE (we can download and install PyCharm as IDE
Step 3: Write Your Python Code
Step 4: Save Your Python File
Step 5: Open a Terminal or Command Prompt
Step 6: Navigate to the Directory
Step 7: Run the Python Program
Step 8: View the Output
e. How do you use blocks to create a script in Scratch?
To use my blocks in Scratch, just click on the “My Blocks” button which is a pink-colored
circle available on the left side of the screen, and then click on the “Make a Block” option to
create your own customized block.
f. Can you give some examples of different types of blocks that are available in Scratch?
Scratch provides a variety of blocks that fall into different categories, each serving a specific
purpose. Here are examples of different types of blocks available in Scratch:
1. Motion Blocks 2. Looks Blocks 3. Sound Blocks
4. Events Blocks 5. Control Blocks 6. Sensing Blocks
7. Operators Blocks 8. Variables Blocks
9. Custom Blocks