This document contains a reinforcement worksheet on programming with Python. It includes multiple choice questions testing knowledge of topics like firmware, Python libraries, lists, and data types. It also includes structured questions about conditional statements, the three laws of robotics, differences between flowcharts and algorithms, ways to program Edison robots, advantages of Python, software bugs, components of the EdScratch interface, labeling sensors on Edison robots, and rules for declaring variables in Python. Students are to complete the worksheet to reinforce their understanding of these programming and robotics concepts.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100%(1)100% found this document useful (1 vote)
2K views
Comprehensive Worksheet - Class 7
This document contains a reinforcement worksheet on programming with Python. It includes multiple choice questions testing knowledge of topics like firmware, Python libraries, lists, and data types. It also includes structured questions about conditional statements, the three laws of robotics, differences between flowcharts and algorithms, ways to program Edison robots, advantages of Python, software bugs, components of the EdScratch interface, labeling sensors on Edison robots, and rules for declaring variables in Python. Students are to complete the worksheet to reinforce their understanding of these programming and robotics concepts.
1. If a program is embedded inside a hardware device, it is called _____________ a) Software c) Application Software b) Firmware d) None of the above 2. To create shapes and graphics in Python, _________________ library is used a) Tkinter c) User Defined Functions b) Edison d) None of the above 3. A __________________ is an ordered collection of items of any data type and can be used instead of multiple variables. a) List c) Logical Operator b) Variable d) Conditional operator 4. Edcomm cable is connected to _________________ of computer a) USB Port c) Motherboard b) Audio Jack d) VGA port 5. Float means ________________ a) Integers b) Decimal Numbers c) Whole Numbers d) Imaginary Numbers Q. 2 Fill in the Blanks /8 1. One whole note is equal to ____________________ milliseconds 2. The cable of Edison is called _____________ 3. _________________ loop is used to repeat a command for a given number of times 4. The _________________ area in EdpyApp shows the explanation of all available Edpy commands 5. The most important electronic part of Edison’s robot is ___________________ 6. ______________ command is used to delete an item from the list 7. A variable name cannot start with a _________________ 8. Function can be made using a __________________ command Q. 3 State whether True/False /7
1. Python uses indentation to indicate a block of code
2. Comments in Python start with $ 3. Error that occurs due to improper planning of program flow is called syntax error 4. Functions are dead pieces of codes for our reference only 5. Canvas widget supplies graphical facilities for Tkinter 6. Add command is used to add any item in the list 7. Group of related statements that perform a specific task is called function
Section B Structured Questions Max Marks: /
30 Q. 1 (a) Explain Conditional Statements and their types in Python /3 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 1(b) Explain the three laws of Robotics /3 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 1(c) Identify and explain the difference between Flowchart and Algorithm /4 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 2(a) List down the four ways in which Edison robot can be programmed /4 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 2(b) What is Python? Explain the advantages of using Python /3 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q.2(c) Explain software bugs and its types /3 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 3(a) Explain the components of interface/environment of EdScratch screen /4 1. Documentation:_______________________________________________________________________ ____________________________________________________________________________________ 1. Complier’s Output: ________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ Q. 3(b) Label Edison Robot’s sensors and buttons in the pictures given below /4 Q. 3(c) Elaborate any two rules for declaring a variable in Python /2 ____________________________________________________________________________________ ____________________________________________________________________________________ ____________________________________________________________________________________ _______________________________________________________________________________________