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

CSE 101 Lecture Zero

This document provides information about the CSE101 Computer Programming lecture. It outlines course details like credits (4), textbook, reference books, course outcomes, assessment model with marks breakdown for attendance, practice problems, academic tasks, end term practical, and daily practice problems schedule. It also discusses cohorts, star courses, open educational resources, and why C programming language is still widely used.

Uploaded by

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

CSE 101 Lecture Zero

This document provides information about the CSE101 Computer Programming lecture. It outlines course details like credits (4), textbook, reference books, course outcomes, assessment model with marks breakdown for attendance, practice problems, academic tasks, end term practical, and daily practice problems schedule. It also discusses cohorts, star courses, open educational resources, and why C programming language is still widely used.

Uploaded by

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

CSE101

Computer Programming
Lecture #0

© LPU :: CSE101 C Programming


Course Details
• LTP
202
Credit: 4
• Text Book
▪ “PROGRAMMING IN C”
by
ASHOK N. KAMTHANE
PEARSON, 3rd Edition

© LPU :: CSE101 C Programming


Reference Books
• “C HOW TO PROGRAM” by
PAUL DEITEL AND
HARVEY DEITEL
PHI(Prentice Hall India)

• “PROGRAMMING IN ANSI C”
By E. BALAGURUSAMY
McGraw Hill Education

© LPU :: CSE101 C Programming


Course Outcomes
CO1 :: discuss the various approaches towards solving a particular
problem using the C language constructs
CO2 :: write programs to solve different problems using C constructs
irrespective of the compilers
CO3 :: plan the process of code reuse by forming a custom library of
one’s own functions
CO4 :: complete the understanding and usage of one of the building
blocks of data structures namely pointers
CO5 :: categorize the theoretical knowledge and insights gained thus
far to formulate working code
CO6 :: validate the underlying logic and formulate code which is
capable of passing various test cases

© LPU :: CSE101 C Programming


Course Assessment Model
• CSE101 Marks break up*
• Attendance 5
• Daily Practice Problems 20
• CA (Two best out of Three ATs) 30
• ETP (Practical /Laptop) 45
• Total 100

© LPU :: CSE101 C Programming


Academic Task
Component Week
1. Programming Practice 1st-14th
2. Test-Code Based1 5th

3. Test-Code Based2 10th

4. Test-Code Based3 12th

© LPU :: CSE101 C Programming


CA
• Programming Practice using IamNeo Platform
• Best 2 out of 3 Academic Task 50

• Programming practice is a compulsory requirement

ETP

• Will be conducted on IamNeo Platform

© LPU :: CSE101 C Programming


Practice Problems

• In the Practice Problems marks are only for coding Problems.

• MCQs are only for practice.

Sequence locking:
• Student must complete all the problems of lecture 1, to start
the problems of lecture 2.

© LPU :: CSE101 C Programming


Academic Task
1. Each Academic task will contain 2 coding questions and
10 MCQs
2. The weightage of programming practice which is spread
across 150 problems with 25 problems per unit will be
20%.

© LPU :: CSE101 C Programming


Marks Calculation for Programming Practice

• In order to qualify for programming practice marks, the


student should solve at least 50% of the programming and
50% of MCQ questions (eligibility condition).
• The maximum marks out of 20 marks for which the student
would be eligible for Programming Practice would be based
on the Percentage of questions solved by the student.
• Example – If a student solves 105 questions out of 150
questions (i.e. 70% questions solved) then the student would
be eligible for 70% of 20 marks which is 14 marks (round up
would be used in case of decimal values).
.

© LPU :: CSE101 C Programming


Marks Calculation for Programming Practice

• The final marks for Programming Practice would be


calculated by prorating the eligible marks for which the
student is eligible (as explained in the above point) with the
percentage of marks student has scored in the proctored
Coding Contests conducted as CA’s (The final marks would
be round up for the students).
• Example – If a student solves 105 questions out of 150
questions (i.e. 70% questions solved) then the student would
be eligible for 70% of 20 marks which is 14 marks.
• And the student has scored 24 out of 30 in the CA’s i.e. 80%
marks in CA, his Programming practice final marks would be
80% of 14 marks that he was eligible for which is 11.2
rounded up to 12 marks out of 20 for Programming Practice.
© LPU :: CSE101 C Programming
Daily Practice Problems
S. Unit Question Tentative Dates for Completion
No (Subject to change)
1 Unit-1 27th February 2024
25 Multiple Choice
2 Unit-2 Questions and 25 10th March 2024
3 Unit-3 Practical Implementation 24th March 2024
problems in each unit
4 Unit-4 22nd April 2024
5 Unit-5 5th April 20234
6 Unit-6 12th May 2024

Note:- Most Important for the improvement of Performance


in Course Assessments.
© LPU :: CSE101 C Programming
End Term Practical (45 Marks)

• Coding Problems [50%]


• MCQs [20%]
• Viva [30%]

© LPU :: CSE101 C Programming


Revised Bloom’s taxonomy (RBT)

14

© LPU :: CSE101 C Programming


What are Cohorts

• A group of students of a common


programme who intend to attain
similar characteristics by means of
learning similar skills in order to
target a particular career
opportunity.

1
5
© LPU :: CSE101 C Programming
Purpose of Cohorts
• Student shall be able to have a goal oriented
approach for his/her career
• Student identifies the goal in the very first year
• Student shall be able to follow the stage wise
career progression.
• Early identification of skill set required for
selected goal.

1
6
© LPU :: CSE101 C Programming
© LPU :: CSE101 C Programming
Star Course
Hands-on Practice: A good course which include
interactive coding exercises to help you apply what
you've learned.

This course is a short bite-sized courses that help


students develop foundational-level knowledge and
skills in C Programming language. Although the
course is packed with high quality content that
helps students further with their learning and earn
credits.
© LPU :: CSE101 C Programming
OER

© LPU :: CSE101 C Programming


OER

© LPU :: CSE101 C Programming


WHY C???????????????

⮚If we have number of powerful


programming languages available
with us then why c??????

© LPU :: CSE101 C Programming


The hitch...............
Some burning questions in mind......
• C is a very old language. Why are we still
studying this language??????
• Now, we have very powerful languages with us
then, why c??
• There is no scope of this language in industry

© LPU :: CSE101 C Programming


Lets take you close to the reality
• All of us use Computers or Laptops for different
purposes.
• Could you tell me which system software is most
required to get our system in working mode??????

© LPU :: CSE101 C Programming


Let’s Explore more
• Could you tell me which programming language is
used in writing all these operating system??????

• Latest version of Microsoft Windows i.e.


Windows10 is still being written in C Language

© LPU :: CSE101 C Programming


Contd.....
• Device drivers are also written in C language.
• All these modern programming languages are
influenced by C language

• Compilers for Python and PHP language are also


written in C language

© LPU :: CSE101 C Programming


Contd.....
• Embedded systems are also developed with the
help of C language

© LPU :: CSE101 C Programming


Contd.....
•Git

•Microsoft Excel

•Oracle Database

•MySql

•Linux

•Unix

•Android

•Google

© LPU :: CSE101 C Programming


MNCs
Top rated Companies which has a dearth of C programmers

© LPU :: CSE101 C Programming


Top 10 Programming Languages of 2019-2020
(As per analysis done by geekforgeeks)

• JavaScript
• Python
• Java
• C/CPP🡪 C is still in the top 5, which shows its significance and popularity
• PHP
• Swift
• C#
• Ruby
• Objective – C
• SQL

© LPU :: CSE101 C Programming


Here are the Answers of Questions
• C is very a old language still, why do we study C
language??

• Now, we have very powerful languages Pi ll a


r
ic
Bas
with us then why c??

• There is no scope of this language in industry


Scope for Experts always Exists
© LPU :: CSE101 C Programming
History of C
• Guys Can you make a sentence with the word
‘Necessity’
“Necessity is the mother of invention”
• Dennis Ritchie and Ken Thompson were working
on developing a new operating system i.e UNIX
• But the programming language they
were using was not providing them
the portability feature
• So Dennis Ritchie developed new
language i.e C
© LPU :: CSE101 C Programming
History continued...

© LPU :: CSE101 C Programming


Why “C” name was given???
• Many of C’s principles and ideas were derived from the
earlier language B. (Ken Thompson was the developer of
B Language.)
• BCPL and CPL are the earlier ancestors of B Language
• CPL is Combined Programming Language. In 1967, BCPL
Language ( Basic CPL ) was created as a scaled down
version of CPL
• As many of the features were derived from “B” Language
thats why it was named as “C”.
• After 7-8 years C++ came into existence which was first
example of object oriented programming .

© LPU :: CSE101 C Programming


Evolution of C...

2011 C11
2018 C17(Current)
Upcoming C2x
© LPU :: CSE101 C Programming
Language Developers

© LPU :: CSE101 C Programming


Features of C Language
• Low Level Language Support
• Program Portability
• Powerful and Feature rich
• High Level Features
• Modular Programming

© LPU :: CSE101 C Programming


Applications of C
• Used for creating computer applications
• Used in writing embedded software
• Development of Simulators
• Used for creating compilers
• Used to implement different operating system
operations
• UNIX kernel is completely developed in C
language

© LPU :: CSE101 C Programming


Polling-Questions
Which of the following Operating System was
rewritten in C in 1972?
A. Windows
B. Linux
C. Unix
D. MS-Dos

© LPU :: CSE101 C Programming


In which of the following year C language
received ISO Standardization?
A. 1983
B. 1990
C. 1999
D. 2011

© LPU :: CSE101 C Programming


Latest version of C going in the market

A. C11
B. C18
C. C99
D. C89

© LPU :: CSE101 C Programming


Who developed B language?
A. Ken Thompson
B. Dennis Ritchie
C. Martin Richards
D. Brian Kernighan

© LPU :: CSE101 C Programming


Course Contents
Before MTE
✔ Data Types & Operators
✔ Control Structures
✔ User Defined Functions
✔ Storage Classes

After MTE
✔ Arrays and Strings
✔ Pointers
✔ Dynamic Memory Allocation
✔ Derived Data Types- Structures
and Union
© LPU :: CSE101 C Programming
Basics and
Program
introduction to
Development in
CC

© LPU :: CSE101 C Programming

You might also like