Short Question of The CS201 Lecture No 1
Short Question of The CS201 Lecture No 1
Lecture No. 1
Introduction of the programming
Lecture No. 1
Summary
o What is programming
o Why programming is important
o What skills are needed
o Develop a basic recipe for writing programs
o Points to remember
Question No.1
What is programming
Definition: "A program is a precise sequence of steps to solve a particular problem.”
It means that when we say that we have a program, it actually means that we know
about a complete set activities to be performed in a particular order. The purpose of
these activities is to solve a given problem.
“At its most basic level, programming a computer simply means telling it what to
do, and this vapid-sounding definition is not even a joke.
Question No.2
What is the difficult in the programming?
The first hard thing about programming is to learn, become comfortable with,
and accept these artificial mechanisms, whether they make ``sense'' to you or
not.“
Question No.3
Why Programming is important
there are so many application software and code generators available to do the task for
us. Programming is used for the creating many usful software . this help us
Hence learning to program is important because it develops analytical and problem
solving abilities.
It is a creative activity and provides us a mean to express abstract ideas. Thus
programming is fun and ismuch more than a vocational skill. By designing programs,
we learn many skills that are important for all professions.
Question No.4
Which skills are needed in the programming?
Question No.5
What skills are needed for Programming?
Programming is an important activity as people life and living depends on the
programs one make. Hence while programming one should
Explanation
Paying attention todetail
1. In programming, the details matter.
2. This is a very important skill.
3. A good programmer always analyzes the problem statement very carefully and
in detail.
4. You should pay attention to all the aspects of the problem.
Question No.7
Think about Good user interface
As programmers, we assume that computer users know a lot of things,
this is a big mistake. So never assume that the user of your program is
computer literate. Always provide an easy to understand and easy to
use interface that is self explanatory.
Question No.8
Understand the fact that computers are stupid
Computers are incredibly stupid. They do exactly what you tell them to
do: no more, no less-- unlike human beings.Computers can't think by
themselves. In this sense, they differ from human beings. For example,
if someone asks you, “What is the time?”, “Time please?” or just,
“Time?” you understand anyway that he is asking the time but
computer is different. Instructions to the computer should be explicitly
stated. Computer will tell you the time only if you ask it in the way you
have programmedit.
Question No.9
Comment the code liberally
Always comment the code liberally. The comment statements do not
affect the performance of the program as these are ignored by the
compiler and do not take any memory in the computer.Comments are
used to explain the functioning of the programs. It helps the other
programmers as well as the creator of the program to understand the
code.
Points to remember
User Interface should be friendly
1) Don’t forget to comment the code
2) PAY ATTENTION TODETAIL
3) Program, program and program, not just writing code, but the
whole process of design and development