0% found this document useful (0 votes)
145 views2 pages

Class 7 Coding Question Paper

Uploaded by

krishna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views2 pages

Class 7 Coding Question Paper

Uploaded by

krishna
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Class 7 – Coding Question Paper

Subject: Computer (Basics of Computer & Basics of Coding)

Maximum Marks: 20

Time: 45 Minutes

Section A: Multiple Choice Questions (MCQs)


(1 × 5 = 5 marks)
Choose the correct option and write the answer.

1. Which one is an output device?


a) Keyboard b) Mouse c) Monitor d) Scanner

2. Which of the following is a programming language?


a) Python b) MS Word c) Chrome d) Excel

3. What does CPU stand for?


a) Central Processing Unit b) Computer Processing Unit c) Control Processing Unit d)
Central Programming Unit

4. Which symbol is used for multiplication in Python?


a) x b) * c) / d) %

5. What is the full form of GUI?


a) Graphical User Interface b) General User Interface c) Graphical Utility Input d) Great
User Interface

Section B: Very Short Answer Questions


(1 × 5 = 5 marks)
Answer in one word or one sentence.

6. Name any two input devices.

7. Write one use of a computer.

8. What is a variable in coding?

9. Write the output of this Python code: print(3 + 4)

10. Write any one difference between hardware and software.

Section C: Short Answer Questions


(2.5 × 4 = 10 marks)
Answer the following questions in 2–3 sentences.
11. What are the main parts of a computer? Explain briefly.

12. What is coding? Why is it important?

13. Write a Python program to add two numbers.

14. Write any three rules to follow while writing code.

Common questions

Powered by AI

Python is often considered a preferred language for beginners due to its simple and readable syntax, which resembles natural language. This makes it easier to learn and understand programming concepts without the complexity of other languages .

Distinguishing between hardware and software is important because coding primarily focuses on software development, which interacts with hardware. Knowing their differences helps in understanding how software applications control hardware components, manage resources, and optimize performance .

A coding environment with a debugging tool helps developers identify, trace, and fix errors in the code efficiently. This aids in developing error-free software by providing insights into the execution flow, allowing for real-time identification of issues, which speeds up the debugging process and improves code quality .

Input devices, such as keyboards and mice, allow users to send data or commands to a computer, whereas output devices, like monitors and printers, display or produce the results of those commands processed by the computer .

Coding conventions and rules are significant because they ensure code consistency, readability, and maintainability. By adhering to them, developers collaborate more effectively, reduce errors, and facilitate code understanding and modification by others, which is crucial in large and complex software projects .

Arithmetic operators in Python like +, -, *, and / are crucial for performing mathematical calculations. For example, `print(3 + 4)` uses the addition operator to compute the sum of 3 and 4, resulting in 7. These operators allow for straightforward mathematical operations, enabling complex computations within programs .

Coding is the backbone of software development, driving innovations in fields like artificial intelligence, data science, and automation. It empowers the creation of applications that solve complex problems, improves efficiency in digital processes, and enables the development of technologies that transform industries .

The main parts of a computer include the CPU, memory, storage, and input/output devices. The CPU processes instructions, memory stores data for quick access, storage holds data long-term, and I/O devices allow for data exchange between the computer and the user, all working together to perform data processing tasks .

Variables in coding are crucial because they store data values that can be used and manipulated throughout a program. Understanding variables allows for dynamic data management, simplification of code, and better handling of complex calculations, making them foundational in programming logic .

A GUI enhances interaction by allowing users to interact with the computer through visual elements like icons and windows, making it more intuitive and easier to use compared to text-based interfaces which require command inputs, reducing the learning curve and increasing efficiency in computer operation .

You might also like