Question

In: Computer Science

Respond to the following in a minimum of 175 words: A co-worker interested in learning more...

Respond to the following in a minimum of 175 words:

A co-worker interested in learning more about programming has asked some questions that lead to a discussion about programming logic and data.

Answer the following questions:

  • What are the differences between an algorithm, pseudocode, and data flow diagram?  
  • What parts of the computer can store user data?
  • When designing a program, is it necessary to develop a pseudocode and algorithm?  
  • What are the four basic concepts of object-oriented programming?  
  • What are some of the main advantages and disadvantages of object-oriented programming?

Solutions

Expert Solution

*** Algorithm Pseudocode Data flow diagram
1. it is a sequence of the instruction which provide a solution of the programs. It only represents the algorithm of the program in natural language and mathematical notations it is one type of programming model information system.
2. it is written in natural language. it is an informal way of writing a program it is a graphically way of representing a program.
3. it specifies a programming language syntax. it is not a program it is programming logic. it is mapped out the flow of information for any process or system.
4. it helps to simplify and understand the problem. it is used to represent an algorithm It's easy to understand the flow of data through systems with the right data flow software diagrams.

Q2.What parts of the computer can store user data?

- there are multiple parts in computer are store user data like for..

** for permanent storage we use

1. Read-Only Memory (ROM)

2. Removable Storage

3. Hard Drive

4. Network Storage

** for a temporary store we use

1. Read-Only Memory (RAM)

2. Physical RAM

3. Virtual RAM

4. Cache

Q3. When designing a program, is it necessary to develop pseudocode and algorithm?

- No. It is not essential to write an algorithm earlier than coding. But if the problem you are fixing wishes some work and you assume there is some scope of optimization, you try it out writing an algorithm and doing an analysis.

For some complicated work, I do write pseudocode and try to do the analysis. But most of the time it is no longer required.

Q4. What are the four basic concepts of object-oriented programming?

  1. Abstraction
  2. Encapsulation.
  3. Inheritance.
  4. Polymorphism

This four basic concepts of object-oriented programming.

Q5. What are some of the main advantages and disadvantages of object-oriented programming?

Advantages Disadvantages
1. in oop we can reuse a code 1. oop need proper planning and proper designing for programming.
2. oop is easy to understand 2. oop program designing is tricky and difficult.
3. oop support a user define types 3. in oop programmer must have a programming skill, designing skill and thinking skill.
4. it is easy to test and maintain 4. relation among classes become artificial some times.

Related Solutions

Respond to the following in a minimum of 175 words: Are cultural, business, or political risk more...
Respond to the following in a minimum of 175 words: Are cultural, business, or political risk more challenging to overcome than one of the others? Why or why not? How should American standards influence multinational  
Respond to the following in a minimum of 175 words: Discuss at least two self-interested reasons...
Respond to the following in a minimum of 175 words: Discuss at least two self-interested reasons that a top earner might favor policies to redistribute income. Discuss why the supply curve of labor for any specific occupation is likely to be upward-sloping, even if, for the economy as a whole, people work fewer hours when wage rates increase.
Respond to the following in a minimum of 175 words: What is the purpose of an...
Respond to the following in a minimum of 175 words: What is the purpose of an income statement, and who is the audience for this document? What components do income statements typically contain? Why?
Respond to the following in a minimum of 175 words: What is the purpose of a...
Respond to the following in a minimum of 175 words: What is the purpose of a Comprehensive Annual Financial Report, or CAFR? What standards must a CAFR comply with? What statements comprise a CAFR?
Respond to the following in a minimum of 175 words: In the early weeks of this...
Respond to the following in a minimum of 175 words: In the early weeks of this course, you learned some valuable skills for communicating within and improving the performance of teams you might be working with. This week, we will explore two crucial aspects of being on a team. We will learn about leadership and what it takes to be a good leader. We also examine conflict management and learn some ways to navigate through the inevitability of encountering conflict....
Respond to the following in a minimum of 175 words: The flow of a program is...
Respond to the following in a minimum of 175 words: The flow of a program is controlled by different structures. The three basic control structures in computer programs are sequence structures, decision structures (also called selection structures), and repetition structures (also called iteration structures). Discuss the differences between decision structures and repetition structures used in algorithms. Provide examples of when you might use each.
respond to the following in a minimum of 175 words: This week focuses on criteria for...
respond to the following in a minimum of 175 words: This week focuses on criteria for calculating capital changes and consolidated financial statements. Discuss the criteria for calculating capital changes. How do you calculate change in working capital from balance sheet?
respond to the following in a minimum of 175 words: This week focuses on criteria for...
respond to the following in a minimum of 175 words: This week focuses on criteria for calculating capital changes and consolidated financial statements. Discuss the criteria for calculating capital changes. How do you calculate change in working capital from balance sheet?
Respond to the following in a minimum of 175 words: What are the goals of conducting...
Respond to the following in a minimum of 175 words: What are the goals of conducting an audit of financial statements and internal controls? Who typically conducts such audits, how often, and for whom?
Respond to the following in a minimum of 175 words: What is the difference between the...
Respond to the following in a minimum of 175 words: What is the difference between the aggregate and entity theory of partnership taxation? Provide two examples of how partnership tax rules reflect the aggregate theory and two examples of how they reflect the entity theory.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT