Section outline
-
In order to meet up the challenges of ICT and Wireless Communication Sectors, students need to learn about computer programming. This course is designed to teach the students about basic computer programming language which will help them to understand the current generation structured programming language. This course will help them to analyze and create numerous programming related problems professionally in their job field.
-
- There will be 3 credit hours teaching per week. Two class will be taken 90 minutes each.
- DIU Moodle will be the only online teaching platform beside regular classes.
- Every student must join DIU Moodle.
- All assignments need to be submitted on Moodle.
- 5 CT will be taken. Best 3 will be considered.
- Bonus marking depends on 3 parameters such as Class Attendance, class participation and interaction in Moodle.
- Students must follow the course outline and lesson plan.
Theory:
Sunday: 12:00 pm -1:30pm
Wednesday: 10:30 am-12:00 pm
Laboratory:
Sunday : 9:00 am-10:30 amJoin class at google Meet:
https://meet.google.com/cqq-ygty-ysd*** All are requested to contact me during counselling hours.
- There will be 3 credit hours teaching per week. Two class will be taken 90 minutes each.
-
Course Objectives:
- To learn the basics of computer programming.
- To explain different computer programming generations and their structures.
- To improve algorithm design skill through lecturers and exercises.
- To develop leadership quality through Group works.
- To grow programming skill through assignments.
- To expand confidence by doing various practical problems.
- To become a professional programmer in real life problem-solving.
Learning Outcomes: At the End of the course students will be
- Able to explain Computer programming definition.
- Able to differentiate between computer programming generations.
- Able to learn problem-solving processes.
- Able to learn different features of C.
- Able to write C program structure.
- Able to write C program using operators and Expressions.
- Able to learn about data input and output of C program.
- Able to detect and correct errors.
- Able to write C program based on real-life problems.
Course Contents:
- Introduction to Computer Programming.
- Programming Language generations.
- Problem-solving process,
- Algorithm writing processes. (Block, Pseudocode, Flowchart, structure programming, coding)
- Program Testing.
- Structure of C
- Basic C program writing and output observation.
- C fundamentals, identifiers, keywords, variable declaration,
- Error detection and correction.
- Introduction to Control statement and types.
- Program writing using control structures.
- Functions Calling, Functions Return.
- Program Writing using functions.
- Array initialization
- Passing array elements to a function.
- String standard library functions.
- Programming with strings.
- To learn the basics of computer programming.
-
Aims/Rationale: To teach the students about the concept, Generations of computer programming language so that they can use the knowledge in their academic and professional career.
Learning Outcomes: At the end of the session participant will be able to :
- Explain the concept of programing language
- Describe different generations of computer programing language.
Understand High-level Programing language
Explain Compilers vs. interpreters- Differentiate between early computer programing.
- Computer Program definition
- Computer instructions
- Programming language, Source file, Source Code
- Programming language Generations
- Machine Language, Assembly Language
- Procedural Language, Problem Oriented Language
- Natural Language
- High Level Languages
- Compiler, Interpreter, object code
- Programing in early Computers
- FORTRAN, COBOL, PASCAL
-
Please Discuss your learning here:
* Point out any topic you did not understand properly.
- Explain the concept of programing language
-
Aims/Rationale: To teach the students about algorithm definition, properties, and algorithm writing procedures so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be able to :
- Explain algorithm definition and its properties
- Write algorithms in different ways
- Apply algorithm in programming languages
Lecture Contents:
- Problem-solving process
- Algorithm definition
- Properties of algorithm
- Algorithm design in Block diagrams, Flowcharts.
- Algorithm design in Pseudocode
- Explain algorithm definition and its properties
-
Date: 25.08.2021
Time: 11:00 AM -
Aims/Rationale: To teach the students about C programming basics so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be able to :
- Understand the basics of C programming
- Able to write the structure of the C language.
- Write the first program in C
Lecture Contents:
- Structure of a C program
- The first program in C
- The main function
- The Build process of C
- Steps in learning C
- How to install and compile C
- Library functions, Stdio.h, conio.h
- C program writing and output observation.
-
Write a C program which will Print your name, ID, Department and University name in the Output window.
Example:
Name: XYZ
ID: 213-50-111
Department: Information ....
University: Daffodil ..... -
Write a C program which will take 5 subject marks as input and will print the total result with percent value.
- Understand the basics of C programming
-
Aims/Rationale: To teach the students about C programming fundamentals so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be able to :
- Understand the character set, keywords in C
- Learn basic data types in C
- Write different types of expressions and statements in C
- Understand different types of operators and their uses in c programming.
Lecture Contents:
- The
character set of C
- Identifiers
- Keywords
in C
- Basic
Data types in C
- Variable
and constants
- Escape
sequences
- Complex,
logical expressions
- Operators
and operands
- Operator
categories
- Prefix & Postfix
-
Task 1
Write a C program which will swap two integer values. Hint: if a=10, b=20, then the output will be a=20, b
Task 2
Write a C program which will reverse a 3 digit integer number.
-
Lab task for today: Mr X draws 1200 Dollar as Basic salary. He also gets House rent 50% of basic, medical allowance 25% and Travel allowance 20% of basic. Mr X pays 20% of basic as income tax. Write a C program which will calculate the gross salary of Mr X.
- Understand the character set, keywords in C
-
Aims/Rationale: To teach the students about C programming control statements so that they can apply this knowledge in their class, exam and assignments.
Learning Outcomes: At the end of the session participant will be able to :
- Understand Decision, Selection and Repetition Control Statements.
- Solve practical problems using control structure.
- Write C program based on real life problems.
Lecture Contents:
Decision Control Statement(if statement, if with else, nested ifs, Ladder if)
- Selection Statement (Switch-Case Structure)
- Repetition/ Loop statement ( while loop, for loop, do-while loop, break statement )
- Nested control statements.
- Program writing using control structures.
-
Date: September 28, 2021
Time: 09:30 am-11:30 am -
-
Write a C program using while loop and for loop to calculate the average grade of 5 subjects.
-
Aims/Rationale: To teach the students about Array ans strings so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be:
- Able to write Program using 1D and 2D array.
- Able to explain string and its functions.
- Able to write C programs using String.
Lecture Contents:
- Array initialization
- Passing array elements to a function.
- 2D Array.
- Array Program Writing
- String standard library functions.
- Programming with strings.
-
Video lecturers are uploaded in the following google drive link :
https://drive.google.com/drive/u/0/folders/1KFKBdEL8QykY2ONK59HcZ5YeWeoGQeY5
-
Aims/Rationale: To teach the students about Functions and pointers so that they can apply this knowledge in their academic and professional fields.
Learning Outcomes: At the end of the session participant will be:
- Able to understand functions and it’s necessity in C programming.
- Able to use functions in C programming.
- Able to write C programs using pointers.
Lecture Contents:
- Introduction to Functions.
- Passing values between Functions.
- Functions Calling, Functions Return.
- Call by value, Call by references.
- Pointer notation.
- Program writing using functions.
-
Watch on YouTube:
-
Write a C program using functions to determine the largest and smallest between 3 integer numbers.
-
-
Write a C program using functions (Call by value / Call by reference) )which will Print your Semester Grade.
Hint:
Input : 5 Subjects
Output:
-
-
Date: 19th July 2021
Time: 10:00 am to 12: 00 pm
Final Examination Syllabus:
- Control Statements: If-else, While, Do-while, For, Switch-case
- Array and String
- Functions and Pointers
Question Type:
- Program writing
- Output tracing
- code conversion
- Error detection and correction
- Theoretical