0% found this document useful (0 votes)
78 views

Module 1

This document provides an introduction to computer programming. It outlines the course learning outcomes, which are to define programming, learn the basics, setup environment, syntax, human interface languages, programming languages, and elements of programming. It then discusses what a computer program is, common programming languages like Java and Python, uses of programs in different fields, what a computer programmer does, and the concept of algorithms. Finally, it describes the basic elements of programming like data types, variables, operators, and control structures that will be covered using C, Java, and Python as examples.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

Module 1

This document provides an introduction to computer programming. It outlines the course learning outcomes, which are to define programming, learn the basics, setup environment, syntax, human interface languages, programming languages, and elements of programming. It then discusses what a computer program is, common programming languages like Java and Python, uses of programs in different fields, what a computer programmer does, and the concept of algorithms. Finally, it describes the basic elements of programming like data types, variables, operators, and control structures that will be covered using C, Java, and Python as examples.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

DPT 6102 COMPUTER PROGRAMMING 1

1
[INTRODUCTION]

Module 1<Week 1><Introduction & Basics>

Course Learning Outcomes:


1. To be able to define programming.
2. To be able to learn the basics of programming.
3. To be able to learn the required environment setup before programming.
4. To be able to learn the basic syntax and their functions.
5. Learn the what is a human interface language.
6. Learn the what is a programming language.
7. Learn the what are the elements of programming.
8. Learn the three common programming languages.

Course Module
< DPT 6102 COMPUTER PROGRAMMING 1 >
Software programming is the act of writing computer programs, which are a series of
instructions written using a computer programming language to perform a specific
computer function.

Computer programming is enjoyable and easy to learn so long as you are taking the right
approach. This lesson uses a simple and realistic approach to cover the fundamentals of
computer programming for the benefit of the student.

< Introduction to Computer Program>


Before we get into computer programming, let us understand computer programs
first, and what they are doing.
A computer program is a series of instructions written by the computer using a
computer programming language to perform a specified operation.
The two key words we used in the above description are − Sequence of Instructions
and Programming Language.
As we've developed so many languages to interact with each other, computer
scientists have created other computer programming languages to send the machine
instructions (i.e., computer programs). Throughout the following chapters we can see
some computer programming languages.
When you understand what a computer program is, we'll say: Computer
programming is called the act of writing computer programs.
As we mentioned earlier, there are hundreds of programming languages that can be
used to write computer programs, and there are a few of them: Java, C, C++, Python,
PHP, Perl, and Ruby.

< Uses of Computer Programs>


Computer programs are used today in almost every area, household, farming,
medical, entertainment, security, communication, etc. A few computer applications
are listed below –
1. Examples of computer programs include MS Word, MS Excel, Adobe Photoshop,
the Internet Explorer, Chrome, etc.
2. Computer programs are used for the creation of graphics and special effects in
film making.
3. Ultrasounds, X-Rays, and other medical examinations are conducted using
computer programs.
4. Computer programs are used for SMS, Speak, and Voice Communication in our
cell phones.

< Computer Programmer >

Someone who can write computer programs is considered a computer programmer,


or in other words someone who can do computer programming.
DPT 6102 COMPUTER PROGRAMMING 1
3
[INTRODUCTION]

< Algorithm>
From the point of view of programming an algorithm is a step-by-step process to
solve any problem. An algorithm is an efficient method expressed as a finite set of
definite instructions. Thus, a computer programmer lists all the steps needed before
writing the actual code to solve a problem.

< DPT 6102 COMPUTER PROGRAMMING 1 - BASICS>


We believe that you are well aware of English Language, which is a well recognized
language of the Human Interface. Language has a predefined grammar, which must be
followed to correctly write English statements. Likewise, most of the Human Interface
Languages (Hindi, English, Spanish, French, etc.) are made of several elements like verbs,
nouns, adjectives, adverbs, propositions, and conjunctions, etc.

<Elements of Programming>
Computer programming languages are also composed of several elements, similar to
human interface languages. We'll take you through the basics of those elements and
make them easy to use in different programming languages.
These basic elements are:
 Programming Environment
 Basic Syntax
 Data Types
 Variables
 Keywords
 Basic Operators
 Decision Making
 Loops
 Numbers
 Characters
 Arrays
 Strings
 Functions
 File I/O

In subsequent chapters we will describe all of these components using examples


using different programming languages. First, we will try to understand the
meaning of all these terms in general and then, we will see how these terms can be
used in different programming languages.
This tutorial was designed to give you an idea of the following most popular
programming languages − C programming, Java programming, Python
programming.

Course Module
A major part of the tutorial was explained by taking C as programming language and
then we showed how Java and Python work with similar concepts. So after
completing this tutorial, you'll get to know these famous programming languages:
 C Programming
 Java Programming
 Python Programming

References and Supplementary Materials


Books and Journals
1. <Rachel Rivera, Eileen Choe, Ray Toal, Alexander Schneider>; <2016>; <Programming
Language Explorations>; <New York, USA>; <A Chapman & Hall Book>

2. <Cory Althoff>; <2017>; <The Self-Taught Programmer: The Definitive Guide to


Programming Professionally>; <USA>; <Self-Taught Media>

Online Supplementary Reading Materials


1. <Complete title of online reading material>; <Complete URL of online reading
material>; <Date of access to online reading material>
(Online supplementary reading materials should come from sources that are not
within the domain of “.com”)

Online Instructional Videos


1. <Brief description of video>; <Complete URL of online video>; <Date of access to
online video>
(Online instructional videos should come from sources that are not within the domain
of “.com”. In cases when videos are only available within the “.com” domain, it is
expected that 2 back-up links will be provided.)
DPT 6102 COMPUTER PROGRAMMING 1
5
[INTRODUCTION]

Note:
 There should only be one file for module per week.
 Avoid plagiarism by paraphrasing information and texts coming from the Internet and
other sources.

Course Module

You might also like