ABSTRACT

Primarily, this chapter discusses computer programming, particularly procedural programming, which may also be called imperative programming. First, this chapter considers commands to input and output information. Then this chapter considers three data types, numeric, character, and Boolean. Next, this chapter describes three types of statements (assignment, conditional, and iterative), followed by discussion of three data structures (one-dimensional array, matrices, which are two-dimensional arrays, and files). Then this chapter describes the use of subroutines, which are created using a decomposition technique for writing efficient code. The chapter then presents numerous practice problems before comparing sample JavaScript code to Perl, Lua, C, Swift, Java, and Python. Lastly, this chapter considers app development environments, particularly desktop tools (compilers and interpreters) and Software Development Kits (SDKs). In addition, this chapter conveys the possibility of creating a new digital device for running instructional apps.