Posts

SHAPES OF MATHEMATICS CALCULATION IN A PROGRAMMING   import java.util.Scanner; public class ShapesCalculation {     public static void main(String[] args) {         Scanner bundu= new Scanner(System.in);         System.out.println("PLEASE SELECT OPTIONS FROM 1-5 FOR SHAPES CALCULATION");         System.out.println("PLEASE ENTER 1 FOR RECTANGLE");         System.out.println("PLEASE ENTER 2 FOR TRIANGLE");         System.out.println("PLEASE ENTER 3 FOR SQUARE");         System.out.println("PLEASE ENTER 4 FOR A CIRCLE ");         System.out.println("PLEASE ENTER 5 FOR TRAPEZIUM");         int shapes = bundu.nextInt();         switch (shapes){             case 1:                 System.out.println("CALCULATION RELATED TO RECT...

PSEUDOCODE, FLOWCHART AND CODE REPRESENTATION OF APPROXIMATE ESTIMATE OF THE NUMBER OF TILES REQUIRED TO FINISH FLOOR SPACES

Image
  As a civil engineer, you are frequently required to provide approximate estimate of the number of tiles required to finish floor spaces. Write a simple program to help you complete this task as quickly as possible. a.       Pseudocode b.      Flowchart c.       Code implementation (test with different values) PSEUDOCODE START     // Step 1: Declare variables     Declare floorLength, floorWidth, tileLength, tileWidth as real     Declare floorArea, tileArea, numTiles as real     // Step 2: Input floor dimensions     PRINT "Enter floor length (in meters):"     READ floorLength     PRINT "Enter floor width (in meters):"     READ floorWidth     // Step 3: Input tile dimensions     PRINT "Enter tile length (in meters):"     ...

SOFTWARE DEVELOPMENT PARADIGMS

  A software development paradigm refers to the approach or methodology used to design, develop, and maintain software. It involves the principles, processes, and techniques that guide software development. Over time, several paradigms have evolved to address different challenges in software engineering. Here are some key software development paradigms: 1. Object-Oriented Development (OOD) Overview: This paradigm organizes software around objects—self-contained entities that contain both data and methods. Object-oriented programming (OOP) languages, like Java and C++, follow this paradigm. Strengths: Encourages modular design, reusability, and easy maintenance. Weaknesses: Can be complex to design and manage in large systems; requires developers to think in terms of objects and classes. 2. Model-Driven Development (MDD) Overview: MDD emphasizes the creation of models (e.g., UML diagrams) to represent software systems. These models are then transformed into executable code, oft...

MILESTONES OF COMPUTING AND PROGRAMMING LANGUAGE

  Here are some key milestones in computing and the development of programming languages: 1. Early Theories and Concepts (Pre-Computer Era) 1837: Charles Babbage designs the Analytical Engine, an early mechanical general-purpose computer. Though never completed, it laid the groundwork for future computers. 1936: Alan Turing introduces the Turing Machine, a mathematical model that helps formalize the concept of computation. 2. First Computers (Mid 20th Century) 1937-1942: The development of the first electronic digital computers like the Colossus (used in WWII for codebreaking) and the ENIAC (Electronic Numerical Integrator and Computer) in the U.S. 1950s: The first stored-program computers are built, including the EDSAC and UNIVAC. 3. The Birth of Programming Languages 1957: John Backus and IBM release Fortran (Formula Translation), one of the first high-level programming languages, designed for scientific and engineering calculations. 1958: LISP (LISt Processing) is develo...