0% found this document useful (0 votes)
25 views2 pages

English I: Solution. For Example, If The Task Is Sorting Lists, Sort Some Short Lists Yourself

The document discusses best practices for learning to program including breaking problems down into simple steps, testing programs thoroughly, and writing clear, concise code for other humans to understand.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

English I: Solution. For Example, If The Task Is Sorting Lists, Sort Some Short Lists Yourself

The document discusses best practices for learning to program including breaking problems down into simple steps, testing programs thoroughly, and writing clear, concise code for other humans to understand.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ENGLISH I

STUDENT’S NAME: Tonutti, Rodrigo Sebastián


DATE: 02/09/2021
PRACTICE ACTIVITIES
READING:

Learning to program means learning how to solve problems using code.


Conceptually it is not very difficult to write a program that solves a problem
that you can solve yourself. The skill you need to acquire is thinking very
precisely about how you solve the problem and breaking it down into steps that
are so simple that a computer can execute them. I encourage you to first solve
a few instances of a problem by hand and think about what you did to find the
solution. For example, if the task is sorting lists, sort some short lists yourself.
A reasonable method would be to find the smallest element, write it down and
cross it out of the original list and repeat this process until you have sorted the
whole list. Then you have to teach the computer 1) how to find the smallest
element, 2) how to write it down, 3) how to cross it out, and wrap this in a
loop. Then continue this task breakdown process until you’re confident you
know how to write the necessary program.

1- READ THE FIRST PARAGRAPH AND COMPLETE WITH THE


SUGGESTED WORDS.

DIFFICULT – SOLVE – SOLUTION – WRITE

PROGRAM – TEACH – COMPUTER – LIST

2- UNDERLINE MAIN IDEA OF THE PARAGRAPH

To make good progress in your programming task, you need to test your work
as early and as thoroughly as possible. Everybody makes mistakes while
programming and finding mistakes in programs consumes a very large part of a
programmer’s work-day. Finding a problem in a small and easy piece of code is
much simpler than trying to spot it in a large program. This is why you should
try to test each sub task you identified during your task-breakdown by itself.
Only after you’re confident that each part works as you expect you can attempt
to plug them together. Make sure you test the complete program as well; errors
can creep in in the way the different parts interact. You should try to automate
your tests. The easier it is to test your program, the freer you are in
experimenting with changes.

3- READ THE SECOND PARAGRAPH AND ANSWER THE QUESTIONS.


 Which is the best way to test a program?
The best way to test a program is automate your tests.
 What is it difficult about finding a mistake?

The last important point is how you express your thoughts as code. In the same
way that you can express the same argument in different ways in a normal
English essay, you can express the same problem-solving method in different
ways in code. Try for brevity. The lines that you don’t write are the lines where
you can be sure that the don’t have bugs. Don’t be afraid to Google for idiomatic
ways of doing the things you’d like to do (after you tried doing them yourself!).
Remember that you don’t write the program for the computer, you write it for
other humans (maybe a future you!). Choose names that explain things, add
comments where these names don’t suffice. Never comment on what the code is
doing, only write comments that explain why.

4- READ THE THIRD PARAGRAPH AND CORRECT THE SENTENCES


WITH FALSE INFORMATION.
You express solutions in your thoughts as code.
The coding language is for computers other humans understanding.
You have to comment about explaining the function or action of the code.
5- WRITE A TITLE FOR THE TEXT

THINGS TO YOU KNOW BEFORE BEGIN TO PROGRAM

6- SUMMARIZE THE TEXT.


7- EXPLAIN WHAT THE TEXT IS ABOUT WITH YOUR OWN WORDS

You might also like