Professional Documents
Culture Documents
Pakistan International School, Jubail: Grade: 7 UNIT#1 "Block It Out: Moving From Block To Text" Question/Answer
Pakistan International School, Jubail: Grade: 7 UNIT#1 "Block It Out: Moving From Block To Text" Question/Answer
Pakistan International School, Jubail: Grade: 7 UNIT#1 "Block It Out: Moving From Block To Text" Question/Answer
GRADE: 7
UNIT#1
“BLOCK IT OUT: MOVING FROM BLOCK TO TEXT”
QUESTION/ANSWER
Q1: What is command prompt?
i. Interactive mode
ii. Script mode
Ans: The input command allows users to enter information into the program
and store it in a variable. For example: name= input (“what is your name?”)
displays the message “what is your name?” on the screen and stores the input
from the user in a variable called name.
Ans: Once you have completed the code you can RUN the program:
Used at the start and the end of the flowchart to signify start and the end
of a program.
Used when something needs to happen: e.g. add two numbers together.
Used when data needs to be input and / or output from the program.
Ans: We use test plan in python to outline the testing approach and ensure
through testing of our code.
== equal to
!= not equal to