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

New C Course

C language

Uploaded by

munirrahmanhotak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

New C Course

C language

Uploaded by

munirrahmanhotak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Benawa Institute of Higher Education

Faculty of Computer Science

COURSE POLICY

PROGRAMMING CONCEPTS
1st Semester

COURSE CODE: CS.SE.0109


AUGUST 13, 2024
‫ هـ ش‬۱۴۰۳/ ۴ /۲۳
Items Description
Subject Title: Programming Concepts ‫پرو رام لیکني مفاهیم‬
Credits and no. of Total Theoretical Practical
hours
‫د ﮐرﯦﺪﺗﻮﻧﻮ او درﳼ‬ 5 3 2
‫ساعتﻮﻧﻮ شم‬
Offering year and Semester Fall/Spring Year ‫سمﺴ ر‬ ‫پﴪلﯽ‬/‫منﯽ‬ ‫ﮐال‬
semester
1st Fall 2024 ‫اول‬ ‫ﻣﻨﯽ‬ ۱۴۰۳
‫د ﺗﺪرﻳﺲ ﮐال او سمﺴﱰ‬
(Learning the Basics of Programming) .‫د ﭘﺮو ﺮام ﺟﻮړ وﻧﯥ اﺳﺎﺳﺎت زده ﮐﻮل‬ 
(Developing Solving problems skills) .‫د ﺳﺘﻮﻧﺰو دﺣﻞ ﻣﻬﺎرﺗﻮﻧﻮ ﭘﺮاﺧﺘﯿﺎ‬ 
(Writing Code in C Language) . ‫ ژﺑﻪ ﮐﯥ د ﮐﻮ ډ ﻟﯿﮑﻞ‬C ‫ﭘﻪ‬ 
(Using Control Structures) .‫د ﮐﻨ ﺮول ﺟﻮړ ﺘﻮﻧﻮ ﮐﺎرول‬ 
(Creating and Using Functions) .‫د ﻓﻨﮑﺸﻨﻮﻧﻮ ﺟﻮړ ول او ﮐﺎرول‬ 
Goals: (Using Data Types and Variables) .‫د ډی ﺎ ډوﻟﻮﻧﻮ او ﻣﺠﻬﻮﻟﻮﻧﻮ ﮐﺎرول‬ 
(Testing and Debugging) ‫اﻣﺘﺤﺎﻧﻮل او اﺻﻼح ﮐﻮل‬ 
(Building the Projects) .‫ﭘﺮوژ ې ﺟﻮړ ول‬ 
(Using Advanced Tools) .‫د ﭘﺮﻣﺨﺘﻠﻴﻞ وﺳﺎیﻠﻮ ﮐﺎرول‬ 
( Creative and Innovative Thinking) .‫ﺗﺨﻠﯿﻘﻲ او اﺑﺘﮑﺎري ﻓﮑﺮ‬ 
.(Practical Applications) ‫ﻋﻤﲇ ﺗﻄﺒﯿﻘﺎت‬ 
(Introduction to C Language) ‫ﭘﯿژﻧدﻧﻪ‬ ‫د ﺳﯽ ژ‬ 
(Fundamentals of C Language) ‫اﺳﺎﺳﺎت‬ ‫د ﺳﯽ ژ‬ 
Operators and Expressions 
(Managing Input and Output Operations) ‫د دﺧﻮل او ﺧﺮوج ﻋﻤﻠﯿﺎﺗﻮ اداره‬ 
Branching and Making Decision (‫)ﭘﺮیﮑ ه ﮐﻮل او ﺎﻧ ﯥ ﺟﻮړ ول‬ 
Looping and Making Decision (‫)ﭘﺮیﮑ ه ﮐﻮل او ﻟﻮﭘﻮﻧﻪ‬- 
Arrays (‫)آر ﯦﺰ‬- 
Topics:
Strings and Arrays Character (‫)ﮐﺮیﮑ ﺮ آرﯦﺰ او ﺳ ﺮﻳﻨ ﻮﻧﻪ‬- 
‫مفردات‬
User Defined Functions (‫)د ﮐﺎروﻧﮑﻲ ﻟﺨﻮا ﺎﮐﻞ ﺷﻮي ﻓﻨﮑﺸﻨﻮﻧﻪ‬- 
(Structures and Unions) ‫ﺳﺎﺧﺘﺎﻣﻨﻮﻧﻪ‬ 
Pointers (‫)ﭘﻮایﻨ ﺮوﻧﻪ‬- 
(File Management in C) ‫اداره ﻓﺎیﻞ‬ 
Lists Linked and Allocation Memory Dynamic (‫)دیﻨﺎﻣﯿﮏ ﻣﯿﻤﻮري ﺗﺨﺼﯿﺺ او ﻟﯿﻨﮏ ﻟﯿﺴﺘﻮﻧﻪ‬ 
(The Preprocessor) ‫ﭘﺮیﭙﺮوﺳﯿﴪ‬ 
(Guidelines for developing the Program) ‫د ﭘﺮو ﺮام ﺟﻮړوﻟﻮ ﻻر ﻮ‬ 
(Basic Understanding of Programming) .‫د ﭘﺮو ﺮام ﺟﻮړ وﻧﯥ اﺳﺎﳼ ﭘﻮﻫﻪ‬ 
(Experience in building the projects) ‫د ﭘﺮوژو ﺟﻮړ وﻟﻮ ﺗﺠﺮﺑﻪ‬ 
Key Learning (Using Advanced Tools) .‫د ﭘﺮﻣﺨﺘﻠﻴﻞ وﺳﺎیﻠﻮ ﮐﺎرول‬ 
Outcomes (Skill in writing C language code ) ‫د ﮐﻮډ ﻟﯿﮑﻠﻮ ﻣﻬﺎرت‬ 
‫ﻧتاﻳﺞ‬ (Proficiency in Control Structures) .‫ﭘﻪ ﮐﻨ ﺮول ﺟﻮړ ﺘﻮﻧﻮ ﮐﯥ ﻣﻬﺎرت‬ 
(Ability to create and use the functions) .‫د ﻓﻨﮑﺸﻨﻮﻧﻮ ﺟﻮړوﻟﻮ او ﮐﺎروﻟﻮ وړ ﺗﯿﺎ‬ 
(Knowledge of using Various data types) .‫د ﻣﺨﺘﻠﻔﻮ ډی ﺎ ډوﻟﻮﻧﻮ ﭘﻪ ﮐﺎروﻟﻮ ک ې ﭘﻮﻫﻪ‬ 
1|Page
(Ability to find and debug the Code) .‫ﭘﻪ ﮐﻮډ ﮐﯥ د ﻏﻠﻄﯿﻮ ﻣﻮﻧدﻟﻮ او ﺳﻤﻮﻟﻮ وړ ﺗﯿﺎ‬ 
(Creative and Innovative Skills) .‫ﺗﺨﻠﯿﻘﻲ او اﺑﺘﮑﺎري ﻣﻬﺎرﺗﻮﻧﻪ‬ 
(Experience in practical Applications) ‫ﭘﻪ ﻋﻤﲇ ﺗﻄﺒﯿﻘﺎﺗﻮ ﮐﯥ ﺗﺠﺮﺑﻪ‬ 

Academic Staff
Responsible Raza Ahmad
‫د ﺗﺪرﻳﺲ مﺴﺌﻮل استاد‬

WEEKLY PLAN ‫اوﻧﻴﺰه پﻼن‬


‫ساعتﻮﻧﻮ شم‬
‫پﻪ اوﻧ ﮐﯽ‬
‫عمﻠﯽ‬

‫ﻧﻈری‬

‫مﺤتﻮا‬ ‫هفتﻪ‬

Introduction to C: Overview of C, History of C, Importance of


2 3 5 C, Basic
‫لﻮم ی اوﻧ‬
Structure of a C Program, Executing a C Program
C Fundamentals: Character Set, C Tokens, Keywords and
2 3 5 Identifiers, ‫دوهمﻪ اوﻧ‬
Constants, Variables, Data Types
Declaration of Variables, Assigning Values to Variables,
2 3 5 ‫دریمﻪ اوﻧ‬
Defining Symbolic Constants
Operators and Expressions: Arithmetic Operators, Relational
2 3 5 Operators, Logical Operators, Assignment Operators, ‫ﻠﻮرمﻪ اوﻧ‬
Increment and Decrement Operators
Conditional Operator, Bitwise Operators, Special Operators,
Arithmetic Expressions, Evaluation of Expressions, Precedence
2 3 5 ‫پن مﻪ اوﻧ‬
of Arithmetic Operators, Type Conversions in Expressions,
Operator Precedence and Associativity
Managing Input and Output Operations: Reading a Character,
2 3 5 ‫شپ مﻪ اوﻧ‬
Writing a Character, Formatted Input, Formatted Output
Decision Making and Branching: Decision Making with if
Statement, The if...else Statement, Nesting of if...else
2 3 5 ‫اوومﻪ اوﻧ‬
Statements, The else if Ladder, The switch Statement, The ?:
Operator, The goto Statement
Decision Making and Looping: The while Statement, the do
2 3 5 ‫ا ﻪ اوﻧ‬
Statement, The for Statement, Jumps in Loops
Arrays: One-dimensional Arrays, Two-dimensional Arrays,
2 3 5 ‫ﻧهمﻪ اوﻧ‬
Initializing Twodimensional Arrays, Multidimensional Arrays
Character Arrays and Strings: Declaring and Initializing String
2 3 5 Variables, Reading Strings from Terminal, Writing Strings to ‫لﺴمﻪ اوﻧ‬
Screen, String-handling Functions, Table of Strings
User-defined Functions: Need for User-defined Functions, A
Multi-function Program, Elements of User-defined Functions, ‫یﻮولﺴمﻪ‬
2 3 5
Definition of Functions, Return Values and their Types, ‫اوﻧ‬
Function Calls, Function Declaration

2|Page
Category of Functions, No Arguments and No Return Values,
Arguments but No Return Values, Arguments with Return
Values, Handling of Noninteger Functions, Nesting of ‫دوولﺴمﻪ‬
2 3 5
Functions, Recursion, Passing Arrays to Functions, Passing ‫اوﻧ‬
Strings to Functions, The Scope, Visibility and Lifetime of
Variables
Structures and Unions: Defining a Structure, Declaring
Structure Variables, Accessing Structure Members, Structure
Initialization, Copying and Comparing Structure Variables, ‫دیارلﺴمﻪ‬
2 3 5
Operations on Individual Members, Arrays of Structures, ‫اوﻧ‬
Arrays within Structures, Structures within Structures,
Structures and Functions, Unions, Size of Structures, Bit Fields
Pointers: Understanding Pointers, Accessing the Address of a
Variable, Declaring and Initializing Pointers, accessing a
Variable through its Pointer, Pointer Expressions, Pointer ‫ﻮارلﺴمﻪ‬
2 3 5
Increments and Scale Factor, Pointers and Arrays, Pointers ‫اوﻧ‬
and Character Strings, Pointers as Function Arguments,
Functions Returning Pointers, Pointers to
File Management in C: Defining and Opening a File, Closing a
File, Input/Output Operations on Files, Error Handling during ‫پن ﻠﺴمﻪ‬
2 3 5
I/O Operations, Random Access to Files, Command Line ‫اوﻧ‬
Arguments
Dynamic Memory Allocation and Linked Lists, The
‫شپاړسمﻪ‬
2 3 5 Preprocessor,
Developing a C Program: Some Guidelines, Appendices ‫اوﻧ‬

Pre-requisite Courses
‫ﻧﻪ لری‬
‫مﺨکیني اړیﻦ مﻀامیﻦ‬

‫ ﭘﻪ ﻮﻟ ﻲ ﮐﯥ ﻣﻔﺼﻞ ﻟﯿﮑﭽﺮوﻧﻪ ورﮐﻮي ﭼﯥ ﻧﻈﺮي ﭘﻮﻫﻪ او‬، ‫ اﺳﺘﺎدان د ﻣﻮضﻮﻋﺎﺗﻮ ﭘﺮ ﺑﻨﺴ‬:Lectures 

‫ د ﻣﺨﺎﻣﺦ ﺗدریﺲ ﭘﻪ وﺳﯿﻠﻪ ﻣﺤﺼﻠﻴﻨﻮ ﺗﻪ د ددی ﻣﻀﻤﻮن اﺳﺎﺳﺎت او ﻣﻔﺎﻫﯿﻢ‬.‫ﻣﻔﺎﻫﯿﻢ ﺗﻮضﯿﺢ ﮐﻮي‬

.‫وړاﻧدې ﮐﯿ ي‬
Teaching and
Learning (Group Work):‫ﺮوﭘﻲ ﮐﺎر‬ 
methods .‫ﺮﮐﺰ ﮐﻮي‬ ‫د زده ﮐ ې ﭘﺮ ﻣﻬﺎل د ﻣﺤﺼﻠﻴﻨﻮ ﭘﺎیﻠﻮ ﺑﺎﻧدې‬: (Outcome-Based Education):‫اوﺑﯽ ای‬ 
‫د ﺗﺪرﻳﺲ مﻴتﻮد‬ .‫ﻫدف د ﻣﺤﺼﻠﻴﻨﻮ د ﻣﺸﺨﺼﻮ ﻣﻬﺎرﺗﻮﻧﻮ او ﭘﻮﻫﯥ ﻻﺳﺘﻪ راوړل دي‬

‫ﺮﮐﺰ ﭘﻪ ﻣﺤﺼﻠﯿﻨﻮ ﺑﺎﻧدي ﮐﻮي‬ ‫ د زده ﮐ ي‬: (Student Central Learning)‫ایﺲ ﺳﯽ ایﻞ‬ 

3|Page
Computer
Computer knowledge is not much important and internet is most vital means and source for better
Knowledge
understanding and searching.
‫د ﮐمپﻴﻮﺗر زده ﮐ ې ﺗﻪ اړﺗﻴا‬
1. Balagurusamy, E. (2018. Programming in ANSI C. Tata McGraw-Hill.
Coimbator, India.
2. Kernighan, B. W., & Ritchie, D. M. (2016. The C Programming ‫اﺻﻠﯽ مناﺑﻊ‬
Language (2nd ed.. Prentice Hall. New Jersey, America.
Course 1. Perry, G., & Miller, D. (2013. Programming Absolute Beginner's
Materials and Guide.Que Publishing. UK.
2. edX. (2022, February 18. Programming in C: Getting Started.
References
Retrieved from www.edx.org:
‫د مﻀمﻮن درﳼ‬ https://www.edx.org/course/programming-in-cgetting-started ‫ﮐﻮمکﯽ‬
3. Programiz. (2022, February 18. C Programming. Retrieved from ‫مناﺑﻊ‬
‫مﻮاد او اخ ﻠﻴکﻮﻧﻪ‬
www.programiz.com: https://www.programiz.com/c-programming
4. C4Learn. (2022, February 18. Learn C Programming Language.
Retrieved from http://www.c4learn.com/learn-c-programming-
language
‫ﻓیﺼﺪي‬ ‫د ﻓﻌالیﺖ ډول‬ ‫ش ره‬

5% ‫ﭘﲇ ﮐﻮل‬ ‫د ﮐﺮی ی د ﻻﻳﺤﯽ ﭘﺮ اﺳﺎس ﭘﻪ ﻮﻟ ﻲ ﮐﯥ د ﺣﺎﴐي ﭘﺎﻟﯿﺴ‬ 1


Evaluation
10% ‫ ﺮوﭘﯽ ﮐﺎروﻧﻪ او ﻋﻤﻠﯽ ﮐﺎروﻧﻪ‬, ‫د زده ﮐﻮﻧﮑﻮ د ﮐﻮرﻧﯽ دﻧدی‬ 2
Method(s)
5% ‫د ﻣﺤﺼﻠﻴﻨﻮ اوﻧﻴﺰه ارزوﻧﻪ او ﺻﻨﻔﯽ ﻓﻌﺎﻟﻴﺘﻮﻧﻪ‬ 3
‫د ارزوﻧﯥ مﻴتﻮد‬ 20% ‫ازﻣﻮیﻨﻪ‬ ‫د ﺳﻤﺴﱰ ﻣﻨ ﻨ‬ 4

60% ‫ازﻣﻮیﻨﻪ‬ ‫وروﺳﺘ‬ 5

Time Policy:
 The classes start from 6:00 – 9:00 Am, and for evening shift 04:00 -
07:00 Pm.
 They should try to come to the class within 10 minutes of starting
time otherwise will be counted absent.
Other:
Course Policies:  Teacher and students should attend lecture classes without
distractions.
 Remember: Phone should be silent and it is not allowed during
entire session in the class, in case it is very important the student can
take permission to attend the call outside the class.

4|Page
 Student should do at least one assignment in one week or depending on
the lecture or the topics, and they must hand over the assignments within
Assignments & the given time to class representative, late assignments are not accepted.
 The assignments and class/Lab activity have 10% marks.
Class-work Policy:  Project’s Presentation: At the end of semester, students are encouraged to
come up and present their projects.

The pattern of the test and strength of the questions will be made looking to
the exam so in general the exam will have four types of questions such as:
o Multiple choices questions
Exam Pattern:
o Short Questions or Differentiations
o Long explanatory questions

‫ﻪ‬ ( ) ‫د ﺷﻮرا ﭘﻪ‬ ‫ﭘﻮرﺗﻪ ذﮐﺮ ﺳﻮې ﮐﻮرس ﭘﺎﻟﻴﴘ د ﮐﻤﭙﯿﻮ ﺮ ﺳﺎیﻨﺲ ډﻳﭙﺎر ﻤﻨ‬ 
.‫ ﻫـ ش( ﻧﻴ ﻪ ﻏﻮﻧ ه ﮐﯥ ثﺒت او د ﺗﺎﺋﻴد ﺷﻮل‬۱۴۰۳ / / ) ‫ﭘﺮو ﻮﮐﻮل ﭘﻪ‬
Approval
‫د‬ ‫ﭘﻮرﺗﻪ ذﮐﺮ ﺳﻮې ﮐﻮرس ﭘﺎﻟﻴﴘ د ﮐﻤﭙﯿﻮ ﺮ ﺳﺎیﻨﺲ ﭘﻮﻫﻨ ﯽ د ﻧﺼﺎب او ﮐﺮﻳﮑﻮ‬ 
‫ﺗاﺋﻴﺪی‬
‫ ﻫـ ش( ﻧﻴ ﻪ ﻏﻮﻧ ه ﮐﯥ ثﺒت او‬۱۴۰۳ / / ) ‫ﻪ ﭘﺮو ﻮﮐﻮل ﭘﻪ‬ ( ) ‫ﮐﻤﻴ ﯽ ﭘﻪ‬
.‫د ﺗﺎﺋﻴد ﺷﻮل‬

‫ﻻسﻠﻴکﻮﻧﻪ‬

‫د ﮐﻤﭙﯿﻮ ﺮ ﺳﺎیﻨﺲ ﺎﻧ ﯽ د آﻣﺮ ﻻﺳﻠﻴﮏ‬ ‫د اﺳﺘﺎد ﻻﺳﻠﻴﮏ‬

‫د ﮐمپﻴﻮ ر ساﻳنﺲ‬
‫پﻮهن ﯽ د رﻳاسﺖ مهر‬

5|Page

You might also like