Ahw 2312200954 1691568535 1
Ahw 2312200954 1691568535 1
CLASS VI
SUBJECT: COMPUTER
TOPIC: INTRODUCTION TO CODING
SECOND TERM ACTIVITY
Question 1 For a given problem, there is always only one way to write a program
Option 1 True
Option 2 False
Question 4 Which among the below are examples of programming in real life?
Option 1 Robots
Option 2 Computer Games
Option 3 Self-drive cars
Option 4 All the above
Option 1 Python
Option 2 English
Option 3 JavaScript
Chapter :2 Flowcharts
What is a Flowchart?
A flowchart is a diagrammatic
representation of the step-by-step plan
to be followed for solving a task/problem
statement.
This diagrammatic representation is
made up of shapes like boxes, diamonds,
parallelograms, circles, ellipses
connected by arrows. Each shape acts as
a step in the solution, and the arrows
represent the direction of flow among
the steps.
1. Select a word from column A and place it in a cell on column B such that itsdefinition
matches in cells of column C
A B C
Solution to a problem
Arcade
presented as a diagram
Below is a flowchart to calculate profit and loss. Answer questions 2 to 4 based on the
flowchart.
Question 2 Jyoti owns a toy shop. She bought a toy for Rs 325 and sold it for Rs.
375. Which one from the below is correct?
Option 1 She made a loss of Rs. 50
Option 2 She made a profit of Rs. 50
Question 3 Raju buys a pen for Rs 15, and after some time, he sells it for Rs 10.
Which one from the below is correct?
Option 1 He made a loss of Rs. 5
Option 2 He made a profit of Rs. 5
Question 4 Ram buys a table for Rs 500, he sells it for Rs 550. Which one from
the below is correct?
Option 1 He made a loss of Rs. 50
Option 2 He made a profit of Rs. 50
Option 1 Initialization
Option 2 Decision
Option 3 Input / Output
Option 4 Connectors
Option 1 Square
Option 2 Diamond
Option 3 Oval
Option 4 Circle
Chapter : 3 VARIABLES USING BLOCK CODING
Example: y = str(7)
Any string value can be declared as a
string variable. z = int(7)
a = float(7)
Integer i = 1234567890
Float f = 1.234
Char c = c
String s = string
Boolean b = true
Question 2 Variables must be defined with a name and a data type before they
can be used
Option 1 True
Option 2 False
Option 1 _test
Option 2 11test
Option 3 Test13
Option 4 Test_2
Option 1 Sum,+
Option 2 Var,-
Option 3 Bool,+
Option 4 Add,+
Question 5 Which of the following data type is used to store decimal values?
Option 1 Integer
Option 2 Float
Option 3 Boolean
Option 4 String
Question 6 How many times should a data type be mentioned for a variable
Option 1 *
Option 2 +
Option 3 x
Option 4 %
Option 1 y=x+9
Option 2 y+=9
Option 3 y-=9
Option 4 x=+9
Option 1 Y=Y+1
Option 2 X=+2
Option 3 y-=6
Option 4 X=x-5
Option 1 *
Option 2 +
Option 3 x
Option 4 %