Posts

Showing posts from January, 2024

What Is Program?

What Is Program?  Computers are designed to follow instructions. A computer program is a set of instructions that tells the computer how to solve a problem or perform a task. For example, suppose we want the computer to calculate someone’s gross pay. Here is a list of things the computer should do:   1. Display a message on the screen asking “How many hours did you work?”  2. Wait for the user to enter the number of hours worked. Once the user enters a number, store it in memory.   3. Display a message on the screen asking “How much do you get paid per hour?”   4. Wait for the user to enter an hourly pay rate. Once the user enters a number, store it in memory.   5. Multiply the number of hours by the amount paid per hour, and store the result in memory.   6. Display a message on the screen that tells the amount of money earned. The message must include the result of the calculation performed in Step 5.   Collect...

What is Computer Science

Image
  What is Compuer Science?      Computer Science is the study of computers and computational systems. Unlike electrical and computer engineers, computer scientists deal mostly with software and software systems; this includes their theory, design, development, and application. Principal areas of study within Computer Science include artificial intelligence, computer systems and networks, security, database systems, human computer interaction, vision and graphics, numerical analysis, programming languages, software engineering, bioinformatics and theory of computing. Although knowing how to program is essential to the study of computer science, it is only one element of the field. Computer scientists design and analyze algorithms to solve programs and study the performance of computer hardware and software. The problems that computer scientists encounter range from the abstract-- determining what problems can be solved with computers and the complexity of the algorith...