0% found this document useful (0 votes)
10 views14 pages

Learning Path #2 CS - 8° - 1p-24 - 25

XD

Uploaded by

martinmogrons
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)
10 views14 pages

Learning Path #2 CS - 8° - 1p-24 - 25

XD

Uploaded by

martinmogrons
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/ 14

LEARNING Computer Science

8th Grade 24-25


Teacher: Mrs. Carolina Duarte
#2
PATH
Grade motto: “I strengthen myself in the ability to
Period 1 reflect on the challenges and decisions that entail
August 21st to November 15th,2024
growing as a sensitive person and as a citizen who
takes care of oneself to act responsibly towards
the surroundings”.

Online version
LEARNING PATH STEPS

1 Python review
When striving for full comprehension, it's crucial
2 Evaluative activity #1
Using Python online editor solve the
to thoroughly review each subject matter problem situation
separately. Taking detailed notes and engaging
in practical activities can significantly reinforce
your understanding.

3 Evaluative activity #2
Sending your work
By assignments in TEAMS 4 Using Python online editor solve the
problem situation

Learning Path #2
LEARNING PATH GUIDELINES:
There are some things you should consider, please take them into account.

During the development of the learning path: For the review and evaluation of the learning path:

1 Step 1 of the learning path emphasizes the importance


of individual effort, ensuring that your personal work The notes from step #1 will be evaluated
will significantly impact the final evaluation.
1
individually.
Steps 2 and 3 of the learning path involve
2 collaborative work in pairs. Each student's 2 Every student should be capable of explaining the
contribution to the Python solution will be exercises completed in activities 2 and 3.
considered in the final evaluation.
The teacher will choose one student from each
To send the links for the evaluation exercises of pair to assess the learning progress. It's essential
3
3 activities 2 and 3, please attach each link to the that everyone has completed step #1 development
corresponding task on Teams. and can explain the evaluative exercises.
1. PYTHON REVIEW - Individual work
What is Python?
1. PYTHON REVIEW - Individual work

PYTHON SYNTAX PYTHON INDENTATION


Indentation refers to the spaces
The Python syntax defines a set
at the beginning of a code line.
of rules that are used to create
Where in other programming
a Python Program. The Python
Programming Language Syntax
languages the indentation in
has many similarities to Perl, C, code is for readability only, the
and Java Programming indentation in Python is very
Languages. However, there are important.
some definite differences Python uses indentation to
between the languages. indicate a block of code.

Get your practice on!


1. PYTHON REVIEW - Individual work

PYTHON VARIABLES
Variables are containers for storing data values

Variables do not need to be declared with any particular type, and can
even change type after they have been set.
Python has no command for declaring a variable.
A variable is created the moment you first assign a value to it.

Practice #1 Practice #2 Variable exercises


1. PYTHON REVIEW - Individual work

PYTHON COMMENTS

Comments are pieces of text that live in


your code but are ignored by the Python
interpreter as it executes the code. You
can use comments to describe the code so
that you and other developers can quickly
understand what the code does or why the Examples
code is written in a given way. To write a Exercise 1
comment in Python, just add a hash mark
(#) before your comment text. Exercise 2
1. PYTHON REVIEW - Individual work

PYTHON ARITHMETIC OPERATORS

Arithmetic operators are


symbols used to perform
mathematical operations on
numerical values. In most
programming languages,
arithmetic operators include
addition (+), subtraction (-),
multiplication (*), division (/),
and modulus (%).
1. PYTHON REVIEW - Individual work

PYTHON STRINGS

A string is a list of characters in order.


A character is anything you can type on the keyboard in one
keystroke, like a letter, a number, or a backslash.
Strings can have spaces: “hello world”.

An empty string is a string that has 0 characters.


Python strings are immutable
Python recognize as strings everything that is delimited by quotation
marks (” ” or ‘ ‘).
1. PYTHON REVIEW - Individual work

PYTHON STRINGS

Python strings
2. Evaluative activity #1
Python online compiler

Create a new file to solve it:


Create a Python program that can perform basic arithmetic
operations (addition, subtraction, multiplication and
division) using two numbers stored in separate variables.
Display the result of each operation using a single print
statement. Additionally, include comments at the beginning
of the program indicating your name and grade, and at the
end of the program, provide a brief explanation of the code
you used to solve the problem.
3. Evaluative activity #2
Python online compiler

Create a new file to solve it:

Please create a Python program that can display the lyrics of


a chosen song. Use variables and print statements to show
each part of the song, such as the verses and chorus. Begin
the program with comments containing your name and
grade. Finally, include a brief explanation of the code at the
end of the program. Ensure there are no spelling, grammar,
or punctuation errors in your program.
4. Sending your work

Attach the links

You might also like