Programming practical
TeachersWATANABE, KoheiStaffInfo
Elective, CreditsCompulsory Elective  2 credit [Department of Sociology]
 Syllabus NumberPOI-101

Course Description

As an introduction to programming, this practical deals with the basics of JavaScript. JavaScript is an object-oriented programming language that can be integrated within HTML source files. It can be used to create dynamic web pages that alter the contents in response to the client's input or judging from various circumstances.
The advantages of JavaScript are that it is executed on the client side (web browser), there is no need for a set up or permission on the host side (web server), and that no additional software is required for the practical other than the standard text editor and web browser that are usually bundled with the system software.
We will start with basic HTML to accommodate JavaScript, learn basic syntax such as conditional branching and iteration. This will be applied for simulating binominal distribution and chi-squared analyses, through which the understanding of concepts in social statistics can be enhanced.