You are on page 1of 3

Darwin M.

Moneva

BSEE 1-1

Computer Programming

Assignment 1

1. Differentiate program and programming?

A program is a piece of software or a group of software applications that work together


to do a certain job. Programming is the process of writing a computer program.

2. What is information?

Information is structured data that has been turned into a form that is easy to
understand. To be more specific, it is a group of data that a programmer has put
together in a more useful way.

3. What is the five-step process of programming?

 Analyze the problem. The computer user must figure out the problem, then decide
how to resolve it—choose a program.

 Design the program. A flow chart is important to use during this step of the PDLC.
This is a visual diagram of the flow containing the program. This step will help you
break down the problem.

 Code the program. This is using the language of programming to write the lines of
code. The code is called the listing or the source code. The computer user will run an
object code for this step.

 Testing the program. This is the process of finding the "bugs" on the computer. The
bugs are important to find because this is known as errors in a program.
 Documenting the program. The documentation is a written explanation of how the
program works and what it does. The source and nature of the problem, a short
description of the program, logic tools like flowcharts and pseudocode, data record
descriptions, program listings, and testing results are all common parts of program
documentation. Comments in the program itself are also considered an essential
part of documentation.

4. What are the following steps necessary in program design?

Program design consists of the steps a programmer should do before they start coding
the program in a specific language. These steps when properly documented will make
the completed program easier for other programmers to maintain in the future. There
are three broad areas of activity:

 Understanding the Program


 Using Design Tools to Create a Model
 Develop Test Data

5. Differentiate syntax errors and logic errors?

Syntax errors are mistakes in the way that code is written. Before the code is run, the
compiler or interpreter looks for mistakes in the way the code is written. Grammatical
and structural coding issues include missing or wrong punctuation, misspelled keywords,
and the wrong way to use variables. On the other hand, logic errors can happen in the
code, but the compiler or interpreter misses them. Even though the code is correct in
terms of syntax, it can still cause these problems if it does something wrong. Bad
reasoning, false assumptions, or improper use of operators or functions are the usual
causes of logical errors.

6. To have a clear understanding of the problem, one of the requirements is “Specify the
program objectives and identify the users of the program”. Explain it briefly.

As you describe the goals of your program, you get a clearer idea of exactly what you
want to do. The first step is to define the problem, the tasks, and the program's goals.

Finding out who will be using the program is also important because it helps make sure
the program is made with their needs in mind. This means learning about the users and
what they need, such as their level of technical knowledge, the devices or platforms they
will use to run the program, and any special needs or preferences they may have.

By defining the goals of the program and figuring out who will be using it, you can make
sure that it is made to meet the needs and requirements of the people it is for and that
it will solve the problem it was made to solve.

You might also like