Page 106 - Computer Genius Class 06
P. 106
It increases productivity, which means based on the requirement the size could be get altered
even after its declaration.
It consumes less memory.
It can hold both homogeneous and heterogeneous elements.
Information Literacy
Quest
State whether the following statements are true (T) or false (F).
1. Part of the code in which the variable can be used is scope.
2. Variable name must begin with a special character.
3. Variable is a name given to a storage area.
4. A variable is declared but is not initialized ever has a null value.
5. A sequence in programming is an ordered set of instructions.
6. Loops make the code easier to understand.
7. A collection is a container which groups multiple elements into a
single object.
8. Collection decreases the performance of the program.
Muhammad Hamza Shahzad is one of the youngest coder in the
world. He says: “I want to be Bill Gates.”
Let's REFRESH
Variable is a name given to a location in the memory, to store values or data.
aria le name acts as an identifier or that aria le and suggest the in ormation hich it contains.
Variable is a storage area which the programs can manipulate by changing the values stored in it.
ata type identifies the type o data hich the declared aria le can hold.
A sequence in programming is an ordered set of instructions or tasks.
loop is a construct hich e ecutes a loc o code multiple times until a specific condition is met.
A bug is an unexpected problem in your program.
Event is an action which has happened.
A collection is a container which groups multiple elements into a single object.
Python is a high-level object-oriented programming language.
104 Computer Genius-VI

