Third Term Lesson Note For JSS Two
Third Term Lesson Note For JSS Two
BASIC Statements
In BASIC, programs are written in lines and each line starts with a line number which is a label
of that particular line. Each of the lines is called a STATEMENT.
The line number can vary between 1 and 9999. The computer carries out (executes) statements in
the order in which they are numbered.
Below are common BASIC keywords that are used to form a BASIC program.
i. CLS
ii. REM
iii. LET
iv. READ
v. INPUT
vi. DATA
vii. PRINT
viii. END
CLS - (Clear Screen): Clears the contents of the screen, typically used at the beginning of a
program or to clear the screen before displaying new output.
REM - Remark (Comment): Allows you to add comments within your code for documentation
purposes. Comments are ignored by the interpreter and are solely for the benefit of the
programmer.
LET -Assignment: Assigns a value to a variable. Although in many BASIC dialects it's optional
and often omitted, it's used to improve readability and clarify assignment statements.
READ - Read Data: Reads data from the DATA statements in the program. Typically used in
conjunction with the DATA statement and a corresponding READ statement to read values into
variables.
INPUT - Input from User: Accepts input from the user and assigns it to a variable. It prompts
the user for input and waits for the user to enter data.
DATA - Data Storage: Stores data within the program. The DATA statement is followed by a
list of values separated by commas. These values can be read using the READ statement.
PRINT - Output to Screen/Printer: Outputs data to the screen or printer. It can display text,
numbers, variables, and expressions. PRINT statements are commonly used to provide feedback
to the user and to display results.
END - End of Program: Marks the end of the program. Execution of the program stops when
the END statement is encountered. It's typically the last statement in a BASIC program.
A simple BASIC program that prompts the user to enter their name and age, and then displays a
personalized greeting along with their age in 10 years:
WEEK 5
Topic: GRAPHIC PACKAGE I
Graphic Applications or Software refers to computer programs designed for creating, editing,
manipulating, and presenting visual content. These applications are used across various
industries for tasks such as graphic design, image editing, illustration, 3D modeling, animation,
and more. Graphic software provides tools and features to create and manipulate images, vector
graphics, animations, and multimedia content, enabling users to express their creativity and
communicate visually.
CorelDraw: CorelDRAW is a comprehensive vector graphics editor that provides tools and
features for designing and editing vector-based artwork. It allows users to create scalable
graphics that can be resized without losing quality, making it suitable for various purposes such
as print, web, signage, and digital media.
Instant Artist: Instant Artist is a graphics software program developed by Autodesk, Inc. It was
released in the early 1990s and was primarily designed for home users and hobbyists who
wanted to create digital art and graphics without needing advanced skills or knowledge of
complex software.
Instant Artist provided users with a range of easy-to-use tools for creating drawings, paintings,
and illustrations. It offered features such as drawing tools, paintbrushes, shapes, stamps, and
special effects, allowing users to create artwork using their mouse or a digital pen.
One of the notable features of Instant Artist was its library of pre-designed templates, clip art,
and images that users could incorporate into their creations. This made it easy for users to
quickly create greeting cards, banners, posters, and other types of digital artwork without starting
from scratch.
WEEK 6