0% found this document useful (0 votes)
43 views5 pages

Short Question of The CS201 Lecture No 1

The document discusses important programming concepts and skills needed for programming. It covers what programming is, why it is important, and skills such as paying attention to detail, thinking about reusability and user interfaces, understanding computers, and commenting code. The document contains questions and answers on these topics.

Uploaded by

bc200407569
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views5 pages

Short Question of The CS201 Lecture No 1

The document discusses important programming concepts and skills needed for programming. It covers what programming is, why it is important, and skills such as paying attention to detail, thinking about reusability and user interfaces, understanding computers, and commenting code. The document contains questions and answers on these topics.

Uploaded by

bc200407569
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Short Question of the CS201

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.

Join My Online Classes Live session of CS201


Daily Live Class On Zoom for Joining Contact
on whats-app number 03045099998

Question No.4
Which skills are needed in the programming?

These skills can be summarized as:


o Criticalreading
o Analytical thinking
o Creativesynthesis

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

o Paying attention to detail


o Think about the reusability.
o Think about user interface
o Understand the fact the computers are stupid
o Comment the code liberally

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.

1. you should pay attention to the calculations involved in the program,


2. Its flow, and most importantly, the logic of the program.
3. Sometimes, a grammatically correct sentence does not make any sense. For
example, here is a verse from poem "Through the Looking Glass" written by
Lewis Carol:
Question No.6
Think about the reusability
Whenever you are writing a program, always keep in mind that it could
be reused at some other time.Also, try to write in a way that it can be
used to solve some other related problem. A classic example of this is:

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.

When you're programming, it helps to be able to "think'' as stupidly as


the computer does, so that you are in the right frame of mind for
specifying everything in minute detail, and not assuming that the right
thing will happen by itself.

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

You might also like