PHP and Algorithmic Thinking

PHP and Algorithmic Thinking for the Complete Beginner: Learn to Think Like a Programmer

Author: Mr Aristides S Bouras, Ms Loukia V Ainarozidou
Pub Date: 2014
Publisher: CreateSpace Independent Publishing Platform
ISBN: 978-1503015913
Pages: 824
Language: English
Format: PDF
Size: 12 Mb

Download  Download

This book is for anyone who wants to learn computer programming and knows absolutely nothing about it. Of course, if you are wondering whether this book is going to teach you how to create amazing websites or incredible applications, the answer is “no”—that is a job for other books. So many books out there can teach you those skills in PHP, Java, C++, or C#. Many of them even claim that they can teach you in 24 hours! Don’t laugh! They probably can do that, but all of them take one thing for granted—that the reader knows some basics about computer programming. None of those books, unfortunately, bothers to teach you the first thing that a novice programmer needs to learn, which is “Algorithmic Thinking.” Algorithmic Thinking involves more than just learning code. It is a problem solving process that involves learning how to code. With over 800 pages, and containing more than 300 solved and 400 unsolved exercises, over 450 true/false, 150 multiple choice, and 180 review questions (the solutions and the answers to which can be found on the Internet), this book is ideal for students, teachers, professors, novices or average programmers, or for anyone who wants to start learning or teaching computer programming using the proper conventions and techniques.

Table of Contents

Section 1 Introductory Knowledge
1 How a Computer Works
2 PHP
3 Software Packages to Install

Section 2 Getting Started with PHP
4 Introduction to Basic Algorithmic Concepts
5 Variables and Constants
6 Handling Input and Output
7 Operators
8 Trace Tables
9 Using NetBeans IDE

Section 3 Sequence Control Structures
10 Introduction to Sequence Control Structures
11 Manipulating Numbers
12 Complex Mathematical Expressions
13 Exercises with a Quotient and a Remainder
14 Manipulating Strings

Section 4 Decision Control Structures
15 Introduction to Decision Control Structures
16 The Single-Alternative Decision Structure
17 The Dual-Alternative Decision Structure
18 The Multiple-Alternative Decision Structure
19 The Case Decision Structure
20 Nested Decision Control Structures
21 Tips and Tricks with Decision Control Structures
22 Flowcharts with Decision Control Structures
23 More Exercises with Decision Control Structures

Section 5 Loop Control Structures
24 Introduction to Loop Control Structures
25 The Pre-Test Loop Structure
26 The Post-Test Loop Structure
27 Counted Loop Structures
28 Nested Loop Control Structures
29 Tips and Tricks with Loop Control Structures
30 Flowcharts with Loop Control Structures
31 More Exercises with Loop Control Structures

Section 6 Arrays
32 Introduction to Arrays
33 One-Dimensional Arrays
34 Two-Dimensional Arrays
35 Tips and Tricks with Arrays
36 Flowcharts with Arrays
37 More Exercises with Arrays

Section 7 Subprograms
38 Introduction to Subprograms
39 User-Defined Functions
40 User-Defined Procedures
41 Tips and Tricks with Subprograms
42 Flowcharts with Subprograms
43 More Exercises with Subprograms