Fundamentals of Computer Day 8
Fundamentals of Computer Day 8
Programming concepts
• In programming, most of the time everywhere you see the same programming concepts.
• Variables, data types, sequence, selection, iteration are some examples of those basic
concepts.
• In order to compare and manipulate data, and to make decisions in a program,
programmers use a variety of different logical, relational, and arithmetic operators.
• It is also useful to be able to generate randomness in a program, for example selecting a
random number or a random item from a list.
Data types
• It is a way how the data you enter get classified and therefore identified by the computer
program.
• Data types are of different types.
• Example: Integer, Character, String, Boolean, Float
Algorithm
• It is a procedure used for solving a problem. It simply says how you arrive at a solution
for a given problem.
• Before we do actual coding / program writing, we need to see the algorithm.
• And it helps to do accurate program writing.
• Algorithms are created at the design phase, before programming.