Edhesive 9.3

A latter education question and answer enquired students to tell what they consider is the most crucial important challenge for a student to do to be able to attain success. The one which response stood out from the rest was practice. People who usually are successful do not become successful by being born. They work hard and dedication their lives to succeeding. If you would like to obtain your goals, keep this in mind! following some question and answer examples that you might possibly utilise to upgrade your knowledge and gain insight that will assist you to keep up your school studies.

Question:

Edhesive 9.3 Question 1
The _____________ is the address of a piece of data.
Question 2
A(n) ___________ is an individual piece of data in an array.
For Questions 3-5, consider the following code:
stuff = [] stuff.append(“emu”)
stuff.append(“frog”)
stuff.append(“iguana”)
print (stuff)
What data type are the elements in stuff?
Question 4
What data type are the indexes in stuff?
Question 5
What is output by:
print (len (stuff))
3
Question 6
Consider the following code:
price = [12.99, 10.00, 2.50, 1.99] This code is an example of a(n) ______________ _____________.
initializer list
output list
index list
parameter list

Answer:

Using the concept of programming, the solutions to the questions posed are as follows :

1.)

The address of a piece of data is called the index, which usually begin from .

2.)

Every individual piece of data in an array is described as an element

3.)

The datatype of each element in the list stuff is a string. Elements enclosed by quotes are called strings.

READ MORE  Food waste, like a feather or a bone, fall into food, causing

4.)

Index values are usually integers, hence, index value or numbers are of the type int.

5.)

The number of elements in the variable is 3. Hence, the length of the variable is 3.

6.)

The list given takes list value of prices declared, hence, it denotes an initializer list.

They could certainly hopefully assist the student solve the question by make use of the questions and answer examples. You can easily then have a discussion with your classmate and continue the school learning by studying the subject alogside each other.

Leave a Reply

Your email address will not be published.