Answer:
Explanation:
Based on the available options the one that would be correct would be that the code to define your class (beginning with "class bike") must come before the line "bikeA = bike('Acme' 111)." This is because the line of code declaring the object and initializing it needs to be able to grab the information of the class that it is creating an object of. To do this, the class would need to have already been compiled by the program. It is good practice to have each class definitions as its own separate files but this is not a necessity.
It would take 2 consultants 30 hours to create a slide deck of 120 slides.
Explanation:
Rate of slide making by one consultant- 2 slides per hour
Target- 120 slides
2 consultants are employed in the job-
Since 2 consultants are employed in the job, total rate of making slides per hour would be 4 slides/hour (2*2 slides/hour)
Time required to complete 120 slides= total slides/rate of doing slides per hour
Substituting the values, we get
Time required= 120/4= 30 hours
Hence, it would take 30 hours for 2 consultants to create a slide deck of 120 slides.
Answer:
The correct option is;
Since information is based on data and data is just the facts, the knowledge gained from the information is always correct
Explanation:
In the of epistemological discipline that focuses on partial knowledge, a domain of information cannot be exhaustively understood, therefore, knowledge is said to be always partial or incomplete. Information can therefore be misleading as it can be made from a premise that is false even where the bearer of the information truly believes in the source of the data as being justified reason for the information, the bearer may not actually know the cause of the information. Knowledge gotten from information is therefore not always correct.
Answer:
Correct answer is:
d. All of the above
Explanation:
First of all, let us learn about a pseudo code:
<u>Pseudo code</u>: It is an implementation of any algorithm written with the help of annotations and text using in simple English. (So, point a. is true)
It is written in English so its syntax is not like any actual programming language. (So, point b. is true)
Pseudo code describes what each line of pseudo code will do so the code writing becomes easier simply by translating the pseudo code to actual programming language syntax i.e. point c. is true.
Hence, point "<em>d. All of the above</em>" is true.
Advantages of Pseudo code
:
- It makes the readability of the program idea/approach better.
- Code writing becomes easier for the programmer.
Correct answer is:
d. All of the above